[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/init
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/init
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/init
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/init
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/init
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/init/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/init/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/init/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/init/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/init/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/init/var/nix/db/db.sqlite
++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/init
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/init
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/init
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/init
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/init
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/init/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/init/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/init/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/init/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/init/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/init/var/nix/db/db.sqlitefoo
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/test-infra
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/test-infra
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/test-infra
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/test-infra
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/test-infra
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/test-infra/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/test-infra/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/test-infra/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/test-infra/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/test-infra/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/test-infra/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(test-infra.sh:6) expect 0 true
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=0
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) true
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=0
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 0 -ne 0 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(test-infra.sh:9) expect 1 false
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) false
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(test-infra.sh:12) expect 1 expect 0 false
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) expect 0 false
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=0
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) false
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 0 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:196) echo 'Expected exit code '\''0'\'' but got '\''1'\'' from command '\''false'\'''
Expected exit code '0' but got '1' from command 'false'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:197) return 1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(test-infra.sh:25) expectStderr 0 noisyTrue
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=0
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) noisyTrue
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=0
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 0 -ne 0 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(test-infra.sh:25) grepQuiet YAY
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep YAY
+(test-infra.sh:26) expectStderr 1 noisyFalse
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) noisyFalse
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(test-infra.sh:26) grepQuiet NAY
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep NAY
+(test-infra.sh:34) expect 1 pipefailure
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) pipefailure
+(test-infra.sh:32) true
+(test-infra.sh:32) false
+(test-infra.sh:32) true
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(test-infra.sh:35) unset pipefailure
+(test-infra.sh:41) expect 1 pipefailure
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) pipefailure
+(test-infra.sh:39) false
+(test-infra.sh:39) true
+(test-infra.sh:39) true
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(test-infra.sh:42) unset pipefailure
+(test-infra.sh:48) expect 1 commandSubstitutionPipeFailure
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) commandSubstitutionPipeFailure
++(test-infra.sh:46) set -eu -o pipefail
++(test-infra.sh:46) false
++(test-infra.sh:46) echo 0
++(test-infra.sh:46) true
+(test-infra.sh:46) res=0
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(test-infra.sh:59) expect 1 useUnbound
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) useUnbound
+(test-infra.sh:55) set -eu
test-infra.sh: line 57: thisVariableIsNotBound: unbound variable
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(test-infra.sh:63) true
+(test-infra.sh:67) expect 1 funBang
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) funBang
+(test-infra.sh:65) true
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(test-infra.sh:68) unset funBang
+(test-infra.sh:73) echo foo
+(test-infra.sh:73) echo bar
+(test-infra.sh:73) grep -v -q foo
+(test-infra.sh:74) echo foo
+(test-infra.sh:74) echo bar
+(test-infra.sh:74) expect 1 grepInverse foo
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) grepInverse foo
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:249) grep foo
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
++(test-infra.sh:77) set -eu -o pipefail
++(test-infra.sh:77) echo foo
++(test-infra.sh:77) grepQuiet foo
++(test-infra.sh:77) wc -c
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep foo
+(test-infra.sh:77) res=0
+(test-infra.sh:78) (( res == 0 ))
+(test-infra.sh:79) unset res
+(test-infra.sh:82) echo foo
+(test-infra.sh:82) echo bar
+(test-infra.sh:82) expect 1 grepQuietInverse foo
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) grepQuietInverse foo
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:269) grep foo
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
++(test-infra.sh:83) set -eu -o pipefail
++(test-infra.sh:83) wc -c
++(test-infra.sh:83) echo foo
++(test-infra.sh:83) expect 1 grepQuietInverse foo
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) grepQuietInverse foo
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:269) grep foo
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(test-infra.sh:83) res=0
+(test-infra.sh:84) (( res == 0 ))
+(test-infra.sh:85) unset resclearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) enableFeatures ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/etc/nix.conf
++(common.sh:5) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(import-derivation.sh:3) export NIX_TESTS_CA_BY_DEFAULT=1
+(import-derivation.sh:3) NIX_TESTS_CA_BY_DEFAULT=1
+(import-derivation.sh:5) cd ..
+(import-derivation.sh:5) source import-derivation.sh
++(import-derivation.sh:1) source common.sh
+++(common.sh:1) set -eu -o pipefail
+++(common.sh:3) [[ -z 1 ]]
++(import-derivation.sh:3) clearStore
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/test-home/.local/state/nix/profiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/test-home/.local/state/nix/profiles
++(import-derivation.sh:5) nix-instantiate --readonly-mode ./import-derivation.nix
error:
… while calling the 'derivationStrict' builtin
at /builtin/derivation.nix:1:208:
… while evaluating derivation 'foo'
whose name attribute is located at /lix-src/build/tests/functional/import-derivation.nix:21:3
… while evaluating attribute 'args' of derivation 'foo'
at /lix-src/build/tests/functional/config.nix:23:7:
22| builder = shell;
23| args = ["-e" args.builder or (builtins.toFile "builder-${args.name}.sh" ''
| ^
24| if [ -e "$NIX_ATTRS_SH_FILE" ]; then source $NIX_ATTRS_SH_FILE; fi;
… while evaluating the attribute 'builder'
at /lix-src/build/tests/functional/import-derivation.nix:22:3:
21| name = "foo";
22| builder = builtins.toFile "builder.sh"
| ^
23| ''
… while calling the 'toFile' builtin
at /lix-src/build/tests/functional/import-derivation.nix:22:13:
21| name = "foo";
22| builder = builtins.toFile "builder.sh"
| ^
23| ''
… while evaluating the second argument passed to builtins.toFile
… while calling the 'toString' builtin
at /lix-src/build/tests/functional/import-derivation.nix:24:20:
23| ''
24| echo -n FOO${toString value} > $out
| ^
25| '';
… in the condition of the assert statement
at /lix-src/build/tests/functional/import-derivation.nix:15:5:
14| # Test that pathExists can check the existence of /nix/store paths
15| assert builtins.pathExists bar;
| ^
16| import bar;
… while calling the 'pathExists' builtin
at /lix-src/build/tests/functional/import-derivation.nix:15:12:
14| # Test that pathExists can check the existence of /nix/store paths
15| assert builtins.pathExists bar;
| ^
16| import bar;
… while realising the context of path '/0jfa07qvsv8m4wdvwnxfzm78w2bid94yiamjqxshvvv5421f86af'
error: path '/tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/store/hqr9n6730h94aamzp3ccdh44njfmbf3d-bar.drv' is not valid
+++(import-derivation.sh:10) nix-build ./import-derivation.nix --no-out-link
building '/tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/store/hqr9n6730h94aamzp3ccdh44njfmbf3d-bar.drv'...
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/store/1fpm3xy45jqxdhizi1bggbvy45qyxz9x-foo.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/store/1fpm3xy45jqxdhizi1bggbvy45qyxz9x-foo.drv'...
++(import-derivation.sh:10) outPath=/tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/store/29caxjjwmypvc01a98chnd17gqp3zdpc-foo
+++(import-derivation.sh:12) cat /tmp/nix-shell.MrxVR3/nix-test/ca/import-derivation/store/29caxjjwmypvc01a98chnd17gqp3zdpc-foo
++(import-derivation.sh:12) '[' FOO579 = FOO579 ']'[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) enableFeatures ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/etc/nix.conf
++(common.sh:5) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(derivation-json.sh:3) export NIX_TESTS_CA_BY_DEFAULT=1
+(derivation-json.sh:3) NIX_TESTS_CA_BY_DEFAULT=1
++(derivation-json.sh:5) nix-instantiate ../simple.nix
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(derivation-json.sh:5) drvPath=/tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/store/3b953a8x2jc2xjkxg9j7d07p0pbydnfz-simple.drv
+(derivation-json.sh:7) jq '.[]'
+(derivation-json.sh:7) nix derivation show /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/store/3b953a8x2jc2xjkxg9j7d07p0pbydnfz-simple.drv
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/store/3b953a8x2jc2xjkxg9j7d07p0pbydnfz-simple.drv^*'
++(derivation-json.sh:9) nix derivation add
+(derivation-json.sh:9) drvPath2=/tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/store/3b953a8x2jc2xjkxg9j7d07p0pbydnfz-simple.drv
+(derivation-json.sh:11) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/store/3b953a8x2jc2xjkxg9j7d07p0pbydnfz-simple.drv = \/\t\m\p\/\n\i\x\-\s\h\e\l\l\.\M\r\x\V\R\3\/\n\i\x\-\t\e\s\t\/\c\a\/\d\e\r\i\v\a\t\i\o\n\-\j\s\o\n\/\s\t\o\r\e\/\3\b\9\5\3\a\8\x\2\j\c\2\x\j\k\x\g\9\j\7\d\0\7\p\0\p\b\y\d\n\f\z\-\s\i\m\p\l\e\.\d\r\v ]]
+(derivation-json.sh:14) jq '.name = "foo"'
++(derivation-json.sh:15) nix derivation add --dry-run
+(derivation-json.sh:15) drvPath3=/tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/store/inxcs6c0b7c5q3kkp69rwa8w6idk26rl-foo.drv
+(derivation-json.sh:17) [[ ! -e /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/store/inxcs6c0b7c5q3kkp69rwa8w6idk26rl-foo.drv ]]
+(derivation-json.sh:20) expectStderr 1 nix derivation add --experimental-features nix-command
+(derivation-json.sh:20) grepQuiet 'experimental Nix feature '\''ca-derivations'\'' is disabled'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix derivation add --experimental-features nix-command
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'experimental Nix feature '\''ca-derivations'\'' is disabled'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
++(derivation-json.sh:23) nix derivation add
+(derivation-json.sh:23) drvPath4=/tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/store/inxcs6c0b7c5q3kkp69rwa8w6idk26rl-foo.drv
+(derivation-json.sh:24) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/store/inxcs6c0b7c5q3kkp69rwa8w6idk26rl-foo.drv = \/\t\m\p\/\n\i\x\-\s\h\e\l\l\.\M\r\x\V\R\3\/\n\i\x\-\t\e\s\t\/\c\a\/\d\e\r\i\v\a\t\i\o\n\-\j\s\o\n\/\s\t\o\r\e\/\i\n\x\c\s\6\c\0\b\7\c\5\q\3\k\k\p\6\9\r\w\a\8\w\6\i\d\k\2\6\r\l\-\f\o\o\.\d\r\v ]]
+(derivation-json.sh:25) [[ -e /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/store/inxcs6c0b7c5q3kkp69rwa8w6idk26rl-foo.drv ]]
+(derivation-json.sh:28) nix derivation show /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/store/inxcs6c0b7c5q3kkp69rwa8w6idk26rl-foo.drv
+(derivation-json.sh:28) jq '.[]'
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/store/inxcs6c0b7c5q3kkp69rwa8w6idk26rl-foo.drv^*'
+(derivation-json.sh:29) diff /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/test-home/foo.json /tmp/nix-shell.MrxVR3/nix-test/ca/derivation-json/test-home/foo-read.json[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ca/nix-run
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ca/nix-run
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ca/nix-run
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-run
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-run
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-run/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-run/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/nix-run/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-run/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-run/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/nix-run/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) enableFeatures ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/ca/nix-run/etc/nix.conf
++(common.sh:5) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(nix-run.sh:5) FLAKE_PATH=path:/lix-src/build/tests/functional/ca
+(nix-run.sh:7) nix run --no-write-lock-file path:/lix-src/build/tests/functional/ca#runnable
these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-run/store/91vamrn2ivi21bcq3jk488kcffzbv7ls-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-run/store/hj83bj6kxfiw11jw83w6qvlvbw90avax-rootCA.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-run/store/24slp07kw502k9xr0qp8ycl78fqvr56g-runnable-thing.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-run/store/91vamrn2ivi21bcq3jk488kcffzbv7ls-simple-input-addressed.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-run/store/kg9ka0wbldr7wkj9sg5j2synkp7sbmgp-rootCA.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-run/store/04j03icc8a0r168p4dzp3shigvjn6h3m-runnable-thing.drv'...clearing store...
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/jnl58vdcz9sk6b0y9qcj370y2kinmfyc-dependencies-top.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/knc3y9sz2wnykj0py12ydn1hvg2lvyvc-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/p94m1nzpfv1wdyzcmr5bhxgj1z8m34bc-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/qgag6m82g3v5kalcngpyf1a9hbgydsmv-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/v3icyyj1wijhrg5x2wh9547m7qryc664-dependencies-input-0.drv
clearing store...
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/jnl58vdcz9sk6b0y9qcj370y2kinmfyc-dependencies-top.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/jnl58vdcz9sk6b0y9qcj370y2kinmfyc-dependencies-top.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/knc3y9sz2wnykj0py12ydn1hvg2lvyvc-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/p94m1nzpfv1wdyzcmr5bhxgj1z8m34bc-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/qgag6m82g3v5kalcngpyf1a9hbgydsmv-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/v3icyyj1wijhrg5x2wh9547m7qryc664-dependencies-input-0.drv
clearing store...
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/ysmsfxma2alw9nygh9wqpshbl9frs6a3-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/jnl58vdcz9sk6b0y9qcj370y2kinmfyc-dependencies-top.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/knc3y9sz2wnykj0py12ydn1hvg2lvyvc-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/p94m1nzpfv1wdyzcmr5bhxgj1z8m34bc-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/qgag6m82g3v5kalcngpyf1a9hbgydsmv-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/v3icyyj1wijhrg5x2wh9547m7qryc664-dependencies-input-0.drv
clearing store...
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/ysmsfxma2alw9nygh9wqpshbl9frs6a3-dependencies-top/foobar
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) enableFeatures ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/etc/nix.conf
++(common.sh:5) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(eval-store.sh:7) export NIX_TESTS_CA_BY_DEFAULT=1
+(eval-store.sh:7) NIX_TESTS_CA_BY_DEFAULT=1
+(eval-store.sh:9) cd ..
+(eval-store.sh:10) source eval-store.sh
++(eval-store.sh:1) source common.sh
+++(common.sh:1) set -eu -o pipefail
+++(common.sh:3) [[ -z 1 ]]
++(eval-store.sh:5) needLocalStore '“--eval-store” doesn'\''t achieve much with the daemon'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:217) [[ '' == \d\a\e\m\o\n ]]
++(eval-store.sh:7) eval_store=/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store
++(eval-store.sh:9) clearStore
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/test-home/.local/state/nix/profiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/test-home/.local/state/nix/profiles
++(eval-store.sh:10) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store
++(eval-store.sh:12) nix build -f dependencies.nix --eval-store /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store -o /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/result
don't know how to build these paths:
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/jnl58vdcz9sk6b0y9qcj370y2kinmfyc-dependencies-top.drv
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/5mhcqigjyjc72pqiwx7p39vcplc7kp7y-dependencies.builder0.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/p3xcbkbb1i9pb5qz09f1jwm69jwqc9fq-builder-dependencies-input-0.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/fwxdl6l3piymljskd2bkpb0xha0m0jjp-builder-dependencies-input-1.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/1aylkhs4j3r1wzffb3n5piq3ynilz64b-builder-dependencies-input-2.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/ck6m6ngxm3mymn7qmqp7g8f176fnyy2b-builder-fod-input.sh' to 'local'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/v3icyyj1wijhrg5x2wh9547m7qryc664-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/qgag6m82g3v5kalcngpyf1a9hbgydsmv-dependencies-input-1.drv'...
copying 0 paths...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/a5ww8l0lnyavxyb0f7qgzsmcrbs81vjx-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/knc3y9sz2wnykj0py12ydn1hvg2lvyvc-fod-input.drv'...
copying 0 paths...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/jf9hsaqy9isq1skiwn19fism32kya2zw-dependencies-top.drv'...
++(eval-store.sh:13) [[ -e /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/result/foobar ]]
++(eval-store.sh:14) [[ ! -n 1 ]]
++(eval-store.sh:24) ls /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/jnl58vdcz9sk6b0y9qcj370y2kinmfyc-dependencies-top.drv /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/knc3y9sz2wnykj0py12ydn1hvg2lvyvc-fod-input.drv /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/p94m1nzpfv1wdyzcmr5bhxgj1z8m34bc-dependencies-input-2.drv /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/qgag6m82g3v5kalcngpyf1a9hbgydsmv-dependencies-input-1.drv /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/v3icyyj1wijhrg5x2wh9547m7qryc664-dependencies-input-0.drv
++(eval-store.sh:26) clearStore
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/test-home/.local/state/nix/profiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/test-home/.local/state/nix/profiles
++(eval-store.sh:27) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store
++(eval-store.sh:29) nix-instantiate dependencies.nix --eval-store /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
++(eval-store.sh:30) ls '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/*.drv'
ls: cannot access '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/*.drv': No such file or directory
++(eval-store.sh:31) ls /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/jnl58vdcz9sk6b0y9qcj370y2kinmfyc-dependencies-top.drv /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/knc3y9sz2wnykj0py12ydn1hvg2lvyvc-fod-input.drv /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/p94m1nzpfv1wdyzcmr5bhxgj1z8m34bc-dependencies-input-2.drv /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/qgag6m82g3v5kalcngpyf1a9hbgydsmv-dependencies-input-1.drv /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/v3icyyj1wijhrg5x2wh9547m7qryc664-dependencies-input-0.drv
++(eval-store.sh:33) clearStore
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/test-home/.local/state/nix/profiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/test-home/.local/state/nix/profiles
++(eval-store.sh:34) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store
++(eval-store.sh:36) nix-build dependencies.nix --eval-store /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store -o /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/result
don't know how to build these paths:
/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/jnl58vdcz9sk6b0y9qcj370y2kinmfyc-dependencies-top.drv
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/5mhcqigjyjc72pqiwx7p39vcplc7kp7y-dependencies.builder0.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/p3xcbkbb1i9pb5qz09f1jwm69jwqc9fq-builder-dependencies-input-0.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/fwxdl6l3piymljskd2bkpb0xha0m0jjp-builder-dependencies-input-1.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/1aylkhs4j3r1wzffb3n5piq3ynilz64b-builder-dependencies-input-2.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/ck6m6ngxm3mymn7qmqp7g8f176fnyy2b-builder-fod-input.sh' to 'local'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/v3icyyj1wijhrg5x2wh9547m7qryc664-dependencies-input-0.drv'...
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/p94m1nzpfv1wdyzcmr5bhxgj1z8m34bc-dependencies-input-2.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/a5ww8l0lnyavxyb0f7qgzsmcrbs81vjx-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/qgag6m82g3v5kalcngpyf1a9hbgydsmv-dependencies-input-1.drv'...
copying 0 paths...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/a5ww8l0lnyavxyb0f7qgzsmcrbs81vjx-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/knc3y9sz2wnykj0py12ydn1hvg2lvyvc-fod-input.drv'...
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/jnl58vdcz9sk6b0y9qcj370y2kinmfyc-dependencies-top.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/jf9hsaqy9isq1skiwn19fism32kya2zw-dependencies-top.drv'...
copying 0 paths...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/jf9hsaqy9isq1skiwn19fism32kya2zw-dependencies-top.drv'...
FOO
++(eval-store.sh:37) [[ -e /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/result/foobar ]]
++(eval-store.sh:38) [[ ! -n 1 ]]
++(eval-store.sh:42) ls /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/jnl58vdcz9sk6b0y9qcj370y2kinmfyc-dependencies-top.drv /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/knc3y9sz2wnykj0py12ydn1hvg2lvyvc-fod-input.drv /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/p94m1nzpfv1wdyzcmr5bhxgj1z8m34bc-dependencies-input-2.drv /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/qgag6m82g3v5kalcngpyf1a9hbgydsmv-dependencies-input-1.drv /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/v3icyyj1wijhrg5x2wh9547m7qryc664-dependencies-input-0.drv
++(eval-store.sh:44) clearStore
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/test-home/.local/state/nix/profiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/test-home/.local/state/nix/profiles
++(eval-store.sh:45) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store
+++(eval-store.sh:48) nix eval --eval-store '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store?require-sigs=false' --impure --raw --file ./ifd.nix
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/bb8l7n4lw1zq0fdwx5hiwmc3397hac0k-builder-foo.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/5mhcqigjyjc72pqiwx7p39vcplc7kp7y-dependencies.builder0.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/p3xcbkbb1i9pb5qz09f1jwm69jwqc9fq-builder-dependencies-input-0.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/fwxdl6l3piymljskd2bkpb0xha0m0jjp-builder-dependencies-input-1.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/1aylkhs4j3r1wzffb3n5piq3ynilz64b-builder-dependencies-input-2.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/ck6m6ngxm3mymn7qmqp7g8f176fnyy2b-builder-fod-input.sh' to 'local'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/v3icyyj1wijhrg5x2wh9547m7qryc664-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/qgag6m82g3v5kalcngpyf1a9hbgydsmv-dependencies-input-1.drv'...
copying 0 paths...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/a5ww8l0lnyavxyb0f7qgzsmcrbs81vjx-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/knc3y9sz2wnykj0py12ydn1hvg2lvyvc-fod-input.drv'...
copying 0 paths...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/jf9hsaqy9isq1skiwn19fism32kya2zw-dependencies-top.drv'...
copying 0 paths...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/kbh2a2psaynr3gy8mvdxyvfpiw8bv8i3-foo.drv'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/q4xiwxi5c3mx459in49z4f5qk72czfw5-foo' to 'local'...
++(eval-store.sh:48) [[ hi = hi ]]
++(eval-store.sh:49) ls /tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/store/ysmsfxma2alw9nygh9wqpshbl9frs6a3-dependencies-top/foobar
++(eval-store.sh:50) ls '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/*dependencies-top/foobar'
ls: cannot access '/tmp/nix-shell.MrxVR3/nix-test/ca/eval-store/eval-store/nix/store/*dependencies-top/foobar': No such file or directoryclearing store...
/tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/store/fs5pdvchcmhm0y1l5qvqmiqirn9xr2mh-selfref-gc
6 store paths deleted, 0.00 MiB freed
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) enableFeatures ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/etc/nix.conf
++(common.sh:5) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(selfref-gc.sh:5) requireDaemonNewerThan 2.4pre20210626
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:159) isDaemonNewer 2.4pre20210626
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
+(selfref-gc.sh:7) enableFeatures 'ca-derivations nix-command flakes'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local 'features=ca-derivations nix-command flakes'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations nix-command flakes/' /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/etc/nix.conf
+(selfref-gc.sh:9) export NIX_TESTS_CA_BY_DEFAULT=1
+(selfref-gc.sh:9) NIX_TESTS_CA_BY_DEFAULT=1
+(selfref-gc.sh:10) cd ..
+(selfref-gc.sh:11) source ./selfref-gc.sh
++(./selfref-gc.sh:1) source common.sh
+++(common.sh:1) set -eu -o pipefail
+++(common.sh:3) [[ -z 1 ]]
++(./selfref-gc.sh:3) requireDaemonNewerThan 2.6.0pre20211215
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:159) isDaemonNewer 2.6.0pre20211215
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
++(./selfref-gc.sh:5) clearStore
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/test-home/.local/state/nix/profiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/test-home/.local/state/nix/profiles
++(./selfref-gc.sh:7) nix-build --no-out-link -E '
with import ./config.nix;
let d1 = mkDerivation {
name = "selfref-gc";
outputs = [ "out" ];
buildCommand = "
echo SELF_REF: $out > $out
";
}; in
# the only change from d1 is d1 as an (unused) build input
# to get identical store path in CA.
mkDerivation {
name = "selfref-gc";
outputs = [ "out" ];
buildCommand = "
echo UNUSED: ${d1}
echo SELF_REF: $out > $out
";
}
'
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/store/1apb4381hr208jvxkzvkg3g54pkvg0r6-selfref-gc.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/store/vivhbpvim5z7wz7l6w8v2015gcam5irv-selfref-gc.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/store/1apb4381hr208jvxkzvkg3g54pkvg0r6-selfref-gc.drv'...
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/store/vivhbpvim5z7wz7l6w8v2015gcam5irv-selfref-gc.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/store/0h7ahghfa7z5hlr0gbkbc8znxkxld06n-selfref-gc.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/store/0h7ahghfa7z5hlr0gbkbc8znxkxld06n-selfref-gc.drv'...
UNUSED: /tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/store/fs5pdvchcmhm0y1l5qvqmiqirn9xr2mh-selfref-gc
++(./selfref-gc.sh:30) nix-collect-garbage
finding garbage collector roots...
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/var/nix/gcroots/auto/y9x14l68dd4415vychs30fwjw58k8x0h' to '/tmp/nix-shell.MrxVR3/nix-build-20834-0/result'
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/store/0h7ahghfa7z5hlr0gbkbc8znxkxld06n-selfref-gc.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/store/fs5pdvchcmhm0y1l5qvqmiqirn9xr2mh-selfref-gc'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/store/mgwsr63swcf0plzlsnjq3816g6zyialh-selfref-gc'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/store/vivhbpvim5z7wz7l6w8v2015gcam5irv-selfref-gc.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/store/1apb4381hr208jvxkzvkg3g54pkvg0r6-selfref-gc.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/selfref-gc/store/j8wnhlkvpa4zfp14g90bcmx6ghavd7sl-builder-selfref-gc.sh'
deleting unused links...
note: currently hard linking saves -0.00 MiBclearing store...
/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/wa0kby0m21vpljim0wqjgfx3ll3ibj7p-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/z82am4cfar6bp8qwwhvkbzgmpf0qwdni-dependencies-top
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) enableFeatures ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/etc/nix.conf
++(common.sh:5) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(why-depends.sh:3) export NIX_TESTS_CA_BY_DEFAULT=1
+(why-depends.sh:3) NIX_TESTS_CA_BY_DEFAULT=1
+(why-depends.sh:5) cd ..
+(why-depends.sh:5) source why-depends.sh
++(why-depends.sh:1) source common.sh
+++(common.sh:1) set -eu -o pipefail
+++(common.sh:3) [[ -z 1 ]]
++(why-depends.sh:3) clearStore
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/test-home/.local/state/nix/profiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/test-home/.local/state/nix/profiles
++(why-depends.sh:5) cp ./dependencies.nix ./dependencies.builder0.sh ./config.nix /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/test-home
++(why-depends.sh:7) cd /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/test-home
++(why-depends.sh:9) nix why-depends --derivation --file ./dependencies.nix input2_drv input1_drv
'input2_drv' does not depend on 'input1_drv'
++(why-depends.sh:10) nix why-depends --file ./dependencies.nix input2_drv input1_drv
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/7n4ap7xjsb8wkjjp4nrfb7vm251s025m-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/19xbllcyxi3m3hyhiw09c7iilpx1fs9b-dependencies-input-2.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/7n4ap7xjsb8wkjjp4nrfb7vm251s025m-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/5gbmv9xc2s15lmfawncddnkn7q2k4w77-dependencies-input-2.drv'...
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/6im7ghn85irl1ybhrf95clvyl128l0gh-dependencies-input-1.drv
'input2_drv' does not depend on 'input1_drv'
++(why-depends.sh:12) nix-build ./dependencies.nix -A input0_drv -o dep
++(why-depends.sh:13) nix-build ./dependencies.nix -o toplevel
these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/6im7ghn85irl1ybhrf95clvyl128l0gh-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/bfv60pwyrllv57ww8fc19kp0insmyc8s-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/fgrmsz15viqdvwrg7kxv41w4mz0589lx-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/6im7ghn85irl1ybhrf95clvyl128l0gh-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/bfv60pwyrllv57ww8fc19kp0insmyc8s-fod-input.drv'...
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/fgrmsz15viqdvwrg7kxv41w4mz0589lx-dependencies-top.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/qnwa29rmdkglxc2ca4792d2m95kaa9gm-dependencies-top.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/qnwa29rmdkglxc2ca4792d2m95kaa9gm-dependencies-top.drv'...
FOO
+++(why-depends.sh:15) nix why-depends ./toplevel ./dep
++(why-depends.sh:15) FAST_WHY_DEPENDS_OUTPUT='/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/z82am4cfar6bp8qwwhvkbzgmpf0qwdni-dependencies-top
└───/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/mz1g4dxfy86laawj2hfmw5y8ij46h487-dependencies-input-2\x1b[0m
└───/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/wa0kby0m21vpljim0wqjgfx3ll3ibj7p-dependencies-input-0\x1b[0m'
+++(why-depends.sh:16) nix why-depends ./toplevel ./dep --precise
++(why-depends.sh:16) PRECISE_WHY_DEPENDS_OUTPUT='/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/z82am4cfar6bp8qwwhvkbzgmpf0qwdni-dependencies-top\x1b[0m
└───reference-to-input-2 -> /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/\x1b[34;1mmz1g4dxfy86laawj2hfmw5y8ij46h487\x1b[0m-dependencies-input-2/.
→ /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/mz1g4dxfy86laawj2hfmw5y8ij46h487-dependencies-input-2\x1b[0m
└───input0: …3/nix-test/ca/why-depends/store/\x1b[32;1mwa0kby0m21vpljim0wqjgfx3ll3ibj7p\x1b[0m-dependencies-input-0.…
→ /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/wa0kby0m21vpljim0wqjgfx3ll3ibj7p-dependencies-input-0\x1b[0m'
++(why-depends.sh:19) echo '/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/z82am4cfar6bp8qwwhvkbzgmpf0qwdni-dependencies-top
└───/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/mz1g4dxfy86laawj2hfmw5y8ij46h487-dependencies-input-2\x1b[0m
└───/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/wa0kby0m21vpljim0wqjgfx3ll3ibj7p-dependencies-input-0\x1b[0m'
++(why-depends.sh:19) grepQuiet input-2
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep input-2
++(why-depends.sh:20) echo '/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/z82am4cfar6bp8qwwhvkbzgmpf0qwdni-dependencies-top\x1b[0m
└───reference-to-input-2 -> /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/\x1b[34;1mmz1g4dxfy86laawj2hfmw5y8ij46h487\x1b[0m-dependencies-input-2/.
→ /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/mz1g4dxfy86laawj2hfmw5y8ij46h487-dependencies-input-2\x1b[0m
└───input0: …3/nix-test/ca/why-depends/store/\x1b[32;1mwa0kby0m21vpljim0wqjgfx3ll3ibj7p\x1b[0m-dependencies-input-0.…
→ /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/wa0kby0m21vpljim0wqjgfx3ll3ibj7p-dependencies-input-0\x1b[0m'
++(why-depends.sh:20) grepQuiet input-2
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep input-2
++(why-depends.sh:23) grepQuietInverse reference-to-input-2
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:269) grep reference-to-input-2
++(why-depends.sh:23) echo '/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/z82am4cfar6bp8qwwhvkbzgmpf0qwdni-dependencies-top
└───/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/mz1g4dxfy86laawj2hfmw5y8ij46h487-dependencies-input-2\x1b[0m
└───/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/wa0kby0m21vpljim0wqjgfx3ll3ibj7p-dependencies-input-0\x1b[0m'
++(why-depends.sh:24) echo '/tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/z82am4cfar6bp8qwwhvkbzgmpf0qwdni-dependencies-top\x1b[0m
└───reference-to-input-2 -> /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/\x1b[34;1mmz1g4dxfy86laawj2hfmw5y8ij46h487\x1b[0m-dependencies-input-2/.
→ /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/mz1g4dxfy86laawj2hfmw5y8ij46h487-dependencies-input-2\x1b[0m
└───input0: …3/nix-test/ca/why-depends/store/\x1b[32;1mwa0kby0m21vpljim0wqjgfx3ll3ibj7p\x1b[0m-dependencies-input-0.…
→ /tmp/nix-shell.MrxVR3/nix-test/ca/why-depends/store/wa0kby0m21vpljim0wqjgfx3ll3ibj7p-dependencies-input-0\x1b[0m'
++(why-depends.sh:24) grepQuiet reference-to-input-2
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep reference-to-input-2
++(why-depends.sh:26) sed -n 2p
++(why-depends.sh:26) grepQuiet '└───reference-to-input-2 -> '
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '└───reference-to-input-2 -> '
++(why-depends.sh:27) sed -n 3p
++(why-depends.sh:27) grep ' →'
++(why-depends.sh:27) grepQuiet dependencies-input-2
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep dependencies-input-2
++(why-depends.sh:28) sed -n 4p
++(why-depends.sh:28) grepQuiet ' └───input0: …'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep ' └───input0: …'
++(why-depends.sh:29) sed -n 5p
++(why-depends.sh:29) grep ' →'
++(why-depends.sh:29) grepQuiet dependencies-input-0
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep dependencies-input-0clearing store...
/tmp/nix-shell.MrxVR3/nix-test/ca/recursive/store/pcxxnvagsqzs47iha2kyz2my9zzrngrw-foobar
/tmp/nix-shell.MrxVR3/nix-test/ca/recursive/store/8vm5pln74ipzsn2fwd715v56cq2p6nb7-fnord
/tmp/nix-shell.MrxVR3/nix-test/ca/recursive/store/28yck386233v5nxwydz6s00hhb53b6kl-inner1
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ca/recursive
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ca/recursive
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ca/recursive
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/recursive
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/recursive
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) enableFeatures ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/etc/nix.conf
++(common.sh:5) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(recursive.sh:5) requireDaemonNewerThan 2.4pre20210623
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:159) isDaemonNewer 2.4pre20210623
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
+(recursive.sh:7) export NIX_TESTS_CA_BY_DEFAULT=1
+(recursive.sh:7) NIX_TESTS_CA_BY_DEFAULT=1
+(recursive.sh:8) cd ..
+(recursive.sh:9) source ./recursive.sh
++(./recursive.sh:1) source common.sh
+++(common.sh:1) set -eu -o pipefail
+++(common.sh:3) [[ -z 1 ]]
++(./recursive.sh:3) enableFeatures recursive-nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=recursive-nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& recursive-nix/' /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/etc/nix.conf
++(./recursive.sh:4) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
++(./recursive.sh:6) clearStore
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/recursive/test-home/.local/state/nix/profiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/test-home/.local/state/nix/profiles
++(./recursive.sh:8) rm -f /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/result
+++(./recursive.sh:10) nix store add-path ./recursive.sh
++(./recursive.sh:10) export unreachable=/tmp/nix-shell.MrxVR3/nix-test/ca/recursive/store/fzrfv0vn7qhsv4wgkc5x9x0yw051s66d-recursive.sh
++(./recursive.sh:10) unreachable=/tmp/nix-shell.MrxVR3/nix-test/ca/recursive/store/fzrfv0vn7qhsv4wgkc5x9x0yw051s66d-recursive.sh
++++(./recursive.sh:12) type -p nix
+++(./recursive.sh:12) dirname /lix-src/outputs/out/bin/nix
++(./recursive.sh:12) NIX_BIN_DIR=/lix-src/outputs/out/bin
++(./recursive.sh:12) nix --extra-experimental-features 'nix-command recursive-nix' build -o /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/result -L --impure --file ./recursive.nix
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/recursive/store/xln0jyknknzn70ns8j8q8fyxvpy2rfij-recursive.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/recursive/store/xln0jyknknzn70ns8j8q8fyxvpy2rfij-recursive.drv'...
recursive> /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/store/zfyy69xvvvj9bz1m57ww8q0axgsrcqkr-dummy
recursive> don't know how to build these paths:
recursive> /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/store/fzrfv0vn7qhsv4wgkc5x9x0yw051s66d-recursive.sh
recursive> error: path '/tmp/nix-shell.MrxVR3/nix-test/ca/recursive/store/fzrfv0vn7qhsv4wgkc5x9x0yw051s66d-recursive.sh' is not valid
recursive> error: cannot build '/tmp/nix-shell.MrxVR3/nix-test/ca/recursive/store/fzrfv0vn7qhsv4wgkc5x9x0yw051s66d-recursive.sh' in recursive Nix because path is unknown
recursive> /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/store/pcxxnvagsqzs47iha2kyz2my9zzrngrw-foobar
building '/tmp/nix-shell.MrxVR3/nix-test/ca/recursive/store/37qy905q7khkm2kvp2iqys7vnqs1b7l6-inner1.drv'...
recursive> m
+++(./recursive.sh:14) cat /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/result/inner1
++(./recursive.sh:14) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/store/8vm5pln74ipzsn2fwd715v56cq2p6nb7-fnord blaat =~ blaat ]]
++(./recursive.sh:17) nix path-info -r /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/result
++(./recursive.sh:17) grep foobar
++(./recursive.sh:18) nix path-info -r /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/result
++(./recursive.sh:18) grep fnord
++(./recursive.sh:19) nix path-info -r /tmp/nix-shell.MrxVR3/nix-test/ca/recursive/result
++(./recursive.sh:19) grep inner1{
"/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/v1yc2wg6mb4778yz81g8b5q872s22z64-hello.drv": {
"args": [
"-e",
"/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/j15igcxvxk6bna1i3q74pscvnaavdcak-builder-hello.sh"
],
"builder": "/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash",
"env": {
"PATH": "/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin",
"buildCommand": "set -x\necho \"Building a CA derivation\"\nmkdir -p $out\necho \"Hello World\" > $out/hello\n",
"builder": "/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash",
"name": "hello",
"out": "/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/g6lpv1x0vg9dbi7rmiamn67j1x2agfj0-hello",
"system": "x86_64-linux"
},
"inputDrvs": {},
"inputSrcs": [
"/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/j15igcxvxk6bna1i3q74pscvnaavdcak-builder-hello.sh"
],
"name": "hello",
"outputs": {
"out": {
"path": "/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/g6lpv1x0vg9dbi7rmiamn67j1x2agfj0-hello"
}
},
"system": "x86_64-linux"
}
}
{
"/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/hsp969p79l0plra82z5sbh8qmjzp0ri0-hello.drv.drv": {
"args": [
"-e",
"/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/33p3026c5ybfcpnc09kzw4ih51nc9fss-builder-hello.drv.sh"
],
"builder": "/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash",
"env": {
"PATH": "/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin",
"buildCommand": "echo \"Copying the derivation\"\ncp /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/v1yc2wg6mb4778yz81g8b5q872s22z64-hello.drv $out\n",
"builder": "/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash",
"name": "hello.drv",
"out": "/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9",
"outputHashAlgo": "sha256",
"outputHashMode": "text",
"system": "x86_64-linux"
},
"inputDrvs": {},
"inputSrcs": [
"/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/33p3026c5ybfcpnc09kzw4ih51nc9fss-builder-hello.drv.sh",
"/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/v1yc2wg6mb4778yz81g8b5q872s22z64-hello.drv"
],
"name": "hello.drv",
"outputs": {
"out": {
"hashAlgo": "text:sha256"
}
},
"system": "x86_64-linux"
}
}
[
{
"ca": "text:sha256:1d04v05689w9gnrhdmijw275sj2m5cv7h43mcrgcvgh0zwz0v349",
"narHash": "sha256-kLGYsEmYV2fQ0wDC1quWVHx/J9vewB4xUSlyw8/9nk8=",
"narSize": 992,
"path": "/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/v1yc2wg6mb4778yz81g8b5q872s22z64-hello.drv",
"references": [
"/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/j15igcxvxk6bna1i3q74pscvnaavdcak-builder-hello.sh"
],
"registrationTime": 1716682861,
"ultimate": true,
"valid": true
}
]
[
{
"ca": "text:sha256:1d04v05689w9gnrhdmijw275sj2m5cv7h43mcrgcvgh0zwz0v349",
"narHash": "sha256-kLGYsEmYV2fQ0wDC1quWVHx/J9vewB4xUSlyw8/9nk8=",
"narSize": 992,
"path": "/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/v1yc2wg6mb4778yz81g8b5q872s22z64-hello.drv",
"references": [
"/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/j15igcxvxk6bna1i3q74pscvnaavdcak-builder-hello.sh"
],
"registrationTime": 1716682861,
"ultimate": true,
"valid": true
}
]
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:4) requireDaemonNewerThan 2.16.0pre20230419
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:159) isDaemonNewer 2.16.0pre20230419
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
++(common.sh:6) enableFeatures 'ca-derivations dynamic-derivations'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local 'features=ca-derivations dynamic-derivations'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations dynamic-derivations/' /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/etc/nix.conf
++(common.sh:8) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
++(text-hashed-output.sh:15) nix-instantiate ./text-hashed-output.nix -A hello
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(text-hashed-output.sh:15) drv=/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/v1yc2wg6mb4778yz81g8b5q872s22z64-hello.drv
+(text-hashed-output.sh:16) nix show-derivation /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/v1yc2wg6mb4778yz81g8b5q872s22z64-hello.drv
warning: 'show-derivation' is a deprecated alias for 'derivation show'
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/v1yc2wg6mb4778yz81g8b5q872s22z64-hello.drv^*'
++(text-hashed-output.sh:18) nix-instantiate ./text-hashed-output.nix -A producingDrv
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(text-hashed-output.sh:18) drvProducingDrv=/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/hsp969p79l0plra82z5sbh8qmjzp0ri0-hello.drv.drv
+(text-hashed-output.sh:19) nix show-derivation /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/hsp969p79l0plra82z5sbh8qmjzp0ri0-hello.drv.drv
warning: 'show-derivation' is a deprecated alias for 'derivation show'
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/hsp969p79l0plra82z5sbh8qmjzp0ri0-hello.drv.drv^*'
++(text-hashed-output.sh:21) nix-build ./text-hashed-output.nix -A producingDrv --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/hsp969p79l0plra82z5sbh8qmjzp0ri0-hello.drv.drv
building '/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/hsp969p79l0plra82z5sbh8qmjzp0ri0-hello.drv.drv'...
Copying the derivation
+(text-hashed-output.sh:21) out1=/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/v1yc2wg6mb4778yz81g8b5q872s22z64-hello.drv
+(text-hashed-output.sh:23) nix path-info /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/v1yc2wg6mb4778yz81g8b5q872s22z64-hello.drv --derivation --json
+(text-hashed-output.sh:23) jq
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/v1yc2wg6mb4778yz81g8b5q872s22z64-hello.drv^*'
+(text-hashed-output.sh:24) nix path-info /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/v1yc2wg6mb4778yz81g8b5q872s22z64-hello.drv --derivation --json
+(text-hashed-output.sh:24) jq
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/v1yc2wg6mb4778yz81g8b5q872s22z64-hello.drv^*'
+(text-hashed-output.sh:26) test /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/v1yc2wg6mb4778yz81g8b5q872s22z64-hello.drv == /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/text-hashed-output/store/v1yc2wg6mb4778yz81g8b5q872s22z64-hello.drvclearing store...
I am alive!
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:4) requireDaemonNewerThan 2.16.0pre20230419
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:159) isDaemonNewer 2.16.0pre20230419
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
++(common.sh:6) enableFeatures 'ca-derivations dynamic-derivations'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local 'features=ca-derivations dynamic-derivations'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations dynamic-derivations/' /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/etc/nix.conf
++(common.sh:8) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
++(recursive-mod-json.sh:4) uname
+(recursive-mod-json.sh:4) [[ Linux != Linux ]]
+(recursive-mod-json.sh:6) export NIX_TESTS_CA_BY_DEFAULT=1
+(recursive-mod-json.sh:6) NIX_TESTS_CA_BY_DEFAULT=1
+(recursive-mod-json.sh:8) enableFeatures recursive-nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=recursive-nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& recursive-nix/' /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/etc/nix.conf
+(recursive-mod-json.sh:9) restartDaemon
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(recursive-mod-json.sh:11) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/test-home/.local/state/nix/profiles
+(recursive-mod-json.sh:13) rm -f /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/result
+++(recursive-mod-json.sh:15) type -p nix
++(recursive-mod-json.sh:15) dirname /lix-src/outputs/out/bin/nix
+++(recursive-mod-json.sh:15) type -p jq
++(recursive-mod-json.sh:15) dirname /nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin/jq
+(recursive-mod-json.sh:15) EXTRA_PATH=/lix-src/outputs/out/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin
+(recursive-mod-json.sh:16) export EXTRA_PATH
++(recursive-mod-json.sh:19) nix-instantiate ./recursive-mod-json.nix
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(recursive-mod-json.sh:19) metaDrv=/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/store/mbs6rclwqi1m4jr9h2b9bq1xsfq5fvyk-foo.drv.drv
++(recursive-mod-json.sh:22) nix-store -r /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/store/mbs6rclwqi1m4jr9h2b9bq1xsfq5fvyk-foo.drv.drv
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/store/mbs6rclwqi1m4jr9h2b9bq1xsfq5fvyk-foo.drv.drv
building '/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/store/mbs6rclwqi1m4jr9h2b9bq1xsfq5fvyk-foo.drv.drv'...
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/store/fc0h57x708xqpr93yvs6hqamnj2mbgkz-hello.drv^*'
m
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(recursive-mod-json.sh:22) drv=/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/store/4xqd1m0q5vminvx00x89n30pvvrngfh1-foo.drv
++(recursive-mod-json.sh:25) nix-store -r /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/store/4xqd1m0q5vminvx00x89n30pvvrngfh1-foo.drv
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/store/4xqd1m0q5vminvx00x89n30pvvrngfh1-foo.drv
building '/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/store/4xqd1m0q5vminvx00x89n30pvvrngfh1-foo.drv'...
++ echo 'Building a CA derivation'
Building a CA derivation
++ mkdir -p /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/store/p8j3hrjkikg3g1iiy4zz5pkpdnsd9ah2-foo
++ echo 'Hello World'
++ echo 'I am alive!'
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(recursive-mod-json.sh:25) res=/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/store/3zabz84054m7alvblk213aci3s6c2lzf-foo
+(recursive-mod-json.sh:27) grep 'I am alive!' /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/recursive-mod-json/store/3zabz84054m7alvblk213aci3s6c2lzf-foo/helloclearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:4) requireDaemonNewerThan 2.16.0pre20230419
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:159) isDaemonNewer 2.16.0pre20230419
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
++(common.sh:6) enableFeatures 'ca-derivations dynamic-derivations'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local 'features=ca-derivations dynamic-derivations'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations dynamic-derivations/' /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv/etc/nix.conf
++(common.sh:8) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
++(build-built-drv.sh:15) nix build -f ./text-hashed-output.nix hello --no-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv/store/i8pkwwmcbxkxbr2szs5vv5jfr1xvpbjc-hello.drv
building '/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv/store/i8pkwwmcbxkxbr2szs5vv5jfr1xvpbjc-hello.drv'...
+(build-built-drv.sh:15) out1=
+(build-built-drv.sh:17) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv/test-home/.local/state/nix/profiles
++(build-built-drv.sh:19) nix-instantiate ./text-hashed-output.nix -A producingDrv
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(build-built-drv.sh:19) drvDep=/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv/store/65f6b485nhsgam1d7c06wxh4qyh470l2-hello.drv.drv
+(build-built-drv.sh:21) expectStderr 1 nix build '/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv/store/65f6b485nhsgam1d7c06wxh4qyh470l2-hello.drv.drv^out^out' --no-link
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(build-built-drv.sh:21) grepQuiet 'Building dynamic derivations in one shot is not yet implemented'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix build '/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/build-built-drv/store/65f6b485nhsgam1d7c06wxh4qyh470l2-hello.drv.drv^out^out' --no-link
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'Building dynamic derivations in one shot is not yet implemented'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0[SKIP]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/old-daemon-error-hack
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/old-daemon-error-hack
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/old-daemon-error-hack
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/old-daemon-error-hack
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/old-daemon-error-hack
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/old-daemon-error-hack/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/old-daemon-error-hack/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/old-daemon-error-hack/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/old-daemon-error-hack/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/old-daemon-error-hack/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/old-daemon-error-hack/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(../common.sh:8) [[ -n '' ]]
+(old-daemon-error-hack.sh:5) isDaemonNewer 2.18.0pre20230906
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
+(old-daemon-error-hack.sh:5) skipTest 'Daemon is too new'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:154) echo 'Daemon is too new, skipping this test...'
Daemon is too new, skipping this test...
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:155) exit 99""
null
null
null
null
null
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/eval-outputOf
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/eval-outputOf
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/eval-outputOf
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/eval-outputOf
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/eval-outputOf
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/eval-outputOf/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/eval-outputOf/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/eval-outputOf/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/eval-outputOf/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/eval-outputOf/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/eval-outputOf/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(./common.sh:4) requireDaemonNewerThan 2.16.0pre20230419
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:159) isDaemonNewer 2.16.0pre20230419
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
++(./common.sh:6) enableFeatures 'ca-derivations dynamic-derivations'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local 'features=ca-derivations dynamic-derivations'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations dynamic-derivations/' /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/eval-outputOf/etc/nix.conf
++(./common.sh:8) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(eval-outputOf.sh:6) nix --experimental-features nix-command eval --impure --expr 'assert ! (builtins ? outputOf); ""'
+(eval-outputOf.sh:15) expectStderr 1 nix --experimental-features 'nix-command dynamic-derivations' eval --impure --expr 'builtins.outputOf (import ../dependencies.nix {}) "out"'
+(eval-outputOf.sh:17) grepQuiet 'expected a string but found a set'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'expected a string but found a set'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix --experimental-features 'nix-command dynamic-derivations' eval --impure --expr 'builtins.outputOf (import ../dependencies.nix {}) "out"'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(eval-outputOf.sh:22) expectStderr 1 nix --experimental-features 'nix-command dynamic-derivations' eval --impure --expr 'builtins.outputOf (import ../dependencies.nix {}).drvPath "out"'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(eval-outputOf.sh:24) grepQuiet 'has a context which refers to a complete source and binary closure. This is not supported at this time'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix --experimental-features 'nix-command dynamic-derivations' eval --impure --expr 'builtins.outputOf (import ../dependencies.nix {}).drvPath "out"'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'has a context which refers to a complete source and binary closure. This is not supported at this time'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(eval-outputOf.sh:41) testStaticHello
+(eval-outputOf.sh:28) nix eval --impure --expr 'with (import ./text-hashed-output.nix); let
a = hello.outPath;
b = builtins.outputOf (builtins.unsafeDiscardOutputDependency hello.drvPath) "out";
in builtins.trace a
(builtins.trace b
(assert a == b; null))'
trace: /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/eval-outputOf/store/7nr7k1ww6fphphpdg76a47qhz3x2pcby-hello
trace: /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/eval-outputOf/store/7nr7k1ww6fphphpdg76a47qhz3x2pcby-hello
+(eval-outputOf.sh:44) NIX_TESTS_CA_BY_DEFAULT=1
+(eval-outputOf.sh:44) testStaticHello
+(eval-outputOf.sh:28) nix eval --impure --expr 'with (import ./text-hashed-output.nix); let
a = hello.outPath;
b = builtins.outputOf (builtins.unsafeDiscardOutputDependency hello.drvPath) "out";
in builtins.trace a
(builtins.trace b
(assert a == b; null))'
trace: /1v7vd1w83f98w8f7xrvhdc6x9bqlsy21awxr6j91bg3d71mxqmzi
trace: /1v7vd1w83f98w8f7xrvhdc6x9bqlsy21awxr6j91bg3d71mxqmzi
+(eval-outputOf.sh:53) nix eval --impure --expr 'with (import ./text-hashed-output.nix); let
a = producingDrv.outPath;
b = builtins.outputOf (builtins.builtins.unsafeDiscardOutputDependency producingDrv.drvPath) "out";
in builtins.trace a
(builtins.trace b
(assert a == b; null))'
trace: /0rm4izzlsx05s9xacgizipjqymmv7h6wzzhpp713fhmif5jwsjvg
trace: /0rm4izzlsx05s9xacgizipjqymmv7h6wzzhpp713fhmif5jwsjvg
+(eval-outputOf.sh:77) testDynamicHello
+(eval-outputOf.sh:67) nix eval --impure --expr 'with (import ./text-hashed-output.nix); let
a = builtins.outputOf producingDrv.outPath "out";
b = builtins.outputOf (builtins.outputOf (builtins.unsafeDiscardOutputDependency producingDrv.drvPath) "out") "out";
in builtins.trace a
(builtins.trace b
(assert a == b; null))'
trace: /001by2yb8h2ggal6ninx47mlbfq5qxsdlnsm44cx0dk3cp61f76y
trace: /001by2yb8h2ggal6ninx47mlbfq5qxsdlnsm44cx0dk3cp61f76y
+(eval-outputOf.sh:80) NIX_TESTS_CA_BY_DEFAULT=1
+(eval-outputOf.sh:80) testDynamicHello
+(eval-outputOf.sh:67) nix eval --impure --expr 'with (import ./text-hashed-output.nix); let
a = builtins.outputOf producingDrv.outPath "out";
b = builtins.outputOf (builtins.outputOf (builtins.unsafeDiscardOutputDependency producingDrv.drvPath) "out") "out";
in builtins.trace a
(builtins.trace b
(assert a == b; null))'
trace: /1d8f8w5wx0y3yxji7qi99l6vp5b8q4zwvfkcpkg9q2bb4z2khcya
trace: /1d8f8w5wx0y3yxji7qi99l6vp5b8q4zwvfkcpkg9q2bb4z2khcyaclearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:4) requireDaemonNewerThan 2.16.0pre20230419
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:159) isDaemonNewer 2.16.0pre20230419
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
++(common.sh:6) enableFeatures 'ca-derivations dynamic-derivations'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local 'features=ca-derivations dynamic-derivations'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations dynamic-derivations/' /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv/etc/nix.conf
++(common.sh:8) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
++(dep-built-drv.sh:5) nix-build ./text-hashed-output.nix -A hello --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv/store/97v7ww43rnmvkaixj4azng3v6w0wax9x-hello.drv
building '/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv/store/97v7ww43rnmvkaixj4azng3v6w0wax9x-hello.drv'...
++ echo 'Building a CA derivation'
Building a CA derivation
++ mkdir -p /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv/store/1jgcw7i0crvmxb2ff7lz16j274jkljkk-hello
++ echo 'Hello World'
+(dep-built-drv.sh:5) out1=/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv/store/1jgcw7i0crvmxb2ff7lz16j274jkljkk-hello
+(dep-built-drv.sh:7) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dyn-drv/dep-built-drv/test-home/.local/state/nix/profiles
+(dep-built-drv.sh:9) expectStderr 1 nix-build ./text-hashed-output.nix -A wrapper --no-out-link
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix-build ./text-hashed-output.nix -A wrapper --no-out-link
+(dep-built-drv.sh:9) grepQuiet 'Building dynamic derivations in one shot is not yet implemented'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'Building dynamic derivations in one shot is not yet implemented'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0clearing store...
true
true
true
true
true
[{"drvPath":"/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/pqvr7iyzr50sxi8rwybwphjxx2mhsr58-multiple-outputs-e.drv","outputs":{"a_a":"/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/zszjj5gaa8bcp1mc9ax82f7sar1xjbkm-multiple-outputs-e-a_a"}}]
true
true
true
{
"offset": 0,
"length": 109,
"string": "/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/pqvr7iyzr50sxi8rwybwphjxx2mhsr58-multiple-outputs-e.drv",
"captures": []
}
true
true
true
true
true
true
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) enableFeatures ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/etc/nix.conf
++(common.sh:5) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(new-build-cmd.sh:3) export NIX_TESTS_CA_BY_DEFAULT=1
+(new-build-cmd.sh:3) NIX_TESTS_CA_BY_DEFAULT=1
+(new-build-cmd.sh:4) cd ..
+(new-build-cmd.sh:5) source ./build.sh
++(./build.sh:1) source common.sh
+++(common.sh:1) set -eu -o pipefail
+++(common.sh:3) [[ -z 1 ]]
++(./build.sh:3) clearStore
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/test-home/.local/state/nix/profiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/test-home/.local/state/nix/profiles
++(./build.sh:6) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-a.drv")) and
(.outputs |
(keys | length == 2) and
(.first | match(".*multiple-outputs-a-first")) and
(.second | match(".*multiple-outputs-a-second"))))
and (.[1] |
(.drvPath | match(".*multiple-outputs-b.drv")) and
(.outputs |
(keys | length == 1) and
(.out | match(".*multiple-outputs-b"))))
'
++(./build.sh:6) nix build -f multiple-outputs.nix --json a b --no-link
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/hvmj63i810alrh47f7ra9dd47ycxh6n4-multiple-outputs-a.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/m5svyg2hwhpnhylf7jv9f3yssmdi3csy-multiple-outputs-b.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/hvmj63i810alrh47f7ra9dd47ycxh6n4-multiple-outputs-a.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/0hjwhcsfylc1zvfkhc3wk2ykd83fk75c-multiple-outputs-b.drv'...
++(./build.sh:21) nix build -f multiple-outputs.nix --json 'a^first' --no-link
++(./build.sh:21) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-a.drv")) and
(.outputs | keys == ["first"]))
'
++(./build.sh:27) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-a.drv")) and
(.outputs | keys == ["first", "second"]))
'
++(./build.sh:27) nix build -f multiple-outputs.nix --json 'a^second,first' --no-link
++(./build.sh:33) nix build -f multiple-outputs.nix --json 'a^*' --no-link
++(./build.sh:33) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-a.drv")) and
(.outputs | keys == ["first", "second"]))
'
++(./build.sh:40) nix build -f multiple-outputs.nix --json e --no-link
++(./build.sh:40) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-e.drv")) and
(.outputs | keys == ["a_a", "b"]))
'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/pqvr7iyzr50sxi8rwybwphjxx2mhsr58-multiple-outputs-e.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/pqvr7iyzr50sxi8rwybwphjxx2mhsr58-multiple-outputs-e.drv'...
++(./build.sh:47) nix build -f multiple-outputs.nix --json 'e^a_a' --no-link
++(./build.sh:48) nix build -f multiple-outputs.nix --json 'e^a_a' --no-link
++(./build.sh:48) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-e.drv")) and
(.outputs | keys == ["a_a"]))
'
++(./build.sh:54) nix build -f multiple-outputs.nix --json 'e^*' --no-link
++(./build.sh:54) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-e.drv")) and
(.outputs | keys == ["a_a", "b", "c"]))
'
++(./build.sh:62) nix build -f multiple-outputs.nix --json e.a_a.outPath --no-link
++(./build.sh:62) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-e.drv")) and
(.outputs | keys == ["a_a"]))
'
++(./build.sh:69) expectStderr 1 nix build -f multiple-outputs.nix e.a_a.drvPath
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix build -f multiple-outputs.nix e.a_a.drvPath
++(./build.sh:70) grepQuiet 'has a context which refers to a complete source and binary closure.'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'has a context which refers to a complete source and binary closure.'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
++(./build.sh:73) expectStderr 1 nix build --expr '""' --no-link
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
++(./build.sh:74) grepQuiet 'has 0 entries in its context. It should only have exactly one entry'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix build --expr '""' --no-link
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'has 0 entries in its context. It should only have exactly one entry'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
++(./build.sh:77) expectStderr 1 nix build --impure --expr 'with (import ./multiple-outputs.nix).e.a_a; "${drvPath}${outPath}"' --no-link
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix build --impure --expr 'with (import ./multiple-outputs.nix).e.a_a; "${drvPath}${outPath}"' --no-link
++(./build.sh:78) grepQuiet 'has 2 entries in its context. It should only have exactly one entry'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'has 2 entries in its context. It should only have exactly one entry'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
++(./build.sh:80) nix build --impure --json --expr 'builtins.unsafeDiscardOutputDependency (import ./multiple-outputs.nix).e.a_a.drvPath' --no-link
++(./build.sh:80) jq --exit-status '
(.[0] | match(".*multiple-outputs-e.drv"))
'
+++(./build.sh:86) nix eval -f multiple-outputs.nix --raw a.drvPath
++(./build.sh:86) drv=/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/hvmj63i810alrh47f7ra9dd47ycxh6n4-multiple-outputs-a.drv
++(./build.sh:87) nix build '/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/hvmj63i810alrh47f7ra9dd47ycxh6n4-multiple-outputs-a.drv^not-an-output' --no-link --json
error: derivation '/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/hvmj63i810alrh47f7ra9dd47ycxh6n4-multiple-outputs-a.drv' does not have wanted outputs 'not-an-output'
++(./build.sh:91) nix build '/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/hvmj63i810alrh47f7ra9dd47ycxh6n4-multiple-outputs-a.drv^' --no-link --json
error: invalid extended outputs specifier '/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/hvmj63i810alrh47f7ra9dd47ycxh6n4-multiple-outputs-a.drv^'
++(./build.sh:95) nix build '/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/hvmj63i810alrh47f7ra9dd47ycxh6n4-multiple-outputs-a.drv^*nope' --no-link --json
error: invalid extended outputs specifier '/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/hvmj63i810alrh47f7ra9dd47ycxh6n4-multiple-outputs-a.drv^*nope'
++(./build.sh:99) nix build '/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/hvmj63i810alrh47f7ra9dd47ycxh6n4-multiple-outputs-a.drv^first' --no-link --json
++(./build.sh:99) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-a.drv")) and
(.outputs |
(keys | length == 1) and
(.first | match(".*multiple-outputs-a-first")) and
(has("second") | not)))
'
++(./build.sh:108) nix build '/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/hvmj63i810alrh47f7ra9dd47ycxh6n4-multiple-outputs-a.drv^first,second' --no-link --json
++(./build.sh:108) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-a.drv")) and
(.outputs |
(keys | length == 2) and
(.first | match(".*multiple-outputs-a-first")) and
(.second | match(".*multiple-outputs-a-second"))))
'
++(./build.sh:117) nix build '/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/hvmj63i810alrh47f7ra9dd47ycxh6n4-multiple-outputs-a.drv^*' --no-link --json
++(./build.sh:117) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-a.drv")) and
(.outputs |
(keys | length == 2) and
(.first | match(".*multiple-outputs-a-first")) and
(.second | match(".*multiple-outputs-a-second"))))
'
++(./build.sh:127) nix build --impure -f multiple-outputs.nix --json e --no-link
++(./build.sh:127) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-e.drv")) and
(.outputs | keys == ["a_a", "b"]))
'
++(./build.sh:134) nix build --no-link --stdin --json
++(./build.sh:134) jq --exit-status '. == []'
++(./build.sh:134) printf ''
++(./build.sh:135) printf '%s\n' '/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/hvmj63i810alrh47f7ra9dd47ycxh6n4-multiple-outputs-a.drv^*'
++(./build.sh:135) nix build --no-link --stdin --json
++(./build.sh:135) jq --exit-status '.[0]|has("drvPath")'
+++(./build.sh:138) nix build -f fod-failing.nix -L
++(./build.sh:138) out='these 4 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/7j1kvqfq8qmyxga3yx6cpbhd5k71c3w9-x1.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/ah114pc7245067769yhx0d2mvcav4l9k-x2.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/bbhhzq225sy5riwml5w5m1255g3495wm-x3.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/jihww3ipkrg35fdkq23dz3kwdywfhnzp-x4.drv
building '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/7j1kvqfq8qmyxga3yx6cpbhd5k71c3w9-x1.drv'\''...
error: hash mismatch in fixed-output derivation '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/7j1kvqfq8qmyxga3yx6cpbhd5k71c3w9-x1.drv'\'':
specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
got: sha256-a1Qvp3FOOkWpL9kFHgugU1ok5UtRPSu+NwCZKbbaEro=
error: build of '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/7j1kvqfq8qmyxga3yx6cpbhd5k71c3w9-x1.drv^out'\'', '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/ah114pc7245067769yhx0d2mvcav4l9k-x2.drv^out'\'', '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/bbhhzq225sy5riwml5w5m1255g3495wm-x3.drv^out'\'', '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/jihww3ipkrg35fdkq23dz3kwdywfhnzp-x4.drv^out'\'' failed'
++(./build.sh:138) status=1
++(./build.sh:139) test 1 = 1
+++(./build.sh:141) grep -E '^error:'
+++(./build.sh:141) wc -l
++(./build.sh:141) test 2 = 2
++(./build.sh:142) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x1\.drv'\'''
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'hash mismatch in fixed-output derivation '\''.*-x1\.drv'\'''
++(./build.sh:143) grepQuiet -vE 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\'''
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -vE 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\'''
++(./build.sh:144) grepQuiet -vE 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\'''
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -vE 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\'''
++(./build.sh:145) grepQuiet -E 'error: build of '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'' failed'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'error: build of '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'' failed'
+++(./build.sh:147) nix build -f fod-failing.nix -L x1 x2 x3 --keep-going
++(./build.sh:147) out='these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/7j1kvqfq8qmyxga3yx6cpbhd5k71c3w9-x1.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/ah114pc7245067769yhx0d2mvcav4l9k-x2.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/bbhhzq225sy5riwml5w5m1255g3495wm-x3.drv
building '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/7j1kvqfq8qmyxga3yx6cpbhd5k71c3w9-x1.drv'\''...
building '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/ah114pc7245067769yhx0d2mvcav4l9k-x2.drv'\''...
building '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/bbhhzq225sy5riwml5w5m1255g3495wm-x3.drv'\''...
error: hash mismatch in fixed-output derivation '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/7j1kvqfq8qmyxga3yx6cpbhd5k71c3w9-x1.drv'\'':
specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
got: sha256-a1Qvp3FOOkWpL9kFHgugU1ok5UtRPSu+NwCZKbbaEro=
error: hash mismatch in fixed-output derivation '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/ah114pc7245067769yhx0d2mvcav4l9k-x2.drv'\'':
specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
got: sha256-ce9j/VcjC18vmZgcaMAqZg/qH/WibuYfiyiOYHNI5pk=
error: hash mismatch in fixed-output derivation '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/bbhhzq225sy5riwml5w5m1255g3495wm-x3.drv'\'':
specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
got: sha256-DbCEqRfR8yZl2skxnBthgysFiZPiP6U5JQ9/Bp7IQI4=
error: build of '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/7j1kvqfq8qmyxga3yx6cpbhd5k71c3w9-x1.drv^out'\'', '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/ah114pc7245067769yhx0d2mvcav4l9k-x2.drv^out'\'', '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/bbhhzq225sy5riwml5w5m1255g3495wm-x3.drv^out'\'' failed'
++(./build.sh:147) status=1
++(./build.sh:148) test 1 = 1
+++(./build.sh:150) wc -l
+++(./build.sh:150) grep -E '^error:'
++(./build.sh:150) test 4 = 4
++(./build.sh:151) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x1\.drv'\'''
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'hash mismatch in fixed-output derivation '\''.*-x1\.drv'\'''
++(./build.sh:152) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\'''
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\'''
++(./build.sh:153) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\'''
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\'''
++(./build.sh:154) grepQuiet -E 'error: build of '\''.*-x[1-3]\.drv\^out'\'', '\''.*-x[1-3]\.drv\^out'\'', '\''.*-x[1-3]\.drv\^out'\'' failed'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'error: build of '\''.*-x[1-3]\.drv\^out'\'', '\''.*-x[1-3]\.drv\^out'\'', '\''.*-x[1-3]\.drv\^out'\'' failed'
+++(./build.sh:156) nix build -f fod-failing.nix -L x4
++(./build.sh:156) out='these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/ah114pc7245067769yhx0d2mvcav4l9k-x2.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/bbhhzq225sy5riwml5w5m1255g3495wm-x3.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/jihww3ipkrg35fdkq23dz3kwdywfhnzp-x4.drv
building '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/ah114pc7245067769yhx0d2mvcav4l9k-x2.drv'\''...
error: hash mismatch in fixed-output derivation '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/ah114pc7245067769yhx0d2mvcav4l9k-x2.drv'\'':
specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
got: sha256-ce9j/VcjC18vmZgcaMAqZg/qH/WibuYfiyiOYHNI5pk=
error: 1 dependencies of derivation '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/jihww3ipkrg35fdkq23dz3kwdywfhnzp-x4.drv'\'' failed to build'
++(./build.sh:156) status=1
++(./build.sh:157) test 1 = 1
+++(./build.sh:158) grep -E '^error:'
+++(./build.sh:158) wc -l
++(./build.sh:158) test 2 = 2
++(./build.sh:159) grepQuiet -E 'error: 1 dependencies of derivation '\''.*-x4\.drv'\'' failed to build'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'error: 1 dependencies of derivation '\''.*-x4\.drv'\'' failed to build'
++(./build.sh:160) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\'''
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\'''
+++(./build.sh:162) nix build -f fod-failing.nix -L x4 --keep-going
++(./build.sh:162) out='these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/ah114pc7245067769yhx0d2mvcav4l9k-x2.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/bbhhzq225sy5riwml5w5m1255g3495wm-x3.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/jihww3ipkrg35fdkq23dz3kwdywfhnzp-x4.drv
building '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/ah114pc7245067769yhx0d2mvcav4l9k-x2.drv'\''...
error: hash mismatch in fixed-output derivation '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/ah114pc7245067769yhx0d2mvcav4l9k-x2.drv'\'':
specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
got: sha256-ce9j/VcjC18vmZgcaMAqZg/qH/WibuYfiyiOYHNI5pk=
building '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/bbhhzq225sy5riwml5w5m1255g3495wm-x3.drv'\''...
error: hash mismatch in fixed-output derivation '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/bbhhzq225sy5riwml5w5m1255g3495wm-x3.drv'\'':
specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
got: sha256-DbCEqRfR8yZl2skxnBthgysFiZPiP6U5JQ9/Bp7IQI4=
error: 2 dependencies of derivation '\''/tmp/nix-shell.MrxVR3/nix-test/ca/new-build-cmd/store/jihww3ipkrg35fdkq23dz3kwdywfhnzp-x4.drv'\'' failed to build'
++(./build.sh:162) status=1
++(./build.sh:163) test 1 = 1
+++(./build.sh:164) grep -E '^error:'
+++(./build.sh:164) wc -l
++(./build.sh:164) test 3 = 3
++(./build.sh:165) grepQuiet -E 'error: 2 dependencies of derivation '\''.*-x4\.drv'\'' failed to build'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'error: 2 dependencies of derivation '\''.*-x4\.drv'\'' failed to build'
++(./build.sh:166) grepQuiet -vE 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\'''
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -vE 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\'''
++(./build.sh:167) grepQuiet -vE 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\'''
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -vE 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\'''{
"/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/bsbqfmbj9wh1z2rzd5dxyxd17nni37k9-rootCA.drv": {
"args": [
"-e",
"/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/w2s0pmqjhx7s8pa327k50lqh7fbw9ccg-builder-rootCA.sh"
],
"builder": "/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash",
"env": {
"PATH": "/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin",
"buildCommand": "echo \"building a CA derivation\"\necho \"The seed is 1\"\nmkdir -p $out\necho /tmp/nix-shell.MrxVR3/nix-test/ca/build/store/brxq0s96g0r3m0z57nlqsylmvglhpzyh-simple-input-addressed/hello > $out/dep\nln -s $out $out/self\n# test symlinks at root\nln -s $out $dev\nln -s $out $foo\n",
"builder": "/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash",
"dev": "/02qcpld1y6xhs5gz9bchpxaw0xdhmsp5dv88lh25r2ss44kh8dxz",
"foo": "/1x0ymrsy7yr7i9wdsqy9khmzc1yy7nvxw6rdp72yzn50285s67j5",
"name": "rootCA",
"out": "/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9",
"outputHashAlgo": "sha256",
"outputHashMode": "recursive",
"outputs": "out dev foo",
"system": "x86_64-linux"
},
"inputDrvs": {
"/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/dypkrhxzp63k76sha83jkd957dia6f09-simple-input-addressed.drv": {
"dynamicOutputs": {},
"outputs": [
"out"
]
}
},
"inputSrcs": [
"/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/w2s0pmqjhx7s8pa327k50lqh7fbw9ccg-builder-rootCA.sh"
],
"name": "rootCA",
"outputs": {
"dev": {
"hashAlgo": "r:sha256"
},
"foo": {
"hashAlgo": "r:sha256"
},
"out": {
"hashAlgo": "r:sha256"
}
},
"system": "x86_64-linux"
}
}
clearing store...
clearing store...
clearing store...
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/axbspckn3a5zw5rv47spkgibzlf12kyg-rootCA
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/axbspckn3a5zw5rv47spkgibzlf12kyg-rootCA
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/axbspckn3a5zw5rv47spkgibzlf12kyg-rootCA
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/7vhbqx2mj4jmxg015k6n8jdn6lpfbmfh-rootCA.drv
35 store paths deleted, 0.02 MiB freed
clearing store...
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/axbspckn3a5zw5rv47spkgibzlf12kyg-rootCA
7 store paths deleted, 0.00 MiB freed
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/axbspckn3a5zw5rv47spkgibzlf12kyg-rootCA
clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ca/build
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ca/build
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ca/build
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/build/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) enableFeatures ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/ca/build/etc/nix.conf
++(common.sh:5) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
++(build.sh:5) nix-instantiate ./content-addressed.nix -A rootCA --arg seed 1
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(build.sh:5) drv='/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/bsbqfmbj9wh1z2rzd5dxyxd17nni37k9-rootCA.drv^out'
+(build.sh:6) nix derivation show '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/bsbqfmbj9wh1z2rzd5dxyxd17nni37k9-rootCA.drv^out' --arg seed 1
+(build.sh:61) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/build/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build/test-home/.local/state/nix/profiles
+(build.sh:62) testNormalization
+(build.sh:56) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/build/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build/test-home/.local/state/nix/profiles
++(build.sh:57) buildAttr rootCA 1
++(build.sh:9) local derivationPath=rootCA
++(build.sh:10) local seedValue=1
++(build.sh:11) shift
++(build.sh:11) shift
++(build.sh:12) args=('./content-addressed.nix' '-A' 'rootCA' '--arg' 'seed' '1' '--no-out-link')
++(build.sh:12) local args
++(build.sh:13) args+=("$@")
++(build.sh:14) nix-build ./content-addressed.nix -A rootCA --arg seed 1 --no-out-link
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/dypkrhxzp63k76sha83jkd957dia6f09-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/bsbqfmbj9wh1z2rzd5dxyxd17nni37k9-rootCA.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/dypkrhxzp63k76sha83jkd957dia6f09-simple-input-addressed.drv'...
++ echo 'Building a legacy derivation'
Building a legacy derivation
++ mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/build/store/brxq0s96g0r3m0z57nlqsylmvglhpzyh-simple-input-addressed
++ echo 'Hello World'
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/bsbqfmbj9wh1z2rzd5dxyxd17nni37k9-rootCA.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/y60fm2salgbjfr26japd7ck0gld1jrcz-rootCA.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/y60fm2salgbjfr26japd7ck0gld1jrcz-rootCA.drv'...
building a CA derivation
The seed is 1
+(build.sh:57) outPath=/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/axbspckn3a5zw5rv47spkgibzlf12kyg-rootCA
++(build.sh:58) stat -c %Y /tmp/nix-shell.MrxVR3/nix-test/ca/build/store/axbspckn3a5zw5rv47spkgibzlf12kyg-rootCA
+(build.sh:58) test 1 -eq 1
+(build.sh:63) testDeterministicCA
++(build.sh:18) buildAttr rootCA 1
++(build.sh:9) local derivationPath=rootCA
++(build.sh:10) local seedValue=1
++(build.sh:11) shift
++(build.sh:11) shift
++(build.sh:12) args=('./content-addressed.nix' '-A' 'rootCA' '--arg' 'seed' '1' '--no-out-link')
++(build.sh:12) local args
++(build.sh:13) args+=("$@")
++(build.sh:14) nix-build ./content-addressed.nix -A rootCA --arg seed 1 --no-out-link
++(build.sh:18) buildAttr rootCA 2
++(build.sh:9) local derivationPath=rootCA
++(build.sh:10) local seedValue=2
++(build.sh:11) shift
++(build.sh:11) shift
++(build.sh:12) args=('./content-addressed.nix' '-A' 'rootCA' '--arg' 'seed' '2' '--no-out-link')
++(build.sh:12) local args
++(build.sh:13) args+=("$@")
++(build.sh:14) nix-build ./content-addressed.nix -A rootCA --arg seed 2 --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/sk5nb38fqlbna1k4gy2hvimqdyg1nh4l-rootCA.drv
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/sk5nb38fqlbna1k4gy2hvimqdyg1nh4l-rootCA.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/xpgrvy131a11y6a5qfdirvflcyk4lsm9-rootCA.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/xpgrvy131a11y6a5qfdirvflcyk4lsm9-rootCA.drv'...
building a CA derivation
The seed is 2
+(build.sh:18) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/build/store/axbspckn3a5zw5rv47spkgibzlf12kyg-rootCA = /tmp/nix-shell.MrxVR3/nix-test/ca/build/store/axbspckn3a5zw5rv47spkgibzlf12kyg-rootCA ]]
+(build.sh:64) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/build/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build/test-home/.local/state/nix/profiles
+(build.sh:65) testCutoff
+(build.sh:35) testCutoffFor transitivelyDependentCA
+(build.sh:22) local out1 out2
++(build.sh:23) buildAttr transitivelyDependentCA 1
++(build.sh:9) local derivationPath=transitivelyDependentCA
++(build.sh:10) local seedValue=1
++(build.sh:11) shift
++(build.sh:11) shift
++(build.sh:12) args=('./content-addressed.nix' '-A' 'transitivelyDependentCA' '--arg' 'seed' '1' '--no-out-link')
++(build.sh:12) local args
++(build.sh:13) args+=("$@")
++(build.sh:14) nix-build ./content-addressed.nix -A transitivelyDependentCA --arg seed 1 --no-out-link
these 4 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/dypkrhxzp63k76sha83jkd957dia6f09-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/bsbqfmbj9wh1z2rzd5dxyxd17nni37k9-rootCA.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/8pf21cclb2iga84az7ym6w89p64k7h93-dependent.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/wx3yhpnbghkpby5cbk5hgz0kw65sa3k8-transitively-dependent.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/dypkrhxzp63k76sha83jkd957dia6f09-simple-input-addressed.drv'...
++ echo 'Building a legacy derivation'
Building a legacy derivation
++ mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/build/store/brxq0s96g0r3m0z57nlqsylmvglhpzyh-simple-input-addressed
++ echo 'Hello World'
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/bsbqfmbj9wh1z2rzd5dxyxd17nni37k9-rootCA.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/y60fm2salgbjfr26japd7ck0gld1jrcz-rootCA.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/y60fm2salgbjfr26japd7ck0gld1jrcz-rootCA.drv'...
building a CA derivation
The seed is 1
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/8pf21cclb2iga84az7ym6w89p64k7h93-dependent.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/qrnkw34b0zmplwqk1afsz44j6jrrf7r6-dependent.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/qrnkw34b0zmplwqk1afsz44j6jrrf7r6-dependent.drv'...
building a dependent derivation
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/brxq0s96g0r3m0z57nlqsylmvglhpzyh-simple-input-addressed/hello
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/wx3yhpnbghkpby5cbk5hgz0kw65sa3k8-transitively-dependent.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/92s7cbk3nl5gvlsksm1wqyzjai6l1x5s-transitively-dependent.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/92s7cbk3nl5gvlsksm1wqyzjai6l1x5s-transitively-dependent.drv'...
building transitively-dependent
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/axbspckn3a5zw5rv47spkgibzlf12kyg-rootCA/self/dep
+(build.sh:23) out1=/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/d2g5awh3kp57mbbwly3qjz5friknz103-transitively-dependent
+(build.sh:26) buildAttr rootCA 2
+(build.sh:9) local derivationPath=rootCA
+(build.sh:10) local seedValue=2
+(build.sh:11) shift
+(build.sh:11) shift
+(build.sh:12) args=('./content-addressed.nix' '-A' 'rootCA' '--arg' 'seed' '2' '--no-out-link')
+(build.sh:12) local args
+(build.sh:13) args+=("$@")
+(build.sh:14) nix-build ./content-addressed.nix -A rootCA --arg seed 2 --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/sk5nb38fqlbna1k4gy2hvimqdyg1nh4l-rootCA.drv
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/sk5nb38fqlbna1k4gy2hvimqdyg1nh4l-rootCA.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/xpgrvy131a11y6a5qfdirvflcyk4lsm9-rootCA.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/xpgrvy131a11y6a5qfdirvflcyk4lsm9-rootCA.drv'...
building a CA derivation
The seed is 2
++(build.sh:27) buildAttr transitivelyDependentCA 2 -j0
++(build.sh:9) local derivationPath=transitivelyDependentCA
++(build.sh:10) local seedValue=2
++(build.sh:11) shift
++(build.sh:11) shift
++(build.sh:12) args=('./content-addressed.nix' '-A' 'transitivelyDependentCA' '--arg' 'seed' '2' '--no-out-link')
++(build.sh:12) local args
++(build.sh:13) args+=("$@")
++(build.sh:14) nix-build ./content-addressed.nix -A transitivelyDependentCA --arg seed 2 --no-out-link -j0
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/jkznxi27pqv8vp2v435rfb1yhc60w2nh-dependent.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/mbv3ch5wmwfynkiakixmr93phb7aq6sq-transitively-dependent.drv
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/jkznxi27pqv8vp2v435rfb1yhc60w2nh-dependent.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/qrnkw34b0zmplwqk1afsz44j6jrrf7r6-dependent.drv'...
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/mbv3ch5wmwfynkiakixmr93phb7aq6sq-transitively-dependent.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/92s7cbk3nl5gvlsksm1wqyzjai6l1x5s-transitively-dependent.drv'...
+(build.sh:27) out2=/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/d2g5awh3kp57mbbwly3qjz5friknz103-transitively-dependent
+(build.sh:28) test /tmp/nix-shell.MrxVR3/nix-test/ca/build/store/d2g5awh3kp57mbbwly3qjz5friknz103-transitively-dependent == /tmp/nix-shell.MrxVR3/nix-test/ca/build/store/d2g5awh3kp57mbbwly3qjz5friknz103-transitively-dependent
+(build.sh:36) testCutoffFor dependentNonCA
+(build.sh:22) local out1 out2
++(build.sh:23) buildAttr dependentNonCA 1
++(build.sh:9) local derivationPath=dependentNonCA
++(build.sh:10) local seedValue=1
++(build.sh:11) shift
++(build.sh:11) shift
++(build.sh:12) args=('./content-addressed.nix' '-A' 'dependentNonCA' '--arg' 'seed' '1' '--no-out-link')
++(build.sh:12) local args
++(build.sh:13) args+=("$@")
++(build.sh:14) nix-build ./content-addressed.nix -A dependentNonCA --arg seed 1 --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/53mhwm3mjlzlgpcwjf11pc6wsiw6g21q-dependent-non-ca.drv
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/53mhwm3mjlzlgpcwjf11pc6wsiw6g21q-dependent-non-ca.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/z0vwp48izv7lkvdrwq436fwy165x04q9-dependent-non-ca.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/z0vwp48izv7lkvdrwq436fwy165x04q9-dependent-non-ca.drv'...
Didn't cut-off
building dependent-non-ca
+(build.sh:23) out1=/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/ij6w6cx7f429nw5gn5s74hsmfvsavs49-dependent-non-ca
+(build.sh:26) buildAttr rootCA 2
+(build.sh:9) local derivationPath=rootCA
+(build.sh:10) local seedValue=2
+(build.sh:11) shift
+(build.sh:11) shift
+(build.sh:12) args=('./content-addressed.nix' '-A' 'rootCA' '--arg' 'seed' '2' '--no-out-link')
+(build.sh:12) local args
+(build.sh:13) args+=("$@")
+(build.sh:14) nix-build ./content-addressed.nix -A rootCA --arg seed 2 --no-out-link
++(build.sh:27) buildAttr dependentNonCA 2 -j0
++(build.sh:9) local derivationPath=dependentNonCA
++(build.sh:10) local seedValue=2
++(build.sh:11) shift
++(build.sh:11) shift
++(build.sh:12) args=('./content-addressed.nix' '-A' 'dependentNonCA' '--arg' 'seed' '2' '--no-out-link')
++(build.sh:12) local args
++(build.sh:13) args+=("$@")
++(build.sh:14) nix-build ./content-addressed.nix -A dependentNonCA --arg seed 2 --no-out-link -j0
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/1p15fwfy7xcs9m5wcv3ns8hj58dj445v-dependent-non-ca.drv
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/1p15fwfy7xcs9m5wcv3ns8hj58dj445v-dependent-non-ca.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/z0vwp48izv7lkvdrwq436fwy165x04q9-dependent-non-ca.drv'...
+(build.sh:27) out2=/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/ij6w6cx7f429nw5gn5s74hsmfvsavs49-dependent-non-ca
+(build.sh:28) test /tmp/nix-shell.MrxVR3/nix-test/ca/build/store/ij6w6cx7f429nw5gn5s74hsmfvsavs49-dependent-non-ca == /tmp/nix-shell.MrxVR3/nix-test/ca/build/store/ij6w6cx7f429nw5gn5s74hsmfvsavs49-dependent-non-ca
+(build.sh:37) testCutoffFor dependentFixedOutput
+(build.sh:22) local out1 out2
++(build.sh:23) buildAttr dependentFixedOutput 1
++(build.sh:9) local derivationPath=dependentFixedOutput
++(build.sh:10) local seedValue=1
++(build.sh:11) shift
++(build.sh:11) shift
++(build.sh:12) args=('./content-addressed.nix' '-A' 'dependentFixedOutput' '--arg' 'seed' '1' '--no-out-link')
++(build.sh:12) local args
++(build.sh:13) args+=("$@")
++(build.sh:14) nix-build ./content-addressed.nix -A dependentFixedOutput --arg seed 1 --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/l26fydljjrw8vqiw6vqn57p6jx7fmwgs-dependent-fixed-output.drv
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/l26fydljjrw8vqiw6vqn57p6jx7fmwgs-dependent-fixed-output.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/bfy8ycskjm8i77rhir0cmf6n1lkw1rwn-dependent-fixed-output.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/bfy8ycskjm8i77rhir0cmf6n1lkw1rwn-dependent-fixed-output.drv'...
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/axbspckn3a5zw5rv47spkgibzlf12kyg-rootCA/self/dep
+(build.sh:23) out1=/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/g7jpz1s60n7adsxxsi592wk522vr2kf8-dependent-fixed-output
+(build.sh:26) buildAttr rootCA 2
+(build.sh:9) local derivationPath=rootCA
+(build.sh:10) local seedValue=2
+(build.sh:11) shift
+(build.sh:11) shift
+(build.sh:12) args=('./content-addressed.nix' '-A' 'rootCA' '--arg' 'seed' '2' '--no-out-link')
+(build.sh:12) local args
+(build.sh:13) args+=("$@")
+(build.sh:14) nix-build ./content-addressed.nix -A rootCA --arg seed 2 --no-out-link
++(build.sh:27) buildAttr dependentFixedOutput 2 -j0
++(build.sh:9) local derivationPath=dependentFixedOutput
++(build.sh:10) local seedValue=2
++(build.sh:11) shift
++(build.sh:11) shift
++(build.sh:12) args=('./content-addressed.nix' '-A' 'dependentFixedOutput' '--arg' 'seed' '2' '--no-out-link')
++(build.sh:12) local args
++(build.sh:13) args+=("$@")
++(build.sh:14) nix-build ./content-addressed.nix -A dependentFixedOutput --arg seed 2 --no-out-link -j0
+(build.sh:27) out2=/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/g7jpz1s60n7adsxxsi592wk522vr2kf8-dependent-fixed-output
+(build.sh:28) test /tmp/nix-shell.MrxVR3/nix-test/ca/build/store/g7jpz1s60n7adsxxsi592wk522vr2kf8-dependent-fixed-output == /tmp/nix-shell.MrxVR3/nix-test/ca/build/store/g7jpz1s60n7adsxxsi592wk522vr2kf8-dependent-fixed-output
+(build.sh:66) testGC
+(build.sh:41) nix-instantiate ./content-addressed.nix -A rootCA --arg seed 5
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(build.sh:42) nix-collect-garbage --option keep-derivations true
finding garbage collector roots...
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix/gcroots/auto/xlk4k2q7zsh93qq3y99in2qkvj5d6y3m' to '/tmp/nix-shell.MrxVR3/nix-build-20860-0/result'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix/gcroots/auto/1rc9l037frbvdxncj9bsj0ynazfk0qz5' to '/tmp/nix-shell.MrxVR3/nix-build-21469-0/result'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix/gcroots/auto/b51cic9qz142l750pf99bh0g81wps8yx' to '/tmp/nix-shell.MrxVR3/nix-build-21763-0/result'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix/gcroots/auto/cw5kzh7jaiyxjvykzmrwpaqh67k7y06i' to '/tmp/nix-shell.MrxVR3/nix-build-21540-0/result'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix/gcroots/auto/ba4v5n9h6gy1icpciqwrng7r44d26l6g' to '/tmp/nix-shell.MrxVR3/nix-build-21732-0/result'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix/gcroots/auto/zc2mxxwafb68c6743bn4nn4k9lxz1fj0' to '/tmp/nix-shell.MrxVR3/nix-build-21138-0/result'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix/gcroots/auto/k33inzwf189qrbhl445am178m9yj5bsi' to '/tmp/nix-shell.MrxVR3/nix-build-21278-0/result'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix/gcroots/auto/qwmg8j9qyvqjs9jccm3dymgg13i4l738' to '/tmp/nix-shell.MrxVR3/nix-build-21329-0/result'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix/gcroots/auto/s1crf087hk79594qa8il78nlclfcanbh' to '/tmp/nix-shell.MrxVR3/nix-build-21598-0/result'
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/g7jpz1s60n7adsxxsi592wk522vr2kf8-dependent-fixed-output'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/mbv3ch5wmwfynkiakixmr93phb7aq6sq-transitively-dependent.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/l26fydljjrw8vqiw6vqn57p6jx7fmwgs-dependent-fixed-output.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/bfy8ycskjm8i77rhir0cmf6n1lkw1rwn-dependent-fixed-output.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/5rk2fsxkfncfnb2zpld1hcdpnp01ybfw-dependent-fixed-output.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/r3xyvys12dxa9rqg7yfy5c4ijmjb5f9l-builder-dependent-fixed-output.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/d2g5awh3kp57mbbwly3qjz5friknz103-transitively-dependent'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/92s7cbk3nl5gvlsksm1wqyzjai6l1x5s-transitively-dependent.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/0fb61z53za3kb01y2dx9pjliaj627j8f-dependent'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/wx3yhpnbghkpby5cbk5hgz0kw65sa3k8-transitively-dependent.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/qrnkw34b0zmplwqk1afsz44j6jrrf7r6-dependent.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/jkznxi27pqv8vp2v435rfb1yhc60w2nh-dependent.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/8pf21cclb2iga84az7ym6w89p64k7h93-dependent.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/gs1i2kfwz4hrmf1n71rq4mcp8gwx8jby-builder-dependent.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/ij6w6cx7f429nw5gn5s74hsmfvsavs49-dependent-non-ca'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/1p15fwfy7xcs9m5wcv3ns8hj58dj445v-dependent-non-ca.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/z0vwp48izv7lkvdrwq436fwy165x04q9-dependent-non-ca.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/y60fm2salgbjfr26japd7ck0gld1jrcz-rootCA.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/xpgrvy131a11y6a5qfdirvflcyk4lsm9-rootCA.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/sk5nb38fqlbna1k4gy2hvimqdyg1nh4l-rootCA.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/7vhbqx2mj4jmxg015k6n8jdn6lpfbmfh-rootCA.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/53mhwm3mjlzlgpcwjf11pc6wsiw6g21q-dependent-non-ca.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/bsbqfmbj9wh1z2rzd5dxyxd17nni37k9-rootCA.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/dypkrhxzp63k76sha83jkd957dia6f09-simple-input-addressed.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/dw8p02dri765sx3p5xzlzffgvclbpkdr-builder-simple-input-addressed.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/2f3jlgw00c8kv3wyrn8x4vasrgbvxjh5-rootCA-dev'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/0idr063wkayc55qj7nhb6l1ly8vsk303-rootCA-foo'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/axbspckn3a5zw5rv47spkgibzlf12kyg-rootCA'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/brxq0s96g0r3m0z57nlqsylmvglhpzyh-simple-input-addressed'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/vifbd4cj00jby4zkqwzgmksjrv5pd99f-rootCA-dev'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/r2r5awn0rghnpilyap65vpsfwv7j7769-builder-dependent-non-ca.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/zpwinfgygay0jypvd7fhnzqhrxgphmr0-builder-transitively-dependent.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/w1rbl5wjng1kwlw1canx4f04462cifjn-rootCA'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/y0a9x1zxdhcvqw1pp2ivnnj6azi233fv-rootCA-foo'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/w2s0pmqjhx7s8pa327k50lqh7fbw9ccg-builder-rootCA.sh'
deleting unused links...
note: currently hard linking saves -0.00 MiB
+(build.sh:43) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/build/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build/test-home/.local/state/nix/profiles
+(build.sh:44) buildAttr rootCA 1 --out-link /tmp/nix-shell.MrxVR3/nix-test/ca/build/rootCA
+(build.sh:9) local derivationPath=rootCA
+(build.sh:10) local seedValue=1
+(build.sh:11) shift
+(build.sh:11) shift
+(build.sh:12) args=('./content-addressed.nix' '-A' 'rootCA' '--arg' 'seed' '1' '--no-out-link')
+(build.sh:12) local args
+(build.sh:13) args+=("$@")
+(build.sh:14) nix-build ./content-addressed.nix -A rootCA --arg seed 1 --no-out-link --out-link /tmp/nix-shell.MrxVR3/nix-test/ca/build/rootCA
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/dypkrhxzp63k76sha83jkd957dia6f09-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/bsbqfmbj9wh1z2rzd5dxyxd17nni37k9-rootCA.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/dypkrhxzp63k76sha83jkd957dia6f09-simple-input-addressed.drv'...
++ echo 'Building a legacy derivation'
Building a legacy derivation
++ mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/build/store/brxq0s96g0r3m0z57nlqsylmvglhpzyh-simple-input-addressed
++ echo 'Hello World'
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/bsbqfmbj9wh1z2rzd5dxyxd17nni37k9-rootCA.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/y60fm2salgbjfr26japd7ck0gld1jrcz-rootCA.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/y60fm2salgbjfr26japd7ck0gld1jrcz-rootCA.drv'...
building a CA derivation
The seed is 1
+(build.sh:45) nix-collect-garbage
finding garbage collector roots...
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/y60fm2salgbjfr26japd7ck0gld1jrcz-rootCA.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/bsbqfmbj9wh1z2rzd5dxyxd17nni37k9-rootCA.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/w2s0pmqjhx7s8pa327k50lqh7fbw9ccg-builder-rootCA.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/dypkrhxzp63k76sha83jkd957dia6f09-simple-input-addressed.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/dw8p02dri765sx3p5xzlzffgvclbpkdr-builder-simple-input-addressed.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/0idr063wkayc55qj7nhb6l1ly8vsk303-rootCA-foo'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/2f3jlgw00c8kv3wyrn8x4vasrgbvxjh5-rootCA-dev'
deleting unused links...
note: currently hard linking saves -0.00 MiB
+(build.sh:46) buildAttr rootCA 1 -j0
+(build.sh:9) local derivationPath=rootCA
+(build.sh:10) local seedValue=1
+(build.sh:11) shift
+(build.sh:11) shift
+(build.sh:12) args=('./content-addressed.nix' '-A' 'rootCA' '--arg' 'seed' '1' '--no-out-link')
+(build.sh:12) local args
+(build.sh:13) args+=("$@")
+(build.sh:14) nix-build ./content-addressed.nix -A rootCA --arg seed 1 --no-out-link -j0
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/bsbqfmbj9wh1z2rzd5dxyxd17nni37k9-rootCA.drv
+(build.sh:67) testNixCommand
+(build.sh:50) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/build/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build/test-home/.local/state/nix/profiles
+(build.sh:51) nix build --file ./content-addressed.nix --no-link
these 9 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/dypkrhxzp63k76sha83jkd957dia6f09-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/3qpzsrk09hp7c2jbmsm1gcmkxjdxv76r-rootCA.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/3x4acpama6087jyhizqbcd2sd6jisxn4-dependent-non-ca.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/b0frsq26gqb0rdgqcf857bz9nc7xjrix-dependent.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/hhy0ixxcnk3p4rb3hk3c79k9ip33vx9q-dependent-fixed-output.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/hmd2wi2azkr5mv0bsms782j2khj7vxn4-runnable-thing.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/lfh8wvbbdz824bgr4qgr003fm2cnnwdx-transitively-dependent.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/ymb7al9wadj47vhqc7wbwrs2dnf19kzv-dependent-for-build-non-ca.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/yykgj9i2j4i6r2csxlvmmgnwbdbkyz6g-dependent-for-build-ca.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/dypkrhxzp63k76sha83jkd957dia6f09-simple-input-addressed.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/fs2rs3q5wlqmanph3hs9zj6ql1r6b4wm-rootCA.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/52nd1yszi09lhq2ydm900asgv9b3ww7r-dependent-for-build-ca.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/6ll34r30dmpxy2a330535f73081ikd34-dependent-for-build-non-ca.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/z0vwp48izv7lkvdrwq436fwy165x04q9-dependent-non-ca.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/qrnkw34b0zmplwqk1afsz44j6jrrf7r6-dependent.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/9dnwdprksqshxc67h0xxf3dj4g0vb238-runnable-thing.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/bfy8ycskjm8i77rhir0cmf6n1lkw1rwn-dependent-fixed-output.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build/store/92s7cbk3nl5gvlsksm1wqyzjai6l1x5s-transitively-dependent.drv'...clearing store...
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/test-home/t/.git/
clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(../common.sh:8) [[ -n '' ]]
+(develop-r8854.sh:5) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/test-home/.local/state/nix/profiles
+(develop-r8854.sh:6) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/test-home/.cache /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/test-home/.config /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/test-home/.local
+(develop-r8854.sh:9) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/test-home/t
+(develop-r8854.sh:10) cp ../shell-hello.nix ../config.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/test-home/t
+(develop-r8854.sh:11) cat
+(develop-r8854.sh:26) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/test-home/nixpkgs
+(develop-r8854.sh:27) cp ../config.nix ../shell.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/test-home/nixpkgs
+(develop-r8854.sh:28) cat
+(develop-r8854.sh:36) cd /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/test-home/t
+(develop-r8854.sh:38) git init .
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(develop-r8854.sh:39) echo flake.lock
+(develop-r8854.sh:40) git add config.nix shell-hello.nix flake.nix .gitignore
+(develop-r8854.sh:43) nix develop .#hello
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/test-home/t' is dirty
warning: creating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/test-home/t/flake.lock':
• Added input 'nixpkgs':
'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/test-home/nixpkgs?lastModified=1716682862&narHash=sha256-0vwg%2BcYY9dm68YivXHd8kGbadBBLnxsaSXjTP8YKsJ4%3D' (2024-05-26)
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/test-home/t' is dirty
building '/tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/store/5z377napwy3c16r8yg810mynv2jniagg-hello-env.drv'...
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/store/kxprncljfbcz8iyl52v2v07l8bkh1icj-stdenv.drv
/tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/store/y36mjba2bay9xf0fb2z7d8k7f5f82yhm-bash.drv
building '/tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/store/kxprncljfbcz8iyl52v2v07l8bkh1icj-stdenv.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/store/y36mjba2bay9xf0fb2z7d8k7f5f82yhm-bash.drv'...
+(develop-r8854.sh:45) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/develop-r8854/test-home/.local/state/nix/profilesclearing store...
Hello World from /tmp/nix-shell.MrxVR3/nix-test/flakes/run/store/dfxrabqw7g0f2nzvlj53k9qnfvd2lab9-hello/bin/hello
Hello World from /tmp/nix-shell.MrxVR3/nix-test/flakes/run/store/dfxrabqw7g0f2nzvlj53k9qnfvd2lab9-hello/bin/hello
clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/flakes/run
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/flakes/run
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/flakes/run
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/run
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/run
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/run/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/run/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/run/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/run/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/run/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/flakes/run/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(../common.sh:8) [[ -n '' ]]
+(run.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/flakes/run/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/run/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/run/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/run/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/run/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/flakes/run/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/run/test-home/.local/state/nix/profiles
+(run.sh:4) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/run/test-home/.cache /tmp/nix-shell.MrxVR3/nix-test/flakes/run/test-home/.config /tmp/nix-shell.MrxVR3/nix-test/flakes/run/test-home/.local
+(run.sh:5) cp ../shell-hello.nix ../config.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/run/test-home
+(run.sh:6) cd /tmp/nix-shell.MrxVR3/nix-test/flakes/run/test-home
+(run.sh:8) cat
+(run.sh:22) nix run --no-write-lock-file .#appAsApp
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/flakes/run/store/mg399bd6khz17mc5vhdbx54fg27n5npq-hello.drv
building '/tmp/nix-shell.MrxVR3/nix-test/flakes/run/store/mg399bd6khz17mc5vhdbx54fg27n5npq-hello.drv'...
+(run.sh:23) nix run --no-write-lock-file .#pkgAsPkg
+(run.sh:25) nix run --no-write-lock-file .#pkgAsApp
error: attribute 'apps.x86_64-linux.pkgAsApp' should have type 'app'
+(run.sh:26) nix run --no-write-lock-file .#appAsPkg
error: flake 'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/run/test-home' does not provide attribute 'apps.x86_64-linux.appAsPkg', 'packages.x86_64-linux.appAsPkg', 'legacyPackages.x86_64-linux.appAsPkg' or 'appAsPkg'
+(run.sh:28) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/flakes/run/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/run/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/run/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/run/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/run/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/flakes/run/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/run/test-home/.local/state/nix/profilesclearing store...
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/shell.drv!dev
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/shell!dev
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) enableFeatures ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/etc/nix.conf
++(common.sh:5) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(nix-shell.sh:5) CONTENT_ADDRESSED=true
+(nix-shell.sh:6) cd ..
+(nix-shell.sh:7) source ./nix-shell.sh
++(./nix-shell.sh:1) source common.sh
+++(common.sh:1) set -eu -o pipefail
+++(common.sh:3) [[ -z 1 ]]
++(./nix-shell.sh:3) clearStore
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/test-home/.local/state/nix/profiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/test-home/.local/state/nix/profiles
++(./nix-shell.sh:5) [[ -n true ]]
++(./nix-shell.sh:6) shellDotNix=/lix-src/build/tests/functional/ca-shell.nix
++(./nix-shell.sh:11) export NIX_PATH=nixpkgs=/lix-src/build/tests/functional/ca-shell.nix
++(./nix-shell.sh:11) NIX_PATH=nixpkgs=/lix-src/build/tests/functional/ca-shell.nix
++(./nix-shell.sh:14) export IMPURE_VAR=foo
++(./nix-shell.sh:14) IMPURE_VAR=foo
++(./nix-shell.sh:15) export SELECTED_IMPURE_VAR=baz
++(./nix-shell.sh:15) SELECTED_IMPURE_VAR=baz
+++(./nix-shell.sh:18) nix-shell --pure /lix-src/build/tests/functional/ca-shell.nix -A shellDrv --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX - $TEST_inNixShell"'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/vh92ivy8s7m2pw0zx3w458m8wwmmvs12-stdenv.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/vh92ivy8s7m2pw0zx3w458m8wwmmvs12-stdenv.drv'...
++(./nix-shell.sh:18) output=' - foo - bar - true'
++(./nix-shell.sh:20) '[' ' - foo - bar - true' = ' - foo - bar - true' ']'
+++(./nix-shell.sh:24) nix-shell --pure --keep SELECTED_IMPURE_VAR /lix-src/build/tests/functional/ca-shell.nix -A shellDrv --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX - $SELECTED_IMPURE_VAR"'
++(./nix-shell.sh:24) output=' - foo - bar - baz'
++(./nix-shell.sh:26) '[' ' - foo - bar - baz' = ' - foo - bar - baz' ']'
++++(./nix-shell.sh:30) nix-instantiate /lix-src/build/tests/functional/ca-shell.nix -A shellDrv
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+++(./nix-shell.sh:30) nix-shell --pure '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/8lzizrrzj93x407yhqc2j95pv04avrdq-shellDrv.drv!dev' --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX - $TEST_inNixShell"'
++(./nix-shell.sh:30) [[ - foo - bar - false = \ \-\ \f\o\o\ \-\ \b\a\r\ \-\ \f\a\l\s\e ]]
++++(./nix-shell.sh:33) nix-instantiate /lix-src/build/tests/functional/ca-shell.nix -A shellDrv
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+++(./nix-shell.sh:33) nix-shell --pure '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/8lzizrrzj93x407yhqc2j95pv04avrdq-shellDrv.drv!dev' --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX - $TEST_inNixShell"'
++(./nix-shell.sh:33) [[ - foo - bar - false = \ \-\ \f\o\o\ \-\ \b\a\r\ \-\ \f\a\l\s\e ]]
++(./nix-shell.sh:38) nix-instantiate /lix-src/build/tests/functional/ca-shell.nix -A shellDrv --add-root /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/shell.drv
+++(./nix-shell.sh:40) nix-shell --pure /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/shell.drv --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX"'
++(./nix-shell.sh:40) [[ - foo - bar = \ \-\ \f\o\o\ \-\ \b\a\r ]]
++(./nix-shell.sh:43) nix-instantiate /lix-src/build/tests/functional/ca-shell.nix -A shellDrv --add-root /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/shell
+++(./nix-shell.sh:45) nix-shell --pure /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/shell --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX"'
++(./nix-shell.sh:45) [[ - foo - bar = \ \-\ \f\o\o\ \-\ \b\a\r ]]
+++(./nix-shell.sh:48) NIX_PATH=nixpkgs=/lix-src/build/tests/functional/ca-shell.nix
+++(./nix-shell.sh:48) nix-shell --pure -p foo bar --run 'echo "$(foo) $(bar)"'
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/af5ips5fq1jvxqgfilrsp5d962jn5s3d-foo.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/j9gxqbasnr6cf74hw011mxy6giz6aash-bar.drv
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/j9gxqbasnr6cf74hw011mxy6giz6aash-bar.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/7ngzybpr523ajmcvh4z164d0riq45s5d-bar.drv'...
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/af5ips5fq1jvxqgfilrsp5d962jn5s3d-foo.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/xm1x8nrsairkrdmi98pljr50acwm06sj-foo.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/7ngzybpr523ajmcvh4z164d0riq45s5d-bar.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/xm1x8nrsairkrdmi98pljr50acwm06sj-foo.drv'...
++(./nix-shell.sh:48) output='foo bar'
++(./nix-shell.sh:49) '[' 'foo bar' = 'foo bar' ']'
+++(./nix-shell.sh:52) NIX_PATH=nixpkgs=/lix-src/build/tests/functional/ca-shell.nix
+++(./nix-shell.sh:52) nix-shell --pure -p foo --argstr fooContents baz --run 'echo "$(foo)"'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/cra5gqma8k1yy22k5dfxx4askfsw418b-foo.drv
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/cra5gqma8k1yy22k5dfxx4askfsw418b-foo.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/770gdf81q4f1nshp8vam8acx5s1g9acm-foo.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/770gdf81q4f1nshp8vam8acx5s1g9acm-foo.drv'...
++(./nix-shell.sh:52) output=baz
++(./nix-shell.sh:53) '[' baz = baz ']'
+++(./nix-shell.sh:56) type -P env
++(./nix-shell.sh:56) sed -e 's|@ENV_PROG@|/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin/env|' shell.shebang.sh
++(./nix-shell.sh:57) chmod a+rx /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/shell.shebang.sh
+++(./nix-shell.sh:59) /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/shell.shebang.sh abc def
these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/rzdibwcfcq3f2sy2sy98q452lghfbr6c-stdenv.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/493dal5xkibhlaaijxsrzjyylx4hqjal-foo.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/vgvx8yzl4rxx42ii0hrhww7d1fr8klph-bar.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/rzdibwcfcq3f2sy2sy98q452lghfbr6c-stdenv.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/vgvx8yzl4rxx42ii0hrhww7d1fr8klph-bar.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/493dal5xkibhlaaijxsrzjyylx4hqjal-foo.drv'...
++(./nix-shell.sh:59) output='foo bar abc def'
++(./nix-shell.sh:60) '[' 'foo bar abc def' = 'foo bar abc def' ']'
+++(./nix-shell.sh:64) type -P env
++(./nix-shell.sh:64) sed -e 's|@ENV_PROG@|/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin/env|' shell.shebang.sh
++(./nix-shell.sh:65) chmod a+rx '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/spaced \'\''"shell.shebang.sh'
+++(./nix-shell.sh:67) '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/spaced \'\''"shell.shebang.sh' abc def
++(./nix-shell.sh:67) output='foo bar abc def'
++(./nix-shell.sh:68) '[' 'foo bar abc def' = 'foo bar abc def' ']'
+++(./nix-shell.sh:73) type -P nix-shell
++(./nix-shell.sh:73) sed -e 's|@SHELL_PROG@|/lix-src/outputs/out/bin/nix-shell|' shell.shebang.rb
++(./nix-shell.sh:74) chmod a+rx /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/shell.shebang.rb
+++(./nix-shell.sh:76) /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/shell.shebang.rb abc ruby
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/iz57r70q6w2h513fyyd4rfg8a1i5m61c-ruby.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/iz57r70q6w2h513fyyd4rfg8a1i5m61c-ruby.drv'...
++(./nix-shell.sh:76) output='-e load(ARGV.shift) -- /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/shell.shebang.rb abc ruby'
++(./nix-shell.sh:77) '[' '-e load(ARGV.shift) -- /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/shell.shebang.rb abc ruby' = '-e load(ARGV.shift) -- /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/shell.shebang.rb abc ruby' ']'
+++(./nix-shell.sh:81) type -P nix-shell
++(./nix-shell.sh:81) sed -e 's|@SHELL_PROG@|/lix-src/outputs/out/bin/nix-shell|' shell.shebang.rb
++(./nix-shell.sh:82) chmod a+rx '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/spaced \'\''"shell.shebang.rb'
+++(./nix-shell.sh:84) '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/spaced \'\''"shell.shebang.rb' abc ruby
++(./nix-shell.sh:84) output='-e load(ARGV.shift) -- /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/spaced \'\''"shell.shebang.rb abc ruby'
++(./nix-shell.sh:85) '[' '-e load(ARGV.shift) -- /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/spaced \'\''"shell.shebang.rb abc ruby' = '-e load(ARGV.shift) -- /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/spaced \'\''"shell.shebang.rb abc ruby' ']'
+++(./nix-shell.sh:88) type -P env
++(./nix-shell.sh:88) sed -e 's|@ENV_PROG@|/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin/env|' shell.shebang.nix
++(./nix-shell.sh:89) chmod a+rx /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/shell.shebang.nix
++(./nix-shell.sh:90) /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/shell.shebang.nix
++(./nix-shell.sh:93) nix develop -f /lix-src/build/tests/functional/ca-shell.nix shellDrv -c bash -c '[[ -n $stdenv ]]'
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/kksygnf342xzf9g696ap3pfnzzzivf5q-shellDrv-env.drv'...
warning: cannot read flake registry '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/registry.json': path does not exist
error (ignored): error: cannot find flake 'flake:nixpkgs' in the flake registries
++(./nix-shell.sh:96) echo foo
++(./nix-shell.sh:96) nix develop -f /lix-src/build/tests/functional/ca-shell.nix shellDrv -c cat
++(./nix-shell.sh:96) grepQuiet foo
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep foo
warning: cannot read flake registry '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/registry.json': path does not exist
error (ignored): error: cannot find flake 'flake:nixpkgs' in the flake registries
++(./nix-shell.sh:99) nix develop -f /lix-src/build/tests/functional/ca-shell.nix shellDrv -c echo foo
++(./nix-shell.sh:99) grepQuiet foo
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep foo
++(./nix-shell.sh:103) nix print-dev-env -f /lix-src/build/tests/functional/ca-shell.nix shellDrv
++(./nix-shell.sh:104) nix print-dev-env -f /lix-src/build/tests/functional/ca-shell.nix shellDrv --json
+++(./nix-shell.sh:108) nix-instantiate /lix-src/build/tests/functional/ca-shell.nix -A shellDrv.out
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
++(./nix-shell.sh:108) shellDrv=/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/8lzizrrzj93x407yhqc2j95pv04avrdq-shellDrv.drv
++(./nix-shell.sh:110) nix develop /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/8lzizrrzj93x407yhqc2j95pv04avrdq-shellDrv.drv -c bash -c '[[ -n $stdenv ]]'
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/8lzizrrzj93x407yhqc2j95pv04avrdq-shellDrv.drv^*'
warning: cannot read flake registry '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/registry.json': path does not exist
error (ignored): error: cannot find flake 'flake:nixpkgs' in the flake registries
++(./nix-shell.sh:112) nix print-dev-env /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/8lzizrrzj93x407yhqc2j95pv04avrdq-shellDrv.drv
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/8lzizrrzj93x407yhqc2j95pv04avrdq-shellDrv.drv^*'
++(./nix-shell.sh:113) nix print-dev-env /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/8lzizrrzj93x407yhqc2j95pv04avrdq-shellDrv.drv --json
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/8lzizrrzj93x407yhqc2j95pv04avrdq-shellDrv.drv^*'
++(./nix-shell.sh:115) diff /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env2.sh
++(./nix-shell.sh:116) diff /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.json /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env2.json
+++(./nix-shell.sh:119) jq -r '.variables.arr1.value[2]' /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.json
++(./nix-shell.sh:119) [[ 3 4 = \3\ \4 ]]
++(./nix-shell.sh:124) set -u
++(./nix-shell.sh:128) path=/lix-src/outputs/out/bin:/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:/lix-src/outputs/out/bin:/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6/bin:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/bin:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/bin:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6/bin:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/bin:/nix/store/cww3k56xakjzf71wjc4jwcj7r95m97a1-glibc-2.38-66-bin/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40/bin:/nix/store/01bi48ga8vzbz4zgh7g3bsl620cj27kj-binutils-2.40/bin:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/bin:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/bin:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/bin:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/bin:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/bin:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3/bin:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6/bin:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/bin:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0/bin:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers/bin:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes/bin:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt/bin:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0/bin:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/bin:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/bin:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/bin:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/bin:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/bin:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/bin:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7/bin:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/bin:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/bin:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7/bin:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/bin:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin:/tools:/bin
++(./nix-shell.sh:129) source /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:1) unset shellHook
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:2) PATH=/lix-src/outputs/out/bin:/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:/lix-src/outputs/out/bin:/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6/bin:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/bin:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/bin:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6/bin:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/bin:/nix/store/cww3k56xakjzf71wjc4jwcj7r95m97a1-glibc-2.38-66-bin/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40/bin:/nix/store/01bi48ga8vzbz4zgh7g3bsl620cj27kj-binutils-2.40/bin:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/bin:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/bin:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/bin:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/bin:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/bin:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3/bin:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6/bin:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/bin:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0/bin:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers/bin:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes/bin:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt/bin:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0/bin:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/bin:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/bin:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/bin:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/bin:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/bin:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/bin:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7/bin:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/bin:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/bin:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7/bin:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/bin:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin:/tools:/bin
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:3) nix_saved_PATH=/lix-src/outputs/out/bin:/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:/lix-src/outputs/out/bin:/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6/bin:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/bin:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/bin:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6/bin:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/bin:/nix/store/cww3k56xakjzf71wjc4jwcj7r95m97a1-glibc-2.38-66-bin/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40/bin:/nix/store/01bi48ga8vzbz4zgh7g3bsl620cj27kj-binutils-2.40/bin:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/bin:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/bin:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/bin:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/bin:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/bin:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3/bin:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6/bin:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/bin:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0/bin:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers/bin:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes/bin:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt/bin:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0/bin:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/bin:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/bin:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/bin:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/bin:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/bin:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/bin:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7/bin:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/bin:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/bin:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7/bin:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/bin:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin:/tools:/bin
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:4) XDG_DATA_DIRS=/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/share:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/share:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/share:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/share:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/share:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/share:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/share:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/share:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/share:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/share:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/share:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/share:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/share:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/share:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/share:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/share:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/share:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/share:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/share:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/share:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/share:/lix-src/outputs/out/share
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:5) nix_saved_XDG_DATA_DIRS=/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/share:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/share:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/share:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/share:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/share:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/share:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/share:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/share:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/share:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/share:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/share:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/share:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/share:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/share:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/share:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/share:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/share:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/share:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/share:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/share:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/share:/lix-src/outputs/out/share
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:6) ASCII_AT=@
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:7) export ASCII_AT
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:8) ASCII_PERCENT=%
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:9) export ASCII_PERCENT
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:10) BASH=/bin/bash
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:11) HOSTTYPE=x86_64
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:13) IFS='
'
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:14) IN_NIX_SHELL=impure
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:15) export IN_NIX_SHELL
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:16) LINENO=76
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:17) MACHTYPE=x86_64-pc-linux-gnu
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:18) NIX_BUILD_CORES=16
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:19) export NIX_BUILD_CORES
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:20) NIX_STORE=/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:21) export NIX_STORE
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:22) OLDPWD=
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:23) export OLDPWD
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:24) OPTERR=1
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:25) OSTYPE=linux-gnu
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:26) PATH=/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:27) export PATH
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:28) PS4='+ '
+++ SHELL=/bin/bash
+++ TEST_inNixShell=false
+++ export TEST_inNixShell
+++ VAR_FROM_NIX=bar
+++ export VAR_FROM_NIX
+++ VAR_FROM_STDENV_SETUP=foo
+++ export VAR_FROM_STDENV_SETUP
+++ arr1=('1' '2' '3 4' '5')
+++ declare -a arr1
+++ arr2=('x' '
' 'x
y')
+++ declare -a arr2
+++ builder=/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash
+++ export builder
+++ dev=/lix-src/build/tests/functional/outputs/dev
+++ export dev
+++ dontAddDisableDepTrack=1
+++ export dontAddDisableDepTrack
+++ name=shellDrv-env
+++ export name
+++ out=/lix-src/build/tests/functional/outputs/out
+++ export out
+++ outputHashAlgo=sha256
+++ export outputHashAlgo
+++ outputHashMode=recursive
+++ export outputHashMode
+++ outputs='dev out'
+++ export outputs
+++ stdenv=/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/ijm4i2w97ash7vjwmxxns653jdwgl7ii-stdenv
+++ export stdenv
+++ system=x86_64-linux
+++ export system
+++ PATH=/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/lix-src/outputs/out/bin:/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:/lix-src/outputs/out/bin:/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6/bin:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/bin:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/bin:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6/bin:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/bin:/nix/store/cww3k56xakjzf71wjc4jwcj7r95m97a1-glibc-2.38-66-bin/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40/bin:/nix/store/01bi48ga8vzbz4zgh7g3bsl620cj27kj-binutils-2.40/bin:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/bin:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/bin:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/bin:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/bin:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/bin:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3/bin:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6/bin:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/bin:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0/bin:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers/bin:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes/bin:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt/bin:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0/bin:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/bin:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/bin:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/bin:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/bin:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/bin:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/bin:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7/bin:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/bin:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/bin:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7/bin:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/bin:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin:/tools:/bin
+++ XDG_DATA_DIRS=/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/share:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/share:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/share:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/share:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/share:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/share:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/share:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/share:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/share:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/share:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/share:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/share:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/share:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/share:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/share:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/share:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/share:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/share:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/share:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/share:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/share:/lix-src/outputs/out/share:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/share:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/share:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/share:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/share:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/share:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/share:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/share:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/share:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/share:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/share:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/share:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/share:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/share:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/share:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/share:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/share:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/share:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/share:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/share:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/share:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/share:/lix-src/outputs/out/share
++++ mktemp -d -t nix-shell.XXXXXX
+++ export NIX_BUILD_TOP=/tmp/nix-shell.MrxVR3/nix-shell.Y7xo3v
+++ NIX_BUILD_TOP=/tmp/nix-shell.MrxVR3/nix-shell.Y7xo3v
+++ export TMP=/tmp/nix-shell.MrxVR3/nix-shell.Y7xo3v
+++ TMP=/tmp/nix-shell.MrxVR3/nix-shell.Y7xo3v
+++ export TMPDIR=/tmp/nix-shell.MrxVR3/nix-shell.Y7xo3v
+++ TMPDIR=/tmp/nix-shell.MrxVR3/nix-shell.Y7xo3v
+++ export TEMP=/tmp/nix-shell.MrxVR3/nix-shell.Y7xo3v
+++ TEMP=/tmp/nix-shell.MrxVR3/nix-shell.Y7xo3v
+++ export TEMPDIR=/tmp/nix-shell.MrxVR3/nix-shell.Y7xo3v
+++ TEMPDIR=/tmp/nix-shell.MrxVR3/nix-shell.Y7xo3v
+++ eval ''
++ [[ -n /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/ijm4i2w97ash7vjwmxxns653jdwgl7ii-stdenv ]]
++ [[ 3 4 = \3\ \4 ]]
++ [[
= \
]]
++ [[ x
y = \x\
\y ]]
+++ fun
+++ echo blabla
++ [[ blabla = blabla ]]
+++ jq -r .variables.PATH.value /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.json
++ [[ /nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/lix-src/outputs/out/bin:/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:/lix-src/outputs/out/bin:/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6/bin:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/bin:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/bin:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6/bin:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/bin:/nix/store/cww3k56xakjzf71wjc4jwcj7r95m97a1-glibc-2.38-66-bin/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40/bin:/nix/store/01bi48ga8vzbz4zgh7g3bsl620cj27kj-binutils-2.40/bin:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/bin:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/bin:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/bin:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/bin:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/bin:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3/bin:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6/bin:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/bin:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0/bin:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers/bin:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes/bin:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt/bin:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0/bin:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/bin:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/bin:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/bin:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/bin:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/bin:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/bin:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7/bin:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/bin:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/bin:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7/bin:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/bin:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin:/tools:/bin = /nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/lix-src/outputs/out/bin:/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:/lix-src/outputs/out/bin:/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6/bin:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/bin:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/bin:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6/bin:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/bin:/nix/store/cww3k56xakjzf71wjc4jwcj7r95m97a1-glibc-2.38-66-bin/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40/bin:/nix/store/01bi48ga8vzbz4zgh7g3bsl620cj27kj-binutils-2.40/bin:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/bin:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/bin:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/bin:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/bin:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/bin:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3/bin:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6/bin:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/bin:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0/bin:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers/bin:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes/bin:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt/bin:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0/bin:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/bin:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/bin:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/bin:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/bin:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/bin:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/bin:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7/bin:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/bin:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/bin:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7/bin:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/bin:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin:/tools:/bin ]]
++(./nix-shell.sh:140) path=/lix-src/outputs/out/bin:/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:/lix-src/outputs/out/bin:/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6/bin:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/bin:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/bin:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6/bin:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/bin:/nix/store/cww3k56xakjzf71wjc4jwcj7r95m97a1-glibc-2.38-66-bin/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40/bin:/nix/store/01bi48ga8vzbz4zgh7g3bsl620cj27kj-binutils-2.40/bin:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/bin:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/bin:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/bin:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/bin:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/bin:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3/bin:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6/bin:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/bin:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0/bin:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers/bin:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes/bin:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt/bin:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0/bin:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/bin:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/bin:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/bin:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/bin:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/bin:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/bin:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7/bin:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/bin:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/bin:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7/bin:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/bin:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin:/tools:/bin
++(./nix-shell.sh:141) PATH=
++(./nix-shell.sh:142) source /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:1) unset shellHook
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:2) PATH=
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:3) nix_saved_PATH=
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:4) XDG_DATA_DIRS=/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/share:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/share:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/share:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/share:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/share:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/share:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/share:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/share:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/share:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/share:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/share:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/share:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/share:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/share:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/share:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/share:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/share:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/share:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/share:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/share:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/share:/lix-src/outputs/out/share
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:5) nix_saved_XDG_DATA_DIRS=/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/share:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/share:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/share:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/share:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/share:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/share:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/share:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/share:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/share:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/share:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/share:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/share:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/share:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/share:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/share:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/share:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/share:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/share:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/share:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/share:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/share:/lix-src/outputs/out/share
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:6) ASCII_AT=@
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:7) export ASCII_AT
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:8) ASCII_PERCENT=%
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:9) export ASCII_PERCENT
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:10) BASH=/bin/bash
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:11) HOSTTYPE=x86_64
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:13) IFS='
'
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:14) IN_NIX_SHELL=impure
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:15) export IN_NIX_SHELL
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:16) LINENO=76
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:17) MACHTYPE=x86_64-pc-linux-gnu
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:18) NIX_BUILD_CORES=16
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:19) export NIX_BUILD_CORES
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:20) NIX_STORE=/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:21) export NIX_STORE
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:22) OLDPWD=
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:23) export OLDPWD
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:24) OPTERR=1
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:25) OSTYPE=linux-gnu
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:26) PATH=/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:27) export PATH
+++(/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.sh:28) PS4='+ '
+++ SHELL=/bin/bash
+++ TEST_inNixShell=false
+++ export TEST_inNixShell
+++ VAR_FROM_NIX=bar
+++ export VAR_FROM_NIX
+++ VAR_FROM_STDENV_SETUP=foo
+++ export VAR_FROM_STDENV_SETUP
+++ arr1=('1' '2' '3 4' '5')
+++ declare -a arr1
+++ arr2=('x' '
' 'x
y')
+++ declare -a arr2
+++ builder=/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash
+++ export builder
+++ dev=/lix-src/build/tests/functional/outputs/dev
+++ export dev
+++ dontAddDisableDepTrack=1
+++ export dontAddDisableDepTrack
+++ name=shellDrv-env
+++ export name
+++ out=/lix-src/build/tests/functional/outputs/out
+++ export out
+++ outputHashAlgo=sha256
+++ export outputHashAlgo
+++ outputHashMode=recursive
+++ export outputHashMode
+++ outputs='dev out'
+++ export outputs
+++ stdenv=/tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/store/ijm4i2w97ash7vjwmxxns653jdwgl7ii-stdenv
+++ export stdenv
+++ system=x86_64-linux
+++ export system
+++ PATH=/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin
+++ XDG_DATA_DIRS=/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/share:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/share:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/share:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/share:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/share:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/share:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/share:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/share:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/share:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/share:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/share:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/share:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/share:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/share:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/share:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/share:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/share:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/share:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/share:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/share:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/share:/lix-src/outputs/out/share:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/share:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/share:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/share:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/share:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/share:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/share:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/share:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/share:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/share:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/share:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/share:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/share:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/share:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/share:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/share:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/share:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/share:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/share:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/share:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/share:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/share:/lix-src/outputs/out/share
++++ mktemp -d -t nix-shell.XXXXXX
+++ export NIX_BUILD_TOP=/tmp/nix-shell.MrxVR3/nix-shell.Pj0UrR
+++ NIX_BUILD_TOP=/tmp/nix-shell.MrxVR3/nix-shell.Pj0UrR
+++ export TMP=/tmp/nix-shell.MrxVR3/nix-shell.Pj0UrR
+++ TMP=/tmp/nix-shell.MrxVR3/nix-shell.Pj0UrR
+++ export TMPDIR=/tmp/nix-shell.MrxVR3/nix-shell.Pj0UrR
+++ TMPDIR=/tmp/nix-shell.MrxVR3/nix-shell.Pj0UrR
+++ export TEMP=/tmp/nix-shell.MrxVR3/nix-shell.Pj0UrR
+++ TEMP=/tmp/nix-shell.MrxVR3/nix-shell.Pj0UrR
+++ export TEMPDIR=/tmp/nix-shell.MrxVR3/nix-shell.Pj0UrR
+++ TEMPDIR=/tmp/nix-shell.MrxVR3/nix-shell.Pj0UrR
+++ eval ''
+++ PATH=/lix-src/outputs/out/bin:/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:/lix-src/outputs/out/bin:/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6/bin:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/bin:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/bin:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6/bin:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/bin:/nix/store/cww3k56xakjzf71wjc4jwcj7r95m97a1-glibc-2.38-66-bin/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40/bin:/nix/store/01bi48ga8vzbz4zgh7g3bsl620cj27kj-binutils-2.40/bin:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/bin:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/bin:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/bin:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/bin:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/bin:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3/bin:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6/bin:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/bin:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0/bin:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers/bin:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes/bin:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt/bin:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0/bin:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/bin:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/bin:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/bin:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/bin:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/bin:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/bin:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7/bin:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/bin:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/bin:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7/bin:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/bin:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin:/tools:/bin
+++ jq -r .variables.PATH.value /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/dev-env.json
++ [[ /nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin = /nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin ]]
++(./nix-shell.sh:147) cat
++(./nix-shell.sh:152) nix-shell /tmp/nix-shell.MrxVR3/nix-test/ca/nix-shell/shell-ellipsis.nix --run trueclearing store...
clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/flakes/develop
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/flakes/develop
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/flakes/develop
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/develop
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/develop
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(../common.sh:8) [[ -n '' ]]
+(develop.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home/.local/state/nix/profiles
+(develop.sh:4) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home/.cache /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home/.config /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home/.local
+(develop.sh:7) cp ../shell-hello.nix ../config.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home/
+(develop.sh:8) cat
+(develop.sh:23) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home/nixpkgs
+(develop.sh:24) cp ../config.nix ../shell.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home/nixpkgs
+(develop.sh:25) cat
+(develop.sh:33) cd /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home
++(develop.sh:40) ENVVAR=a
++(develop.sh:40) nix develop --no-write-lock-file .#hello
warning: not writing modified lock file of flake 'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home':
• Added input 'nixpkgs':
'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home/nixpkgs?lastModified=1716682862&narHash=sha256-0vwg%2BcYY9dm68YivXHd8kGbadBBLnxsaSXjTP8YKsJ4%3D' (2024-05-26)
building '/tmp/nix-shell.MrxVR3/nix-test/flakes/develop/store/rbimvfdy079xxzdlawini6gh2z0mjagc-hello-env.drv'...
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/flakes/develop/store/la48w6kx2yh6l1ib69jqrj71kmvhz1rb-stdenv.drv
/tmp/nix-shell.MrxVR3/nix-test/flakes/develop/store/rs9mlcc1cckh4zybsgn5fx829b4d2s13-bash.drv
building '/tmp/nix-shell.MrxVR3/nix-test/flakes/develop/store/la48w6kx2yh6l1ib69jqrj71kmvhz1rb-stdenv.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/flakes/develop/store/rs9mlcc1cckh4zybsgn5fx829b4d2s13-bash.drv'...
+(develop.sh:40) [[ a = \a ]]
++(develop.sh:47) ENVVAR=a
++(develop.sh:47) nix develop --ignore-environment --no-write-lock-file .#hello
warning: not writing modified lock file of flake 'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home':
• Added input 'nixpkgs':
'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home/nixpkgs?lastModified=1716682862&narHash=sha256-0vwg%2BcYY9dm68YivXHd8kGbadBBLnxsaSXjTP8YKsJ4%3D' (2024-05-26)
+(develop.sh:47) [[ -z '' ]]
+(develop.sh:50) nix build --no-write-lock-file ./nixpkgs#bashInteractive --out-link ./bash-interactive
+(develop.sh:51) BASH_INTERACTIVE_EXECUTABLE=/tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home/bash-interactive/bin/bash
++(develop.sh:58) SHELL=custom
++(develop.sh:58) nix develop --no-write-lock-file .#hello
warning: not writing modified lock file of flake 'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home':
• Added input 'nixpkgs':
'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home/nixpkgs?lastModified=1716682862&narHash=sha256-0vwg%2BcYY9dm68YivXHd8kGbadBBLnxsaSXjTP8YKsJ4%3D' (2024-05-26)
+(develop.sh:58) [[ /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/store/3in9ivczxigbns9pmzfg60lhfwa1yqwb-bash/bin/bash -ef /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home/bash-interactive/bin/bash ]]
++(develop.sh:65) SHELL=custom
++(develop.sh:65) nix develop --ignore-environment --no-write-lock-file .#hello
warning: not writing modified lock file of flake 'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home':
• Added input 'nixpkgs':
'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home/nixpkgs?lastModified=1716682862&narHash=sha256-0vwg%2BcYY9dm68YivXHd8kGbadBBLnxsaSXjTP8YKsJ4%3D' (2024-05-26)
+(develop.sh:65) [[ /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/store/3in9ivczxigbns9pmzfg60lhfwa1yqwb-bash/bin/bash -ef /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home/bash-interactive/bin/bash ]]
+(develop.sh:67) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/develop/test-home/.local/state/nix/profiles{
"/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/hcma12pkqi2rvwqqbqr8w2p40x6rkq4s-rootCA.drv": {
"args": [
"-e",
"/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/4rsfwnnrdp426cdxsgijkky2823kpi38-builder-rootCA.sh"
],
"builder": "/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash",
"env": {
"PATH": "/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin",
"buildCommand": "echo \"building a CA derivation\"\necho \"The seed is 1\"\nmkdir -p $out\necho /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/r5z9mwgjwazx71xi94plvwg7xsnpcylq-simple-input-addressed/hello > $out/dep\nln -s $out $out/self\n# test symlinks at root\nln -s $out $dev\nln -s $out $foo\n",
"builder": "/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash",
"dev": "/02qcpld1y6xhs5gz9bchpxaw0xdhmsp5dv88lh25r2ss44kh8dxz",
"foo": "/1x0ymrsy7yr7i9wdsqy9khmzc1yy7nvxw6rdp72yzn50285s67j5",
"name": "rootCA",
"out": "/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9",
"outputHashAlgo": "sha256",
"outputHashMode": "recursive",
"outputs": "out dev foo",
"system": "x86_64-linux"
},
"inputDrvs": {
"/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/12gfx90qsah9fdqmhrc225wiqprqrdx5-simple-input-addressed.drv": {
"dynamicOutputs": {},
"outputs": [
"out"
]
}
},
"inputSrcs": [
"/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/4rsfwnnrdp426cdxsgijkky2823kpi38-builder-rootCA.sh"
],
"name": "rootCA",
"outputs": {
"dev": {
"hashAlgo": "r:sha256"
},
"foo": {
"hashAlgo": "r:sha256"
},
"out": {
"hashAlgo": "r:sha256"
}
},
"system": "x86_64-linux"
}
}
clearing store...
clearing store...
clearing store...
clearing store...
clearing store...
clearing store...
clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) enableFeatures ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/etc/nix.conf
++(common.sh:5) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(build-cache.sh:6) requireDaemonNewerThan 2.18.0pre20230808
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:159) isDaemonNewer 2.18.0pre20230808
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
++(build-cache.sh:8) nix-instantiate ./content-addressed.nix -A rootCA --arg seed 1
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(build-cache.sh:8) drv='/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/hcma12pkqi2rvwqqbqr8w2p40x6rkq4s-rootCA.drv^out'
+(build-cache.sh:9) nix derivation show '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/hcma12pkqi2rvwqqbqr8w2p40x6rkq4s-rootCA.drv^out' --arg seed 1
+(build-cache.sh:50) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/test-home/.local/state/nix/profiles
+(build-cache.sh:51) testRemoteCache
+(build-cache.sh:42) testRemoteCacheFor rootCA
+(build-cache.sh:33) local derivationPath=rootCA
+(build-cache.sh:34) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache
+(build-cache.sh:35) copyAttr rootCA 1
+(build-cache.sh:21) local derivationPath=rootCA
+(build-cache.sh:22) local seedValue=1
+(build-cache.sh:23) shift
+(build-cache.sh:23) shift
+(build-cache.sh:24) args=('-f' './content-addressed.nix' 'rootCA' '--arg' 'seed' '1')
+(build-cache.sh:24) local args
+(build-cache.sh:25) args+=("$@")
+(build-cache.sh:29) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache -f ./content-addressed.nix rootCA --arg seed 1
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/12gfx90qsah9fdqmhrc225wiqprqrdx5-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/hcma12pkqi2rvwqqbqr8w2p40x6rkq4s-rootCA.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/12gfx90qsah9fdqmhrc225wiqprqrdx5-simple-input-addressed.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/270309msz5lvpxm9l1851zdnv6xr2jdp-rootCA.drv'...
copying 4 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/r5z9mwgjwazx71xi94plvwg7xsnpcylq-simple-input-addressed' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/nfvd11m44jr6iw0b0fvvnr5v8l5qc85y-rootCA' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/b98p58564nnqq69ah840agbm3a1z1zh1-rootCA-dev' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/sk540j3imialmbsxb0ai897wz8ni671j-rootCA-foo' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache'...
+(build-cache.sh:36) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/test-home/.local/state/nix/profiles
+(build-cache.sh:38) buildAttr rootCA 1 --option substituters file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache --no-require-sigs
+(build-cache.sh:38) grepQuietInverse ' will be built:'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:269) grep ' will be built:'
+(build-cache.sh:43) testRemoteCacheFor dependentCA
+(build-cache.sh:33) local derivationPath=dependentCA
+(build-cache.sh:34) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache
+(build-cache.sh:35) copyAttr dependentCA 1
+(build-cache.sh:21) local derivationPath=dependentCA
+(build-cache.sh:22) local seedValue=1
+(build-cache.sh:23) shift
+(build-cache.sh:23) shift
+(build-cache.sh:24) args=('-f' './content-addressed.nix' 'dependentCA' '--arg' 'seed' '1')
+(build-cache.sh:24) local args
+(build-cache.sh:25) args+=("$@")
+(build-cache.sh:29) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache -f ./content-addressed.nix dependentCA --arg seed 1
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/hcma12pkqi2rvwqqbqr8w2p40x6rkq4s-rootCA.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/wfj7bpy4baxpalp7xas42rpjsvsmhpqj-dependent.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/6xi8xpbwk6z1s0g37wix9dz2czpha8kh-dependent.drv'...
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/r5z9mwgjwazx71xi94plvwg7xsnpcylq-simple-input-addressed' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/nfvd11m44jr6iw0b0fvvnr5v8l5qc85y-rootCA' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/pg9q56n5mn0fzmwaxahz1qmwl25jfb3p-dependent' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache'...
+(build-cache.sh:36) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/test-home/.local/state/nix/profiles
+(build-cache.sh:38) buildAttr dependentCA 1 --option substituters file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache --no-require-sigs
+(build-cache.sh:38) grepQuietInverse ' will be built:'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:269) grep ' will be built:'
+(build-cache.sh:44) testRemoteCacheFor dependentNonCA
+(build-cache.sh:33) local derivationPath=dependentNonCA
+(build-cache.sh:34) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache
+(build-cache.sh:35) copyAttr dependentNonCA 1
+(build-cache.sh:21) local derivationPath=dependentNonCA
+(build-cache.sh:22) local seedValue=1
+(build-cache.sh:23) shift
+(build-cache.sh:23) shift
+(build-cache.sh:24) args=('-f' './content-addressed.nix' 'dependentNonCA' '--arg' 'seed' '1')
+(build-cache.sh:24) local args
+(build-cache.sh:25) args+=("$@")
+(build-cache.sh:29) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache -f ./content-addressed.nix dependentNonCA --arg seed 1
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/hcma12pkqi2rvwqqbqr8w2p40x6rkq4s-rootCA.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/v9q7ahpy3svqgp99fk72bd9rw7a45r3n-dependent-non-ca.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/mahwzwzyc3ya804a5ip5h0wai5gi3xn1-dependent-non-ca.drv'...
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/r5z9mwgjwazx71xi94plvwg7xsnpcylq-simple-input-addressed' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/nfvd11m44jr6iw0b0fvvnr5v8l5qc85y-rootCA' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/9y9dmcidrmr3i510gsadknc1mr77j3bp-dependent-non-ca' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache'...
+(build-cache.sh:36) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/test-home/.local/state/nix/profiles
+(build-cache.sh:38) buildAttr dependentNonCA 1 --option substituters file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache --no-require-sigs
+(build-cache.sh:38) grepQuietInverse ' will be built:'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:269) grep ' will be built:'
+(build-cache.sh:45) testRemoteCacheFor dependentFixedOutput
+(build-cache.sh:33) local derivationPath=dependentFixedOutput
+(build-cache.sh:34) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache
+(build-cache.sh:35) copyAttr dependentFixedOutput 1
+(build-cache.sh:21) local derivationPath=dependentFixedOutput
+(build-cache.sh:22) local seedValue=1
+(build-cache.sh:23) shift
+(build-cache.sh:23) shift
+(build-cache.sh:24) args=('-f' './content-addressed.nix' 'dependentFixedOutput' '--arg' 'seed' '1')
+(build-cache.sh:24) local args
+(build-cache.sh:25) args+=("$@")
+(build-cache.sh:29) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache -f ./content-addressed.nix dependentFixedOutput --arg seed 1
these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/hcma12pkqi2rvwqqbqr8w2p40x6rkq4s-rootCA.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/wfj7bpy4baxpalp7xas42rpjsvsmhpqj-dependent.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/3fzn6bc8rlzpc7mhdyipsh8z2inhlnl4-dependent-fixed-output.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/6xi8xpbwk6z1s0g37wix9dz2czpha8kh-dependent.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/qmynn8x7yjain87gg5z6wsjb6aw3j5i6-dependent-fixed-output.drv'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/b9lrk4yq2dzfc8h88xwn07sni79qzfcm-dependent-fixed-output' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache'...
+(build-cache.sh:36) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/test-home/.local/state/nix/profiles
+(build-cache.sh:38) buildAttr dependentFixedOutput 1 --option substituters file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache --no-require-sigs
+(build-cache.sh:38) grepQuietInverse ' will be built:'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:269) grep ' will be built:'
+(build-cache.sh:46) testRemoteCacheFor dependentForBuildCA
+(build-cache.sh:33) local derivationPath=dependentForBuildCA
+(build-cache.sh:34) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache
+(build-cache.sh:35) copyAttr dependentForBuildCA 1
+(build-cache.sh:21) local derivationPath=dependentForBuildCA
+(build-cache.sh:22) local seedValue=1
+(build-cache.sh:23) shift
+(build-cache.sh:23) shift
+(build-cache.sh:24) args=('-f' './content-addressed.nix' 'dependentForBuildCA' '--arg' 'seed' '1')
+(build-cache.sh:24) local args
+(build-cache.sh:25) args+=("$@")
+(build-cache.sh:29) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache -f ./content-addressed.nix dependentForBuildCA --arg seed 1
these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/12gfx90qsah9fdqmhrc225wiqprqrdx5-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/hcma12pkqi2rvwqqbqr8w2p40x6rkq4s-rootCA.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/r14dhzjx52xjxdadi5m1g3x0bqjbq6qr-dependent-for-build-ca.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/12gfx90qsah9fdqmhrc225wiqprqrdx5-simple-input-addressed.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/270309msz5lvpxm9l1851zdnv6xr2jdp-rootCA.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/k1whslky9kys1m798ccixlmwh2ipikld-dependent-for-build-ca.drv'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/fawlnb6p8idw0fa4plpj1jl8rj0dwq1b-dependent-for-build-ca' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache'...
+(build-cache.sh:36) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/test-home/.local/state/nix/profiles
+(build-cache.sh:38) buildAttr dependentForBuildCA 1 --option substituters file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache --no-require-sigs
+(build-cache.sh:38) grepQuietInverse ' will be built:'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:269) grep ' will be built:'
+(build-cache.sh:47) testRemoteCacheFor dependentForBuildNonCA
+(build-cache.sh:33) local derivationPath=dependentForBuildNonCA
+(build-cache.sh:34) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache
+(build-cache.sh:35) copyAttr dependentForBuildNonCA 1
+(build-cache.sh:21) local derivationPath=dependentForBuildNonCA
+(build-cache.sh:22) local seedValue=1
+(build-cache.sh:23) shift
+(build-cache.sh:23) shift
+(build-cache.sh:24) args=('-f' './content-addressed.nix' 'dependentForBuildNonCA' '--arg' 'seed' '1')
+(build-cache.sh:24) local args
+(build-cache.sh:25) args+=("$@")
+(build-cache.sh:29) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache -f ./content-addressed.nix dependentForBuildNonCA --arg seed 1
these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/12gfx90qsah9fdqmhrc225wiqprqrdx5-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/hcma12pkqi2rvwqqbqr8w2p40x6rkq4s-rootCA.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/68y39lrcdynkd9m2qp24m4npsa2gx986-dependent-for-build-non-ca.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/12gfx90qsah9fdqmhrc225wiqprqrdx5-simple-input-addressed.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/270309msz5lvpxm9l1851zdnv6xr2jdp-rootCA.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/64djrbs90amj5yna3kb34gn5hrzqqdlp-dependent-for-build-non-ca.drv'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store/an9zriqx0x5zhf1c9rf87p2lbk2fa62l-dependent-for-build-non-ca' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache'...
+(build-cache.sh:36) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/test-home/.local/state/nix/profiles
+(build-cache.sh:38) grepQuietInverse ' will be built:'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:269) grep ' will be built:'
+(build-cache.sh:38) buildAttr dependentForBuildNonCA 1 --option substituters file:///tmp/nix-shell.MrxVR3/nix-test/ca/build-cache/binary-cache --no-require-sigsclearing store...
clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(./common.sh:3) enableFeatures ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/etc/nix.conf
++(./common.sh:5) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(duplicate-realisation-in-closure.sh:3) requireDaemonNewerThan 2.4pre20210625
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:159) isDaemonNewer 2.4pre20210625
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
+(duplicate-realisation-in-closure.sh:5) export REMOTE_STORE_DIR=/tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/remote_store
+(duplicate-realisation-in-closure.sh:5) REMOTE_STORE_DIR=/tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/remote_store
+(duplicate-realisation-in-closure.sh:6) export REMOTE_STORE=file:///tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/remote_store
+(duplicate-realisation-in-closure.sh:6) REMOTE_STORE=file:///tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/remote_store
+(duplicate-realisation-in-closure.sh:8) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/remote_store
+(duplicate-realisation-in-closure.sh:9) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/test-home/.local/state/nix/profiles
+(duplicate-realisation-in-closure.sh:13) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/remote_store -f nondeterministic.nix dep1
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store/yhm1basi7h6q16158hpwlkrzdfvvk759-current-time.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store/vwjfmgqf3gqpcmgkz0nd06ab350j1g44-dep.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store/yhm1basi7h6q16158hpwlkrzdfvvk759-current-time.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store/r613hpp2i68zb9pghzm2cmncc3qi55ak-dep.drv'...
copying 2 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store/gvqgi8dazlwmxyig95wmndhncw6y5d92-current-time' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store/1b0rcvbq49avxmc57vy1rws2hb9wvslb-dep' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/remote_store'...
+(duplicate-realisation-in-closure.sh:14) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/test-home/.local/state/nix/profiles
+(duplicate-realisation-in-closure.sh:15) sleep 2
+(duplicate-realisation-in-closure.sh:20) nix build -f nondeterministic.nix dep2 --no-link
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store/yhm1basi7h6q16158hpwlkrzdfvvk759-current-time.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store/c826a3118l4696lgi877w1zqfi408wvp-dep.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store/yhm1basi7h6q16158hpwlkrzdfvvk759-current-time.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store/3nj1ad5jjxcbxf2m2kg0v6b0alxm4im4-dep.drv'...
+(duplicate-realisation-in-closure.sh:26) nix build --substituters file:///tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/remote_store -f nondeterministic.nix toplevel --no-require-sigs --no-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store/267nvn3mhwv5a79r4lzwdvgljmf9id6z-toplevel.drv
these 2 paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store/gvqgi8dazlwmxyig95wmndhncw6y5d92-current-time
/tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store/1b0rcvbq49avxmc57vy1rws2hb9wvslb-dep
warning: substituter 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/remote_store' has an incompatible realisation for 'sha256:8a01d5c70b46f3cac5e9b71e58b42bf098600d9dc3eadbd18de4679b804ff4d4!out', ignoring.
Local: /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store/85q7h6qrm76airhfd241xm2afd15rprc-current-time
Remote: /tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store/gvqgi8dazlwmxyig95wmndhncw6y5d92-current-time
building '/tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store/4fb326k2djc8djfz3q2wv1phvv0sqcp6-dep.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/duplicate-realisation-in-closure/store/8jakx05zsckv515yycx27hrfj2360cgy-toplevel.drv'...clearing store...
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/var/nix/gcroots/foo -> /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/f6cymp5rya0gkd8dqq3b58ncgip7r7by-dependencies-top.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/0kbwy7xdbdq0d7m57j6a2i959gqiyv09-fod-input
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/1lchzfacqq2vh0kxwyf50iyd42f2rszb-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/4j4rgabn1dvb4vjl509frmm15vbwfllv-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/bnl3zwnaxpd2wcd69pjag7jy1ngwxqrp-builder-dependencies-input-0.sh
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/dpkkpfnam4larqmd0vbn3sy14bywhs1y-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/f6cymp5rya0gkd8dqq3b58ncgip7r7by-dependencies-top.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/hkhxjxabylq1jwiws3ismdm47i3nl7ip-builder-fod-input.sh
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/l9p8ap41vhbwa547pw814zs8a04j3p50-dependencies-input-1
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/lrffj9rxf11piww9nbywy9qx3d8392h3-dependencies-top.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/lvvjsgrnja0j39lh9zwmnkzvb5360gr2-builder-dependencies-input-2.sh
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/pvh2dmjaj1c6pgj9v283vk51yi8xhr1x-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/wyihks32040xjv75xkwm5yaabwpykgpn-dependencies.builder0.sh
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/xhgb3x03y9irrzg99d2dqc8pfdvapxa7-builder-dependencies-input-1.sh
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/xjzzgqn5372dafzcp0f6fcakfyxkwd9g-dependencies-input-1.drv
0 store paths deleted, 0.00 MiB freed
0 store paths deleted, 0.00 MiB freed
48 store paths deleted, 0.01 MiB freed
FOOBAR
BAR
3 store paths deleted, 0.00 MiB freed
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ca/gc
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ca/gc
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ca/gc
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/gc
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/gc
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/gc/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/gc/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/gc/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/gc/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/gc/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) enableFeatures ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/ca/gc/etc/nix.conf
++(common.sh:5) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(gc.sh:7) export NIX_TESTS_CA_BY_DEFAULT=1
+(gc.sh:7) NIX_TESTS_CA_BY_DEFAULT=1
+(gc.sh:9) cd ..
+(gc.sh:10) source gc.sh
++(gc.sh:1) source common.sh
+++(common.sh:1) set -eu -o pipefail
+++(common.sh:3) [[ -z 1 ]]
++(gc.sh:3) clearStore
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/gc/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/gc/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/gc/test-home/.local/state/nix/profiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/gc/test-home/.local/state/nix/profiles
+++(gc.sh:5) nix-instantiate dependencies.nix
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
++(gc.sh:5) drvPath=/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/f6cymp5rya0gkd8dqq3b58ncgip7r7by-dependencies-top.drv
+++(gc.sh:6) nix-store -rvv /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/f6cymp5rya0gkd8dqq3b58ncgip7r7by-dependencies-top.drv
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/pvh2dmjaj1c6pgj9v283vk51yi8xhr1x-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/1lchzfacqq2vh0kxwyf50iyd42f2rszb-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/dpkkpfnam4larqmd0vbn3sy14bywhs1y-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/xjzzgqn5372dafzcp0f6fcakfyxkwd9g-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/f6cymp5rya0gkd8dqq3b58ncgip7r7by-dependencies-top.drv
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/bnl3zwnaxpd2wcd69pjag7jy1ngwxqrp-builder-dependencies-input-0.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/pvh2dmjaj1c6pgj9v283vk51yi8xhr1x-dependencies-input-0.drv'...
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/1lchzfacqq2vh0kxwyf50iyd42f2rszb-dependencies-input-2.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/4j4rgabn1dvb4vjl509frmm15vbwfllv-dependencies-input-2.drv'...
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/xhgb3x03y9irrzg99d2dqc8pfdvapxa7-builder-dependencies-input-1.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/xjzzgqn5372dafzcp0f6fcakfyxkwd9g-dependencies-input-1.drv'...
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/lvvjsgrnja0j39lh9zwmnkzvb5360gr2-builder-dependencies-input-2.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/4j4rgabn1dvb4vjl509frmm15vbwfllv-dependencies-input-2.drv'...
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/hkhxjxabylq1jwiws3ismdm47i3nl7ip-builder-fod-input.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/dpkkpfnam4larqmd0vbn3sy14bywhs1y-fod-input.drv'...
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/f6cymp5rya0gkd8dqq3b58ncgip7r7by-dependencies-top.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/lrffj9rxf11piww9nbywy9qx3d8392h3-dependencies-top.drv'...
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/wyihks32040xjv75xkwm5yaabwpykgpn-dependencies.builder0.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/lrffj9rxf11piww9nbywy9qx3d8392h3-dependencies-top.drv'...
FOO
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
++(gc.sh:6) outPath=/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top
++(gc.sh:9) rm -f /tmp/nix-shell.MrxVR3/nix-test/ca/gc/var/nix/gcroots/foo
++(gc.sh:10) ln -sf /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top /tmp/nix-shell.MrxVR3/nix-test/ca/gc/var/nix/gcroots/foo
+++(gc.sh:12) nix-store -q --roots /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top
++(gc.sh:12) '[' '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/var/nix/gcroots/foo -> /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top' = '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/var/nix/gcroots/foo -> /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top' ']'
++(gc.sh:14) nix-store --gc --print-roots
++(gc.sh:14) grep /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top
++(gc.sh:15) nix-store --gc --print-live
++(gc.sh:15) grep /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top
finding garbage collector roots...
determining live/dead paths...
++(gc.sh:16) nix-store --gc --print-dead
++(gc.sh:16) grep /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/f6cymp5rya0gkd8dqq3b58ncgip7r7by-dependencies-top.drv
finding garbage collector roots...
determining live/dead paths...
++(gc.sh:17) nix-store --gc --print-dead
++(gc.sh:17) grep -E '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top$'
finding garbage collector roots...
determining live/dead paths...
++(gc.sh:19) nix-store --gc --print-dead
finding garbage collector roots...
determining live/dead paths...
+++(gc.sh:21) readLink /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top/reference-to-input-2
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:63) ls -l /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top/reference-to-input-2
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:63) sed 's/.*->\ //'
++(gc.sh:21) inUse=/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/rj3ndzi7f5yadss1b9xx4lwwvyn6xmcj-dependencies-input-2/.
++(gc.sh:22) nix-store --delete /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/rj3ndzi7f5yadss1b9xx4lwwvyn6xmcj-dependencies-input-2/.
finding garbage collector roots...
error: Cannot delete path '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/rj3ndzi7f5yadss1b9xx4lwwvyn6xmcj-dependencies-input-2' since it is still alive. To find out why, use: nix-store --query --roots and nix-store --query --referrers
++(gc.sh:23) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/rj3ndzi7f5yadss1b9xx4lwwvyn6xmcj-dependencies-input-2/.
++(gc.sh:25) nix-store --delete /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top
finding garbage collector roots...
error: Cannot delete path '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top' since it is still alive. To find out why, use: nix-store --query --roots and nix-store --query --referrers
++(gc.sh:26) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top
++(gc.sh:28) for i in $NIX_STORE_DIR/*
++(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/0kbwy7xdbdq0d7m57j6a2i959gqiyv09-fod-input =~ /trash ]]
++(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/0kbwy7xdbdq0d7m57j6a2i959gqiyv09-fod-input.lock
++(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/0kbwy7xdbdq0d7m57j6a2i959gqiyv09-fod-input.chroot
++(gc.sh:28) for i in $NIX_STORE_DIR/*
++(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/1lchzfacqq2vh0kxwyf50iyd42f2rszb-dependencies-input-2.drv =~ /trash ]]
++(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/1lchzfacqq2vh0kxwyf50iyd42f2rszb-dependencies-input-2.drv.lock
++(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/1lchzfacqq2vh0kxwyf50iyd42f2rszb-dependencies-input-2.drv.chroot
++(gc.sh:28) for i in $NIX_STORE_DIR/*
++(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/4j4rgabn1dvb4vjl509frmm15vbwfllv-dependencies-input-2.drv =~ /trash ]]
++(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/4j4rgabn1dvb4vjl509frmm15vbwfllv-dependencies-input-2.drv.lock
++(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/4j4rgabn1dvb4vjl509frmm15vbwfllv-dependencies-input-2.drv.chroot
++(gc.sh:28) for i in $NIX_STORE_DIR/*
++(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/bnl3zwnaxpd2wcd69pjag7jy1ngwxqrp-builder-dependencies-input-0.sh =~ /trash ]]
++(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/bnl3zwnaxpd2wcd69pjag7jy1ngwxqrp-builder-dependencies-input-0.sh.lock
++(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/bnl3zwnaxpd2wcd69pjag7jy1ngwxqrp-builder-dependencies-input-0.sh.chroot
++(gc.sh:28) for i in $NIX_STORE_DIR/*
++(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/dpkkpfnam4larqmd0vbn3sy14bywhs1y-fod-input.drv =~ /trash ]]
++(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/dpkkpfnam4larqmd0vbn3sy14bywhs1y-fod-input.drv.lock
++(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/dpkkpfnam4larqmd0vbn3sy14bywhs1y-fod-input.drv.chroot
++(gc.sh:28) for i in $NIX_STORE_DIR/*
++(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/f6cymp5rya0gkd8dqq3b58ncgip7r7by-dependencies-top.drv =~ /trash ]]
++(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/f6cymp5rya0gkd8dqq3b58ncgip7r7by-dependencies-top.drv.lock
++(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/f6cymp5rya0gkd8dqq3b58ncgip7r7by-dependencies-top.drv.chroot
++(gc.sh:28) for i in $NIX_STORE_DIR/*
++(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/hkhxjxabylq1jwiws3ismdm47i3nl7ip-builder-fod-input.sh =~ /trash ]]
++(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/hkhxjxabylq1jwiws3ismdm47i3nl7ip-builder-fod-input.sh.lock
++(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/hkhxjxabylq1jwiws3ismdm47i3nl7ip-builder-fod-input.sh.chroot
++(gc.sh:28) for i in $NIX_STORE_DIR/*
++(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/l9p8ap41vhbwa547pw814zs8a04j3p50-dependencies-input-1 =~ /trash ]]
++(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/l9p8ap41vhbwa547pw814zs8a04j3p50-dependencies-input-1.lock
++(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/l9p8ap41vhbwa547pw814zs8a04j3p50-dependencies-input-1.chroot
++(gc.sh:28) for i in $NIX_STORE_DIR/*
++(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/lrffj9rxf11piww9nbywy9qx3d8392h3-dependencies-top.drv =~ /trash ]]
++(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/lrffj9rxf11piww9nbywy9qx3d8392h3-dependencies-top.drv.lock
++(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/lrffj9rxf11piww9nbywy9qx3d8392h3-dependencies-top.drv.chroot
++(gc.sh:28) for i in $NIX_STORE_DIR/*
++(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/lvvjsgrnja0j39lh9zwmnkzvb5360gr2-builder-dependencies-input-2.sh =~ /trash ]]
++(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/lvvjsgrnja0j39lh9zwmnkzvb5360gr2-builder-dependencies-input-2.sh.lock
++(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/lvvjsgrnja0j39lh9zwmnkzvb5360gr2-builder-dependencies-input-2.sh.chroot
++(gc.sh:28) for i in $NIX_STORE_DIR/*
++(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/pvh2dmjaj1c6pgj9v283vk51yi8xhr1x-dependencies-input-0.drv =~ /trash ]]
++(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/pvh2dmjaj1c6pgj9v283vk51yi8xhr1x-dependencies-input-0.drv.lock
++(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/pvh2dmjaj1c6pgj9v283vk51yi8xhr1x-dependencies-input-0.drv.chroot
++(gc.sh:28) for i in $NIX_STORE_DIR/*
++(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/rj3ndzi7f5yadss1b9xx4lwwvyn6xmcj-dependencies-input-2 =~ /trash ]]
++(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/rj3ndzi7f5yadss1b9xx4lwwvyn6xmcj-dependencies-input-2.lock
++(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/rj3ndzi7f5yadss1b9xx4lwwvyn6xmcj-dependencies-input-2.chroot
++(gc.sh:28) for i in $NIX_STORE_DIR/*
++(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/wxnjxdnzi3p2lk71i91jj3kfg1hljsj6-dependencies-input-0 =~ /trash ]]
++(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/wxnjxdnzi3p2lk71i91jj3kfg1hljsj6-dependencies-input-0.lock
++(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/wxnjxdnzi3p2lk71i91jj3kfg1hljsj6-dependencies-input-0.chroot
++(gc.sh:28) for i in $NIX_STORE_DIR/*
++(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/wyihks32040xjv75xkwm5yaabwpykgpn-dependencies.builder0.sh =~ /trash ]]
++(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/wyihks32040xjv75xkwm5yaabwpykgpn-dependencies.builder0.sh.lock
++(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/wyihks32040xjv75xkwm5yaabwpykgpn-dependencies.builder0.sh.chroot
++(gc.sh:28) for i in $NIX_STORE_DIR/*
++(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/xhgb3x03y9irrzg99d2dqc8pfdvapxa7-builder-dependencies-input-1.sh =~ /trash ]]
++(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/xhgb3x03y9irrzg99d2dqc8pfdvapxa7-builder-dependencies-input-1.sh.lock
++(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/xhgb3x03y9irrzg99d2dqc8pfdvapxa7-builder-dependencies-input-1.sh.chroot
++(gc.sh:28) for i in $NIX_STORE_DIR/*
++(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/xjzzgqn5372dafzcp0f6fcakfyxkwd9g-dependencies-input-1.drv =~ /trash ]]
++(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/xjzzgqn5372dafzcp0f6fcakfyxkwd9g-dependencies-input-1.drv.lock
++(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/xjzzgqn5372dafzcp0f6fcakfyxkwd9g-dependencies-input-1.drv.chroot
++(gc.sh:28) for i in $NIX_STORE_DIR/*
++(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top =~ /trash ]]
++(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top.lock
++(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top.chroot
++(gc.sh:34) nix-collect-garbage
finding garbage collector roots...
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/l9p8ap41vhbwa547pw814zs8a04j3p50-dependencies-input-1.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/bnl3zwnaxpd2wcd69pjag7jy1ngwxqrp-builder-dependencies-input-0.sh.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/hkhxjxabylq1jwiws3ismdm47i3nl7ip-builder-fod-input.sh.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/lrffj9rxf11piww9nbywy9qx3d8392h3-dependencies-top.drv.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/lrffj9rxf11piww9nbywy9qx3d8392h3-dependencies-top.drv.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/xhgb3x03y9irrzg99d2dqc8pfdvapxa7-builder-dependencies-input-1.sh.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/wyihks32040xjv75xkwm5yaabwpykgpn-dependencies.builder0.sh.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/0kbwy7xdbdq0d7m57j6a2i959gqiyv09-fod-input.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/f6cymp5rya0gkd8dqq3b58ncgip7r7by-dependencies-top.drv.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/4j4rgabn1dvb4vjl509frmm15vbwfllv-dependencies-input-2.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/lrffj9rxf11piww9nbywy9qx3d8392h3-dependencies-top.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/l9p8ap41vhbwa547pw814zs8a04j3p50-dependencies-input-1'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/0kbwy7xdbdq0d7m57j6a2i959gqiyv09-fod-input'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/lvvjsgrnja0j39lh9zwmnkzvb5360gr2-builder-dependencies-input-2.sh.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/pvh2dmjaj1c6pgj9v283vk51yi8xhr1x-dependencies-input-0.drv.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/xjzzgqn5372dafzcp0f6fcakfyxkwd9g-dependencies-input-1.drv.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/f6cymp5rya0gkd8dqq3b58ncgip7r7by-dependencies-top.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/xjzzgqn5372dafzcp0f6fcakfyxkwd9g-dependencies-input-1.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/xhgb3x03y9irrzg99d2dqc8pfdvapxa7-builder-dependencies-input-1.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/pvh2dmjaj1c6pgj9v283vk51yi8xhr1x-dependencies-input-0.drv.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/dpkkpfnam4larqmd0vbn3sy14bywhs1y-fod-input.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/hkhxjxabylq1jwiws3ismdm47i3nl7ip-builder-fod-input.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/4j4rgabn1dvb4vjl509frmm15vbwfllv-dependencies-input-2.drv.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/1lchzfacqq2vh0kxwyf50iyd42f2rszb-dependencies-input-2.drv.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/wxnjxdnzi3p2lk71i91jj3kfg1hljsj6-dependencies-input-0.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/wxnjxdnzi3p2lk71i91jj3kfg1hljsj6-dependencies-input-0.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/xhgb3x03y9irrzg99d2dqc8pfdvapxa7-builder-dependencies-input-1.sh.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/lvvjsgrnja0j39lh9zwmnkzvb5360gr2-builder-dependencies-input-2.sh.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/1lchzfacqq2vh0kxwyf50iyd42f2rszb-dependencies-input-2.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/4j4rgabn1dvb4vjl509frmm15vbwfllv-dependencies-input-2.drv.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/hkhxjxabylq1jwiws3ismdm47i3nl7ip-builder-fod-input.sh.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/rj3ndzi7f5yadss1b9xx4lwwvyn6xmcj-dependencies-input-2.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/wyihks32040xjv75xkwm5yaabwpykgpn-dependencies.builder0.sh.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/f6cymp5rya0gkd8dqq3b58ncgip7r7by-dependencies-top.drv.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/pvh2dmjaj1c6pgj9v283vk51yi8xhr1x-dependencies-input-0.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/bnl3zwnaxpd2wcd69pjag7jy1ngwxqrp-builder-dependencies-input-0.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/dpkkpfnam4larqmd0vbn3sy14bywhs1y-fod-input.drv.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/0kbwy7xdbdq0d7m57j6a2i959gqiyv09-fod-input.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/xjzzgqn5372dafzcp0f6fcakfyxkwd9g-dependencies-input-1.drv.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/1lchzfacqq2vh0kxwyf50iyd42f2rszb-dependencies-input-2.drv.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/l9p8ap41vhbwa547pw814zs8a04j3p50-dependencies-input-1.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/dpkkpfnam4larqmd0vbn3sy14bywhs1y-fod-input.drv.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/lvvjsgrnja0j39lh9zwmnkzvb5360gr2-builder-dependencies-input-2.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/rj3ndzi7f5yadss1b9xx4lwwvyn6xmcj-dependencies-input-2.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/bnl3zwnaxpd2wcd69pjag7jy1ngwxqrp-builder-dependencies-input-0.sh.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/wyihks32040xjv75xkwm5yaabwpykgpn-dependencies.builder0.sh'
deleting unused links...
note: currently hard linking saves -0.00 MiB
++(gc.sh:37) cat /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top/foobar
++(gc.sh:38) cat /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top/reference-to-input-2/bar
++(gc.sh:41) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/f6cymp5rya0gkd8dqq3b58ncgip7r7by-dependencies-top.drv
++(gc.sh:43) rm /tmp/nix-shell.MrxVR3/nix-test/ca/gc/var/nix/gcroots/foo
++(gc.sh:45) nix-collect-garbage
finding garbage collector roots...
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/rj3ndzi7f5yadss1b9xx4lwwvyn6xmcj-dependencies-input-2'
deleting '/tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/wxnjxdnzi3p2lk71i91jj3kfg1hljsj6-dependencies-input-0'
deleting unused links...
note: currently hard linking saves -0.00 MiB
++(gc.sh:48) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/yz7iyszk089kg034zw8k3ilz22p1pf7c-dependencies-top/foobar
++(gc.sh:51) rmdir /tmp/nix-shell.MrxVR3/nix-test/ca/gc/store/.links
++(gc.sh:52) rmdir /tmp/nix-shell.MrxVR3/nix-test/ca/gc/storeclearing store...
/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/xa8s85l5m62n6b0wg4ji5n4im1wylvbz-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/jb2l1bxs240j89avh2ppqmcyjsvj9p9s-multiple-outputs-a-first
clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) enableFeatures ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/etc/nix.conf
++(common.sh:5) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(post-hook.sh:5) requireDaemonNewerThan 2.4pre20210626
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:159) isDaemonNewer 2.4pre20210626
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
+(post-hook.sh:7) export NIX_TESTS_CA_BY_DEFAULT=1
+(post-hook.sh:7) NIX_TESTS_CA_BY_DEFAULT=1
+(post-hook.sh:8) cd ..
+(post-hook.sh:9) source ./post-hook.sh
++(./post-hook.sh:1) source common.sh
+++(common.sh:1) set -eu -o pipefail
+++(common.sh:3) [[ -z 1 ]]
++(./post-hook.sh:3) clearStore
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/test-home/.local/state/nix/profiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/test-home/.local/state/nix/profiles
++(./post-hook.sh:5) rm -f /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/result
++(./post-hook.sh:7) export REMOTE_STORE=file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store
++(./post-hook.sh:7) REMOTE_STORE=file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store
++(./post-hook.sh:8) echo 'require-sigs = false'
++(./post-hook.sh:10) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
++(./post-hook.sh:12) isDaemonNewer 2.13
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
++(./post-hook.sh:13) pushToStore=/lix-src/build/tests/functional/push-to-store.sh
++(./post-hook.sh:19) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/result dependencies.nix --post-build-hook /lix-src/build/tests/functional/push-to-store.sh
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/4yhzid57hisv40i5rl6c5afg8jl2srrf-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/lg1y2y4qk3i76hnyyg6k9wk5d2vgn02m-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/lwy94dsab1z33dqp206ff973hdxkiw5l-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/vg0myxayn2i0xnfdmhq8413dbbf6w3j5-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/d2pw06asviphm3a760j0q3mvpd2djxd8-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/lg1y2y4qk3i76hnyyg6k9wk5d2vgn02m-dependencies-input-0.drv'...
post-build-hook: + set -e
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/n3ki5hhq7lp08vp1fb82s1scc3n6aqs7-dependencies-input-0 ']'
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/lg1y2y4qk3i76hnyyg6k9wk5d2vgn02m-dependencies-input-0.drv ']'
post-build-hook: + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/n3ki5hhq7lp08vp1fb82s1scc3n6aqs7-dependencies-input-0 to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store
post-build-hook: Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/n3ki5hhq7lp08vp1fb82s1scc3n6aqs7-dependencies-input-0 to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store
post-build-hook: + '[' -n '' ']'
post-build-hook: + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/lg1y2y4qk3i76hnyyg6k9wk5d2vgn02m-dependencies-input-0.drv^*'
post-build-hook: + xargs nix copy --to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store --no-require-sigs
post-build-hook: copying 1 paths...
post-build-hook: copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/n3ki5hhq7lp08vp1fb82s1scc3n6aqs7-dependencies-input-0' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store'...
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/lwy94dsab1z33dqp206ff973hdxkiw5l-dependencies-input-2.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/dhgdd74v7qr88cafx8j8cvf43pxxyc1h-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/4yhzid57hisv40i5rl6c5afg8jl2srrf-dependencies-input-1.drv'...
post-build-hook: + set -e
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/r9v4x4pwxhi7aa2qdsc7b19dk9qfkmyn-dependencies-input-1 ']'
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/4yhzid57hisv40i5rl6c5afg8jl2srrf-dependencies-input-1.drv ']'
post-build-hook: + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/r9v4x4pwxhi7aa2qdsc7b19dk9qfkmyn-dependencies-input-1 to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store
post-build-hook: Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/r9v4x4pwxhi7aa2qdsc7b19dk9qfkmyn-dependencies-input-1 to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store
post-build-hook: + '[' -n '' ']'
post-build-hook: + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/4yhzid57hisv40i5rl6c5afg8jl2srrf-dependencies-input-1.drv^*'
post-build-hook: + xargs nix copy --to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store --no-require-sigs
post-build-hook: copying 1 paths...
post-build-hook: copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/r9v4x4pwxhi7aa2qdsc7b19dk9qfkmyn-dependencies-input-1' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/dhgdd74v7qr88cafx8j8cvf43pxxyc1h-dependencies-input-2.drv'...
post-build-hook: + set -e
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/b2fp076r8p8dd1z1448dvj63cy7isdvb-dependencies-input-2 ']'
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/dhgdd74v7qr88cafx8j8cvf43pxxyc1h-dependencies-input-2.drv ']'
post-build-hook: + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/b2fp076r8p8dd1z1448dvj63cy7isdvb-dependencies-input-2 to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store
post-build-hook: Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/b2fp076r8p8dd1z1448dvj63cy7isdvb-dependencies-input-2 to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store
post-build-hook: + '[' -n '' ']'
post-build-hook: + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/dhgdd74v7qr88cafx8j8cvf43pxxyc1h-dependencies-input-2.drv^*'
post-build-hook: + xargs nix copy --to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store --no-require-sigs
post-build-hook: copying 1 paths...
post-build-hook: copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/b2fp076r8p8dd1z1448dvj63cy7isdvb-dependencies-input-2' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store'...
post-build-hook: + set -e
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/b2fp076r8p8dd1z1448dvj63cy7isdvb-dependencies-input-2 ']'
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/lwy94dsab1z33dqp206ff973hdxkiw5l-dependencies-input-2.drv ']'
post-build-hook: + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/b2fp076r8p8dd1z1448dvj63cy7isdvb-dependencies-input-2 to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store
post-build-hook: Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/b2fp076r8p8dd1z1448dvj63cy7isdvb-dependencies-input-2 to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store
post-build-hook: + '[' -n '' ']'
post-build-hook: + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/lwy94dsab1z33dqp206ff973hdxkiw5l-dependencies-input-2.drv^*'
post-build-hook: + xargs nix copy --to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store --no-require-sigs
post-build-hook: copying 0 paths...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/vg0myxayn2i0xnfdmhq8413dbbf6w3j5-fod-input.drv'...
post-build-hook: + set -e
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/zgcyr1nf7jr14hbrh51wx6b5bdp0bvs6-fod-input ']'
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/vg0myxayn2i0xnfdmhq8413dbbf6w3j5-fod-input.drv ']'
post-build-hook: + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/zgcyr1nf7jr14hbrh51wx6b5bdp0bvs6-fod-input to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store
post-build-hook: Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/zgcyr1nf7jr14hbrh51wx6b5bdp0bvs6-fod-input to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store
post-build-hook: + '[' -n '' ']'
post-build-hook: + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/vg0myxayn2i0xnfdmhq8413dbbf6w3j5-fod-input.drv^*'
post-build-hook: + xargs nix copy --to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store --no-require-sigs
post-build-hook: copying 1 paths...
post-build-hook: copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/zgcyr1nf7jr14hbrh51wx6b5bdp0bvs6-fod-input' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store'...
resolved derivation: '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/d2pw06asviphm3a760j0q3mvpd2djxd8-dependencies-top.drv' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/3frvx5zx0my0lqxz84p50njk3fjr6m86-dependencies-top.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/3frvx5zx0my0lqxz84p50njk3fjr6m86-dependencies-top.drv'...
FOO
post-build-hook: + set -e
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/xa8s85l5m62n6b0wg4ji5n4im1wylvbz-dependencies-top ']'
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/3frvx5zx0my0lqxz84p50njk3fjr6m86-dependencies-top.drv ']'
post-build-hook: + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/xa8s85l5m62n6b0wg4ji5n4im1wylvbz-dependencies-top to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store
post-build-hook: Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/xa8s85l5m62n6b0wg4ji5n4im1wylvbz-dependencies-top to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store
post-build-hook: + '[' -n '' ']'
post-build-hook: + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/3frvx5zx0my0lqxz84p50njk3fjr6m86-dependencies-top.drv^*'
post-build-hook: + xargs nix copy --to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store --no-require-sigs
post-build-hook: copying 1 paths...
post-build-hook: copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/xa8s85l5m62n6b0wg4ji5n4im1wylvbz-dependencies-top' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store'...
post-build-hook: + set -e
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/xa8s85l5m62n6b0wg4ji5n4im1wylvbz-dependencies-top ']'
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/d2pw06asviphm3a760j0q3mvpd2djxd8-dependencies-top.drv ']'
post-build-hook: + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/xa8s85l5m62n6b0wg4ji5n4im1wylvbz-dependencies-top to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store
post-build-hook: Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/xa8s85l5m62n6b0wg4ji5n4im1wylvbz-dependencies-top to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store
post-build-hook: + '[' -n '' ']'
post-build-hook: + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/d2pw06asviphm3a760j0q3mvpd2djxd8-dependencies-top.drv^*'
post-build-hook: + xargs nix copy --to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store --no-require-sigs
post-build-hook: copying 0 paths...
+++(./post-hook.sh:22) '[' '!' 1 ']'
++(./post-hook.sh:22) export BUILD_HOOK_ONLY_OUT_PATHS=
++(./post-hook.sh:22) BUILD_HOOK_ONLY_OUT_PATHS=
++(./post-hook.sh:23) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/result-mult multiple-outputs.nix -A a.first --post-build-hook /lix-src/build/tests/functional/push-to-store.sh
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/n6s4w9bd80jaim9rgdbfb7gqqy6drkwb-multiple-outputs-a.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/n6s4w9bd80jaim9rgdbfb7gqqy6drkwb-multiple-outputs-a.drv'...
post-build-hook: + set -e
post-build-hook: + '[' -n '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/10qxxd4a8gq6hppvkqbvkl1c4c913q1w-multiple-outputs-a-second /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/jb2l1bxs240j89avh2ppqmcyjsvj9p9s-multiple-outputs-a-first' ']'
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/n6s4w9bd80jaim9rgdbfb7gqqy6drkwb-multiple-outputs-a.drv ']'
post-build-hook: + echo Pushing '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/10qxxd4a8gq6hppvkqbvkl1c4c913q1w-multiple-outputs-a-second /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/jb2l1bxs240j89avh2ppqmcyjsvj9p9s-multiple-outputs-a-first' to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store
post-build-hook: Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/10qxxd4a8gq6hppvkqbvkl1c4c913q1w-multiple-outputs-a-second /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/jb2l1bxs240j89avh2ppqmcyjsvj9p9s-multiple-outputs-a-first to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store
post-build-hook: + '[' -n '' ']'
post-build-hook: + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/n6s4w9bd80jaim9rgdbfb7gqqy6drkwb-multiple-outputs-a.drv^*'
post-build-hook: + xargs nix copy --to file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store --no-require-sigs
post-build-hook: copying 2 paths...
post-build-hook: copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/jb2l1bxs240j89avh2ppqmcyjsvj9p9s-multiple-outputs-a-first' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store'...
post-build-hook: copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/10qxxd4a8gq6hppvkqbvkl1c4c913q1w-multiple-outputs-a-second' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store'...
++(./post-hook.sh:25) clearStore
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/test-home/.local/state/nix/profiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/test-home/.local/state/nix/profiles
++(./post-hook.sh:29) nix copy --from file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store --no-require-sigs -f dependencies.nix
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/n3ki5hhq7lp08vp1fb82s1scc3n6aqs7-dependencies-input-0' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/b2fp076r8p8dd1z1448dvj63cy7isdvb-dependencies-input-2' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/xa8s85l5m62n6b0wg4ji5n4im1wylvbz-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store'...
++(./post-hook.sh:30) nix copy --from file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store --no-require-sigs -f dependencies.nix input1_drv
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/r9v4x4pwxhi7aa2qdsc7b19dk9qfkmyn-dependencies-input-1' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store'...
++(./post-hook.sh:31) nix copy --from file:/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store --no-require-sigs -f multiple-outputs.nix 'a^second'
copying 2 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/jb2l1bxs240j89avh2ppqmcyjsvj9p9s-multiple-outputs-a-first' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/store/10qxxd4a8gq6hppvkqbvkl1c4c913q1w-multiple-outputs-a-second' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/post-hook/remote_store'...Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144/.git/
[master (root-commit) 17f1365] init
5 files changed, 61 insertions(+)
create mode 100644 b-low/config.nix
create mode 100644 b-low/flake.nix
create mode 100644 b-low/message
create mode 100644 b-low/simple.builder.sh
create mode 100644 b-low/simple.nix
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(./common.sh:3) registry=/tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/registry.json
+(inputs.sh:3) requireGit
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) type -p git
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) [[ -n /nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin/git ]]
+(inputs.sh:30) test_subdir_self_path
+(inputs.sh:7) baseDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/1062
+(inputs.sh:8) flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/1062/b-low
+(inputs.sh:9) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/1062/b-low
+(inputs.sh:10) writeSimpleFlake /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/1062
+(./common.sh:6) local flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/1062
+(./common.sh:7) cat
+(./common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/1062/
+(inputs.sh:11) writeSimpleFlake /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/1062/b-low
+(./common.sh:6) local flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/1062/b-low
+(./common.sh:7) cat
+(./common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/1062/b-low/
+(inputs.sh:13) echo all good
+(inputs.sh:14) cat
+(inputs.sh:27) nix build '/tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/1062?dir=b-low' --no-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/store/vzr7cjzkc0ajviyl2g25pq3gszh5jd91-simple.drv
building '/tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/store/vzr7cjzkc0ajviyl2g25pq3gszh5jd91-simple.drv'...
+(inputs.sh:80) test_git_subdir_self_path
+(inputs.sh:34) repoDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144
+(inputs.sh:35) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144
+(./common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144
+(./common.sh:62) local extraArgs=
+(./common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144 /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144.tmp
+(./common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144
+(./common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144 init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(./common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144 config user.email foobar@example.com
+(./common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144 config user.name Foobar
+(inputs.sh:36) flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144/b-low
+(inputs.sh:37) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144/b-low
+(inputs.sh:38) writeSimpleFlake /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144
+(./common.sh:6) local flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144
+(./common.sh:7) cat
+(./common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144/
+(inputs.sh:39) writeSimpleFlake /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144/b-low
+(./common.sh:6) local flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144/b-low
+(./common.sh:7) cat
+(./common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144/b-low/
+(inputs.sh:41) echo all good
+(inputs.sh:42) cat
+(inputs.sh:56) cd /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144/b-low
+(inputs.sh:57) git add .
+(inputs.sh:58) git commit -m init
+(inputs.sh:62) clientDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/client-3884
+(inputs.sh:63) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/client-3884
+(inputs.sh:64) cat
+(inputs.sh:77) nix build /tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/client-3884 --no-link
\x1b[K
\x1b[Kwarning: creating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/client-3884/flake.lock':
• Added input 'inp':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/inputs/repo-21144?dir=b-low&ref=refs/heads/master&rev=17f136510e462ebc37c1656ebd8c3aa3eee8ad7d' (2024-05-26)Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/flake1/.git/
[master (root-commit) 9428833] Initial
1 file changed, 3 insertions(+)
create mode 100644 flake.nix
"source ./common.sh\n\nrequireGit\n\nflake1Dir=$TEST_ROOT/flake1\nflake2Dir=$TEST_ROOT/flake2\n\ncreateGitRepo $flake1Dir\ncat > $flake1Dir/flake.nix <<EOF\n{\n outputs = { self }: { x = builtins.readFile $(pwd)/absolute-paths.sh; };\n}\nEOF\ngit -C $flake1Dir add flake.nix\ngit -C $flake1Dir commit -m Initial\n\nnix eval --impure --json $flake1Dir#x\n"
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(./common.sh:3) registry=/tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/registry.json
+(absolute-paths.sh:3) requireGit
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) type -p git
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) [[ -n /nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin/git ]]
+(absolute-paths.sh:5) flake1Dir=/tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/flake1
+(absolute-paths.sh:6) flake2Dir=/tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/flake2
+(absolute-paths.sh:8) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/flake1
+(./common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/flake1
+(./common.sh:62) local extraArgs=
+(./common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/flake1 /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/flake1.tmp
+(./common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/flake1
+(./common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/flake1 init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(./common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/flake1 config user.email foobar@example.com
+(./common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/flake1 config user.name Foobar
+(absolute-paths.sh:9) cat
++(absolute-paths.sh:9) pwd
+(absolute-paths.sh:14) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/flake1 add flake.nix
+(absolute-paths.sh:15) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/flake1 commit -m Initial
+(absolute-paths.sh:17) nix eval --impure --json /tmp/nix-shell.MrxVR3/nix-test/flakes/absolute-paths/flake1#x
\x1b[K
\x1b[K[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/flakes/bundle
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/flakes/bundle
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/flakes/bundle
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/bundle
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/bundle
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/bundle/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/bundle/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/bundle/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/bundle/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/bundle/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/flakes/bundle/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) registry=/tmp/nix-shell.MrxVR3/nix-test/flakes/bundle/registry.json
+(bundle.sh:3) cp ../simple.nix ../simple.builder.sh ../config.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/bundle/test-home
+(bundle.sh:5) cd /tmp/nix-shell.MrxVR3/nix-test/flakes/bundle/test-home
+(bundle.sh:7) cat
+(bundle.sh:26) nix build .#
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/flakes/bundle/store/6c61hh3jgxjnmd87fgqdbmpbnw1v93x8-simple.drv
building '/tmp/nix-shell.MrxVR3/nix-test/flakes/bundle/store/6c61hh3jgxjnmd87fgqdbmpbnw1v93x8-simple.drv'...
+(bundle.sh:27) nix bundle --bundler .# .#
+(bundle.sh:28) nix bundle --bundler .#bundlers.x86_64-linux.default .#packages.x86_64-linux.default
+(bundle.sh:29) nix bundle --bundler .#bundlers.x86_64-linux.simple .#packages.x86_64-linux.default
+(bundle.sh:31) nix bundle --bundler .#bundlers.x86_64-linux.default .#apps.x86_64-linux.default
+(bundle.sh:32) nix bundle --bundler .#bundlers.x86_64-linux.simple .#apps.x86_64-linux.defaultInitialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake1/.git/
[master (root-commit) d241113] Initial
2 files changed, 4 insertions(+)
create mode 100644 flake.nix
create mode 100644 x.nix
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake2/.git/
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(./common.sh:3) registry=/tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/registry.json
+(unlocked-override.sh:3) requireGit
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) type -p git
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) [[ -n /nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin/git ]]
+(unlocked-override.sh:5) flake1Dir=/tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake1
+(unlocked-override.sh:6) flake2Dir=/tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake2
+(unlocked-override.sh:8) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake1
+(./common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake1
+(./common.sh:62) local extraArgs=
+(./common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake1 /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake1.tmp
+(./common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake1
+(./common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake1 init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(./common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake1 config user.email foobar@example.com
+(./common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake1 config user.name Foobar
+(unlocked-override.sh:9) cat
+(unlocked-override.sh:14) echo 123
+(unlocked-override.sh:15) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake1 add flake.nix x.nix
+(unlocked-override.sh:16) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake1 commit -m Initial
+(unlocked-override.sh:18) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake2
+(./common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake2
+(./common.sh:62) local extraArgs=
+(./common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake2 /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake2.tmp
+(./common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake2
+(./common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake2 init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(./common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake2 config user.email foobar@example.com
+(./common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake2 config user.name Foobar
+(unlocked-override.sh:19) cat
+(unlocked-override.sh:24) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake2 add flake.nix
++(unlocked-override.sh:26) nix eval --json /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake2#x --override-input flake1 /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake1
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake2' is dirty
\x1b[K
\x1b[Kwarning: not writing modified lock file of flake 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake2':
• Added input 'flake1':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake1?ref=refs/heads/master&rev=d2411138eba8cf29b67e91210cfb759cf3b90208' (2024-05-26)
+(unlocked-override.sh:26) [[ 123 = 123 ]]
+(unlocked-override.sh:28) echo 456
++(unlocked-override.sh:30) nix eval --json /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake2#x --override-input flake1 /tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake1
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake2' is dirty
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake1' is dirty
warning: not writing modified lock file of flake 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake2':
• Added input 'flake1':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/unlocked-override/flake1' (2024-05-26)
+(unlocked-override.sh:30) [[ 456 = 456 ]][PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/flakes/check
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/flakes/check
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/flakes/check
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/check
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/check
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/check/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/check/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/check/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/check/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/check/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/flakes/check/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) registry=/tmp/nix-shell.MrxVR3/nix-test/flakes/check/registry.json
+(check.sh:3) flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/check/flake3
+(check.sh:4) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/check/flake3
+(check.sh:6) cat
+(check.sh:15) nix flake check /tmp/nix-shell.MrxVR3/nix-test/flakes/check/flake3
evaluating flake...
checking flake output 'overlay'...
warning: flake output attribute 'overlay' is deprecated; use 'overlays.default' instead
checking overlay 'overlay'...
+(check.sh:17) cat
+(check.sh:26) nix flake check /tmp/nix-shell.MrxVR3/nix-test/flakes/check/flake3
evaluating flake...
checking flake output 'overlay'...
warning: flake output attribute 'overlay' is deprecated; use 'overlays.default' instead
checking overlay 'overlay'...
error:
… while checking flake output 'overlay'
at /tmp/nix-shell.MrxVR3/nix-test/flakes/check/store/dsq6cf303ylmfw1yw9rqwkbhxbjs0rv1-source/flake.nix:3:5:
2| outputs = { self }: {
3| overlay = finalll: prev: {
| ^
4| };
… while checking the overlay 'overlay'
at /tmp/nix-shell.MrxVR3/nix-test/flakes/check/store/dsq6cf303ylmfw1yw9rqwkbhxbjs0rv1-source/flake.nix:3:5:
2| outputs = { self }: {
3| overlay = finalll: prev: {
| ^
4| };
error: overlay does not take an argument named 'final'
+(check.sh:28) cat
++(check.sh:37) nix flake check /tmp/nix-shell.MrxVR3/nix-test/flakes/check/flake3
++(check.sh:37) true
+(check.sh:37) checkRes='evaluating flake...
checking flake output '\''overlays'\''...
checking overlay '\''overlays.x86_64-linux'\''...
error:
… while checking flake output '\''overlays'\''
at /tmp/nix-shell.MrxVR3/nix-test/flakes/check/store/sh81qsa2zz34wzqbbff26bx7wgqkwb36-source/flake.nix:3:5:
2| outputs = { self, ... }: {
3| overlays.x86_64-linux.foo = final: prev: {
| ^
4| };
… while checking the overlay '\''overlays.x86_64-linux'\''
at /tmp/nix-shell.MrxVR3/nix-test/flakes/check/store/sh81qsa2zz34wzqbbff26bx7wgqkwb36-source/flake.nix:3:5:
2| outputs = { self, ... }: {
3| overlays.x86_64-linux.foo = final: prev: {
| ^
4| };
error: overlay is not a function, but a set instead'
+(check.sh:38) grepQuiet 'error: overlay is not a function, but a set instead'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'error: overlay is not a function, but a set instead'
+(check.sh:38) echo 'evaluating flake...
checking flake output '\''overlays'\''...
checking overlay '\''overlays.x86_64-linux'\''...
error:
… while checking flake output '\''overlays'\''
at /tmp/nix-shell.MrxVR3/nix-test/flakes/check/store/sh81qsa2zz34wzqbbff26bx7wgqkwb36-source/flake.nix:3:5:
2| outputs = { self, ... }: {
3| overlays.x86_64-linux.foo = final: prev: {
| ^
4| };
… while checking the overlay '\''overlays.x86_64-linux'\''
at /tmp/nix-shell.MrxVR3/nix-test/flakes/check/store/sh81qsa2zz34wzqbbff26bx7wgqkwb36-source/flake.nix:3:5:
2| outputs = { self, ... }: {
3| overlays.x86_64-linux.foo = final: prev: {
| ^
4| };
error: overlay is not a function, but a set instead'
+(check.sh:40) cat
+(check.sh:51) nix flake check /tmp/nix-shell.MrxVR3/nix-test/flakes/check/flake3
evaluating flake...
checking flake output 'nixosModules'...
checking NixOS module 'nixosModules.foo'...
+(check.sh:53) cat
+(check.sh:64) nix flake check /tmp/nix-shell.MrxVR3/nix-test/flakes/check/flake3
evaluating flake...
checking flake output 'nixosModules'...
checking NixOS module 'nixosModules.foo'...
error:
… while checking flake output 'nixosModules'
at /tmp/nix-shell.MrxVR3/nix-test/flakes/check/store/4vzk2jfc5bp5rp21plc90nrcsicq0qw0-source/flake.nix:3:5:
2| outputs = { self }: {
3| nixosModules.foo = assert false; {
| ^
4| a.b.c = 123;
… while checking the NixOS module 'nixosModules.foo'
at /tmp/nix-shell.MrxVR3/nix-test/flakes/check/store/4vzk2jfc5bp5rp21plc90nrcsicq0qw0-source/flake.nix:3:5:
2| outputs = { self }: {
3| nixosModules.foo = assert false; {
| ^
4| a.b.c = 123;
error: assertion 'false' failed
at /tmp/nix-shell.MrxVR3/nix-test/flakes/check/store/4vzk2jfc5bp5rp21plc90nrcsicq0qw0-source/flake.nix:3:24:
2| outputs = { self }: {
3| nixosModules.foo = assert false; {
| ^
4| a.b.c = 123;
+(check.sh:66) cat
+(check.sh:76) nix flake check /tmp/nix-shell.MrxVR3/nix-test/flakes/check/flake3
evaluating flake...
checking flake output 'nixosModule'...
warning: flake output attribute 'nixosModule' is deprecated; use 'nixosModules.default' instead
checking NixOS module 'nixosModule'...
+(check.sh:78) cat
+(check.sh:87) nix flake check /tmp/nix-shell.MrxVR3/nix-test/flakes/check/flake3
evaluating flake...
checking flake output 'packages'...
warning: The check omitted these incompatible systems: system-1, system-2
Use '--all-systems' to check all.
++(check.sh:89) nix flake check --all-systems --keep-going /tmp/nix-shell.MrxVR3/nix-test/flakes/check/flake3
++(check.sh:89) true
+(check.sh:89) checkRes='evaluating flake...
checking flake output '\''packages'\''...
checking derivation packages.system-1.default...
error (ignored): error:
… while checking the derivation '\''packages.system-1.default'\''
at /tmp/nix-shell.MrxVR3/nix-test/flakes/check/store/xxfnd3s393279yxyapnz851p6hil098d-source/flake.nix:3:5:
2| outputs = { self }: {
3| packages.system-1.default = "foo";
| ^
4| packages.system-2.default = "bar";
error: flake attribute '\''packages.system-1.default'\'' is not a derivation
checking derivation packages.system-2.default...
error (ignored): error:
… while checking the derivation '\''packages.system-2.default'\''
at /tmp/nix-shell.MrxVR3/nix-test/flakes/check/store/xxfnd3s393279yxyapnz851p6hil098d-source/flake.nix:4:5:
3| packages.system-1.default = "foo";
4| packages.system-2.default = "bar";
| ^
5| };
error: flake attribute '\''packages.system-2.default'\'' is not a derivation
error: some errors were encountered during the evaluation'
+(check.sh:90) grepQuiet packages.system-1.default
+(check.sh:90) echo 'evaluating flake...
checking flake output '\''packages'\''...
checking derivation packages.system-1.default...
error (ignored): error:
… while checking the derivation '\''packages.system-1.default'\''
at /tmp/nix-shell.MrxVR3/nix-test/flakes/check/store/xxfnd3s393279yxyapnz851p6hil098d-source/flake.nix:3:5:
2| outputs = { self }: {
3| packages.system-1.default = "foo";
| ^
4| packages.system-2.default = "bar";
error: flake attribute '\''packages.system-1.default'\'' is not a derivation
checking derivation packages.system-2.default...
error (ignored): error:
… while checking the derivation '\''packages.system-2.default'\''
at /tmp/nix-shell.MrxVR3/nix-test/flakes/check/store/xxfnd3s393279yxyapnz851p6hil098d-source/flake.nix:4:5:
3| packages.system-1.default = "foo";
4| packages.system-2.default = "bar";
| ^
5| };
error: flake attribute '\''packages.system-2.default'\'' is not a derivation
error: some errors were encountered during the evaluation'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep packages.system-1.default
+(check.sh:91) echo 'evaluating flake...
checking flake output '\''packages'\''...
checking derivation packages.system-1.default...
error (ignored): error:
… while checking the derivation '\''packages.system-1.default'\''
at /tmp/nix-shell.MrxVR3/nix-test/flakes/check/store/xxfnd3s393279yxyapnz851p6hil098d-source/flake.nix:3:5:
2| outputs = { self }: {
3| packages.system-1.default = "foo";
| ^
4| packages.system-2.default = "bar";
error: flake attribute '\''packages.system-1.default'\'' is not a derivation
checking derivation packages.system-2.default...
error (ignored): error:
… while checking the derivation '\''packages.system-2.default'\''
at /tmp/nix-shell.MrxVR3/nix-test/flakes/check/store/xxfnd3s393279yxyapnz851p6hil098d-source/flake.nix:4:5:
3| packages.system-1.default = "foo";
4| packages.system-2.default = "bar";
| ^
5| };
error: flake attribute '\''packages.system-2.default'\'' is not a derivation
error: some errors were encountered during the evaluation'
+(check.sh:91) grepQuiet packages.system-2.default
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep packages.system-2.defaultInitialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA/.git/
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeB/.git/
[master (root-commit) 35bb133] Foo
1 file changed, 7 insertions(+)
create mode 100644 flake.nix
[master 7b1b97d] Foo
1 file changed, 1 insertion(+), 1 deletion(-)
\x1b[1mResolved URL:\x1b[0m git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA
\x1b[1mLocked URL:\x1b[0m git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA
\x1b[1mPath:\x1b[0m /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/store/8clz6pd8gvlhdvrm9mmgf06s31hv1vlj-source
\x1b[1mLast modified:\x1b[0m 1970-01-01 00:00:00
\x1b[1mInputs:\x1b[0m
└───\x1b[1mb\x1b[0m: git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeB?ref=refs/heads/master&rev=7b1b97df31c398dd548a778e561179c724a06b82
└───\x1b[1ma\x1b[0m follows input ''
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/flakes/circular
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/flakes/circular
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/flakes/circular
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/circular
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/circular
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(./common.sh:3) registry=/tmp/nix-shell.MrxVR3/nix-test/flakes/circular/registry.json
+(circular.sh:4) requireGit
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) type -p git
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) [[ -n /nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin/git ]]
+(circular.sh:6) flakeA=/tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA
+(circular.sh:7) flakeB=/tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeB
+(circular.sh:9) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA
+(./common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA
+(./common.sh:62) local extraArgs=
+(./common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA.tmp
+(./common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA
+(./common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(./common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA config user.email foobar@example.com
+(./common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA config user.name Foobar
+(circular.sh:10) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeB
+(./common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeB
+(./common.sh:62) local extraArgs=
+(./common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeB /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeB.tmp
+(./common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeB
+(./common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeB init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(./common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeB config user.email foobar@example.com
+(./common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeB config user.name Foobar
+(circular.sh:12) cat
+(circular.sh:24) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA add flake.nix
+(circular.sh:26) cat
+(circular.sh:36) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeB add flake.nix
+(circular.sh:37) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeB commit -a -m Foo
++(circular.sh:39) nix eval /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA#foo
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA' is dirty
\x1b[K
\x1b[Kwarning: creating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA/flake.lock':
• Added input 'b':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeB?ref=refs/heads/master&rev=35bb1333c7bd9c80c7b9073fcdff65b46b2a2688' (2024-05-26)
• Added input 'b/a':
follows ''
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA' is dirty
+(circular.sh:39) [[ 1579 = 1579 ]]
++(circular.sh:40) nix eval /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA#foo
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA' is dirty
+(circular.sh:40) [[ 1579 = 1579 ]]
+(circular.sh:42) sed -i /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeB/flake.nix -e s/456/789/
+(circular.sh:43) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeB commit -a -m Foo
+(circular.sh:45) nix flake update b --flake /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA' is dirty
\x1b[K
\x1b[Kwarning: updating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA/flake.lock':
• Updated input 'b':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeB?ref=refs/heads/master&rev=35bb1333c7bd9c80c7b9073fcdff65b46b2a2688' (2024-05-26)
→ 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeB?ref=refs/heads/master&rev=7b1b97df31c398dd548a778e561179c724a06b82' (2024-05-26)
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA' is dirty
++(circular.sh:46) nix eval /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA#foo
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA' is dirty
+(circular.sh:46) [[ 1912 = 1912 ]]
+(circular.sh:49) nix flake metadata /tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/circular/flakeA' is dirty
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple
PATH=
/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple
PATH=
Lix 2.90.0
Type :? for help.
building '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'...
error: builder for '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv' failed with exit code 1;
last 1 log lines:
> This should fail
For full logs, run 'nix log /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'.
got build log for '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv' from 'local'
This should fail
Lix 2.90.0
Type :? for help.
error:
… while calling the 'import' builtin
at «string»:1:1:
1| import /lix-src/build/tests/functional/undefined-variable.nix
| ^
… while evaluating the file '/lix-src/build/tests/functional/undefined-variable.nix':
… while calling the 'import' builtin
at /lix-src/build/tests/functional/undefined-variable.nix:1:51:
1| let f = builtins.toFile "test-file.nix" "asd"; in import f
| ^
2|
error: undefined variable 'asd'
at /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/q8qnzh3na89ab01hkrzgircsvkhpisb6-test-file.nix:1:1:
1| asd
| ^
error: attribute 'currentSystem' missing
\x1b[35;1m"x86_64-linux"\x1b[0m
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple
PATH=
/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple
PATH=
Lix 2.90.0
Type :? for help.
building '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'...
error: builder for '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv' failed with exit code 1;
last 1 log lines:
> This should fail
For full logs, run 'nix log /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'.
got build log for '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv' from 'local'
This should fail
Lix 2.90.0
Type :? for help.
error:
… while calling the 'import' builtin
at «string»:1:1:
1| import /lix-src/build/tests/functional/undefined-variable.nix
| ^
… while evaluating the file '/lix-src/build/tests/functional/undefined-variable.nix':
… while calling the 'import' builtin
at /lix-src/build/tests/functional/undefined-variable.nix:1:51:
1| let f = builtins.toFile "test-file.nix" "asd"; in import f
| ^
2|
error: undefined variable 'asd'
at /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/q8qnzh3na89ab01hkrzgircsvkhpisb6-test-file.nix:1:1:
1| asd
| ^
error: attribute 'currentSystem' missing
\x1b[35;1m"x86_64-linux"\x1b[0m
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ca/repl
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ca/repl
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ca/repl
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/repl
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/repl
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/repl/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/repl/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/repl/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/repl/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/repl/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) enableFeatures ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/ca/repl/etc/nix.conf
++(common.sh:5) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(repl.sh:3) export NIX_TESTS_CA_BY_DEFAULT=1
+(repl.sh:3) NIX_TESTS_CA_BY_DEFAULT=1
+(repl.sh:5) cd ..
+(repl.sh:5) source repl.sh
++(repl.sh:1) source common.sh
+++(common.sh:1) set -eu -o pipefail
+++(common.sh:3) [[ -z 1 ]]
++(repl.sh:3) testDir=/lix-src/build/tests/functional
++(repl.sh:4) cd /tmp/nix-shell.MrxVR3/nix-test/ca/repl
++(repl.sh:11) replCmds='
simple = 1
simple = import /lix-src/build/tests/functional/simple.nix
:bl simple
:log simple
'
++(repl.sh:17) replFailingCmds='
failing = import /lix-src/build/tests/functional/simple-failing.nix
:b failing
:log failing
'
++(repl.sh:21) replUndefinedVariable='
import /lix-src/build/tests/functional/undefined-variable.nix
'
++(repl.sh:53) testRepl
++(repl.sh:24) nixArgs=()
++(repl.sh:24) local nixArgs
++(repl.sh:25) rm -rf repl-result-out
+++(repl.sh:26) nix repl
Lix 2.90.0
Type :? for help.
building '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/sjncnafry0k40g0f9myg7ahzsvi8nf6v-simple.drv'...
got build log for '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/sjncnafry0k40g0f9myg7ahzsvi8nf6v-simple.drv' from 'local'
++(repl.sh:26) local 'replOutput=
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple
PATH='
++(repl.sh:27) echo '
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple
PATH='
+++(repl.sh:29) grep -o -E '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/\w*-simple'
+++(repl.sh:29) echo '
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple
PATH='
++(repl.sh:29) local outPath=/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple
++(repl.sh:30) nix path-info /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple
+++(repl.sh:31) realpath ./repl-result-out
++(repl.sh:31) '[' /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple == /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple ']'
++(repl.sh:33) nix repl
Lix 2.90.0
Type :? for help.
got build log for '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/sjncnafry0k40g0f9myg7ahzsvi8nf6v-simple.drv' from 'local'
++(repl.sh:36) echo '
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple
PATH='
++(repl.sh:36) grepQuiet -s PATH=
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -s PATH=
+++(repl.sh:37) nix repl
++(repl.sh:37) local 'replOutput=Lix 2.90.0
Type :? for help.
building '\''/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\''...
error: builder for '\''/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\'' failed with exit code 1;
last 1 log lines:
> This should fail
For full logs, run '\''nix log /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\''.
got build log for '\''/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\'' from '\''local'\''
This should fail'
++(repl.sh:38) echo 'Lix 2.90.0
Type :? for help.
building '\''/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\''...
error: builder for '\''/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\'' failed with exit code 1;
last 1 log lines:
> This should fail
For full logs, run '\''nix log /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\''.
got build log for '\''/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\'' from '\''local'\''
This should fail'
++(repl.sh:39) echo 'Lix 2.90.0
Type :? for help.
building '\''/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\''...
error: builder for '\''/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\'' failed with exit code 1;
last 1 log lines:
> This should fail
For full logs, run '\''nix log /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\''.
got build log for '\''/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\'' from '\''local'\''
This should fail'
++(repl.sh:39) grepQuiet -s 'This should fail'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -s 'This should fail'
+++(repl.sh:41) nix repl --show-trace
++(repl.sh:41) local 'replOutput=Lix 2.90.0
Type :? for help.
error:
… while calling the '\''import'\'' builtin
at «string»:1:1:
1| import /lix-src/build/tests/functional/undefined-variable.nix
| ^
… while evaluating the file '\''/lix-src/build/tests/functional/undefined-variable.nix'\'':
… while calling the '\''import'\'' builtin
at /lix-src/build/tests/functional/undefined-variable.nix:1:51:
1| let f = builtins.toFile "test-file.nix" "asd"; in import f
| ^
2|
error: undefined variable '\''asd'\''
at /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/q8qnzh3na89ab01hkrzgircsvkhpisb6-test-file.nix:1:1:
1| asd
| ^'
++(repl.sh:42) echo 'Lix 2.90.0
Type :? for help.
error:
… while calling the '\''import'\'' builtin
at «string»:1:1:
1| import /lix-src/build/tests/functional/undefined-variable.nix
| ^
… while evaluating the file '\''/lix-src/build/tests/functional/undefined-variable.nix'\'':
… while calling the '\''import'\'' builtin
at /lix-src/build/tests/functional/undefined-variable.nix:1:51:
1| let f = builtins.toFile "test-file.nix" "asd"; in import f
| ^
2|
error: undefined variable '\''asd'\''
at /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/q8qnzh3na89ab01hkrzgircsvkhpisb6-test-file.nix:1:1:
1| asd
| ^'
++(repl.sh:43) echo 'Lix 2.90.0
Type :? for help.
error:
… while calling the '\''import'\'' builtin
at «string»:1:1:
1| import /lix-src/build/tests/functional/undefined-variable.nix
| ^
… while evaluating the file '\''/lix-src/build/tests/functional/undefined-variable.nix'\'':
… while calling the '\''import'\'' builtin
at /lix-src/build/tests/functional/undefined-variable.nix:1:51:
1| let f = builtins.toFile "test-file.nix" "asd"; in import f
| ^
2|
error: undefined variable '\''asd'\''
at /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/q8qnzh3na89ab01hkrzgircsvkhpisb6-test-file.nix:1:1:
1| asd
| ^'
++(repl.sh:43) grepQuiet -s 'while evaluating the file'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -s 'while evaluating the file'
++(repl.sh:46) nix repl --option pure-eval true
++(repl.sh:47) grep 'attribute '\''currentSystem'\'' missing'
++(repl.sh:48) nix repl
+++(repl.sh:49) nix-instantiate --eval -E builtins.currentSystem
++(repl.sh:49) grep '"x86_64-linux"'
++(repl.sh:55) testRepl --store '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store?real=/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store'
++(repl.sh:24) nixArgs=('--store' '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store?real=/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store')
++(repl.sh:24) local nixArgs
++(repl.sh:25) rm -rf repl-result-out
+++(repl.sh:26) nix repl --store '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store?real=/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store'
Lix 2.90.0
Type :? for help.
building '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/sjncnafry0k40g0f9myg7ahzsvi8nf6v-simple.drv'...
got build log for '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/sjncnafry0k40g0f9myg7ahzsvi8nf6v-simple.drv' from 'local'
++(repl.sh:26) local 'replOutput=
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple
PATH='
++(repl.sh:27) echo '
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple
PATH='
+++(repl.sh:29) echo '
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple
PATH='
+++(repl.sh:29) grep -o -E '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/\w*-simple'
++(repl.sh:29) local outPath=/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple
++(repl.sh:30) nix path-info --store '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store?real=/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store' /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple
+++(repl.sh:31) realpath ./repl-result-out
++(repl.sh:31) '[' /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple == /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple ']'
++(repl.sh:33) nix repl --store '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store?real=/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store'
Lix 2.90.0
Type :? for help.
got build log for '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/sjncnafry0k40g0f9myg7ahzsvi8nf6v-simple.drv' from 'local'
++(repl.sh:36) echo '
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/qnkg5m8nw2j19694bkzx8lkpkg277v0q-simple
PATH='
++(repl.sh:36) grepQuiet -s PATH=
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -s PATH=
+++(repl.sh:37) nix repl --store '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store?real=/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store'
++(repl.sh:37) local 'replOutput=Lix 2.90.0
Type :? for help.
building '\''/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\''...
error: builder for '\''/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\'' failed with exit code 1;
last 1 log lines:
> This should fail
For full logs, run '\''nix log /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\''.
got build log for '\''/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\'' from '\''local'\''
This should fail'
++(repl.sh:38) echo 'Lix 2.90.0
Type :? for help.
building '\''/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\''...
error: builder for '\''/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\'' failed with exit code 1;
last 1 log lines:
> This should fail
For full logs, run '\''nix log /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\''.
got build log for '\''/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\'' from '\''local'\''
This should fail'
++(repl.sh:39) echo 'Lix 2.90.0
Type :? for help.
building '\''/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\''...
error: builder for '\''/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\'' failed with exit code 1;
last 1 log lines:
> This should fail
For full logs, run '\''nix log /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\''.
got build log for '\''/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/7yp11vbm6f9qzmdms6r56qqcv2x9w9zl-simple-failing.drv'\'' from '\''local'\''
++(repl.sh:39) grepQuiet -s 'This should fail'
This should fail'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -s 'This should fail'
+++(repl.sh:41) nix repl --show-trace --store '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store?real=/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store'
++(repl.sh:41) local 'replOutput=Lix 2.90.0
Type :? for help.
error:
… while calling the '\''import'\'' builtin
at «string»:1:1:
1| import /lix-src/build/tests/functional/undefined-variable.nix
| ^
… while evaluating the file '\''/lix-src/build/tests/functional/undefined-variable.nix'\'':
… while calling the '\''import'\'' builtin
at /lix-src/build/tests/functional/undefined-variable.nix:1:51:
1| let f = builtins.toFile "test-file.nix" "asd"; in import f
| ^
2|
error: undefined variable '\''asd'\''
at /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/q8qnzh3na89ab01hkrzgircsvkhpisb6-test-file.nix:1:1:
1| asd
| ^'
++(repl.sh:42) echo 'Lix 2.90.0
Type :? for help.
error:
… while calling the '\''import'\'' builtin
at «string»:1:1:
1| import /lix-src/build/tests/functional/undefined-variable.nix
| ^
… while evaluating the file '\''/lix-src/build/tests/functional/undefined-variable.nix'\'':
… while calling the '\''import'\'' builtin
at /lix-src/build/tests/functional/undefined-variable.nix:1:51:
1| let f = builtins.toFile "test-file.nix" "asd"; in import f
| ^
2|
error: undefined variable '\''asd'\''
at /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/q8qnzh3na89ab01hkrzgircsvkhpisb6-test-file.nix:1:1:
1| asd
| ^'
++(repl.sh:43) echo 'Lix 2.90.0
Type :? for help.
error:
… while calling the '\''import'\'' builtin
at «string»:1:1:
1| import /lix-src/build/tests/functional/undefined-variable.nix
| ^
… while evaluating the file '\''/lix-src/build/tests/functional/undefined-variable.nix'\'':
… while calling the '\''import'\'' builtin
at /lix-src/build/tests/functional/undefined-variable.nix:1:51:
1| let f = builtins.toFile "test-file.nix" "asd"; in import f
| ^
2|
error: undefined variable '\''asd'\''
at /tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/q8qnzh3na89ab01hkrzgircsvkhpisb6-test-file.nix:1:1:
1| asd
| ^'
++(repl.sh:43) grepQuiet -s 'while evaluating the file'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -s 'while evaluating the file'
++(repl.sh:46) nix repl --store '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store?real=/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store' --option pure-eval true
++(repl.sh:47) grep 'attribute '\''currentSystem'\'' missing'
++(repl.sh:48) nix repl --store '/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store?real=/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store'
+++(repl.sh:49) nix-instantiate --eval -E builtins.currentSystem
++(repl.sh:49) grep '"x86_64-linux"'
++(repl.sh:95) testReplResponse '
:a { a = "1"; }
:a { a = "2"; }
"result: ${a}"
' 'result: 2'
++(repl.sh:83) testReplResponseGeneral --basic-regexp '
:a { a = "1"; }
:a { a = "2"; }
"result: ${a}"
' 'result: 2'
++(repl.sh:63) local grepMode=--basic-regexp
++(repl.sh:63) shift
++(repl.sh:64) local 'commands=
:a { a = "1"; }
:a { a = "2"; }
"result: ${a}"
'
++(repl.sh:64) shift
++(repl.sh:65) local 'expectedResponse=result: 2'
++(repl.sh:65) shift
+++(repl.sh:66) nix repl
+++(repl.sh:66) stripColors
+++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
Added 1 variables.
Added 1 variables.
++(repl.sh:66) local 'response=
"result: 2"'
++(repl.sh:67) echo '
"result: 2"'
++(repl.sh:67) grepQuiet --basic-regexp -s 'result: 2'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --basic-regexp -s 'result: 2'
++(repl.sh:103) testReplResponseNoRegex '
"$" + "{hi}"
' '"\${hi}"'
++(repl.sh:87) testReplResponseGeneral --fixed-strings '
"$" + "{hi}"
' '"\${hi}"'
++(repl.sh:63) local grepMode=--fixed-strings
++(repl.sh:63) shift
++(repl.sh:64) local 'commands=
"$" + "{hi}"
'
++(repl.sh:64) shift
++(repl.sh:65) local 'expectedResponse="\${hi}"'
++(repl.sh:65) shift
+++(repl.sh:66) nix repl
+++(repl.sh:66) stripColors
+++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
++(repl.sh:66) local 'response=
"\${hi}"'
++(repl.sh:67) echo '
"\${hi}"'
++(repl.sh:67) grepQuiet --fixed-strings -s '"\${hi}"'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --fixed-strings -s '"\${hi}"'
++(repl.sh:107) testReplResponse '
drvPath
' '".*-simple.drv"' /lix-src/build/tests/functional/simple.nix
++(repl.sh:83) testReplResponseGeneral --basic-regexp '
drvPath
' '".*-simple.drv"' /lix-src/build/tests/functional/simple.nix
++(repl.sh:63) local grepMode=--basic-regexp
++(repl.sh:63) shift
++(repl.sh:64) local 'commands=
drvPath
'
++(repl.sh:64) shift
++(repl.sh:65) local 'expectedResponse=".*-simple.drv"'
++(repl.sh:65) shift
+++(repl.sh:66) nix repl /lix-src/build/tests/functional/simple.nix
+++(repl.sh:66) stripColors
+++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
warning: future versions of Nix will require using `--file` to load a file
Lix 2.90.0
Type :? for help.
Loading installable ''...
Added 17 variables.
++(repl.sh:66) local 'response=
"/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/sjncnafry0k40g0f9myg7ahzsvi8nf6v-simple.drv"'
++(repl.sh:67) echo '
"/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/sjncnafry0k40g0f9myg7ahzsvi8nf6v-simple.drv"'
++(repl.sh:67) grepQuiet --basic-regexp -s '".*-simple.drv"'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --basic-regexp -s '".*-simple.drv"'
++(repl.sh:112) testReplResponse '
drvPath
' '".*-simple.drv"' --file /lix-src/build/tests/functional/simple.nix --experimental-features ca-derivations
++(repl.sh:83) testReplResponseGeneral --basic-regexp '
drvPath
' '".*-simple.drv"' --file /lix-src/build/tests/functional/simple.nix --experimental-features ca-derivations
++(repl.sh:63) local grepMode=--basic-regexp
++(repl.sh:63) shift
++(repl.sh:64) local 'commands=
drvPath
'
++(repl.sh:64) shift
++(repl.sh:65) local 'expectedResponse=".*-simple.drv"'
++(repl.sh:65) shift
+++(repl.sh:66) nix repl --file /lix-src/build/tests/functional/simple.nix --experimental-features ca-derivations
+++(repl.sh:66) stripColors
+++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
Loading installable ''...
Added 17 variables.
++(repl.sh:66) local 'response=
"/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/sjncnafry0k40g0f9myg7ahzsvi8nf6v-simple.drv"'
++(repl.sh:67) echo '
"/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/sjncnafry0k40g0f9myg7ahzsvi8nf6v-simple.drv"'
++(repl.sh:67) grepQuiet --basic-regexp -s '".*-simple.drv"'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --basic-regexp -s '".*-simple.drv"'
++(repl.sh:117) testReplResponse '
drvPath
' '".*-simple.drv"' --file /lix-src/build/tests/functional/simple.nix --extra-experimental-features 'repl-flake ca-derivations'
++(repl.sh:83) testReplResponseGeneral --basic-regexp '
drvPath
' '".*-simple.drv"' --file /lix-src/build/tests/functional/simple.nix --extra-experimental-features 'repl-flake ca-derivations'
++(repl.sh:63) local grepMode=--basic-regexp
++(repl.sh:63) shift
++(repl.sh:64) local 'commands=
drvPath
'
++(repl.sh:64) shift
++(repl.sh:65) local 'expectedResponse=".*-simple.drv"'
++(repl.sh:65) shift
+++(repl.sh:66) nix repl --file /lix-src/build/tests/functional/simple.nix --extra-experimental-features 'repl-flake ca-derivations'
+++(repl.sh:66) stripColors
+++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
Loading installable ''...
Added 17 variables.
++(repl.sh:66) local 'response=
"/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/sjncnafry0k40g0f9myg7ahzsvi8nf6v-simple.drv"'
++(repl.sh:67) echo '
"/tmp/nix-shell.MrxVR3/nix-test/ca/repl/store/sjncnafry0k40g0f9myg7ahzsvi8nf6v-simple.drv"'
++(repl.sh:67) grepQuiet --basic-regexp -s '".*-simple.drv"'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --basic-regexp -s '".*-simple.drv"'
++(repl.sh:120) mkdir -p flake
++(repl.sh:120) cat
++(repl.sh:132) testReplResponse '
foo + baz
' 3 ./flake ./flake#bar --experimental-features 'flakes repl-flake'
++(repl.sh:83) testReplResponseGeneral --basic-regexp '
foo + baz
' 3 ./flake ./flake#bar --experimental-features 'flakes repl-flake'
++(repl.sh:63) local grepMode=--basic-regexp
++(repl.sh:63) shift
++(repl.sh:64) local 'commands=
foo + baz
'
++(repl.sh:64) shift
++(repl.sh:65) local expectedResponse=3
++(repl.sh:65) shift
+++(repl.sh:66) nix repl ./flake ./flake#bar --experimental-features 'flakes repl-flake'
+++(repl.sh:66) stripColors
+++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
Loading installable 'path:/tmp/nix-shell.MrxVR3/nix-test/ca/repl/flake#'...
Added 3 variables.
Loading installable 'path:/tmp/nix-shell.MrxVR3/nix-test/ca/repl/flake#bar'...
Added 1 variables.
++(repl.sh:66) local 'response=
3'
++(repl.sh:67) echo '
3'
++(repl.sh:67) grepQuiet --basic-regexp -s 3
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --basic-regexp -s 3
+++(repl.sh:150) nix repl ./flake --experimental-features 'flakes repl-flake'
+++(repl.sh:146) echo changingThing
+++(repl.sh:147) sleep 1
Lix 2.90.0
Type :? for help.
Loading installable 'path:/tmp/nix-shell.MrxVR3/nix-test/ca/repl/flake#'...
Added 3 variables.
+++(repl.sh:148) sed -i s/beforeChange/afterChange/ flake/flake.nix
+++(repl.sh:149) echo :reload
+++(repl.sh:150) echo changingThing
Loading installable 'path:/tmp/nix-shell.MrxVR3/nix-test/ca/repl/flake#'...
Added 3 variables.
++(repl.sh:146) replResult='\x1b[35;1m"beforeChange"\x1b[0m
\x1b[35;1m"afterChange"\x1b[0m'
++(repl.sh:147) echo '\x1b[35;1m"beforeChange"\x1b[0m
\x1b[35;1m"afterChange"\x1b[0m'
++(repl.sh:147) grepQuiet -s beforeChange
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -s beforeChange
++(repl.sh:148) echo '\x1b[35;1m"beforeChange"\x1b[0m
\x1b[35;1m"afterChange"\x1b[0m'
++(repl.sh:148) grepQuiet -s afterChange
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -s afterChange
++(repl.sh:154) testReplResponseNoRegex '
{ a = { b = 2; }; l = [ 1 2 3 ]; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; }
' '{
a = { ... };
l = [ ... ];
n = 1234;
s = "string";
x = { ... };
}
'
++(repl.sh:87) testReplResponseGeneral --fixed-strings '
{ a = { b = 2; }; l = [ 1 2 3 ]; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; }
' '{
a = { ... };
l = [ ... ];
n = 1234;
s = "string";
x = { ... };
}
'
++(repl.sh:63) local grepMode=--fixed-strings
++(repl.sh:63) shift
++(repl.sh:64) local 'commands=
{ a = { b = 2; }; l = [ 1 2 3 ]; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; }
'
++(repl.sh:64) shift
++(repl.sh:65) local 'expectedResponse={
a = { ... };
l = [ ... ];
n = 1234;
s = "string";
x = { ... };
}
'
++(repl.sh:65) shift
+++(repl.sh:66) nix repl
+++(repl.sh:66) stripColors
+++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
++(repl.sh:66) local 'response=
{
a = { ... };
l = [ ... ];
n = 1234;
s = "string";
x = { ... };
}'
++(repl.sh:67) echo '
{
a = { ... };
l = [ ... ];
n = 1234;
s = "string";
x = { ... };
}'
++(repl.sh:67) grepQuiet --fixed-strings -s '{
a = { ... };
l = [ ... ];
n = 1234;
s = "string";
x = { ... };
}
'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --fixed-strings -s '{
a = { ... };
l = [ ... ];
n = 1234;
s = "string";
x = { ... };
}
'
++(repl.sh:167) testReplResponseNoRegex '
[ 42 1 "thingy" ({ a = 1; }) ([ 1 2 3 ]) ]
' '[
42
1
"thingy"
{ ... }
[ ... ]
]
'
++(repl.sh:87) testReplResponseGeneral --fixed-strings '
[ 42 1 "thingy" ({ a = 1; }) ([ 1 2 3 ]) ]
' '[
42
1
"thingy"
{ ... }
[ ... ]
]
'
++(repl.sh:63) local grepMode=--fixed-strings
++(repl.sh:63) shift
++(repl.sh:64) local 'commands=
[ 42 1 "thingy" ({ a = 1; }) ([ 1 2 3 ]) ]
'
++(repl.sh:64) shift
++(repl.sh:65) local 'expectedResponse=[
42
1
"thingy"
{ ... }
[ ... ]
]
'
++(repl.sh:65) shift
+++(repl.sh:66) nix repl
+++(repl.sh:66) stripColors
+++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
++(repl.sh:66) local 'response=
[
42
1
"thingy"
{ ... }
[ ... ]
]'
++(repl.sh:67) grepQuiet --fixed-strings -s '[
42
1
"thingy"
{ ... }
[ ... ]
]
'
++(repl.sh:67) echo '
[
42
1
"thingy"
{ ... }
[ ... ]
]'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --fixed-strings -s '[
42
1
"thingy"
{ ... }
[ ... ]
]
'
++(repl.sh:180) testReplResponseNoRegex '
let x = { y = { a = 1; }; inherit x; }; in x
' '{
x = { ... };
y = { ... };
}
'
++(repl.sh:87) testReplResponseGeneral --fixed-strings '
let x = { y = { a = 1; }; inherit x; }; in x
' '{
x = { ... };
y = { ... };
}
'
++(repl.sh:63) local grepMode=--fixed-strings
++(repl.sh:63) shift
++(repl.sh:64) local 'commands=
let x = { y = { a = 1; }; inherit x; }; in x
'
++(repl.sh:64) shift
++(repl.sh:65) local 'expectedResponse={
x = { ... };
y = { ... };
}
'
++(repl.sh:65) shift
+++(repl.sh:66) stripColors
+++(repl.sh:66) nix repl
+++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
++(repl.sh:66) local 'response=
{
x = «repeated»;
y = { ... };
}'
++(repl.sh:67) echo '
{
x = «repeated»;
y = { ... };
++(repl.sh:67) grepQuiet --fixed-strings -s '{
x = { ... };
y = { ... };
}
}'
'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --fixed-strings -s '{
x = { ... };
y = { ... };
}
'
++(repl.sh:190) testReplResponseNoRegex '
:p { a = { b = 2; }; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; }
' '{
a = { b = 2; };
n = 1234;
s = "string";
x = {
y = {
z = {
y = «repeated»;
};
};
};
}
'
++(repl.sh:87) testReplResponseGeneral --fixed-strings '
:p { a = { b = 2; }; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; }
' '{
a = { b = 2; };
n = 1234;
s = "string";
x = {
y = {
z = {
y = «repeated»;
};
};
};
}
'
++(repl.sh:63) local grepMode=--fixed-strings
++(repl.sh:63) shift
++(repl.sh:64) local 'commands=
:p { a = { b = 2; }; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; }
'
++(repl.sh:64) shift
++(repl.sh:65) local 'expectedResponse={
a = { b = 2; };
n = 1234;
s = "string";
x = {
y = {
z = {
y = «repeated»;
};
};
};
}
'
++(repl.sh:65) shift
+++(repl.sh:66) stripColors
+++(repl.sh:66) nix repl
+++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
++(repl.sh:66) local 'response=
{
a = { b = 2; };
n = 1234;
s = "string";
x = {
y = {
z = {
y = «repeated»;
};
};
};
}'
++(repl.sh:67) echo '
{
a = { b = 2; };
n = 1234;
s = "string";
x = {
y = {
z = {
y = «repeated»;
};
};
};
}'
++(repl.sh:67) grepQuiet --fixed-strings -s '{
a = { b = 2; };
n = 1234;
s = "string";
x = {
y = {
z = {
y = «repeated»;
};
};
};
}
'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --fixed-strings -s '{
a = { b = 2; };
n = 1234;
s = "string";
x = {
y = {
z = {
y = «repeated»;
};
};
};
}
'
++(repl.sh:208) testReplResponseNoRegex '
:p [ 42 1 "thingy" (rec { a = 1; b = { inherit a; inherit b; }; }) ([ 1 2 3 ]) ]
' '[
42
1
"thingy"
{
a = 1;
b = {
a = 1;
b = «repeated»;
};
}
[
1
2
3
]
]
'
++(repl.sh:87) testReplResponseGeneral --fixed-strings '
:p [ 42 1 "thingy" (rec { a = 1; b = { inherit a; inherit b; }; }) ([ 1 2 3 ]) ]
' '[
42
1
"thingy"
{
a = 1;
b = {
a = 1;
b = «repeated»;
};
}
[
1
2
3
]
]
'
++(repl.sh:63) local grepMode=--fixed-strings
++(repl.sh:63) shift
++(repl.sh:64) local 'commands=
:p [ 42 1 "thingy" (rec { a = 1; b = { inherit a; inherit b; }; }) ([ 1 2 3 ]) ]
'
++(repl.sh:64) shift
++(repl.sh:65) local 'expectedResponse=[
42
1
"thingy"
{
a = 1;
b = {
a = 1;
b = «repeated»;
};
}
[
1
2
3
]
]
'
++(repl.sh:65) shift
+++(repl.sh:66) nix repl
+++(repl.sh:66) stripColors
+++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
++(repl.sh:66) local 'response=
[
42
1
"thingy"
{
a = 1;
b = {
a = 1;
b = «repeated»;
};
}
[
1
2
3
]
]'
++(repl.sh:67) echo '
[
42
1
"thingy"
{
a = 1;
b = {
a = 1;
b = «repeated»;
};
}
[
1
2
3
]
]'
++(repl.sh:67) grepQuiet --fixed-strings -s '[
42
1
"thingy"
{
a = 1;
b = {
a = 1;
b = «repeated»;
};
}
[
1
2
3
]
]
'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --fixed-strings -s '[
42
1
"thingy"
{
a = 1;
b = {
a = 1;
b = «repeated»;
};
}
[
1
2
3
]
]
'
++(repl.sh:231) testReplResponseNoRegex '
:p let x = { y = { a = 1; }; inherit x; }; in x
' '{
x = «repeated»;
y = { a = 1 };
}
'
++(repl.sh:87) testReplResponseGeneral --fixed-strings '
:p let x = { y = { a = 1; }; inherit x; }; in x
' '{
x = «repeated»;
y = { a = 1 };
}
'
++(repl.sh:63) local grepMode=--fixed-strings
++(repl.sh:63) shift
++(repl.sh:64) local 'commands=
:p let x = { y = { a = 1; }; inherit x; }; in x
'
++(repl.sh:64) shift
++(repl.sh:65) local 'expectedResponse={
x = «repeated»;
y = { a = 1 };
}
'
++(repl.sh:65) shift
+++(repl.sh:66) nix repl
+++(repl.sh:66) stripColors
+++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
++(repl.sh:66) local 'response=
{
x = «repeated»;
y = { a = 1; };
}'
++(repl.sh:67) echo '
{
x = «repeated»;
y = { a = 1; };
}'
++(repl.sh:67) grepQuiet --fixed-strings -s '{
x = «repeated»;
y = { a = 1 };
}
'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --fixed-strings -s '{
x = «repeated»;
y = { a = 1 };
}
'clearing store...
clearing store...
sha256:93476cd7ee16f53175a20713945a06cba0530937cb2cb218526e98be6bda1837!out /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/7dxijfymsqc2b17xdf7r7iz4yjn5wdb7-transitively-dependent
sha256:d21152dff9cda9e335f5c16494a515ac7f5e29068c39a3f0bba6b16f4ece5e9c!out /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/4b0sq8bqfkrvishlrj503gr46ndr961k-dependent
clearing store...
clearing store...
clearing store...
clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ca/substitute
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ca/substitute
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/substitute
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) enableFeatures ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/etc/nix.conf
++(common.sh:5) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(substitute.sh:7) needLocalStore '“--no-require-sigs” can’t be used with the daemon'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:217) [[ '' == \d\a\e\m\o\n ]]
+(substitute.sh:9) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
+(substitute.sh:11) export REMOTE_STORE_DIR=/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
+(substitute.sh:11) REMOTE_STORE_DIR=/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
+(substitute.sh:12) export REMOTE_STORE=file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
+(substitute.sh:12) REMOTE_STORE=file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
+(substitute.sh:19) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/test-home/.local/state/nix/profiles
+(substitute.sh:20) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --file ./content-addressed.nix
these 9 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/x3y1iavkrr2km0iggnflk9dz1j1hkbgk-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/zlrf4lr6v3gxkn6ayxkkk2253dsiymzn-rootCA.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/2ghc7zl3h7sgk35gn2s8vhwhhpn4vnq1-dependent.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/58qpasqsnsz7ifx6c822p59gfbh7skgx-transitively-dependent.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/gnsv2aah2ni0ydkl1lyhbdwlmkmx3wvb-dependent-for-build-non-ca.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/hd85v44yn7xkxpamd0y87j6cm8y8zs64-runnable-thing.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/qw089qz87k90rb03q4n3f2qd59a7riv8-dependent-non-ca.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/rks4703rp2nmnvaywi08jlmzyi19ndk8-dependent-for-build-ca.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ysvam6d1ghlxjpqpdqsn065zda8yanw1-dependent-fixed-output.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/x3y1iavkrr2km0iggnflk9dz1j1hkbgk-simple-input-addressed.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/z22b9l6h6rir8rzhc23w9kr0bzs50lyn-rootCA.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/8ar2lidxrzdwpvi09m0lbi2wfa6qzl0n-dependent-for-build-ca.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/mkpr8b09yqx0yak6zq6ks27k2lb7bhl7-dependent-for-build-non-ca.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/l0zg8d4dyvw8w8xfxmg2gqv8iqli5ylh-dependent-non-ca.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/2lsggzm2nd8fpv93wg9l5qns8rhplyxw-dependent.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ck3kd41q9mzp9hndj1sym6m26z4ihfvj-runnable-thing.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/dam6ibd43h5hrlwqs850pnmhljvxgld0-dependent-fixed-output.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/j54329xsfzwpbiw14klxpsjgclk6iyyh-transitively-dependent.drv'...
copying 11 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nl12vvyckpcc26ddmvc9sf2dhgnvpf74-dependent-for-build-non-ca' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ckjqr5j1ijqygbzk07hxpbnnl19g6l9q-runnable-thing' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nrwvag4sa4wyjyl6cl3y204b9fc2fhy2-dependent-for-build-ca' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ng4753vdimwvp262if00ks7py9kfggrv-dependent-fixed-output' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/8p6mi7dqgrxnggn2nbs4c0ig5r7g9k2r-simple-input-addressed' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/khhh1mnpb69wcghkw7s742id506hfs33-rootCA' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/lc0byj41y75mb81z6j4ik355sbb1znm7-rootCA-foo' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/60jzf36jazff77ggh9ppc0xb68wxli8p-dependent-non-ca' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/b8pfdka5vww4xr7d4lr51r7n3f10jxn8-rootCA-dev' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/4b0sq8bqfkrvishlrj503gr46ndr961k-dependent' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/7dxijfymsqc2b17xdf7r7iz4yjn5wdb7-transitively-dependent' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
+(substitute.sh:23) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/test-home/.local/state/nix/profiles
+(substitute.sh:24) buildDrvs --substitute --substituters file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs -j0 transitivelyDependentCA
+(substitute.sh:15) nix build --file ./content-addressed.nix -L --no-link --substitute --substituters file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs -j0 transitivelyDependentCA
these 4 paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/4b0sq8bqfkrvishlrj503gr46ndr961k-dependent
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/khhh1mnpb69wcghkw7s742id506hfs33-rootCA
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/8p6mi7dqgrxnggn2nbs4c0ig5r7g9k2r-simple-input-addressed
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/7dxijfymsqc2b17xdf7r7iz4yjn5wdb7-transitively-dependent
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/8p6mi7dqgrxnggn2nbs4c0ig5r7g9k2r-simple-input-addressed' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/khhh1mnpb69wcghkw7s742id506hfs33-rootCA' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/4b0sq8bqfkrvishlrj503gr46ndr961k-dependent' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/7dxijfymsqc2b17xdf7r7iz4yjn5wdb7-transitively-dependent' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
+(substitute.sh:26) nix realisation info --file ./content-addressed.nix transitivelyDependentCA
+(substitute.sh:28) nix realisation info --file ./content-addressed.nix dependentCA
+(substitute.sh:31) isDaemonNewer 2.13
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
+(substitute.sh:32) pushToStore=../push-to-store.sh
+(substitute.sh:45) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/test-home/.local/state/nix/profiles
+(substitute.sh:46) nix build --file ../simple.nix -L --no-link --post-build-hook ../push-to-store.sh
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/aks5zk4q33a5picbsmbbjxlfpymz3wsx-simple.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/aks5zk4q33a5picbsmbbjxlfpymz3wsx-simple.drv'...
simple> PATH=
simple (post)> + set -e
simple (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/bii642qz68l42nd88kp9hk1g920fshij-simple ']'
simple (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/aks5zk4q33a5picbsmbbjxlfpymz3wsx-simple.drv ']'
simple (post)> + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/bii642qz68l42nd88kp9hk1g920fshij-simple to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
simple (post)> Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/bii642qz68l42nd88kp9hk1g920fshij-simple to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
simple (post)> + '[' -n '' ']'
simple (post)> + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/aks5zk4q33a5picbsmbbjxlfpymz3wsx-simple.drv^*'
simple (post)> + xargs nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs
simple (post)> copying 1 paths...
simple (post)> copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/bii642qz68l42nd88kp9hk1g920fshij-simple' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
+(substitute.sh:47) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/test-home/.local/state/nix/profiles
+(substitute.sh:48) rm -r /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations
+(substitute.sh:49) nix build --file ../simple.nix -L --no-link --substitute --substituters file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs -j0
this path will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/bii642qz68l42nd88kp9hk1g920fshij-simple
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/bii642qz68l42nd88kp9hk1g920fshij-simple' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
+(substitute.sh:54) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --file ../simple.nix
copying 0 paths...
++(substitute.sh:55) ls /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations
+(substitute.sh:55) [[ -z sha256:90bd4761d121c8eae99d27acc8437e78ecd22ed8abcfdb1aee0b9a1061a323d5!out.doi ]]
+(substitute.sh:61) buildDrvs --post-build-hook ../push-to-store.sh
+(substitute.sh:15) nix build --file ./content-addressed.nix -L --no-link --post-build-hook ../push-to-store.sh
these 9 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/x3y1iavkrr2km0iggnflk9dz1j1hkbgk-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/zlrf4lr6v3gxkn6ayxkkk2253dsiymzn-rootCA.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/2ghc7zl3h7sgk35gn2s8vhwhhpn4vnq1-dependent.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/58qpasqsnsz7ifx6c822p59gfbh7skgx-transitively-dependent.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/gnsv2aah2ni0ydkl1lyhbdwlmkmx3wvb-dependent-for-build-non-ca.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/hd85v44yn7xkxpamd0y87j6cm8y8zs64-runnable-thing.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/qw089qz87k90rb03q4n3f2qd59a7riv8-dependent-non-ca.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/rks4703rp2nmnvaywi08jlmzyi19ndk8-dependent-for-build-ca.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ysvam6d1ghlxjpqpdqsn065zda8yanw1-dependent-fixed-output.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/x3y1iavkrr2km0iggnflk9dz1j1hkbgk-simple-input-addressed.drv'...
simple-input-addressed> ++ echo 'Building a legacy derivation'
simple-input-addressed> Building a legacy derivation
simple-input-addressed> ++ mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/8p6mi7dqgrxnggn2nbs4c0ig5r7g9k2r-simple-input-addressed
simple-input-addressed> ++ echo 'Hello World'
simple-input-addressed (post)> + set -e
simple-input-addressed (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/8p6mi7dqgrxnggn2nbs4c0ig5r7g9k2r-simple-input-addressed ']'
simple-input-addressed (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/x3y1iavkrr2km0iggnflk9dz1j1hkbgk-simple-input-addressed.drv ']'
simple-input-addressed (post)> + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/8p6mi7dqgrxnggn2nbs4c0ig5r7g9k2r-simple-input-addressed to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
simple-input-addressed (post)> Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/8p6mi7dqgrxnggn2nbs4c0ig5r7g9k2r-simple-input-addressed to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
simple-input-addressed (post)> + '[' -n '' ']'
simple-input-addressed (post)> + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/x3y1iavkrr2km0iggnflk9dz1j1hkbgk-simple-input-addressed.drv^*'
simple-input-addressed (post)> + xargs nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs
simple-input-addressed (post)> copying 0 paths...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/z22b9l6h6rir8rzhc23w9kr0bzs50lyn-rootCA.drv'...
rootCA> building a CA derivation
rootCA> The seed is 0
rootCA (post)> + set -e
rootCA (post)> + '[' -n '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/b8pfdka5vww4xr7d4lr51r7n3f10jxn8-rootCA-dev /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/khhh1mnpb69wcghkw7s742id506hfs33-rootCA /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/lc0byj41y75mb81z6j4ik355sbb1znm7-rootCA-foo' ']'
rootCA (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/z22b9l6h6rir8rzhc23w9kr0bzs50lyn-rootCA.drv ']'
rootCA (post)> + echo Pushing '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/b8pfdka5vww4xr7d4lr51r7n3f10jxn8-rootCA-dev /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/khhh1mnpb69wcghkw7s742id506hfs33-rootCA /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/lc0byj41y75mb81z6j4ik355sbb1znm7-rootCA-foo' to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
rootCA (post)> Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/b8pfdka5vww4xr7d4lr51r7n3f10jxn8-rootCA-dev /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/khhh1mnpb69wcghkw7s742id506hfs33-rootCA /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/lc0byj41y75mb81z6j4ik355sbb1znm7-rootCA-foo to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
rootCA (post)> + '[' -n '' ']'
rootCA (post)> + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/z22b9l6h6rir8rzhc23w9kr0bzs50lyn-rootCA.drv^*'
rootCA (post)> + xargs nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs
rootCA (post)> copying 0 paths...
rootCA (post)> + set -e
rootCA (post)> + '[' -n '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/b8pfdka5vww4xr7d4lr51r7n3f10jxn8-rootCA-dev /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/khhh1mnpb69wcghkw7s742id506hfs33-rootCA /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/lc0byj41y75mb81z6j4ik355sbb1znm7-rootCA-foo' ']'
rootCA (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/zlrf4lr6v3gxkn6ayxkkk2253dsiymzn-rootCA.drv ']'
rootCA (post)> + echo Pushing '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/b8pfdka5vww4xr7d4lr51r7n3f10jxn8-rootCA-dev /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/khhh1mnpb69wcghkw7s742id506hfs33-rootCA /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/lc0byj41y75mb81z6j4ik355sbb1znm7-rootCA-foo' to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
rootCA (post)> Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/b8pfdka5vww4xr7d4lr51r7n3f10jxn8-rootCA-dev /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/khhh1mnpb69wcghkw7s742id506hfs33-rootCA /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/lc0byj41y75mb81z6j4ik355sbb1znm7-rootCA-foo to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
rootCA (post)> + '[' -n '' ']'
rootCA (post)> + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/zlrf4lr6v3gxkn6ayxkkk2253dsiymzn-rootCA.drv^*'
rootCA (post)> + xargs nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs
rootCA (post)> copying 0 paths...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/8ar2lidxrzdwpvi09m0lbi2wfa6qzl0n-dependent-for-build-ca.drv'...
dependent-for-build-ca> Depends on rootCA for building only
dependent-for-build-ca> /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/khhh1mnpb69wcghkw7s742id506hfs33-rootCA
dependent-for-build-ca (post)> + set -e
dependent-for-build-ca (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nrwvag4sa4wyjyl6cl3y204b9fc2fhy2-dependent-for-build-ca ']'
dependent-for-build-ca (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/8ar2lidxrzdwpvi09m0lbi2wfa6qzl0n-dependent-for-build-ca.drv ']'
dependent-for-build-ca (post)> + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nrwvag4sa4wyjyl6cl3y204b9fc2fhy2-dependent-for-build-ca to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent-for-build-ca (post)> Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nrwvag4sa4wyjyl6cl3y204b9fc2fhy2-dependent-for-build-ca to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent-for-build-ca (post)> + '[' -n '' ']'
dependent-for-build-ca (post)> + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/8ar2lidxrzdwpvi09m0lbi2wfa6qzl0n-dependent-for-build-ca.drv^*'
dependent-for-build-ca (post)> + xargs nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs
dependent-for-build-ca (post)> copying 0 paths...
dependent-for-build-ca (post)> + set -e
dependent-for-build-ca (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nrwvag4sa4wyjyl6cl3y204b9fc2fhy2-dependent-for-build-ca ']'
dependent-for-build-ca (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/rks4703rp2nmnvaywi08jlmzyi19ndk8-dependent-for-build-ca.drv ']'
dependent-for-build-ca (post)> + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nrwvag4sa4wyjyl6cl3y204b9fc2fhy2-dependent-for-build-ca to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent-for-build-ca (post)> Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nrwvag4sa4wyjyl6cl3y204b9fc2fhy2-dependent-for-build-ca to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent-for-build-ca (post)> + '[' -n '' ']'
dependent-for-build-ca (post)> + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/rks4703rp2nmnvaywi08jlmzyi19ndk8-dependent-for-build-ca.drv^*'
dependent-for-build-ca (post)> + xargs nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs
dependent-for-build-ca (post)> copying 0 paths...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/mkpr8b09yqx0yak6zq6ks27k2lb7bhl7-dependent-for-build-non-ca.drv'...
dependent-for-build-non-ca> Depends on rootCA for building only
dependent-for-build-non-ca> /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/khhh1mnpb69wcghkw7s742id506hfs33-rootCA
dependent-for-build-non-ca (post)> + set -e
dependent-for-build-non-ca (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nl12vvyckpcc26ddmvc9sf2dhgnvpf74-dependent-for-build-non-ca ']'
dependent-for-build-non-ca (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/mkpr8b09yqx0yak6zq6ks27k2lb7bhl7-dependent-for-build-non-ca.drv ']'
dependent-for-build-non-ca (post)> + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nl12vvyckpcc26ddmvc9sf2dhgnvpf74-dependent-for-build-non-ca to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent-for-build-non-ca (post)> Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nl12vvyckpcc26ddmvc9sf2dhgnvpf74-dependent-for-build-non-ca to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent-for-build-non-ca (post)> + '[' -n '' ']'
dependent-for-build-non-ca (post)> + xargs nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs
dependent-for-build-non-ca (post)> + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/mkpr8b09yqx0yak6zq6ks27k2lb7bhl7-dependent-for-build-non-ca.drv^*'
dependent-for-build-non-ca (post)> copying 0 paths...
dependent-for-build-non-ca (post)> + set -e
dependent-for-build-non-ca (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nl12vvyckpcc26ddmvc9sf2dhgnvpf74-dependent-for-build-non-ca ']'
dependent-for-build-non-ca (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/gnsv2aah2ni0ydkl1lyhbdwlmkmx3wvb-dependent-for-build-non-ca.drv ']'
dependent-for-build-non-ca (post)> + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nl12vvyckpcc26ddmvc9sf2dhgnvpf74-dependent-for-build-non-ca to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent-for-build-non-ca (post)> Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nl12vvyckpcc26ddmvc9sf2dhgnvpf74-dependent-for-build-non-ca to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent-for-build-non-ca (post)> + '[' -n '' ']'
dependent-for-build-non-ca (post)> + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/gnsv2aah2ni0ydkl1lyhbdwlmkmx3wvb-dependent-for-build-non-ca.drv^*'
dependent-for-build-non-ca (post)> + xargs nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs
dependent-for-build-non-ca (post)> copying 0 paths...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/l0zg8d4dyvw8w8xfxmg2gqv8iqli5ylh-dependent-non-ca.drv'...
dependent-non-ca> Didn't cut-off
dependent-non-ca> building dependent-non-ca
dependent-non-ca (post)> + set -e
dependent-non-ca (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/60jzf36jazff77ggh9ppc0xb68wxli8p-dependent-non-ca ']'
dependent-non-ca (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/l0zg8d4dyvw8w8xfxmg2gqv8iqli5ylh-dependent-non-ca.drv ']'
dependent-non-ca (post)> + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/60jzf36jazff77ggh9ppc0xb68wxli8p-dependent-non-ca to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent-non-ca (post)> Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/60jzf36jazff77ggh9ppc0xb68wxli8p-dependent-non-ca to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent-non-ca (post)> + '[' -n '' ']'
dependent-non-ca (post)> + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/l0zg8d4dyvw8w8xfxmg2gqv8iqli5ylh-dependent-non-ca.drv^*'
dependent-non-ca (post)> + xargs nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs
dependent-non-ca (post)> copying 0 paths...
dependent-non-ca (post)> + set -e
dependent-non-ca (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/60jzf36jazff77ggh9ppc0xb68wxli8p-dependent-non-ca ']'
dependent-non-ca (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/qw089qz87k90rb03q4n3f2qd59a7riv8-dependent-non-ca.drv ']'
dependent-non-ca (post)> + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/60jzf36jazff77ggh9ppc0xb68wxli8p-dependent-non-ca to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent-non-ca (post)> Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/60jzf36jazff77ggh9ppc0xb68wxli8p-dependent-non-ca to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent-non-ca (post)> + '[' -n '' ']'
dependent-non-ca (post)> + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/qw089qz87k90rb03q4n3f2qd59a7riv8-dependent-non-ca.drv^*'
dependent-non-ca (post)> + xargs nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs
dependent-non-ca (post)> copying 0 paths...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/2lsggzm2nd8fpv93wg9l5qns8rhplyxw-dependent.drv'...
dependent> building a dependent derivation
dependent> /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/8p6mi7dqgrxnggn2nbs4c0ig5r7g9k2r-simple-input-addressed/hello
dependent (post)> + set -e
dependent (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/4b0sq8bqfkrvishlrj503gr46ndr961k-dependent ']'
dependent (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/2lsggzm2nd8fpv93wg9l5qns8rhplyxw-dependent.drv ']'
dependent (post)> + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/4b0sq8bqfkrvishlrj503gr46ndr961k-dependent to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent (post)> Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/4b0sq8bqfkrvishlrj503gr46ndr961k-dependent to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent (post)> + '[' -n '' ']'
dependent (post)> + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/2lsggzm2nd8fpv93wg9l5qns8rhplyxw-dependent.drv^*'
dependent (post)> + xargs nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs
dependent (post)> copying 0 paths...
dependent (post)> + set -e
dependent (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/4b0sq8bqfkrvishlrj503gr46ndr961k-dependent ']'
dependent (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/2ghc7zl3h7sgk35gn2s8vhwhhpn4vnq1-dependent.drv ']'
dependent (post)> + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/4b0sq8bqfkrvishlrj503gr46ndr961k-dependent to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent (post)> Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/4b0sq8bqfkrvishlrj503gr46ndr961k-dependent to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent (post)> + '[' -n '' ']'
dependent (post)> + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/2ghc7zl3h7sgk35gn2s8vhwhhpn4vnq1-dependent.drv^*'
dependent (post)> + xargs nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs
dependent (post)> copying 0 paths...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ck3kd41q9mzp9hndj1sym6m26z4ihfvj-runnable-thing.drv'...
runnable-thing> /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/khhh1mnpb69wcghkw7s742id506hfs33-rootCA
runnable-thing (post)> + set -e
runnable-thing (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ckjqr5j1ijqygbzk07hxpbnnl19g6l9q-runnable-thing ']'
runnable-thing (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ck3kd41q9mzp9hndj1sym6m26z4ihfvj-runnable-thing.drv ']'
runnable-thing (post)> + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ckjqr5j1ijqygbzk07hxpbnnl19g6l9q-runnable-thing to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
runnable-thing (post)> Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ckjqr5j1ijqygbzk07hxpbnnl19g6l9q-runnable-thing to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
runnable-thing (post)> + '[' -n '' ']'
runnable-thing (post)> + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ck3kd41q9mzp9hndj1sym6m26z4ihfvj-runnable-thing.drv^*'
runnable-thing (post)> + xargs nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs
runnable-thing (post)> copying 0 paths...
runnable-thing (post)> + set -e
runnable-thing (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ckjqr5j1ijqygbzk07hxpbnnl19g6l9q-runnable-thing ']'
runnable-thing (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/hd85v44yn7xkxpamd0y87j6cm8y8zs64-runnable-thing.drv ']'
runnable-thing (post)> + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ckjqr5j1ijqygbzk07hxpbnnl19g6l9q-runnable-thing to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
runnable-thing (post)> Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ckjqr5j1ijqygbzk07hxpbnnl19g6l9q-runnable-thing to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
runnable-thing (post)> + '[' -n '' ']'
runnable-thing (post)> + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/hd85v44yn7xkxpamd0y87j6cm8y8zs64-runnable-thing.drv^*'
runnable-thing (post)> + xargs nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs
runnable-thing (post)> copying 0 paths...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/dam6ibd43h5hrlwqs850pnmhljvxgld0-dependent-fixed-output.drv'...
dependent-fixed-output> /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/khhh1mnpb69wcghkw7s742id506hfs33-rootCA/self/dep
dependent-fixed-output (post)> + set -e
dependent-fixed-output (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ng4753vdimwvp262if00ks7py9kfggrv-dependent-fixed-output ']'
dependent-fixed-output (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/dam6ibd43h5hrlwqs850pnmhljvxgld0-dependent-fixed-output.drv ']'
dependent-fixed-output (post)> + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ng4753vdimwvp262if00ks7py9kfggrv-dependent-fixed-output to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent-fixed-output (post)> Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ng4753vdimwvp262if00ks7py9kfggrv-dependent-fixed-output to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent-fixed-output (post)> + '[' -n '' ']'
dependent-fixed-output (post)> + xargs nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs
dependent-fixed-output (post)> + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/dam6ibd43h5hrlwqs850pnmhljvxgld0-dependent-fixed-output.drv^*'
dependent-fixed-output (post)> copying 0 paths...
dependent-fixed-output (post)> + set -e
dependent-fixed-output (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ng4753vdimwvp262if00ks7py9kfggrv-dependent-fixed-output ']'
dependent-fixed-output (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ysvam6d1ghlxjpqpdqsn065zda8yanw1-dependent-fixed-output.drv ']'
dependent-fixed-output (post)> + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ng4753vdimwvp262if00ks7py9kfggrv-dependent-fixed-output to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent-fixed-output (post)> Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ng4753vdimwvp262if00ks7py9kfggrv-dependent-fixed-output to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
dependent-fixed-output (post)> + '[' -n '' ']'
dependent-fixed-output (post)> + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ysvam6d1ghlxjpqpdqsn065zda8yanw1-dependent-fixed-output.drv^*'
dependent-fixed-output (post)> + xargs nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs
dependent-fixed-output (post)> copying 0 paths...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/j54329xsfzwpbiw14klxpsjgclk6iyyh-transitively-dependent.drv'...
transitively-dependent> building transitively-dependent
transitively-dependent> /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/khhh1mnpb69wcghkw7s742id506hfs33-rootCA/self/dep
transitively-dependent (post)> + set -e
transitively-dependent (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/7dxijfymsqc2b17xdf7r7iz4yjn5wdb7-transitively-dependent ']'
transitively-dependent (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/j54329xsfzwpbiw14klxpsjgclk6iyyh-transitively-dependent.drv ']'
transitively-dependent (post)> + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/7dxijfymsqc2b17xdf7r7iz4yjn5wdb7-transitively-dependent to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
transitively-dependent (post)> Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/7dxijfymsqc2b17xdf7r7iz4yjn5wdb7-transitively-dependent to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
transitively-dependent (post)> + '[' -n '' ']'
transitively-dependent (post)> + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/j54329xsfzwpbiw14klxpsjgclk6iyyh-transitively-dependent.drv^*'
transitively-dependent (post)> + xargs nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs
transitively-dependent (post)> copying 0 paths...
transitively-dependent (post)> + set -e
transitively-dependent (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/7dxijfymsqc2b17xdf7r7iz4yjn5wdb7-transitively-dependent ']'
transitively-dependent (post)> + '[' -n /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/58qpasqsnsz7ifx6c822p59gfbh7skgx-transitively-dependent.drv ']'
transitively-dependent (post)> + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/7dxijfymsqc2b17xdf7r7iz4yjn5wdb7-transitively-dependent to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
transitively-dependent (post)> Pushing /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/7dxijfymsqc2b17xdf7r7iz4yjn5wdb7-transitively-dependent to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache
transitively-dependent (post)> + '[' -n '' ']'
transitively-dependent (post)> + printf %s '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/58qpasqsnsz7ifx6c822p59gfbh7skgx-transitively-dependent.drv^*'
transitively-dependent (post)> + xargs nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs
transitively-dependent (post)> copying 0 paths...
+(substitute.sh:62) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/test-home/.local/state/nix/profiles
+(substitute.sh:64) clearCacheCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:86) rm -f '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/test-home/.cache/nix/binary-cache*'
+(substitute.sh:65) export _NIX_FORCE_HTTP=1
+(substitute.sh:65) _NIX_FORCE_HTTP=1
+(substitute.sh:66) buildDrvs --substitute --substituters file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs -j0
+(substitute.sh:15) nix build --file ./content-addressed.nix -L --no-link --substitute --substituters file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs -j0
these 11 paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/4b0sq8bqfkrvishlrj503gr46ndr961k-dependent
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ng4753vdimwvp262if00ks7py9kfggrv-dependent-fixed-output
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nrwvag4sa4wyjyl6cl3y204b9fc2fhy2-dependent-for-build-ca
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nl12vvyckpcc26ddmvc9sf2dhgnvpf74-dependent-for-build-non-ca
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/60jzf36jazff77ggh9ppc0xb68wxli8p-dependent-non-ca
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/khhh1mnpb69wcghkw7s742id506hfs33-rootCA
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/b8pfdka5vww4xr7d4lr51r7n3f10jxn8-rootCA-dev
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/lc0byj41y75mb81z6j4ik355sbb1znm7-rootCA-foo
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ckjqr5j1ijqygbzk07hxpbnnl19g6l9q-runnable-thing
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/8p6mi7dqgrxnggn2nbs4c0ig5r7g9k2r-simple-input-addressed
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/7dxijfymsqc2b17xdf7r7iz4yjn5wdb7-transitively-dependent
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ng4753vdimwvp262if00ks7py9kfggrv-dependent-fixed-output' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nrwvag4sa4wyjyl6cl3y204b9fc2fhy2-dependent-for-build-ca' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nl12vvyckpcc26ddmvc9sf2dhgnvpf74-dependent-for-build-non-ca' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/8p6mi7dqgrxnggn2nbs4c0ig5r7g9k2r-simple-input-addressed' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ckjqr5j1ijqygbzk07hxpbnnl19g6l9q-runnable-thing' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/khhh1mnpb69wcghkw7s742id506hfs33-rootCA' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/4b0sq8bqfkrvishlrj503gr46ndr961k-dependent' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/b8pfdka5vww4xr7d4lr51r7n3f10jxn8-rootCA-dev' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/lc0byj41y75mb81z6j4ik355sbb1znm7-rootCA-foo' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/60jzf36jazff77ggh9ppc0xb68wxli8p-dependent-non-ca' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/7dxijfymsqc2b17xdf7r7iz4yjn5wdb7-transitively-dependent' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
+(substitute.sh:69) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/substitute/test-home/.local/state/nix/profiles
+(substitute.sh:70) rm '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:03d1ea63837aa9da6faba21d0ebf4c1891fce07dd0f8cf7265a5eac12f1c4bcb!out.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:0bc85fa0f9c54781598440a72092cf27fd8cfdc85e6691c4ccddf24fff64a206!out.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:0d14dc1c612ef00ec106e83e4c08959b2019dcc85c0f7e894f1ab381413843e9!dev.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:0d14dc1c612ef00ec106e83e4c08959b2019dcc85c0f7e894f1ab381413843e9!foo.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:0d14dc1c612ef00ec106e83e4c08959b2019dcc85c0f7e894f1ab381413843e9!out.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:1b507929c1e7b45e63ad4d15b259e107525e41c8139968beccf3a2446d477560!dev.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:1b507929c1e7b45e63ad4d15b259e107525e41c8139968beccf3a2446d477560!foo.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:1b507929c1e7b45e63ad4d15b259e107525e41c8139968beccf3a2446d477560!out.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:2a2d4b6a7eedf66c6bd8c8ef25b5f2a918c5995e84f193e504afd2152434554b!out.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:319b3132a639c88d69ef82396c872d13bd35c37795e2d1485cc3112d82536ff8!out.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:867c84ee37ce6c91f34af5e3ee3ace20561a1c959161b88a628f6b160b4a0390!out.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:8e8e11e35adddd11509531207b7620671f6095e4cc302dc377cc81627e4948ec!out.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:90bd4761d121c8eae99d27acc8437e78ecd22ed8abcfdb1aee0b9a1061a323d5!out.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:93476cd7ee16f53175a20713945a06cba0530937cb2cb218526e98be6bda1837!out.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:9681042fc47133755bd6c8abccacac8420834c205d0754e71c1b175e1b5bc601!out.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:9cda5dc182f444b8185dfae53acaf5beeff6ded4f86aed3d4e98cba1f0627327!out.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:a22fe728152d35961759b63a74b77c1ba5eb882343b88f849492654e64634bdb!out.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:a62869c0895d02abdfdc21180deef4b67f2804d7e7aba4faf09e11d896038025!out.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:d21152dff9cda9e335f5c16494a515ac7f5e29068c39a3f0bba6b16f4ece5e9c!out.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:fb68a534546740e194c085a47e1cb6bbd5e08b34a0133a1bb886d9ffddb9e754!out.doi' '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache/realisations/sha256:fd6abf9cc5eec993be00e1b0a6f5255b9c57d06e09b5416f4e7dbfa466da7cf5!out.doi'
+(substitute.sh:71) buildDrvs --substitute --substituters file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs -j0
+(substitute.sh:15) nix build --file ./content-addressed.nix -L --no-link --substitute --substituters file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache --no-require-sigs -j0
these 11 paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/4b0sq8bqfkrvishlrj503gr46ndr961k-dependent
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ng4753vdimwvp262if00ks7py9kfggrv-dependent-fixed-output
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nrwvag4sa4wyjyl6cl3y204b9fc2fhy2-dependent-for-build-ca
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nl12vvyckpcc26ddmvc9sf2dhgnvpf74-dependent-for-build-non-ca
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/60jzf36jazff77ggh9ppc0xb68wxli8p-dependent-non-ca
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/khhh1mnpb69wcghkw7s742id506hfs33-rootCA
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/b8pfdka5vww4xr7d4lr51r7n3f10jxn8-rootCA-dev
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/lc0byj41y75mb81z6j4ik355sbb1znm7-rootCA-foo
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ckjqr5j1ijqygbzk07hxpbnnl19g6l9q-runnable-thing
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/8p6mi7dqgrxnggn2nbs4c0ig5r7g9k2r-simple-input-addressed
/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/7dxijfymsqc2b17xdf7r7iz4yjn5wdb7-transitively-dependent
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ng4753vdimwvp262if00ks7py9kfggrv-dependent-fixed-output' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nl12vvyckpcc26ddmvc9sf2dhgnvpf74-dependent-for-build-non-ca' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/nrwvag4sa4wyjyl6cl3y204b9fc2fhy2-dependent-for-build-ca' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/8p6mi7dqgrxnggn2nbs4c0ig5r7g9k2r-simple-input-addressed' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/ckjqr5j1ijqygbzk07hxpbnnl19g6l9q-runnable-thing' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/khhh1mnpb69wcghkw7s742id506hfs33-rootCA' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/4b0sq8bqfkrvishlrj503gr46ndr961k-dependent' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/60jzf36jazff77ggh9ppc0xb68wxli8p-dependent-non-ca' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/b8pfdka5vww4xr7d4lr51r7n3f10jxn8-rootCA-dev' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/lc0byj41y75mb81z6j4ik355sbb1znm7-rootCA-foo' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/substitute/store/7dxijfymsqc2b17xdf7r7iz4yjn5wdb7-transitively-dependent' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/substitute/binary_cache'...true
[INFO] You are unknown trust by store uri: ssh://localhost
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/legacy-ssh-store
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/legacy-ssh-store
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/legacy-ssh-store
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/legacy-ssh-store
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/legacy-ssh-store
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/legacy-ssh-store/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/legacy-ssh-store/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/legacy-ssh-store/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/legacy-ssh-store/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/legacy-ssh-store/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/legacy-ssh-store/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(legacy-ssh-store.sh:3) store_uri='ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/legacy-ssh-store/other-store'
+(legacy-ssh-store.sh:6) nix --store 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/legacy-ssh-store/other-store' store ping --json
+(legacy-ssh-store.sh:6) jq -e 'has("trusted") | not'
\x1b[K+(legacy-ssh-store.sh:9) grep 'You are unknown trust'["/tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/store/4n62r1xmf9411avm4ddv3h53dq6maml9-source"]
["/tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/store/xxdrz0cnf33b5lbbhpapf1wbwzrpzw1r-source"]
["/tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/store/zribw695rn0g38kfv2zvpn512jzdzlnm-source"]
["/tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/store/zribw695rn0g38kfv2zvpn512jzdzlnm-source"]
["/tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/store/4n62r1xmf9411avm4ddv3h53dq6maml9-source"]
["/tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/store/62qvn2w8c71ii18ri92s3malkddzafdv-common.sh"]
["/tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/store/klz0jaa15wfv5nwkkn84ssisv63a209q-simple.drv"]
[{"drvPath":"/tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/store/klz0jaa15wfv5nwkkn84ssisv63a209q-simple.drv","outputs":{"out":"/tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/store/80vddn39k5mly8jklz9hcqbadl3lxp0f-simple"},"startTime":1716682864,"stopTime":1716682864}]
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(./common.sh:3) registry=/tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/registry.json
+(build-paths.sh:3) flake1Dir=/tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake1
+(build-paths.sh:4) flake2Dir=/tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake2
+(build-paths.sh:6) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake1 /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake2
+(build-paths.sh:8) writeSimpleFlake /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake2
+(./common.sh:6) local flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake2
+(./common.sh:7) cat
+(./common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake2/
+(build-paths.sh:9) tar cfz /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake.tar.gz -C /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths flake2
++(build-paths.sh:10) nix hash path /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake2
+(build-paths.sh:10) hash=sha256-pSbVFb7RZTVmFdut9mzAWH0+i6V/3FoUADIHGnus8co=
++(build-paths.sh:12) nix store add-path ./common.sh
+(build-paths.sh:12) dep=/tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/store/62qvn2w8c71ii18ri92s3malkddzafdv-common.sh
+(build-paths.sh:14) cat
+(build-paths.sh:63) cp ../simple.nix ../simple.builder.sh ../config.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake1/
+(build-paths.sh:65) echo bar
+(build-paths.sh:67) nix build --json --out-link /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake1#a1
warning: creating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake1/flake.lock':
• Added input 'flake2':
'file:///tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake.tar.gz?narHash=sha256-pSbVFb7RZTVmFdut9mzAWH0%2Bi6V/3FoUADIHGnus8co%3D' (2024-05-26)
+(build-paths.sh:68) [[ -e /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result/simple.nix ]]
+(build-paths.sh:70) nix build --json --out-link /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake1#a2
++(build-paths.sh:71) cat /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result
+(build-paths.sh:71) [[ bar = bar ]]
+(build-paths.sh:73) nix build --json --out-link /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake1#a3
+(build-paths.sh:75) nix build --json --out-link /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake1#a4
+(build-paths.sh:77) nix build --json --out-link /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake1#a6
+(build-paths.sh:78) [[ -e /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result/simple.nix ]]
+(build-paths.sh:80) nix build --impure --json --out-link /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake1#a8
+(build-paths.sh:81) diff common.sh /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result
+(build-paths.sh:83) expectStderr 1 nix build --impure --json --out-link /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake1#a9
+(build-paths.sh:84) grepQuiet 'has 0 entries in its context. It should only have exactly one entry'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'has 0 entries in its context. It should only have exactly one entry'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix build --impure --json --out-link /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake1#a9
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(build-paths.sh:86) nix build --json --out-link /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake1#a10
++(build-paths.sh:87) readlink -e /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result
+(build-paths.sh:87) [[ /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/store/klz0jaa15wfv5nwkkn84ssisv63a209q-simple.drv = *simple.drv ]]
+(build-paths.sh:89) expectStderr 1 nix build --json --out-link /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake1#a11
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(build-paths.sh:90) grepQuiet 'has a context which refers to a complete source and binary closure'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix build --json --out-link /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake1#a11
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'has a context which refers to a complete source and binary closure'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(build-paths.sh:92) nix build --json --out-link /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake1#a12
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/store/klz0jaa15wfv5nwkkn84ssisv63a209q-simple.drv
building '/tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/store/klz0jaa15wfv5nwkkn84ssisv63a209q-simple.drv'...
+(build-paths.sh:93) [[ -e /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result/hello ]]
+(build-paths.sh:95) expectStderr 1 nix build --impure --json --out-link /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake1#a13
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(build-paths.sh:96) grepQuiet 'has 2 entries in its context. It should only have exactly one entry'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix build --impure --json --out-link /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/result /tmp/nix-shell.MrxVR3/nix-test/flakes/build-paths/flake1#a13
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'has 2 entries in its context. It should only have exactly one entry'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0global flake:nixpkgs github:NixOS/nixpkgs/nixpkgs-unstable
global flake:home-manager github:nix-community/home-manager
global flake:nixpkgs github:NixOS/nixpkgs/nixpkgs-unstable
global flake:home-manager github:nix-community/home-manager
global flake:nixpkgs github:NixOS/nixpkgs
global flake:private-flake github:fancy-enterprise/private-flake
warning: config option flake-registry referring to a URL is deprecated and will be removed in Lix 3.0; yours is: `http://127.0.0.1:42823/flake-registry.json'
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-registry
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-registry
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-registry
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-registry
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-registry
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-registry/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-registry/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-registry/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-registry/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-registry/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-registry/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(./common.sh:3) registry=/tmp/nix-shell.MrxVR3/nix-test/flakes/flake-registry/registry.json
+(flake-registry.sh:4) sed -i /flake-registry/d /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-registry/etc/nix.conf
++(flake-registry.sh:7) nix registry list
++(flake-registry.sh:7) wc -l
+(flake-registry.sh:7) [[ 37 == 37 ]]
+(flake-registry.sh:9) nix registry list
+(flake-registry.sh:9) grep '^global flake:nixpkgs'
+(flake-registry.sh:10) nix registry list
+(flake-registry.sh:10) grep '^global flake:home-manager'
+(flake-registry.sh:14) echo 'flake-registry = vendored'
++(flake-registry.sh:15) nix registry list
++(flake-registry.sh:15) wc -l
+(flake-registry.sh:15) [[ 37 == 37 ]]
+(flake-registry.sh:17) nix registry list
+(flake-registry.sh:17) grep '^global flake:nixpkgs'
+(flake-registry.sh:18) nix registry list
+(flake-registry.sh:18) grep '^global flake:home-manager'
+(flake-registry.sh:22) set -m
+(flake-registry.sh:26) grep -qP 'port \d+' server.out
+(flake-registry.sh:24) python3 -u -m http.server 0 --bind 127.0.0.1
+(flake-registry.sh:27) echo 'waiting for python http'
waiting for python http
+(flake-registry.sh:28) sleep 0.2
+(flake-registry.sh:26) grep -qP 'port \d+' server.out
++(flake-registry.sh:31) awk 'match($0,/port ([[:digit:]]+)/, ary) { print ary[1] }' server.out
+(flake-registry.sh:31) port=42823
+(flake-registry.sh:33) sed -i /flake-registry/d /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-registry/etc/nix.conf
+(flake-registry.sh:34) echo 'flake-registry = http://127.0.0.1:42823/flake-registry.json'
+(flake-registry.sh:35) cat
++(flake-registry.sh:65) nix registry list
++(flake-registry.sh:65) wc -l
warning: config option flake-registry referring to a URL is deprecated and will be removed in Lix 3.0; yours is: `http://127.0.0.1:42823/flake-registry.json'
127.0.0.1 - - [26/May/2024 00:21:04] "GET /flake-registry.json HTTP/1.1" 200 -
+(flake-registry.sh:65) [[ 2 == 2 ]]
+(flake-registry.sh:66) grep '^global flake:nixpkgs'
+(flake-registry.sh:66) nix registry list
warning: config option flake-registry referring to a URL is deprecated and will be removed in Lix 3.0; yours is: `http://127.0.0.1:42823/flake-registry.json'
+(flake-registry.sh:67) nix registry list
+(flake-registry.sh:67) grep '^global flake:private-flake'
warning: config option flake-registry referring to a URL is deprecated and will be removed in Lix 3.0; yours is: `http://127.0.0.1:42823/flake-registry.json'
+(flake-registry.sh:70) grep 'config option flake-registry referring to a URL is deprecated and will be removed'
+(flake-registry.sh:70) nix registry list
+(flake-registry.sh:72) kill %1\x1b[1m--- lang/empty.exp 2024-05-25 00:55:44.388659085 +0000\x1b[0m
\x1b[1m+++ /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got 2024-05-26 00:21:04.434248730 +0000\x1b[0m
\x1b[36m@@ -0,0 +1 @@\x1b[0m
\x1b[32m+Hi!\x1b[0m
FAIL: evaluation result of test not as expected
\x1b[1m--- /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected 2024-05-26 00:21:04.438252717 +0000\x1b[0m
\x1b[1m+++ /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got 2024-05-26 00:21:04.438252717 +0000\x1b[0m
\x1b[36m@@ -1 +1 @@\x1b[0m
\x1b[31m-Bye!\x1b[0m
\x1b[32m+Hi!\x1b[0m
FAIL: evaluation result of test not as expected
\x1b[1m--- /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected 2024-05-26 00:21:04.452266670 +0000\x1b[0m
\x1b[1m+++ /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got 2024-05-26 00:21:04.452266670 +0000\x1b[0m
\x1b[36m@@ -1 +1 @@\x1b[0m
\x1b[31m-Bye!\x1b[0m
\x1b[32m+Hi!\x1b[0m
FAIL: evaluation result of test not as expected
\x1b[1m--- /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected 2024-05-26 00:21:04.469283614 +0000\x1b[0m
\x1b[1m+++ /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got 2024-05-26 00:21:04.469283614 +0000\x1b[0m
\x1b[36m@@ -1 +0,0 @@\x1b[0m
\x1b[31m-Bye!\x1b[0m
FAIL: evaluation result of test not as expected
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(lang-test-infra.sh:4) source lang/framework.sh
+(lang-test-infra.sh:7) unset _NIX_TEST_ACCEPT
+(lang-test-infra.sh:10) badDiff=0
+(lang-test-infra.sh:13) echo 'Hi!'
+(lang-test-infra.sh:14) cp /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang-test-infra.sh:16) diffAndAcceptInner test /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:7) local -r testName=test
+(lang/framework.sh:8) local -r got=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:9) local -r expected=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:12) test -e /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:13) local -r expectedOrEmpty=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:19) diff --color=always --unified /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:25) test -n ''
+(lang-test-infra.sh:17) (( 0 == 0 ))
+(lang-test-infra.sh:21) echo -n
+(lang-test-infra.sh:23) diffAndAcceptInner test /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/does-not-exist
+(lang/framework.sh:7) local -r testName=test
+(lang/framework.sh:8) local -r got=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:9) local -r expected=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/does-not-exist
+(lang/framework.sh:12) test -e /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/does-not-exist
+(lang/framework.sh:15) local -r expectedOrEmpty=lang/empty.exp
+(lang/framework.sh:19) diff --color=always --unified lang/empty.exp /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:25) test -n ''
+(lang-test-infra.sh:24) (( 0 == 0 ))
+(lang-test-infra.sh:28) echo 'Hi!'
+(lang-test-infra.sh:30) diffAndAcceptInner test /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/does-not-exist
+(lang/framework.sh:7) local -r testName=test
+(lang/framework.sh:8) local -r got=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:9) local -r expected=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/does-not-exist
+(lang/framework.sh:12) test -e /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/does-not-exist
+(lang/framework.sh:15) local -r expectedOrEmpty=lang/empty.exp
+(lang/framework.sh:19) diff --color=always --unified lang/empty.exp /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:20) echo 'FAIL: evaluation result of test not as expected'
+(lang/framework.sh:21) badDiff=1
+(lang/framework.sh:25) test -n ''
+(lang-test-infra.sh:31) (( 1 == 1 ))
+(lang-test-infra.sh:35) echo 'Hi!'
+(lang-test-infra.sh:36) echo 'Bye!'
+(lang-test-infra.sh:38) diffAndAcceptInner test /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:7) local -r testName=test
+(lang/framework.sh:8) local -r got=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:9) local -r expected=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:12) test -e /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:13) local -r expectedOrEmpty=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:19) diff --color=always --unified /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:20) echo 'FAIL: evaluation result of test not as expected'
+(lang/framework.sh:21) badDiff=1
+(lang/framework.sh:25) test -n ''
+(lang-test-infra.sh:39) (( 1 == 1 ))
++(lang-test-infra.sh:41) echo 'Bye!'
+(lang-test-infra.sh:41) [[ Bye! == Bye! ]]
+(lang-test-infra.sh:44) echo 'Hi!'
+(lang-test-infra.sh:45) cp /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang-test-infra.sh:47) _NIX_TEST_ACCEPT=1
+(lang-test-infra.sh:47) diffAndAcceptInner test /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:7) local -r testName=test
+(lang/framework.sh:8) local -r got=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:9) local -r expected=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:12) test -e /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:13) local -r expectedOrEmpty=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:19) diff --color=always --unified /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:25) test -n 1
+(lang/framework.sh:26) cp /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:29) test -s /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang-test-infra.sh:48) (( 0 == 0 ))
+(lang-test-infra.sh:52) echo 'Hi!'
+(lang-test-infra.sh:53) echo 'Bye!'
+(lang-test-infra.sh:55) _NIX_TEST_ACCEPT=1
+(lang-test-infra.sh:55) diffAndAcceptInner test /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:7) local -r testName=test
+(lang/framework.sh:8) local -r got=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:9) local -r expected=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:12) test -e /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:13) local -r expectedOrEmpty=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:19) diff --color=always --unified /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:20) echo 'FAIL: evaluation result of test not as expected'
+(lang/framework.sh:21) badDiff=1
+(lang/framework.sh:25) test -n 1
+(lang/framework.sh:26) cp /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:29) test -s /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang-test-infra.sh:56) (( 1 == 1 ))
++(lang-test-infra.sh:58) echo 'Hi!'
+(lang-test-infra.sh:58) [[ Hi! == Hi! ]]
+(lang-test-infra.sh:61) diffAndAcceptInner test /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:7) local -r testName=test
+(lang/framework.sh:8) local -r got=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:9) local -r expected=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:12) test -e /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:13) local -r expectedOrEmpty=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:19) diff --color=always --unified /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:25) test -n ''
+(lang-test-infra.sh:62) (( 0 == 0 ))
+(lang-test-infra.sh:66) echo -n
+(lang-test-infra.sh:68) _NIX_TEST_ACCEPT=1
+(lang-test-infra.sh:68) diffAndAcceptInner test /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/does-not-exists
+(lang/framework.sh:7) local -r testName=test
+(lang/framework.sh:8) local -r got=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:9) local -r expected=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/does-not-exists
+(lang/framework.sh:12) test -e /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/does-not-exists
+(lang/framework.sh:15) local -r expectedOrEmpty=lang/empty.exp
+(lang/framework.sh:19) diff --color=always --unified lang/empty.exp /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:25) test -n 1
+(lang/framework.sh:26) cp /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/does-not-exists
+(lang/framework.sh:29) test -s /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/does-not-exists
+(lang/framework.sh:30) rm /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/does-not-exists
+(lang-test-infra.sh:69) (( 0 == 0 ))
+(lang-test-infra.sh:71) [[ ! -f /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/does-not-exist ]]
+(lang-test-infra.sh:74) echo -n
+(lang-test-infra.sh:75) echo 'Bye!'
+(lang-test-infra.sh:76) badDiff=0
+(lang-test-infra.sh:78) _NIX_TEST_ACCEPT=1
+(lang-test-infra.sh:78) diffAndAcceptInner test /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:7) local -r testName=test
+(lang/framework.sh:8) local -r got=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:9) local -r expected=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:12) test -e /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:13) local -r expectedOrEmpty=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:19) diff --color=always --unified /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:20) echo 'FAIL: evaluation result of test not as expected'
+(lang/framework.sh:21) badDiff=1
+(lang/framework.sh:25) test -n 1
+(lang/framework.sh:26) cp /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:29) test -s /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:30) rm /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang-test-infra.sh:79) (( 1 == 1 ))
+(lang-test-infra.sh:81) [[ ! -f /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected ]]
+(lang-test-infra.sh:84) diffAndAcceptInner test /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:7) local -r testName=test
+(lang/framework.sh:8) local -r got=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:9) local -r expected=/tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:12) test -e /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/expected
+(lang/framework.sh:15) local -r expectedOrEmpty=lang/empty.exp
+(lang/framework.sh:19) diff --color=always --unified lang/empty.exp /tmp/nix-shell.MrxVR3/nix-test/lang-test-infra/got
+(lang/framework.sh:25) test -n ''
+(lang-test-infra.sh:85) (( 0 == 0 ))Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/.git/
\x1b[1mResolved URL:\x1b[0m git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA
\x1b[1mLocked URL:\x1b[0m git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA
\x1b[1mDescription:\x1b[0m Flake A
\x1b[1mPath:\x1b[0m /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/store/gbylcyy3fxmqfvl44b3j8wgiss5jnps7-source
\x1b[1mLast modified:\x1b[0m 1970-01-01 00:00:00
\x1b[1mInputs:\x1b[0m
├───\x1b[1mB\x1b[0m: path:./flakeB?lastModified=1&narHash=sha256-m459S10fv%2BbieDbIxSu48I%2BoUUtYFce5VUhkfL7thKM%3D
│ ├───\x1b[1mC\x1b[0m: path:./flakeC?lastModified=1&narHash=sha256-FJsTgIFAZSDq9IzmNRkwCfkJ5QyuJ2X7uecCOdn/Zgc%3D
│ │ ├───\x1b[1mfoobar\x1b[0m follows input 'B/foobar'
│ │ └───\x1b[1mgoodoo\x1b[0m follows input 'B/C/foobar'
│ ├───\x1b[1mfoobar\x1b[0m follows input 'foobar'
│ └───\x1b[1mgoodoo\x1b[0m follows input 'B/C/goodoo'
└───\x1b[1mfoobar\x1b[0m: path:/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeE?lastModified=1716682863&narHash=sha256-IO%2Bpf/K2D8/fbgnK3VlX2eW3/IkUCgQEQKVErKatkfk%3D
foobar
error: relative path '../flakeB' points outside of its parent's store path '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/store/5kjvpyncgxhkn6w42ighi08ql1qlk4rl-source'
warning: input 'B' has an override for a non-existent input 'invalid'
warning: input 'B' has an override for a non-existent input 'invalid2'
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA/.git/
\x1b[1mResolved URL:\x1b[0m git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA
\x1b[1mLocked URL:\x1b[0m git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA
\x1b[1mDescription:\x1b[0m Flake A
\x1b[1mPath:\x1b[0m /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/store/fmb1yc861zxvm2a8pm89jx4f37cdmnjc-source
\x1b[1mLast modified:\x1b[0m 1970-01-01 00:00:00
\x1b[1mInputs:\x1b[0m
├───\x1b[1mB\x1b[0m: path:./flakeB?lastModified=1&narHash=sha256-uEiIaE/Tfido7cCY856jk//YwAd3Efm03hgZ/ehjCAU%3D
│ ├───\x1b[1mC\x1b[0m follows input 'C'
│ └───\x1b[1mD\x1b[0m follows input 'B/C/D'
└───\x1b[1mC\x1b[0m: path:./flakeB/flakeC?lastModified=1&narHash=sha256-wPGooFw8SBNTDqsfaJhAKzZkJ39RCfWQHqPx4Flkxkc%3D
└───\x1b[1mD\x1b[0m: path:./flakeD?lastModified=1&narHash=sha256-m1d/J9xsj5IWV0Ixsk5hOFkGtmk/HOZVZPytZshrCqY%3D
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(./common.sh:3) registry=/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/registry.json
+(follow-paths.sh:3) requireGit
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) type -p git
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) [[ -n /nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin/git ]]
+(follow-paths.sh:5) flakeFollowsA=/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA
+(follow-paths.sh:6) flakeFollowsB=/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeB
+(follow-paths.sh:7) flakeFollowsC=/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeB/flakeC
+(follow-paths.sh:8) flakeFollowsD=/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeD
+(follow-paths.sh:9) flakeFollowsE=/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeE
+(follow-paths.sh:12) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA
+(./common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA
+(./common.sh:62) local extraArgs=
+(./common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA.tmp
+(./common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA
+(./common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(./common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA config user.email foobar@example.com
+(./common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA config user.name Foobar
+(follow-paths.sh:13) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeB
+(follow-paths.sh:14) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeB/flakeC
+(follow-paths.sh:15) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeD
+(follow-paths.sh:16) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeE
+(follow-paths.sh:18) cat
+(follow-paths.sh:33) cat
+(follow-paths.sh:48) cat
+(follow-paths.sh:59) cat
+(follow-paths.sh:67) cat
+(follow-paths.sh:75) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA add flake.nix flakeB/flake.nix flakeB/flakeC/flake.nix flakeD/flake.nix flakeE/flake.nix
+(follow-paths.sh:78) nix flake metadata /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA' is dirty
warning: creating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flake.lock':
• Added input 'B':
'path:./flakeB?lastModified=1&narHash=sha256-m459S10fv%2BbieDbIxSu48I%2BoUUtYFce5VUhkfL7thKM%3D' (1970-01-01)
• Added input 'B/C':
'path:./flakeC?lastModified=1&narHash=sha256-FJsTgIFAZSDq9IzmNRkwCfkJ5QyuJ2X7uecCOdn/Zgc%3D' (1970-01-01)
• Added input 'B/C/foobar':
follows 'B/foobar'
• Added input 'B/C/goodoo':
follows 'B/C/foobar'
• Added input 'B/foobar':
follows 'foobar'
• Added input 'B/goodoo':
follows 'B/C/goodoo'
• Added input 'foobar':
'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeE?lastModified=1716682863&narHash=sha256-IO%2Bpf/K2D8/fbgnK3VlX2eW3/IkUCgQEQKVErKatkfk%3D' (2024-05-26)
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA' is dirty
+(follow-paths.sh:80) nix flake update --flake /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA' is dirty
+(follow-paths.sh:82) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA' is dirty
++(follow-paths.sh:84) cat /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flake.lock
+(follow-paths.sh:84) oldLock='{
"nodes": {
"B": {
"inputs": {
"C": "C",
"foobar": [
"foobar"
],
"goodoo": [
"B",
"C",
"goodoo"
]
},
"locked": {
"lastModified": 1,
"narHash": "sha256-m459S10fv+bieDbIxSu48I+oUUtYFce5VUhkfL7thKM=",
"path": "./flakeB",
"type": "path"
},
"original": {
"path": "./flakeB",
"type": "path"
}
},
"C": {
"inputs": {
"foobar": [
"B",
"foobar"
],
"goodoo": [
"B",
"C",
"foobar"
]
},
"locked": {
"lastModified": 1,
"narHash": "sha256-FJsTgIFAZSDq9IzmNRkwCfkJ5QyuJ2X7uecCOdn/Zgc=",
"path": "./flakeC",
"type": "path"
},
"original": {
"path": "./flakeC",
"type": "path"
}
},
"foobar": {
"locked": {
"lastModified": 1716682863,
"narHash": "sha256-IO+pf/K2D8/fbgnK3VlX2eW3/IkUCgQEQKVErKatkfk=",
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeE",
"type": "path"
},
"original": {
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeE",
"type": "path"
}
},
"root": {
"inputs": {
"B": "B",
"foobar": "foobar"
}
}
},
"root": "root",
"version": 7
}'
+(follow-paths.sh:88) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA' is dirty
++(follow-paths.sh:90) cat /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flake.lock
+(follow-paths.sh:90) newLock='{
"nodes": {
"B": {
"inputs": {
"C": "C",
"foobar": [
"foobar"
],
"goodoo": [
"B",
"C",
"goodoo"
]
},
"locked": {
"lastModified": 1,
"narHash": "sha256-m459S10fv+bieDbIxSu48I+oUUtYFce5VUhkfL7thKM=",
"path": "./flakeB",
"type": "path"
},
"original": {
"path": "./flakeB",
"type": "path"
}
},
"C": {
"inputs": {
"foobar": [
"B",
"foobar"
],
"goodoo": [
"B",
"C",
"foobar"
]
},
"locked": {
"lastModified": 1,
"narHash": "sha256-FJsTgIFAZSDq9IzmNRkwCfkJ5QyuJ2X7uecCOdn/Zgc=",
"path": "./flakeC",
"type": "path"
},
"original": {
"path": "./flakeC",
"type": "path"
}
},
"foobar": {
"locked": {
"lastModified": 1716682863,
"narHash": "sha256-IO+pf/K2D8/fbgnK3VlX2eW3/IkUCgQEQKVErKatkfk=",
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeE",
"type": "path"
},
"original": {
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeE",
"type": "path"
}
},
"root": {
"inputs": {
"B": "B",
"foobar": "foobar"
}
}
},
"root": "root",
"version": 7
}'
+(follow-paths.sh:92) diff /dev/fd/63 /dev/fd/62
++(follow-paths.sh:92) echo '{
"nodes": {
"B": {
"inputs": {
"C": "C",
"foobar": [
"foobar"
],
"goodoo": [
"B",
"C",
"goodoo"
]
},
"locked": {
"lastModified": 1,
"narHash": "sha256-m459S10fv+bieDbIxSu48I+oUUtYFce5VUhkfL7thKM=",
"path": "./flakeB",
"type": "path"
},
"original": {
"path": "./flakeB",
"type": "path"
}
},
"C": {
"inputs": {
"foobar": [
"B",
"foobar"
],
"goodoo": [
"B",
"C",
"foobar"
]
},
"locked": {
"lastModified": 1,
"narHash": "sha256-FJsTgIFAZSDq9IzmNRkwCfkJ5QyuJ2X7uecCOdn/Zgc=",
"path": "./flakeC",
"type": "path"
},
"original": {
"path": "./flakeC",
"type": "path"
}
},
"foobar": {
"locked": {
"lastModified": 1716682863,
"narHash": "sha256-IO+pf/K2D8/fbgnK3VlX2eW3/IkUCgQEQKVErKatkfk=",
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeE",
"type": "path"
},
"original": {
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeE",
"type": "path"
}
},
"root": {
"inputs": {
"B": "B",
"foobar": "foobar"
}
}
},
"root": "root",
"version": 7
}'
++(follow-paths.sh:92) echo '{
"nodes": {
"B": {
"inputs": {
"C": "C",
"foobar": [
"foobar"
],
"goodoo": [
"B",
"C",
"goodoo"
]
},
"locked": {
"lastModified": 1,
"narHash": "sha256-m459S10fv+bieDbIxSu48I+oUUtYFce5VUhkfL7thKM=",
"path": "./flakeB",
"type": "path"
},
"original": {
"path": "./flakeB",
"type": "path"
}
},
"C": {
"inputs": {
"foobar": [
"B",
"foobar"
],
"goodoo": [
"B",
"C",
"foobar"
]
},
"locked": {
"lastModified": 1,
"narHash": "sha256-FJsTgIFAZSDq9IzmNRkwCfkJ5QyuJ2X7uecCOdn/Zgc=",
"path": "./flakeC",
"type": "path"
},
"original": {
"path": "./flakeC",
"type": "path"
}
},
"foobar": {
"locked": {
"lastModified": 1716682863,
"narHash": "sha256-IO+pf/K2D8/fbgnK3VlX2eW3/IkUCgQEQKVErKatkfk=",
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeE",
"type": "path"
},
"original": {
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeE",
"type": "path"
}
},
"root": {
"inputs": {
"B": "B",
"foobar": "foobar"
}
}
},
"root": "root",
"version": 7
}'
++(follow-paths.sh:94) jq -c .nodes.B.inputs.C /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flake.lock
+(follow-paths.sh:94) [[ "C" = \"\C\" ]]
++(follow-paths.sh:95) jq -c .nodes.B.inputs.foobar /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flake.lock
+(follow-paths.sh:95) [[ ["foobar"] = \[\"\f\o\o\b\a\r\"\] ]]
++(follow-paths.sh:96) jq -c .nodes.C.inputs.foobar /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flake.lock
+(follow-paths.sh:96) [[ ["B","foobar"] = \[\"\B\"\,\"\f\o\o\b\a\r\"\] ]]
+(follow-paths.sh:100) cat
+(follow-paths.sh:113) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA' is dirty
warning: updating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flake.lock':
• Updated input 'B/foobar':
follows 'foobar'
→ 'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeE?lastModified=1716682863&narHash=sha256-IO%2Bpf/K2D8/fbgnK3VlX2eW3/IkUCgQEQKVErKatkfk%3D' (2024-05-26)
• Added input 'D':
'path:./flakeD?lastModified=1&narHash=sha256-m1d/J9xsj5IWV0Ixsk5hOFkGtmk/HOZVZPytZshrCqY%3D' (1970-01-01)
• Removed input 'foobar'
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA' is dirty
++(follow-paths.sh:115) jq -c .nodes.B.inputs.foobar /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flake.lock
+(follow-paths.sh:115) [[ "foobar" = \"\f\o\o\b\a\r\" ]]
+(follow-paths.sh:116) jq -r -c '.nodes | keys | .[]' /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flake.lock
+(follow-paths.sh:116) grep '^foobar$'
+(follow-paths.sh:119) cat
+(follow-paths.sh:129) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA add flake.nix
+(follow-paths.sh:131) expect 1 nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA
+(follow-paths.sh:131) grep 'points outside'
+(follow-paths.sh:134) cat
+(follow-paths.sh:147) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA add flake.nix
+(follow-paths.sh:149) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA
+(follow-paths.sh:149) grep 'warning: input '\''B'\'' has an override for a non-existent input '\''invalid'\'''
+(follow-paths.sh:150) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA
+(follow-paths.sh:150) grep 'warning: input '\''B'\'' has an override for a non-existent input '\''invalid2'\'''
+(follow-paths.sh:172) flakeFollowsOverloadA=/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA
+(follow-paths.sh:173) flakeFollowsOverloadB=/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA/flakeB
+(follow-paths.sh:174) flakeFollowsOverloadC=/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA/flakeB/flakeC
+(follow-paths.sh:175) flakeFollowsOverloadD=/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA/flakeB/flakeC/flakeD
+(follow-paths.sh:178) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA
+(./common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA
+(./common.sh:62) local extraArgs=
+(./common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA.tmp
+(./common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA
+(./common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(./common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA config user.email foobar@example.com
+(./common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA config user.name Foobar
+(follow-paths.sh:179) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA/flakeB
+(follow-paths.sh:180) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA/flakeB/flakeC
+(follow-paths.sh:181) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA/flakeB/flakeC/flakeD
+(follow-paths.sh:183) cat
+(follow-paths.sh:191) cat
+(follow-paths.sh:199) cat
+(follow-paths.sh:213) cat
+(follow-paths.sh:227) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA add flake.nix flakeB/flake.nix flakeB/flakeC/flake.nix flakeB/flakeC/flakeD/flake.nix
+(follow-paths.sh:230) nix flake metadata /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA' is dirty
warning: creating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA/flake.lock':
• Added input 'B':
'path:./flakeB?lastModified=1&narHash=sha256-uEiIaE/Tfido7cCY856jk//YwAd3Efm03hgZ/ehjCAU%3D' (1970-01-01)
• Added input 'B/C':
follows 'C'
• Added input 'B/D':
follows 'B/C/D'
• Added input 'C':
'path:./flakeB/flakeC?lastModified=1&narHash=sha256-wPGooFw8SBNTDqsfaJhAKzZkJ39RCfWQHqPx4Flkxkc%3D' (1970-01-01)
• Added input 'C/D':
'path:./flakeD?lastModified=1&narHash=sha256-m1d/J9xsj5IWV0Ixsk5hOFkGtmk/HOZVZPytZshrCqY%3D' (1970-01-01)
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA' is dirty
+(follow-paths.sh:231) nix flake update --flake /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA' is dirty
+(follow-paths.sh:232) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/overload/flakeA' is dirty
+(follow-paths.sh:236) cat
+(follow-paths.sh:239) cat
+(follow-paths.sh:245) cat
+(follow-paths.sh:251) cat
+(follow-paths.sh:260) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA' is dirty
warning: updating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flake.lock':
• Updated input 'B':
'path:./flakeB?lastModified=1&narHash=sha256-m459S10fv%2BbieDbIxSu48I%2BoUUtYFce5VUhkfL7thKM%3D' (1970-01-01)
→ 'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeB?lastModified=1716682864&narHash=sha256-jxt9L/rjAEsplqDI1hip34bu5oozhhh0kfWsGpKWQjY%3D' (2024-05-26)
• Updated input 'B/C':
'path:./flakeC?lastModified=1&narHash=sha256-FJsTgIFAZSDq9IzmNRkwCfkJ5QyuJ2X7uecCOdn/Zgc%3D' (1970-01-01)
→ 'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeB/flakeC?lastModified=1716682864&narHash=sha256-v7kltKMtZI3qwEfg/qZGE48Hy4rHvC0K%2BuPyd9YyMco%3D' (2024-05-26)
• Added input 'B/C/D':
follows 'D'
• Removed input 'B/C/foobar'
• Removed input 'B/C/goodoo'
• Removed input 'B/foobar'
• Removed input 'B/goodoo'
• Updated input 'D':
'path:./flakeD?lastModified=1&narHash=sha256-m1d/J9xsj5IWV0Ixsk5hOFkGtmk/HOZVZPytZshrCqY%3D' (1970-01-01)
→ 'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeD?lastModified=1716682864&narHash=sha256-hTJPMh9Bwky2TlaWmLrkBHdUBmpxSCPRK%2BbmnFNpNQE%3D' (2024-05-26)
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA' is dirty
++(follow-paths.sh:262) jq -c .nodes.C.inputs.D /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flake.lock
+(follow-paths.sh:262) [[ ["D"] = \[\"\D\"\] ]]
+(follow-paths.sh:266) cat
+(follow-paths.sh:272) cat
+(follow-paths.sh:280) cat
+(follow-paths.sh:290) nix flake update --flake /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA' is dirty
warning: updating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flake.lock':
• Updated input 'B':
'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeB?lastModified=1716682864&narHash=sha256-jxt9L/rjAEsplqDI1hip34bu5oozhhh0kfWsGpKWQjY%3D' (2024-05-26)
→ 'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeB?lastModified=1716682864&narHash=sha256-pOh1JrcaVTibhhnO/7mRA4rQtFfCQRjKoHSWaDqTOGY%3D' (2024-05-26)
• Updated input 'B/C':
'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeB/flakeC?lastModified=1716682864&narHash=sha256-v7kltKMtZI3qwEfg/qZGE48Hy4rHvC0K%2BuPyd9YyMco%3D' (2024-05-26)
→ follows 'C'
• Removed input 'B/C/D'
• Added input 'B/D':
follows 'B/C/D'
• Added input 'C':
'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeB/flakeC?lastModified=1716682864&narHash=sha256-%2BDqlLdsN9EznV8H%2BjD/vWfC9DMLJv4T/qBz5/ohRCkM%3D' (2024-05-26)
• Added input 'C/D':
'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flakeD?lastModified=1716682864&narHash=sha256-hTJPMh9Bwky2TlaWmLrkBHdUBmpxSCPRK%2BbmnFNpNQE%3D' (2024-05-26)
• Removed input 'D'
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA' is dirty
++(follow-paths.sh:292) jq -c .nodes.B.inputs.D /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA/flake.lock
+(follow-paths.sh:292) [[ ["B","C","D"] = \[\"\B\"\,\"\C\"\,\"\D\"\] ]]
+(follow-paths.sh:294) cat
+(follow-paths.sh:302) cat
+(follow-paths.sh:309) nix flake update --flake /tmp/nix-shell.MrxVR3/nix-test/flakes/follow-paths/follows/flakeA
+(follow-paths.sh:309) grepQuiet 'warning: input '\''B/C'\'' has an override for a non-existent input '\''E'\'''
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'warning: input '\''B/C'\'' has an override for a non-existent input '\''E'\'''clearing store...
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/submodule/.git/
[master (root-commit) 51be236] Initial
2 files changed, 7 insertions(+)
create mode 100644 flake.nix
create mode 100644 sub.nix
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/rootRepo/.git/
[master (root-commit) 827f1fb] Add root.nix
3 files changed, 5 insertions(+)
create mode 100644 .gitmodules
create mode 100644 root.nix
create mode 160000 submodule
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) registry=/tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/registry.json
+(flake-in-submodule.sh:14) requireGit
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) type -p git
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) [[ -n /nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin/git ]]
+(flake-in-submodule.sh:16) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/test-home/.local/state/nix/profiles
+(flake-in-submodule.sh:20) export XDG_CONFIG_HOME=/tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/test-home/.config
+(flake-in-submodule.sh:20) XDG_CONFIG_HOME=/tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/test-home/.config
+(flake-in-submodule.sh:21) git config --global protocol.file.allow always
+(flake-in-submodule.sh:24) rootRepo=/tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/rootRepo
+(flake-in-submodule.sh:25) subRepo=/tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/submodule
+(flake-in-submodule.sh:28) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/submodule
+(common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/submodule
+(common.sh:62) local extraArgs=
+(common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/submodule /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/submodule.tmp
+(common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/submodule
+(common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/submodule init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/submodule config user.email foobar@example.com
+(common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/submodule config user.name Foobar
+(flake-in-submodule.sh:29) cat
+(flake-in-submodule.sh:37) echo '"expression in submodule"'
+(flake-in-submodule.sh:38) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/submodule add flake.nix sub.nix
+(flake-in-submodule.sh:39) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/submodule commit -m Initial
+(flake-in-submodule.sh:41) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/rootRepo
+(common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/rootRepo
+(common.sh:62) local extraArgs=
+(common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/rootRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/rootRepo.tmp
+(common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/rootRepo
+(common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/rootRepo init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/rootRepo config user.email foobar@example.com
+(common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/rootRepo config user.name Foobar
+(flake-in-submodule.sh:43) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/rootRepo submodule init
+(flake-in-submodule.sh:44) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/rootRepo submodule add /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/submodule submodule
Cloning into '/tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/rootRepo/submodule'...
done.
+(flake-in-submodule.sh:45) echo '"expression in root repo"'
+(flake-in-submodule.sh:46) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/rootRepo add root.nix
+(flake-in-submodule.sh:47) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/rootRepo commit -m 'Add root.nix'
++(flake-in-submodule.sh:50) nix eval --json 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/rootRepo?submodules=1&dir=submodule#sub'
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[K+(flake-in-submodule.sh:50) [[ "expression in submodule" = \"\e\x\p\r\e\s\s\i\o\n\ \i\n\ \s\u\b\m\o\d\u\l\e\" ]]
++(flake-in-submodule.sh:52) nix eval --json 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flake-in-submodule/rootRepo?submodules=1&dir=submodule#root'
\x1b[K
\x1b[K+(flake-in-submodule.sh:52) [[ "expression in root repo" = \"\e\x\p\r\e\s\s\i\o\n\ \i\n\ \r\o\o\t\ \r\e\p\o\" ]][SKIP]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/user-envs-migration
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/user-envs-migration
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/user-envs-migration
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/user-envs-migration
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/user-envs-migration
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/user-envs-migration/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/user-envs-migration/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/user-envs-migration/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/user-envs-migration/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/user-envs-migration/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/user-envs-migration/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(user-envs-migration.sh:6) isDaemonNewer 2.4pre20211005
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
+(user-envs-migration.sh:7) skipTest 'Daemon is too new'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:154) echo 'Daemon is too new, skipping this test...'
Daemon is too new, skipping this test...
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:155) exit 99Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs/.git/
[master (root-commit) 7cf7b53] Initial
4 files changed, 66 insertions(+)
create mode 100644 config.nix
create mode 100644 flake.nix
create mode 100644 simple.builder.sh
create mode 100644 simple.nix
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/init/templates/.git/
[master (root-commit) de81618] 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
\x1b[1mgit+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/init/templates?ref=refs/heads/master&rev=de81618c59c11e8fb444d3947f61178df77d42d8\x1b[0m
\x1b[32;1m└───\x1b[0m\x1b[1mtemplates\x1b[0m
\x1b[32;1m ├───\x1b[0m\x1b[1mdefault\x1b[0m: template: \x1b[1mA trivial flake\x1b[0m
\x1b[32;1m └───\x1b[0m\x1b[1mtrivial\x1b[0m: template: \x1b[1mA trivial flake\x1b[0m
{
"templates": {
"default": {
"description": "A trivial flake",
"type": "template"
},
"trivial": {
"description": "A trivial flake",
"type": "template"
}
}
}
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake/.git/
\x1b[1mgit+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake\x1b[0m
\x1b[32;1m└───\x1b[0m\x1b[1mpackages\x1b[0m
\x1b[32;1m └───\x1b[0m\x1b[1mx86_64-linux\x1b[0m
\x1b[32;1m ├───\x1b[0m\x1b[1mdefault\x1b[0m: package 'simple'
\x1b[32;1m └───\x1b[0m\x1b[1mhello\x1b[0m: package 'simple'
{
"packages": {
"x86_64-linux": {
"default": {
"name": "simple",
"type": "derivation"
},
"hello": {
"name": "simple",
"type": "derivation"
}
}
}
}
[master (root-commit) a9dfb93] Initial
4 files changed, 38 insertions(+)
create mode 100644 a
create mode 100644 b
create mode 100644 flake.lock
create mode 100644 flake.nix
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake/.git/
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake/.git/
/tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake /lix-src/build/tests/functional/flakes
\x1b[K
\x1b[Krefusing to overwrite existing file '/tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake/a'
/lix-src/build/tests/functional/flakes
[master (root-commit) 2c9b61f] Changed
2 files changed, 11 insertions(+)
create mode 100644 b
create mode 100644 flake.nix
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/flakes/init
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/flakes/init
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/flakes/init
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/init
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/init
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/init/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/init/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/init/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/init/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/init/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/flakes/init/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(./common.sh:3) registry=/tmp/nix-shell.MrxVR3/nix-test/flakes/init/registry.json
+(init.sh:3) requireGit
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) type -p git
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) [[ -n /nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin/git ]]
+(init.sh:5) templatesDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/init/templates
+(init.sh:6) flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
+(init.sh:7) nixpkgsDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs
+(init.sh:9) nix registry add --registry /tmp/nix-shell.MrxVR3/nix-test/flakes/init/registry.json templates git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/init/templates
+(init.sh:10) nix registry add --registry /tmp/nix-shell.MrxVR3/nix-test/flakes/init/registry.json nixpkgs git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs
+(init.sh:12) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs
+(./common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs
+(./common.sh:62) local extraArgs=
+(./common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs /tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs.tmp
+(./common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs
+(./common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(./common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs config user.email foobar@example.com
+(./common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs config user.name Foobar
+(init.sh:13) createSimpleGitFlake /tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs
+(./common.sh:31) local flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs
+(./common.sh:32) writeSimpleFlake /tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs
+(./common.sh:6) local flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs
+(./common.sh:7) cat
+(./common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs/
+(./common.sh:33) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs add flake.nix simple.nix simple.builder.sh config.nix
+(./common.sh:34) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs commit -m Initial
+(init.sh:16) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/init/templates
+(./common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/init/templates
+(./common.sh:62) local extraArgs=
+(./common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/init/templates /tmp/nix-shell.MrxVR3/nix-test/flakes/init/templates.tmp
+(./common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/init/templates
+(./common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/templates init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(./common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/templates config user.email foobar@example.com
+(./common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/templates config user.name Foobar
+(init.sh:18) cat
+(init.sh:37) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/init/templates/trivial
+(init.sh:39) cat
+(init.sh:51) echo a
+(init.sh:52) echo b
+(init.sh:54) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/templates add flake.nix trivial/
+(init.sh:55) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/templates commit -m Initial
+(init.sh:57) nix flake check templates
\x1b[K
\x1b[Kevaluating flake...
checking flake output 'templates'...
checking template 'templates.trivial'...
checking template 'templates.default'...
+(init.sh:58) nix flake show templates
\x1b[K
\x1b[Kevaluating ''...
evaluating 'templates'...
evaluating 'templates.default'...
evaluating 'templates.trivial'...
+(init.sh:59) nix flake show templates --json
+(init.sh:59) jq
\x1b[K
\x1b[Kevaluating ''...
evaluating 'templates'...
evaluating 'templates.default'...
evaluating 'templates.trivial'...
+(init.sh:61) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
+(./common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
+(./common.sh:62) local extraArgs=
+(./common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake.tmp
+(./common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
+(./common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(./common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake config user.email foobar@example.com
+(./common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake config user.name Foobar
+(init.sh:62) cd /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
+(init.sh:62) nix flake init
\x1b[K
\x1b[Kwrote: /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake/a
wrote: /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake/b
wrote: /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake/flake.nix
Welcome to my trivial flake
+(init.sh:63) cd /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
+(init.sh:63) nix flake init
\x1b[K
\x1b[Kskipping identical file: /tmp/nix-shell.MrxVR3/nix-test/flakes/init/store/ablr083f08lkj1sq8ql5yh50cgi2mbqg-source/trivial/a
skipping identical file: /tmp/nix-shell.MrxVR3/nix-test/flakes/init/store/ablr083f08lkj1sq8ql5yh50cgi2mbqg-source/trivial/b
skipping identical file: /tmp/nix-shell.MrxVR3/nix-test/flakes/init/store/ablr083f08lkj1sq8ql5yh50cgi2mbqg-source/trivial/flake.nix
Welcome to my trivial flake
+(init.sh:64) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake add flake.nix
+(init.sh:65) nix flake check /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake' is dirty
\x1b[K
\x1b[Kwarning: creating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake/flake.lock':
• Added input 'nixpkgs':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs?ref=refs/heads/master&rev=7cf7b5385dcc7f3993e6e789f294818d0bd67ec7' (2024-05-26)
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake' is dirty
evaluating flake...
checking flake output 'packages'...
checking derivation packages.x86_64-linux.hello...
derivation evaluated to /tmp/nix-shell.MrxVR3/nix-test/flakes/init/store/0rrz8jvbxq716j24jsbfr5asnans6zwh-simple.drv
checking derivation packages.x86_64-linux.default...
derivation evaluated to /tmp/nix-shell.MrxVR3/nix-test/flakes/init/store/0rrz8jvbxq716j24jsbfr5asnans6zwh-simple.drv
+(init.sh:66) nix flake show /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake' is dirty
evaluating ''...
evaluating 'packages'...
evaluating 'packages.x86_64-linux'...
evaluating 'packages.x86_64-linux.default'...
evaluating 'packages.x86_64-linux.hello'...
+(init.sh:67) nix flake show /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake --json
+(init.sh:67) jq
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake' is dirty
evaluating ''...
evaluating 'packages'...
evaluating 'packages.x86_64-linux'...
evaluating 'packages.x86_64-linux.default'...
evaluating 'packages.x86_64-linux.hello'...
+(init.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake commit -a -m Initial
+(init.sh:71) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
+(./common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
+(./common.sh:62) local extraArgs=
+(./common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake.tmp
+(./common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
+(./common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(./common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake config user.email foobar@example.com
+(./common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake config user.name Foobar
+(init.sh:72) echo a
+(init.sh:73) cd /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
+(init.sh:73) nix flake init
\x1b[K
\x1b[Kskipping identical file: /tmp/nix-shell.MrxVR3/nix-test/flakes/init/store/ablr083f08lkj1sq8ql5yh50cgi2mbqg-source/trivial/a
wrote: /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake/b
wrote: /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake/flake.nix
Welcome to my trivial flake
+(init.sh:76) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
+(./common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
+(./common.sh:62) local extraArgs=
+(./common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake.tmp
+(./common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
+(./common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(./common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake config user.email foobar@example.com
+(./common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake config user.name Foobar
+(init.sh:77) echo b
+(init.sh:78) pushd /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
+(init.sh:79) grep 'refusing to overwrite existing file '\''/tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake/a'\'''
+(init.sh:80) popd
+(init.sh:81) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake commit -a -m Changed
+(init.sh:84) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
+(init.sh:85) nix flake new -t templates#trivial /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
\x1b[K
\x1b[Kwrote: /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake/a
wrote: /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake/b
wrote: /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake/flake.nix
Welcome to my trivial flake
+(init.sh:86) nix flake new -t templates#trivial /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
\x1b[K
\x1b[Kskipping identical file: /tmp/nix-shell.MrxVR3/nix-test/flakes/init/store/ablr083f08lkj1sq8ql5yh50cgi2mbqg-source/trivial/a
skipping identical file: /tmp/nix-shell.MrxVR3/nix-test/flakes/init/store/ablr083f08lkj1sq8ql5yh50cgi2mbqg-source/trivial/b
skipping identical file: /tmp/nix-shell.MrxVR3/nix-test/flakes/init/store/ablr083f08lkj1sq8ql5yh50cgi2mbqg-source/trivial/flake.nix
Welcome to my trivial flake
+(init.sh:87) nix flake check /tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake
\x1b[K
\x1b[Kwarning: creating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/init/flake/flake.lock':
• Added input 'nixpkgs':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/init/nixpkgs?ref=refs/heads/master&rev=7cf7b5385dcc7f3993e6e789f294818d0bd67ec7' (2024-05-26)
evaluating flake...
checking flake output 'packages'...
checking derivation packages.x86_64-linux.hello...
derivation evaluated to /tmp/nix-shell.MrxVR3/nix-test/flakes/init/store/0rrz8jvbxq716j24jsbfr5asnans6zwh-simple.drv
checking derivation packages.x86_64-linux.default...
derivation evaluated to /tmp/nix-shell.MrxVR3/nix-test/flakes/init/store/0rrz8jvbxq716j24jsbfr5asnans6zwh-simple.drvclearing store...
true
true
true
[FAIL]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/user-envs
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/user-envs
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/user-envs
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/user-envs
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/user-envs
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/user-envs/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/user-envs/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/user-envs/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/user-envs/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/user-envs/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/user-envs/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(user-envs.sh:3) '[' -z '' ']'
+(user-envs.sh:4) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/user-envs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/user-envs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/user-envs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/user-envs/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/user-envs/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/user-envs/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/user-envs/test-home/.local/state/nix/profiles
+(user-envs.sh:7) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/user-envs/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/user-envs/test-home/.local/state/nix/profiles
++(user-envs.sh:10) nix-env -p /tmp/nix-shell.MrxVR3/nix-test/user-envs/test-home/.local/state/nix/profiles/test -q '*'
++(user-envs.sh:10) wc -l
+(user-envs.sh:10) test 0 -eq 0
+(user-envs.sh:12) nix-env --switch-profile /tmp/nix-shell.MrxVR3/nix-test/user-envs/test-home/.local/state/nix/profiles/test
++(user-envs.sh:15) nix-env -f ./user-envs.nix -qa '*'
++(user-envs.sh:15) wc -l
+(user-envs.sh:15) test 6 -eq 6
++(user-envs.sh:16) nix-env -f ./user-envs.nix -qa --out-path --no-name '*'
++(user-envs.sh:16) grep foo-1.0
+(user-envs.sh:16) outPath10=/tmp/nix-shell.MrxVR3/nix-test/user-envs/store/bswh16s3nyx742hinsr58y6k35j64i14-foo-1.0
++(user-envs.sh:17) nix-env -f ./user-envs.nix -qa --drv-path --no-name '*'
++(user-envs.sh:17) grep foo-1.0
+(user-envs.sh:17) drvPath10=/tmp/nix-shell.MrxVR3/nix-test/user-envs/store/m59fyr6ffi5mk45vx3z5j5xc980v2y8l-foo-1.0.drv
+(user-envs.sh:18) '[' -n /tmp/nix-shell.MrxVR3/nix-test/user-envs/store/bswh16s3nyx742hinsr58y6k35j64i14-foo-1.0 -a -n /tmp/nix-shell.MrxVR3/nix-test/user-envs/store/m59fyr6ffi5mk45vx3z5j5xc980v2y8l-foo-1.0.drv ']'
+(user-envs.sh:21) nix-env -f ./user-envs.nix -qa --json
+(user-envs.sh:21) jq -e '.[] | select(.name == "bar-0.1") | [
.outputName == "out",
.outputs.out == null
] | all'
+(user-envs.sh:25) nix-env -f ./user-envs.nix -qa --json --out-path
+(user-envs.sh:25) jq -e '.[] | select(.name == "bar-0.1") | [
.outputName == "out",
(.outputs.out | test("/tmp/nix-shell.MrxVR3/nix-test/user-envs/store.*-0\\.1"))
] | all'
+(user-envs.sh:29) nix-env -f ./user-envs.nix -qa --json --drv-path
+(user-envs.sh:29) jq -e '.[] | select(.name == "bar-0.1") | (.drvPath | test("/tmp/nix-shell.MrxVR3/nix-test/user-envs/store.*-0\\.1\\.drv"))'
+(user-envs.sh:32) nix-env -f ./user-envs.nix -qa '*' --description
+(user-envs.sh:32) grepQuiet silly
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep silly
+(user-envs.sh:33) rm -rf /tmp/nix-shell.MrxVR3/nix-test/user-envs/test-home/.nix-defexpr
++(user-envs.sh:34) pwd
+(user-envs.sh:34) ln -s /lix-src/build/tests/functional/user-envs.nix /tmp/nix-shell.MrxVR3/nix-test/user-envs/test-home/.nix-defexpr
+(user-envs.sh:35) nix-env -qa '*' --description
+(user-envs.sh:35) grepQuiet silly
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep silly
+(user-envs.sh:38) nix-env -qa '*' --system
+(user-envs.sh:38) grepQuiet x86_64-linux
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep x86_64-linux
+(user-envs.sh:41) nix-env -i foo-1.0
installing 'foo-1.0'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/user-envs/store/m59fyr6ffi5mk45vx3z5j5xc980v2y8l-foo-1.0.drv
building '/tmp/nix-shell.MrxVR3/nix-test/user-envs/store/m59fyr6ffi5mk45vx3z5j5xc980v2y8l-foo-1.0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/user-envs/store/gqr8n0qzpsba0cflm28zffflmf0xr4r2-user-environment.drv'...
error: opening lock file '/tmp/nix-shell.MrxVR3/nix-test/user-envs/test-home/.local/state/nix/profiles/test.lock': No such file or directory
++(user-envs.sh:41) onError
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
user-envs.sh: test failed at:
main in user-envs.sh:41[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/experimental-features
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/experimental-features
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/experimental-features
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/experimental-features
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/experimental-features
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/experimental-features/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/experimental-features/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/experimental-features/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/experimental-features/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/experimental-features/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/experimental-features/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(experimental-features.sh:34) NIX_CONFIG='
experimental-features = nix-command
accept-flake-config = true
'
+(experimental-features.sh:34) nix config show accept-flake-config
+(experimental-features.sh:35) grepQuiet false /tmp/nix-shell.MrxVR3/nix-test/experimental-features/stdout
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep false /tmp/nix-shell.MrxVR3/nix-test/experimental-features/stdout
+(experimental-features.sh:36) grepQuiet 'Ignoring setting '\''accept-flake-config'\'' because experimental feature '\''flakes'\'' is not enabled' /tmp/nix-shell.MrxVR3/nix-test/experimental-features/stderr
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'Ignoring setting '\''accept-flake-config'\'' because experimental feature '\''flakes'\'' is not enabled' /tmp/nix-shell.MrxVR3/nix-test/experimental-features/stderr
+(experimental-features.sh:42) NIX_CONFIG='
accept-flake-config = true
experimental-features = nix-command
'
+(experimental-features.sh:42) nix config show accept-flake-config
+(experimental-features.sh:43) grepQuiet false /tmp/nix-shell.MrxVR3/nix-test/experimental-features/stdout
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep false /tmp/nix-shell.MrxVR3/nix-test/experimental-features/stdout
+(experimental-features.sh:44) grepQuiet 'Ignoring setting '\''accept-flake-config'\'' because experimental feature '\''flakes'\'' is not enabled' /tmp/nix-shell.MrxVR3/nix-test/experimental-features/stderr
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'Ignoring setting '\''accept-flake-config'\'' because experimental feature '\''flakes'\'' is not enabled' /tmp/nix-shell.MrxVR3/nix-test/experimental-features/stderr
+(experimental-features.sh:50) NIX_CONFIG='
experimental-features = nix-command flakes
accept-flake-config = true
'
+(experimental-features.sh:50) nix config show accept-flake-config
+(experimental-features.sh:51) grepQuiet true /tmp/nix-shell.MrxVR3/nix-test/experimental-features/stdout
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep true /tmp/nix-shell.MrxVR3/nix-test/experimental-features/stdout
+(experimental-features.sh:52) grepQuietInverse 'Ignoring setting '\''accept-flake-config'\''' /tmp/nix-shell.MrxVR3/nix-test/experimental-features/stderr
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:269) grep 'Ignoring setting '\''accept-flake-config'\''' /tmp/nix-shell.MrxVR3/nix-test/experimental-features/stderr
+(experimental-features.sh:58) NIX_CONFIG='
accept-flake-config = true
experimental-features = nix-command flakes
'
+(experimental-features.sh:58) nix config show accept-flake-config
+(experimental-features.sh:59) grepQuiet true /tmp/nix-shell.MrxVR3/nix-test/experimental-features/stdout
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep true /tmp/nix-shell.MrxVR3/nix-test/experimental-features/stdout
+(experimental-features.sh:60) grepQuietInverse 'Ignoring setting '\''accept-flake-config'\''' /tmp/nix-shell.MrxVR3/nix-test/experimental-features/stderr
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:269) grep 'Ignoring setting '\''accept-flake-config'\''' /tmp/nix-shell.MrxVR3/nix-test/experimental-features/stderr
+(experimental-features.sh:71) exit_code_both_ways show-config --flake-registry https://no
+(experimental-features.sh:63) expect 1 nix --experimental-features nix-command show-config --flake-registry https://no
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) nix --experimental-features nix-command show-config --flake-registry https://no
warning: 'show-config' is a deprecated alias for 'config show'
warning: Ignoring setting 'flake-registry' because experimental feature 'flakes' is not enabled
error: experimental Nix feature 'flakes' is disabled; use '--extra-experimental-features flakes' to override
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(experimental-features.sh:64) nix --experimental-features 'nix-command flakes' show-config --flake-registry https://no
warning: 'show-config' is a deprecated alias for 'config show'
+(experimental-features.sh:67) expect 1 nix show-config --flake-registry https://no --experimental-features nix-command
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) nix show-config --flake-registry https://no --experimental-features nix-command
warning: 'show-config' is a deprecated alias for 'config show'
error: experimental Nix feature 'flakes' is disabled; use '--extra-experimental-features flakes' to override
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(experimental-features.sh:68) nix show-config --flake-registry https://no --experimental-features 'nix-command flakes'
warning: 'show-config' is a deprecated alias for 'config show'
+(experimental-features.sh:74) nix --experimental-features '' --help
+(experimental-features.sh:75) nix --experimental-features '' doctor --help
+(experimental-features.sh:76) nix --experimental-features '' repl --help
+(experimental-features.sh:77) nix --experimental-features '' upgrade-nix --help
+(experimental-features.sh:83) for arg in '--print-build-logs' '--offline' '--refresh'
+(experimental-features.sh:84) nix --experimental-features nix-command --print-build-logs --help
+(experimental-features.sh:85) expect 1 nix --experimental-features '' --print-build-logs --help
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) nix --experimental-features '' --print-build-logs --help
error: experimental Nix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(experimental-features.sh:83) for arg in '--print-build-logs' '--offline' '--refresh'
+(experimental-features.sh:84) nix --experimental-features nix-command --offline --help
+(experimental-features.sh:85) expect 1 nix --experimental-features '' --offline --help
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) nix --experimental-features '' --offline --help
error: experimental Nix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(experimental-features.sh:83) for arg in '--print-build-logs' '--offline' '--refresh'
+(experimental-features.sh:84) nix --experimental-features nix-command --refresh --help
+(experimental-features.sh:85) expect 1 nix --experimental-features '' --refresh --help
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) nix --experimental-features '' --refresh --help
error: experimental Nix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0clearing store...
1
1
[INFO] You are trusted by store uri: daemon
true
true
true
[FAIL]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/remote-store
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/remote-store
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/remote-store
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/remote-store
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/remote-store
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/remote-store/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/remote-store/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/remote-store/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/remote-store/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/remote-store/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/remote-store/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(remote-store.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/remote-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/remote-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/remote-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/remote-store/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/remote-store/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/remote-store/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/remote-store/test-home/.local/state/nix/profiles
+(remote-store.sh:6) nix --store 'ssh-ng://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/remote-store/other-store' doctor
Running checks against store uri: ssh-ng://localhost
\x1b[K[PASS] Client protocol matches store protocol.
[INFO] You are trusted by store uri: ssh-ng://localhost
+(remote-store.sh:9) nix --store 'ssh-ng://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/remote-store/other-store' store ping --json
+(remote-store.sh:9) jq -e .trusted
\x1b[K+(remote-store.sh:11) startDaemon
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:91) [[ '' != '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:95) rm -f /tmp/nix-shell.MrxVR3/nix-test/remote-store/dSocket
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:97) _NIX_TEST_DAEMON_PID=25055
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:98) export _NIX_TEST_DAEMON_PID
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:99) (( i = 0 ))
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:99) (( i < 300 ))
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:100) [[ -S /tmp/nix-shell.MrxVR3/nix-test/remote-store/dSocket ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:104) sleep 0.1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:96) PATH=/lix-src/outputs/out/bin:/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:/lix-src/outputs/out/bin:/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6/bin:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/bin:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/bin:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6/bin:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/bin:/nix/store/cww3k56xakjzf71wjc4jwcj7r95m97a1-glibc-2.38-66-bin/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40/bin:/nix/store/01bi48ga8vzbz4zgh7g3bsl620cj27kj-binutils-2.40/bin:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/bin:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/bin:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/bin:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/bin:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/bin:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3/bin:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6/bin:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/bin:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0/bin:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers/bin:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes/bin:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt/bin:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0/bin:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/bin:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/bin:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/bin:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/bin:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/bin:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/bin:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7/bin:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/bin:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/bin:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7/bin:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/bin:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin:/tools:/bin
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:96) nix --extra-experimental-features nix-command daemon
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:99) (( i++ ))
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:99) (( i < 300 ))
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:100) [[ -S /tmp/nix-shell.MrxVR3/nix-test/remote-store/dSocket ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:101) DAEMON_STARTED=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:102) break
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:106) [[ -z x ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:109) trap killDaemon EXIT
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:111) NIX_REMOTE_OLD=
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:112) export NIX_REMOTE=daemon
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:112) NIX_REMOTE=daemon
+(remote-store.sh:13) isDaemonNewer 2.15pre0
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
+(remote-store.sh:15) nix store ping --json
+(remote-store.sh:15) jq -e .trusted
accepted connection from pid 25148, user root (trusted)
+(remote-store.sh:17) grep 'You are trusted by'
accepted connection from pid 25236, user root (trusted)
++(remote-store.sh:20) nix eval --impure --raw --file ./ifd.nix
accepted connection from pid 25307, user root (trusted)
building '/tmp/nix-shell.MrxVR3/nix-test/remote-store/store/3jnpxf2rm65x2myvdp5hpjaazaksfjw9-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/remote-store/store/3xrfd4dx8ygagq5jl1sgzzvdbxv0scqj-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/remote-store/store/0bgj9jzdzav99wljsrq22fg4066w66vb-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/remote-store/store/3p59lm1jgddwhvldrsm91wnjrzkr1z7g-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/remote-store/store/4zd50b0rmhxq6a2sjnyig6ai2zrks67a-dependencies-top.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/remote-store/store/b4wfs537jkjkqfjb36rclvxh6mw0pnjw-foo.drv'...
+(remote-store.sh:20) [[ hi = hi ]]
+(remote-store.sh:22) storeCleared=1
+(remote-store.sh:22) NIX_REMOTE_=daemon
+(remote-store.sh:22) /nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash ./user-envs.sh
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(./user-envs.sh:3) '[' -z 1 ']'
+(./user-envs.sh:7) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/remote-store/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/remote-store/test-home/.local/state/nix/profiles
++(./user-envs.sh:10) nix-env -p /tmp/nix-shell.MrxVR3/nix-test/remote-store/test-home/.local/state/nix/profiles/test -q '*'
++(./user-envs.sh:10) wc -l
+(./user-envs.sh:10) test 0 -eq 0
+(./user-envs.sh:12) nix-env --switch-profile /tmp/nix-shell.MrxVR3/nix-test/remote-store/test-home/.local/state/nix/profiles/test
++(./user-envs.sh:15) nix-env -f ./user-envs.nix -qa '*'
++(./user-envs.sh:15) wc -l
+(./user-envs.sh:15) test 6 -eq 6
++(./user-envs.sh:16) grep foo-1.0
++(./user-envs.sh:16) nix-env -f ./user-envs.nix -qa --out-path --no-name '*'
+(./user-envs.sh:16) outPath10=/tmp/nix-shell.MrxVR3/nix-test/remote-store/store/wdifi45jd50hjwxi9bw7ga7z80g2ds8i-foo-1.0
++(./user-envs.sh:17) nix-env -f ./user-envs.nix -qa --drv-path --no-name '*'
++(./user-envs.sh:17) grep foo-1.0
+(./user-envs.sh:17) drvPath10=/tmp/nix-shell.MrxVR3/nix-test/remote-store/store/zk0334vlyz5daykgmm674m5l4mm7mdz6-foo-1.0.drv
+(./user-envs.sh:18) '[' -n /tmp/nix-shell.MrxVR3/nix-test/remote-store/store/wdifi45jd50hjwxi9bw7ga7z80g2ds8i-foo-1.0 -a -n /tmp/nix-shell.MrxVR3/nix-test/remote-store/store/zk0334vlyz5daykgmm674m5l4mm7mdz6-foo-1.0.drv ']'
+(./user-envs.sh:21) jq -e '.[] | select(.name == "bar-0.1") | [
.outputName == "out",
.outputs.out == null
] | all'
+(./user-envs.sh:21) nix-env -f ./user-envs.nix -qa --json
+(./user-envs.sh:25) nix-env -f ./user-envs.nix -qa --json --out-path
+(./user-envs.sh:25) jq -e '.[] | select(.name == "bar-0.1") | [
.outputName == "out",
(.outputs.out | test("/tmp/nix-shell.MrxVR3/nix-test/remote-store/store.*-0\\.1"))
] | all'
+(./user-envs.sh:29) nix-env -f ./user-envs.nix -qa --json --drv-path
+(./user-envs.sh:29) jq -e '.[] | select(.name == "bar-0.1") | (.drvPath | test("/tmp/nix-shell.MrxVR3/nix-test/remote-store/store.*-0\\.1\\.drv"))'
+(./user-envs.sh:32) nix-env -f ./user-envs.nix -qa '*' --description
+(./user-envs.sh:32) grepQuiet silly
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep silly
+(./user-envs.sh:33) rm -rf /tmp/nix-shell.MrxVR3/nix-test/remote-store/test-home/.nix-defexpr
++(./user-envs.sh:34) pwd
+(./user-envs.sh:34) ln -s /lix-src/build/tests/functional/user-envs.nix /tmp/nix-shell.MrxVR3/nix-test/remote-store/test-home/.nix-defexpr
+(./user-envs.sh:35) nix-env -qa '*' --description
+(./user-envs.sh:35) grepQuiet silly
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep silly
+(./user-envs.sh:38) nix-env -qa '*' --system
+(./user-envs.sh:38) grepQuiet x86_64-linux
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep x86_64-linux
+(./user-envs.sh:41) nix-env -i foo-1.0
installing 'foo-1.0'
accepted connection from pid 26219, user root (trusted)
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/remote-store/store/zk0334vlyz5daykgmm674m5l4mm7mdz6-foo-1.0.drv
building '/tmp/nix-shell.MrxVR3/nix-test/remote-store/store/zk0334vlyz5daykgmm674m5l4mm7mdz6-foo-1.0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/remote-store/store/0wj69dlmqsr2wgbb28dl543biym2s2cj-user-environment.drv'...
error: opening lock file '/tmp/nix-shell.MrxVR3/nix-test/remote-store/test-home/.local/state/nix/profiles/test.lock': No such file or directory
++(./user-envs.sh:41) onError
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
./user-envs.sh: test failed at:
main in ./user-envs.sh:41
++(remote-store.sh:22) onError
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
remote-store.sh: test failed at:
main in remote-store.sh:22clearing store...
8 store paths deleted, 0.00 MiB freed
8 store paths deleted, 0.00 MiB freed
8 store paths deleted, 0.00 MiB freed
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(nix-collect-garbage-d.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/test-home/.local/state/nix/profiles
+(nix-collect-garbage-d.sh:24) testCollectGarbageD
+(nix-collect-garbage-d.sh:11) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/test-home/.local/state/nix/profiles
+(nix-collect-garbage-d.sh:14) nix-env -f ./user-envs.nix -i foo-1.0
installing 'foo-1.0'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/h6pz04k8nxngnan0jq94vh4syq2zx09m-foo-1.0.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/h6pz04k8nxngnan0jq94vh4syq2zx09m-foo-1.0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/zz1cg4722dyc0xid9qd77hxdm27zz2dy-user-environment.drv'...
+(nix-collect-garbage-d.sh:15) nix-env -f ./user-envs.nix -i foo-2.0pre1
replacing old 'foo-1.0'
installing 'foo-2.0pre1'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/k0p1pdg5qbxgqf0214jj6r1vy27md0pp-foo-2.0pre1.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/k0p1pdg5qbxgqf0214jj6r1vy27md0pp-foo-2.0pre1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/y98by7s4jzgj01h4250fnjqjnwi7ss35-user-environment.drv'...
++(nix-collect-garbage-d.sh:16) nix-env --list-generations
++(nix-collect-garbage-d.sh:16) wc -l
+(nix-collect-garbage-d.sh:16) [[ 2 -eq 2 ]]
+(nix-collect-garbage-d.sh:20) nix-collect-garbage -d
removing old generations of profile /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/root/profile
removing profile version 1
removing old generations of profile /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/root/profile
finding garbage collector roots...
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/gcroots/auto/9p60w6bbvy7845sxc78xddal9illayp4' to '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/root/profile-1-link'
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/k0p1pdg5qbxgqf0214jj6r1vy27md0pp-foo-2.0pre1.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/h6pz04k8nxngnan0jq94vh4syq2zx09m-foo-1.0.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/dnlawmv5b6pzcd63i8s4jy3rd0jnd7lc-user-envs.builder.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/imqg8i3y9dpnbqanw524c19w9x5f21h7-user-environment'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/zz1cg4722dyc0xid9qd77hxdm27zz2dy-user-environment.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/4dyg7kq7j7c3pm5fxk88f2z68xrv5ixy-env-manifest.nix'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/kiyrdbfxy6akzv0qv41mihyi8p8m7srs-foo-1.0'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/y98by7s4jzgj01h4250fnjqjnwi7ss35-user-environment.drv'
deleting unused links...
note: currently hard linking saves -0.00 MiB
++(nix-collect-garbage-d.sh:21) nix-env --list-generations
++(nix-collect-garbage-d.sh:21) wc -l
+(nix-collect-garbage-d.sh:21) [[ 1 -eq 1 ]]
+(nix-collect-garbage-d.sh:27) rm /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/test-home/.nix-profile
+(nix-collect-garbage-d.sh:28) ln -s /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/blah /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/test-home/.nix-profile
+(nix-collect-garbage-d.sh:29) testCollectGarbageD
+(nix-collect-garbage-d.sh:11) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/test-home/.local/state/nix/profiles
+(nix-collect-garbage-d.sh:14) nix-env -f ./user-envs.nix -i foo-1.0
installing 'foo-1.0'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/h6pz04k8nxngnan0jq94vh4syq2zx09m-foo-1.0.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/h6pz04k8nxngnan0jq94vh4syq2zx09m-foo-1.0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/zz1cg4722dyc0xid9qd77hxdm27zz2dy-user-environment.drv'...
+(nix-collect-garbage-d.sh:15) nix-env -f ./user-envs.nix -i foo-2.0pre1
replacing old 'foo-1.0'
installing 'foo-2.0pre1'
++(nix-collect-garbage-d.sh:16) nix-env --list-generations
++(nix-collect-garbage-d.sh:16) wc -l
+(nix-collect-garbage-d.sh:16) [[ 2 -eq 2 ]]
+(nix-collect-garbage-d.sh:20) nix-collect-garbage -d
removing old generations of profile /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/blah
removing profile version 1
removing old generations of profile /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/gcroots/auto/vvmjk958p386iixcqbp6mrhwf6va4wmx
removing old generations of profile /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/gcroots/auto/47lx39ydvmfbmpfigmdzhrm8j8rx5196
removing old generations of profile /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/gcroots/auto/ygyqsl5aqvv02bmc69949l5xqa8mpvzc
removing old generations of profile /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/root/profile
removing old generations of profile /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/root/profile
removing old generations of profile /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/root/profile
finding garbage collector roots...
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/gcroots/auto/vvmjk958p386iixcqbp6mrhwf6va4wmx' to '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/blah-1-link'
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/k0p1pdg5qbxgqf0214jj6r1vy27md0pp-foo-2.0pre1.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/h6pz04k8nxngnan0jq94vh4syq2zx09m-foo-1.0.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/dnlawmv5b6pzcd63i8s4jy3rd0jnd7lc-user-envs.builder.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/imqg8i3y9dpnbqanw524c19w9x5f21h7-user-environment'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/zz1cg4722dyc0xid9qd77hxdm27zz2dy-user-environment.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/4dyg7kq7j7c3pm5fxk88f2z68xrv5ixy-env-manifest.nix'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/kiyrdbfxy6akzv0qv41mihyi8p8m7srs-foo-1.0'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/y98by7s4jzgj01h4250fnjqjnwi7ss35-user-environment.drv'
deleting unused links...
note: currently hard linking saves -0.00 MiB
++(nix-collect-garbage-d.sh:21) nix-env --list-generations
++(nix-collect-garbage-d.sh:21) wc -l
+(nix-collect-garbage-d.sh:21) [[ 1 -eq 1 ]]
+(nix-collect-garbage-d.sh:39) rm /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/test-home/.nix-profile
+(nix-collect-garbage-d.sh:40) testCollectGarbageD --profile /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/me
+(nix-collect-garbage-d.sh:11) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/test-home/.local/state/nix/profiles
+(nix-collect-garbage-d.sh:14) nix-env -f ./user-envs.nix -i foo-1.0 --profile /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/me
installing 'foo-1.0'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/h6pz04k8nxngnan0jq94vh4syq2zx09m-foo-1.0.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/h6pz04k8nxngnan0jq94vh4syq2zx09m-foo-1.0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/zz1cg4722dyc0xid9qd77hxdm27zz2dy-user-environment.drv'...
+(nix-collect-garbage-d.sh:15) nix-env -f ./user-envs.nix -i foo-2.0pre1 --profile /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/me
replacing old 'foo-1.0'
installing 'foo-2.0pre1'
++(nix-collect-garbage-d.sh:16) nix-env --list-generations --profile /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/me
++(nix-collect-garbage-d.sh:16) wc -l
+(nix-collect-garbage-d.sh:16) [[ 2 -eq 2 ]]
+(nix-collect-garbage-d.sh:20) nix-collect-garbage -d
removing old generations of profile /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/me
removing profile version 1
removing old generations of profile /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/root/profile
removing old generations of profile /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/root/profile
finding garbage collector roots...
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/gcroots/auto/hqsk5j9ckpkpndd2725iixski9dpfkwl' to '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/me-1-link'
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/k0p1pdg5qbxgqf0214jj6r1vy27md0pp-foo-2.0pre1.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/h6pz04k8nxngnan0jq94vh4syq2zx09m-foo-1.0.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/dnlawmv5b6pzcd63i8s4jy3rd0jnd7lc-user-envs.builder.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/imqg8i3y9dpnbqanw524c19w9x5f21h7-user-environment'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/zz1cg4722dyc0xid9qd77hxdm27zz2dy-user-environment.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/4dyg7kq7j7c3pm5fxk88f2z68xrv5ixy-env-manifest.nix'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/kiyrdbfxy6akzv0qv41mihyi8p8m7srs-foo-1.0'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/store/y98by7s4jzgj01h4250fnjqjnwi7ss35-user-environment.drv'
deleting unused links...
note: currently hard linking saves -0.00 MiB
++(nix-collect-garbage-d.sh:21) nix-env --list-generations --profile /tmp/nix-shell.MrxVR3/nix-test/nix-collect-garbage-d/var/nix/profiles/per-user/me
++(nix-collect-garbage-d.sh:21) wc -l
+(nix-collect-garbage-d.sh:21) [[ 1 -eq 1 ]]clearing store...
clearing store...
clearing store...
clearing store...
clearing store...
clearing store...
clearing store...
clearing store...
clearing store...
clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) enableFeatures ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/etc/nix.conf
++(common.sh:5) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(nix-copy.sh:5) export REMOTE_STORE_DIR=/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store
+(nix-copy.sh:5) REMOTE_STORE_DIR=/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store
+(nix-copy.sh:6) export REMOTE_STORE=file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store
+(nix-copy.sh:6) REMOTE_STORE=file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store
+(nix-copy.sh:29) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput
+(nix-copy.sh:30) testOneCopy rootCA
+(nix-copy.sh:14) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(nix-copy.sh:15) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store
+(nix-copy.sh:17) attrPath=rootCA
+(nix-copy.sh:18) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store rootCA --file ./content-addressed.nix
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/fdsrccckl1hi6xd1qwlpl0cvfyh8lnfg-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/l6vs31c6zjk6ajwfl3cbnnyr7ryqh08c-rootCA.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/fdsrccckl1hi6xd1qwlpl0cvfyh8lnfg-simple-input-addressed.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/bw4w1c2578hzw4lg48ldyx82hcd07jmc-rootCA.drv'...
copying 4 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/gcb04mms9fx03l73wsqapczhm79i7knr-simple-input-addressed' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/xmkkipkyw3i7i9zdkar86kbdwrbx1zis-rootCA' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/797l59fq53j4z28db83rrnfiaznzgwbr-rootCA-foo' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/dim9brpkiv5n5xp9d4c2arwrg35mlqkp-rootCA-dev' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
+(nix-copy.sh:20) ensureCorrectlyCopied rootCA
+(nix-copy.sh:9) attrPath=rootCA
+(nix-copy.sh:10) nix build --store file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store --file ./content-addressed.nix rootCA
+(nix-copy.sh:23) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(nix-copy.sh:24) nix copy --from file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store --file ./content-addressed.nix rootCA --no-check-sigs
copying 4 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/gcb04mms9fx03l73wsqapczhm79i7knr-simple-input-addressed' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/xmkkipkyw3i7i9zdkar86kbdwrbx1zis-rootCA' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/797l59fq53j4z28db83rrnfiaznzgwbr-rootCA-foo' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/dim9brpkiv5n5xp9d4c2arwrg35mlqkp-rootCA-dev' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
+(nix-copy.sh:29) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput
+(nix-copy.sh:30) testOneCopy dependentCA
+(nix-copy.sh:14) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(nix-copy.sh:15) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store
+(nix-copy.sh:17) attrPath=dependentCA
+(nix-copy.sh:18) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store dependentCA --file ./content-addressed.nix
these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/fdsrccckl1hi6xd1qwlpl0cvfyh8lnfg-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/l6vs31c6zjk6ajwfl3cbnnyr7ryqh08c-rootCA.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/cf72bylixlyfnkdvnys7xrxprxl2k5mn-dependent.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/fdsrccckl1hi6xd1qwlpl0cvfyh8lnfg-simple-input-addressed.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/bw4w1c2578hzw4lg48ldyx82hcd07jmc-rootCA.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/jyr49f4rx816wlxfpzysqscyqj8vvg25-dependent.drv'...
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/gcb04mms9fx03l73wsqapczhm79i7knr-simple-input-addressed' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/xmkkipkyw3i7i9zdkar86kbdwrbx1zis-rootCA' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/l5ah9l4rggbch6y0dn0yapif8n62g7rd-dependent' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
+(nix-copy.sh:20) ensureCorrectlyCopied dependentCA
+(nix-copy.sh:9) attrPath=dependentCA
+(nix-copy.sh:10) nix build --store file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store --file ./content-addressed.nix dependentCA
+(nix-copy.sh:23) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(nix-copy.sh:24) nix copy --from file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store --file ./content-addressed.nix dependentCA --no-check-sigs
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/gcb04mms9fx03l73wsqapczhm79i7knr-simple-input-addressed' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/xmkkipkyw3i7i9zdkar86kbdwrbx1zis-rootCA' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/l5ah9l4rggbch6y0dn0yapif8n62g7rd-dependent' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
+(nix-copy.sh:29) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput
+(nix-copy.sh:30) testOneCopy transitivelyDependentCA
+(nix-copy.sh:14) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(nix-copy.sh:15) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store
+(nix-copy.sh:17) attrPath=transitivelyDependentCA
+(nix-copy.sh:18) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store transitivelyDependentCA --file ./content-addressed.nix
these 4 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/fdsrccckl1hi6xd1qwlpl0cvfyh8lnfg-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/l6vs31c6zjk6ajwfl3cbnnyr7ryqh08c-rootCA.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/cf72bylixlyfnkdvnys7xrxprxl2k5mn-dependent.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/jnbvjkjpy3rp1cmx2rymwywh762a9fjh-transitively-dependent.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/fdsrccckl1hi6xd1qwlpl0cvfyh8lnfg-simple-input-addressed.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/bw4w1c2578hzw4lg48ldyx82hcd07jmc-rootCA.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/jyr49f4rx816wlxfpzysqscyqj8vvg25-dependent.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/5aizvy9sx4gf5jafpvflxl29spmkbp9l-transitively-dependent.drv'...
copying 4 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/gcb04mms9fx03l73wsqapczhm79i7knr-simple-input-addressed' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/xmkkipkyw3i7i9zdkar86kbdwrbx1zis-rootCA' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/l5ah9l4rggbch6y0dn0yapif8n62g7rd-dependent' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/wkidi036034b0lsbskhy6y9djy8ghln0-transitively-dependent' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
+(nix-copy.sh:20) ensureCorrectlyCopied transitivelyDependentCA
+(nix-copy.sh:9) attrPath=transitivelyDependentCA
+(nix-copy.sh:10) nix build --store file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store --file ./content-addressed.nix transitivelyDependentCA
+(nix-copy.sh:23) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(nix-copy.sh:24) nix copy --from file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store --file ./content-addressed.nix transitivelyDependentCA --no-check-sigs
copying 4 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/gcb04mms9fx03l73wsqapczhm79i7knr-simple-input-addressed' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/xmkkipkyw3i7i9zdkar86kbdwrbx1zis-rootCA' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/l5ah9l4rggbch6y0dn0yapif8n62g7rd-dependent' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/wkidi036034b0lsbskhy6y9djy8ghln0-transitively-dependent' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
+(nix-copy.sh:29) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput
+(nix-copy.sh:30) testOneCopy dependentNonCA
+(nix-copy.sh:14) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(nix-copy.sh:15) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store
+(nix-copy.sh:17) attrPath=dependentNonCA
+(nix-copy.sh:18) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store dependentNonCA --file ./content-addressed.nix
these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/fdsrccckl1hi6xd1qwlpl0cvfyh8lnfg-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/l6vs31c6zjk6ajwfl3cbnnyr7ryqh08c-rootCA.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/szgkbkmwqls8nfwc0hikmaal8hmh0vx6-dependent-non-ca.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/fdsrccckl1hi6xd1qwlpl0cvfyh8lnfg-simple-input-addressed.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/bw4w1c2578hzw4lg48ldyx82hcd07jmc-rootCA.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/nd7ilicfkhlls5z8xbxjfrypxv3fg9y3-dependent-non-ca.drv'...
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/gcb04mms9fx03l73wsqapczhm79i7knr-simple-input-addressed' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/xmkkipkyw3i7i9zdkar86kbdwrbx1zis-rootCA' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/61pbjckzdmhcnl4g7vv7wr0y99762mk0-dependent-non-ca' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
+(nix-copy.sh:20) ensureCorrectlyCopied dependentNonCA
+(nix-copy.sh:9) attrPath=dependentNonCA
+(nix-copy.sh:10) nix build --store file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store --file ./content-addressed.nix dependentNonCA
+(nix-copy.sh:23) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(nix-copy.sh:24) nix copy --from file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store --file ./content-addressed.nix dependentNonCA --no-check-sigs
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/gcb04mms9fx03l73wsqapczhm79i7knr-simple-input-addressed' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/xmkkipkyw3i7i9zdkar86kbdwrbx1zis-rootCA' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/61pbjckzdmhcnl4g7vv7wr0y99762mk0-dependent-non-ca' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
+(nix-copy.sh:29) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput
+(nix-copy.sh:30) testOneCopy dependentFixedOutput
+(nix-copy.sh:14) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(nix-copy.sh:15) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store
+(nix-copy.sh:17) attrPath=dependentFixedOutput
+(nix-copy.sh:18) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store dependentFixedOutput --file ./content-addressed.nix
these 4 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/fdsrccckl1hi6xd1qwlpl0cvfyh8lnfg-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/l6vs31c6zjk6ajwfl3cbnnyr7ryqh08c-rootCA.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/cf72bylixlyfnkdvnys7xrxprxl2k5mn-dependent.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/gfb457rvwhaaiw4dbjsq0zwwm8k61j5s-dependent-fixed-output.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/fdsrccckl1hi6xd1qwlpl0cvfyh8lnfg-simple-input-addressed.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/bw4w1c2578hzw4lg48ldyx82hcd07jmc-rootCA.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/jyr49f4rx816wlxfpzysqscyqj8vvg25-dependent.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/2qy80az5k6a6ibya8wj4zbmwx9718iih-dependent-fixed-output.drv'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/6d02m0sygd0kmx43mkyl6if3sbnydazw-dependent-fixed-output' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...
+(nix-copy.sh:20) ensureCorrectlyCopied dependentFixedOutput
+(nix-copy.sh:9) attrPath=dependentFixedOutput
+(nix-copy.sh:10) nix build --store file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store --file ./content-addressed.nix dependentFixedOutput
+(nix-copy.sh:23) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/test-home/.local/state/nix/profiles
+(nix-copy.sh:24) nix copy --from file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store --file ./content-addressed.nix dependentFixedOutput --no-check-sigs
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/store/6d02m0sygd0kmx43mkyl6if3sbnydazw-dependent-fixed-output' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/nix-copy/remote_store'...clearing store...
[FAIL]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/repair
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/repair
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/repair
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/repair
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/repair
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/repair/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/repair/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/repair/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/repair/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/repair/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/repair/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(repair.sh:3) needLocalStore '--repair needs a local store'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:217) [[ '' == \d\a\e\m\o\n ]]
+(repair.sh:5) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/repair/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/repair/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/repair/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/repair/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/repair/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/repair/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/repair/test-home/.local/state/nix/profiles
++(repair.sh:7) nix-build dependencies.nix -o /tmp/nix-shell.MrxVR3/nix-test/repair/result
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/repair/store/8nglapimhzj5271f2xmhgr8pvjsbabp9-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/repair/store/krbls3rwwm6mccl9j1j69aim3l7xarvi-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/repair/store/dwayxkc8jdafklks0w84pl83j158g8j1-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/repair/store/jy6313f4zdacjbihxwymcp4rwy0a7839-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/repair/store/ij5s06q0d8k1j2gixbxmnr0sqznkd80a-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/repair/store/krbls3rwwm6mccl9j1j69aim3l7xarvi-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/repair/store/8nglapimhzj5271f2xmhgr8pvjsbabp9-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/repair/store/dwayxkc8jdafklks0w84pl83j158g8j1-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/repair/store/jy6313f4zdacjbihxwymcp4rwy0a7839-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/repair/store/ij5s06q0d8k1j2gixbxmnr0sqznkd80a-dependencies-top.drv'...
FOO
+(repair.sh:7) path=/tmp/nix-shell.MrxVR3/nix-test/repair/store/d19rhl1y2p4b55gwmg538d3hy89yj5p2-dependencies-top
++(repair.sh:8) nix-store -qR /tmp/nix-shell.MrxVR3/nix-test/repair/store/d19rhl1y2p4b55gwmg538d3hy89yj5p2-dependencies-top
++(repair.sh:8) grep input-2
+(repair.sh:8) path2=/tmp/nix-shell.MrxVR3/nix-test/repair/store/pmkwmv42fqmn75qkp3s901l5fj8vyia2-dependencies-input-2
+(repair.sh:10) nix-store --verify --check-contents -v
reading the Nix store...
checking path existence...
checking link hashes...
checking store hashes...
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/2b31p2b0yhbkrzd4lfpk319324q57g4a-builder-fod-input.sh'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/391g6g8r431npfidvv1fnbxd8f2piv0p-dependencies-input-0'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/8nglapimhzj5271f2xmhgr8pvjsbabp9-dependencies-input-1.drv'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/ax1k9bxv07x6jh6vh3gfcz7qsqwx6a6l-builder-dependencies-input-2.sh'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/b4wrwr9z2jhr4wrxfsn38jk4qzwsldn4-dependencies-input-1'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/d19rhl1y2p4b55gwmg538d3hy89yj5p2-dependencies-top'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/dwayxkc8jdafklks0w84pl83j158g8j1-dependencies-input-2.drv'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/f25pdcz09gfb5rkyi82vydqfshm5nk14-builder-dependencies-input-1.sh'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/hqr9mnnxbpkpyw7ndilzchkfhh18ijlh-fod-input'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/ij5s06q0d8k1j2gixbxmnr0sqznkd80a-dependencies-top.drv'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/jy6313f4zdacjbihxwymcp4rwy0a7839-fod-input.drv'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/krbls3rwwm6mccl9j1j69aim3l7xarvi-dependencies-input-0.drv'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/pmkwmv42fqmn75qkp3s901l5fj8vyia2-dependencies-input-2'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/whh3w3qhvbkcyjry6ajsb76cqr51n6dh-dependencies.builder0.sh'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/zck17ybx34wqc0pfdsx0c16jr8rgz4zk-builder-dependencies-input-0.sh'
++(repair.sh:12) nix-hash /tmp/nix-shell.MrxVR3/nix-test/repair/store/pmkwmv42fqmn75qkp3s901l5fj8vyia2-dependencies-input-2
+(repair.sh:12) hash=103fc63a22197bf7234d9a07b410da3c
+(repair.sh:15) chmod u+w /tmp/nix-shell.MrxVR3/nix-test/repair/store/pmkwmv42fqmn75qkp3s901l5fj8vyia2-dependencies-input-2
+(repair.sh:16) touch /tmp/nix-shell.MrxVR3/nix-test/repair/store/pmkwmv42fqmn75qkp3s901l5fj8vyia2-dependencies-input-2/bad
+(repair.sh:18) nix-store --verify --check-contents -v
reading the Nix store...
checking path existence...
checking link hashes...
checking store hashes...
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/2b31p2b0yhbkrzd4lfpk319324q57g4a-builder-fod-input.sh'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/391g6g8r431npfidvv1fnbxd8f2piv0p-dependencies-input-0'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/8nglapimhzj5271f2xmhgr8pvjsbabp9-dependencies-input-1.drv'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/ax1k9bxv07x6jh6vh3gfcz7qsqwx6a6l-builder-dependencies-input-2.sh'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/b4wrwr9z2jhr4wrxfsn38jk4qzwsldn4-dependencies-input-1'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/d19rhl1y2p4b55gwmg538d3hy89yj5p2-dependencies-top'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/dwayxkc8jdafklks0w84pl83j158g8j1-dependencies-input-2.drv'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/f25pdcz09gfb5rkyi82vydqfshm5nk14-builder-dependencies-input-1.sh'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/hqr9mnnxbpkpyw7ndilzchkfhh18ijlh-fod-input'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/ij5s06q0d8k1j2gixbxmnr0sqznkd80a-dependencies-top.drv'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/jy6313f4zdacjbihxwymcp4rwy0a7839-fod-input.drv'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/krbls3rwwm6mccl9j1j69aim3l7xarvi-dependencies-input-0.drv'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/pmkwmv42fqmn75qkp3s901l5fj8vyia2-dependencies-input-2'
path '/tmp/nix-shell.MrxVR3/nix-test/repair/store/pmkwmv42fqmn75qkp3s901l5fj8vyia2-dependencies-input-2' was modified! expected hash 'sha256:0pv7ga08pa5hry4z3567imc8pl07dbfy7f9jdnbzx529dcl8vy5x', got 'sha256:05lwlr80lrfqz7mrwxn94pfvc3rhzh84dl4xmx8lnxkv5lxbkarj'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/whh3w3qhvbkcyjry6ajsb76cqr51n6dh-dependencies.builder0.sh'
checking contents of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/zck17ybx34wqc0pfdsx0c16jr8rgz4zk-builder-dependencies-input-0.sh'
warning: not all store errors were fixed
+(repair.sh:21) nix-store --verify --check-contents --repair
reading the Nix store...
checking path existence...
checking link hashes...
checking store hashes...
path '/tmp/nix-shell.MrxVR3/nix-test/repair/store/pmkwmv42fqmn75qkp3s901l5fj8vyia2-dependencies-input-2' was modified! expected hash 'sha256:0pv7ga08pa5hry4z3567imc8pl07dbfy7f9jdnbzx529dcl8vy5x', got 'sha256:05lwlr80lrfqz7mrwxn94pfvc3rhzh84dl4xmx8lnxkv5lxbkarj'
checking path '/tmp/nix-shell.MrxVR3/nix-test/repair/store/pmkwmv42fqmn75qkp3s901l5fj8vyia2-dependencies-input-2'...
path '/tmp/nix-shell.MrxVR3/nix-test/repair/store/pmkwmv42fqmn75qkp3s901l5fj8vyia2-dependencies-input-2' is corrupted or missing!
checking path '/tmp/nix-shell.MrxVR3/nix-test/repair/store/391g6g8r431npfidvv1fnbxd8f2piv0p-dependencies-input-0'...
repairing outputs of '/tmp/nix-shell.MrxVR3/nix-test/repair/store/dwayxkc8jdafklks0w84pl83j158g8j1-dependencies-input-2.drv'...
+(repair.sh:23) '[' -e /tmp/nix-shell.MrxVR3/nix-test/repair/store/pmkwmv42fqmn75qkp3s901l5fj8vyia2-dependencies-input-2/bad ']'
+(repair.sh:24) '[' -w /tmp/nix-shell.MrxVR3/nix-test/repair/store/pmkwmv42fqmn75qkp3s901l5fj8vyia2-dependencies-input-2 ']'
++(repair.sh:24) onError
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
repair.sh: test failed at:
main in repair.sh:24clearing store...
clearing store...
clearing store...
clearing store...
clearing store...
clearing store...
clearing store...
clearing store...
clearing store...
clearing store...
clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ca/signatures
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ca/signatures
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ca/signatures
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) enableFeatures ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/etc/nix.conf
++(common.sh:5) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(signatures.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(signatures.sh:4) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/binary-cache
+(signatures.sh:6) nix-store --generate-binary-cache-key cache1.example.org /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/sk1 /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/pk1
++(signatures.sh:7) cat /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/pk1
+(signatures.sh:7) pk1=cache1.example.org:KRzSfT8cKIySVNPKg7bvJUic3qbiStaXZtuKrsM1ymc=
+(signatures.sh:9) export REMOTE_STORE_DIR=/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store
+(signatures.sh:9) REMOTE_STORE_DIR=/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store
+(signatures.sh:10) export REMOTE_STORE=file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store
+(signatures.sh:10) REMOTE_STORE=file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store
+(signatures.sh:34) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput
+(signatures.sh:35) testOneCopy rootCA
+(signatures.sh:18) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(signatures.sh:19) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store
+(signatures.sh:21) attrPath=rootCA
+(signatures.sh:22) nix copy -vvvv --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store rootCA --file ./content-addressed.nix --secret-key-files /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/sk1 --show-trace
evaluating file '/lix-src/build/tests/functional/ca/content-addressed.nix'
evaluating file '/lix-src/build/tests/functional/ca/config.nix'
processing attribute 'PATH'
processing attribute '__contentAddressed'
processing attribute 'args'
acquiring write lock on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix/temproots/21014'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh.lock'
processing attribute 'buildCommand'
processing attribute 'PATH'
processing attribute 'args'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh.lock'
processing attribute 'buildCommand'
processing attribute 'builder'
processing attribute 'name'
processing attribute 'system'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv.lock'
instantiated 'simple-input-addressed' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv'
processing attribute 'builder'
processing attribute 'name'
processing attribute 'outputHashAlgo'
processing attribute 'outputHashMode'
processing attribute 'outputs'
processing attribute 'system'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv.lock'
instantiated 'rootCA' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv'
querying info about missing paths...
starting pool of 24 threads
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^dev,foo,out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^dev,foo,out' from .drv file: woken up
querying info about missing paths...
starting pool of 24 threads
entered goal loop
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^dev,foo,out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^dev,foo,out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^dev,foo,out' from .drv file: have derivation
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!dev': created
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!dev': woken up
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!foo': created
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!foo': woken up
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': created
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': woken up
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!dev': init
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!dev': trying next substituter
derivation output 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!dev' is required, but there is no substituter that can provide it
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!dev': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^dev,foo,out' from .drv file: waitee 'substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!dev'' done; 2 left
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!foo': init
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!foo': trying next substituter
derivation output 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!foo' is required, but there is no substituter that can provide it
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!foo': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^dev,foo,out' from .drv file: waitee 'substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!foo'' done; 1 left
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': init
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': trying next substituter
derivation output 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out' is required, but there is no substituter that can provide it
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^dev,foo,out' from .drv file: waitee 'substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^dev,foo,out' from .drv file: woken up
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': goal destroyed
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!foo': goal destroyed
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!dev': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^dev,foo,out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: have derivation
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': created
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': init
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': trying next substituter
path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' is required, but there is no substituter that can build it
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: waitee 'substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: all inputs realised
added input paths '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed.lock'
removing invalid path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
starting build hook '/lix-src/outputs/out/bin/nix __build-remote'
cannot find machines file '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/etc/machines'
got 0 remote builders
hook reply is 'decline-permanently'
killing process 21098
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
setting builder env variable 'PATH'='/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin'
setting builder env variable 'buildCommand'='set -x
echo "Building a legacy derivation"
mkdir -p $out
echo "Hello World" > $out/hello
'
setting builder env variable 'builder'='/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
setting builder env variable 'name'='simple-input-addressed'
setting builder env variable 'out'='/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
setting builder env variable 'system'='x86_64-linux'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
building '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: read 187 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: read 22 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: build done
killing process 21140
builder process for '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv' finished
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^dev,foo,out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^dev,foo,out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^dev,foo,out' from .drv file: all inputs realised
Rewriting the derivation
rewriting /1d68zbv8cb0z7z9bncy7ikn2z4kz6pfk4m4gs16rfydm5rx5w31v as /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: have derivation
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!dev': created
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!dev': woken up
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!foo': created
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!foo': woken up
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': created
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': woken up
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!dev': init
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!dev': trying next substituter
derivation output 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!dev' is required, but there is no substituter that can provide it
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!dev': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: waitee 'substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!dev'' done; 2 left
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!foo': init
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!foo': trying next substituter
derivation output 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!foo' is required, but there is no substituter that can provide it
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!foo': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: waitee 'substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!foo'' done; 1 left
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': init
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': trying next substituter
derivation output 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out' is required, but there is no substituter that can provide it
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: waitee 'substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: woken up
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': goal destroyed
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!foo': goal destroyed
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!dev': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: all inputs realised
added input paths '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh', '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.dev'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.dev.lock'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.foo'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.foo.lock'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.out'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.out.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: woken up
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
setting builder env variable 'PATH'='/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin'
setting builder env variable 'buildCommand'='echo "building a CA derivation"
echo "The seed is 0"
mkdir -p $out
echo /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed/hello > $out/dep
ln -s $out $out/self
# test symlinks at root
ln -s $out $dev
ln -s $out $foo
'
setting builder env variable 'builder'='/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
setting builder env variable 'dev'='/02qcpld1y6xhs5gz9bchpxaw0xdhmsp5dv88lh25r2ss44kh8dxz'
setting builder env variable 'foo'='/1x0ymrsy7yr7i9wdsqy9khmzc1yy7nvxw6rdp72yzn50285s67j5'
setting builder env variable 'name'='rootCA'
setting builder env variable 'out'='/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9'
setting builder env variable 'outputHashAlgo'='sha256'
setting builder env variable 'outputHashMode'='recursive'
setting builder env variable 'outputs'='out dev foo'
setting builder env variable 'system'='x86_64-linux'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
sandbox setup: closing leaked FD 15
sandbox setup: closing leaked FD 16
building '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: read 25 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: read 14 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: build done
killing process 21163
builder process for '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv' finished
scanning for references for output 'dev' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/jzdmjly2hplbzdxhizfrjkw4bv20y255-rootCA-dev'
found reference to 'qcs4gwypjwvwich2lal6sp625q8cywzf' at offset '51'
scanning for references for output 'foo' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/phd9nvy25ix7fvawm39w12f79brpnxqg-rootCA-foo'
found reference to 'qcs4gwypjwvwich2lal6sp625q8cywzf' at offset '51'
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/qcs4gwypjwvwich2lal6sp625q8cywzf-rootCA'
found reference to 'n2v81yva7c877n44ws20r0dlxp30ghra' at offset '51'
found reference to 'qcs4gwypjwvwich2lal6sp625q8cywzf' at offset '51'
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/qcs4gwypjwvwich2lal6sp625q8cywzf-rootCA'; cross fingers
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA.lock'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
referenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA.lock'
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/jzdmjly2hplbzdxhizfrjkw4bv20y255-rootCA-dev'; cross fingers
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/jzdmjly2hplbzdxhizfrjkw4bv20y255-rootCA-dev'; cross fingers
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lnp4nzhcjvsa4cndd68y0h0q40jgss8g-rootCA-dev'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lnp4nzhcjvsa4cndd68y0h0q40jgss8g-rootCA-dev.lock'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lnp4nzhcjvsa4cndd68y0h0q40jgss8g-rootCA-dev.lock'
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/phd9nvy25ix7fvawm39w12f79brpnxqg-rootCA-foo'; cross fingers
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/phd9nvy25ix7fvawm39w12f79brpnxqg-rootCA-foo'; cross fingers
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/5f7qc07isaia96psrsdhwhyb3llm5fxq-rootCA-foo'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/5f7qc07isaia96psrsdhwhyb3llm5fxq-rootCA-foo.lock'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/5f7qc07isaia96psrsdhwhyb3llm5fxq-rootCA-foo.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.dev.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.foo.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.out.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^dev,foo,out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^dev,foo,out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^dev,foo,out' from .drv file: resolved derivation finished
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^dev,foo,out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^dev,foo,out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^dev,foo,out' from .drv file: goal destroyed
starting pool of 15 threads
querying info about '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/5f7qc07isaia96psrsdhwhyb3llm5fxq-rootCA-foo' on 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
querying info about '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' on 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
querying info about '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA' on 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
querying info about '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lnp4nzhcjvsa4cndd68y0h0q40jgss8g-rootCA-dev' on 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
reaping 3 worker threads
copying 4 paths...
starting pool of 15 threads
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' (296 bytes, compressed 40.5% in 86 ms) to binary cache
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA' (680 bytes, compressed 52.9% in 97 ms) to binary cache
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/5f7qc07isaia96psrsdhwhyb3llm5fxq-rootCA-foo' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/5f7qc07isaia96psrsdhwhyb3llm5fxq-rootCA-foo' (208 bytes, compressed 0.0% in 75 ms) to binary cache
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lnp4nzhcjvsa4cndd68y0h0q40jgss8g-rootCA-dev' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lnp4nzhcjvsa4cndd68y0h0q40jgss8g-rootCA-dev' (208 bytes, compressed 0.0% in 94 ms) to binary cache
reaping 3 worker threads
starting pool of 15 threads
reaping 3 worker threads
+(signatures.sh:25) ensureCorrectlyCopied rootCA
+(signatures.sh:13) attrPath=rootCA
+(signatures.sh:14) nix build --store file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store --file ./content-addressed.nix rootCA
+(signatures.sh:28) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(signatures.sh:29) nix copy --from file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store --file ./content-addressed.nix rootCA --trusted-public-keys cache1.example.org:KRzSfT8cKIySVNPKg7bvJUic3qbiStaXZtuKrsM1ymc=
copying 4 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lnp4nzhcjvsa4cndd68y0h0q40jgss8g-rootCA-dev' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/5f7qc07isaia96psrsdhwhyb3llm5fxq-rootCA-foo' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
+(signatures.sh:34) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput
+(signatures.sh:35) testOneCopy dependentCA
+(signatures.sh:18) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(signatures.sh:19) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store
+(signatures.sh:21) attrPath=dependentCA
+(signatures.sh:22) nix copy -vvvv --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store dependentCA --file ./content-addressed.nix --secret-key-files /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/sk1 --show-trace
evaluating file '/lix-src/build/tests/functional/ca/content-addressed.nix'
evaluating file '/lix-src/build/tests/functional/ca/config.nix'
processing attribute 'PATH'
processing attribute '__contentAddressed'
processing attribute 'args'
acquiring write lock on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix/temproots/22103'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n9ad3c730k3drj3whhm43x8r1j8690nv-builder-dependent.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n9ad3c730k3drj3whhm43x8r1j8690nv-builder-dependent.sh.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n9ad3c730k3drj3whhm43x8r1j8690nv-builder-dependent.sh.lock'
processing attribute 'buildCommand'
processing attribute 'PATH'
processing attribute '__contentAddressed'
processing attribute 'args'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh.lock'
processing attribute 'buildCommand'
processing attribute 'PATH'
processing attribute 'args'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh.lock'
processing attribute 'buildCommand'
processing attribute 'builder'
processing attribute 'name'
processing attribute 'system'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv.lock'
instantiated 'simple-input-addressed' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv'
processing attribute 'builder'
processing attribute 'name'
processing attribute 'outputHashAlgo'
processing attribute 'outputHashMode'
processing attribute 'outputs'
processing attribute 'system'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv.lock'
instantiated 'rootCA' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv'
processing attribute 'builder'
processing attribute 'name'
processing attribute 'outputHashAlgo'
processing attribute 'outputHashMode'
processing attribute 'system'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv.lock'
instantiated 'dependent' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv'
querying info about missing paths...
starting pool of 24 threads
these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: woken up
querying info about missing paths...
starting pool of 24 threads
entered goal loop
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: have derivation
substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out': created
substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out': woken up
substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out': init
substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out': trying next substituter
derivation output 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out' is required, but there is no substituter that can provide it
substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: waitee 'substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: woken up
substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: have derivation
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': created
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': woken up
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': init
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': trying next substituter
derivation output 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out' is required, but there is no substituter that can provide it
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: waitee 'substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: woken up
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: have derivation
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': created
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': init
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': trying next substituter
path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' is required, but there is no substituter that can build it
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: waitee 'substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: all inputs realised
added input paths '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed.lock'
removing invalid path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
starting build hook '/lix-src/outputs/out/bin/nix __build-remote'
cannot find machines file '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/etc/machines'
got 0 remote builders
hook reply is 'decline-permanently'
killing process 22161
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
setting builder env variable 'PATH'='/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin'
setting builder env variable 'buildCommand'='set -x
echo "Building a legacy derivation"
mkdir -p $out
echo "Hello World" > $out/hello
'
setting builder env variable 'builder'='/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
setting builder env variable 'name'='simple-input-addressed'
setting builder env variable 'out'='/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
setting builder env variable 'system'='x86_64-linux'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
building '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: read 187 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: read 22 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: build done
killing process 22230
builder process for '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv' finished
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: all inputs realised
Rewriting the derivation
rewriting /1d68zbv8cb0z7z9bncy7ikn2z4kz6pfk4m4gs16rfydm5rx5w31v as /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: have derivation
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': created
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': woken up
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': init
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': trying next substituter
derivation output 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out' is required, but there is no substituter that can provide it
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: waitee 'substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: all inputs realised
added input paths '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh', '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.dev'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.dev.lock'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.foo'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.foo.lock'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.out'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.out.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
setting builder env variable 'PATH'='/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin'
setting builder env variable 'buildCommand'='echo "building a CA derivation"
echo "The seed is 0"
mkdir -p $out
echo /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed/hello > $out/dep
ln -s $out $out/self
# test symlinks at root
ln -s $out $dev
ln -s $out $foo
'
setting builder env variable 'builder'='/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
setting builder env variable 'dev'='/02qcpld1y6xhs5gz9bchpxaw0xdhmsp5dv88lh25r2ss44kh8dxz'
setting builder env variable 'foo'='/1x0ymrsy7yr7i9wdsqy9khmzc1yy7nvxw6rdp72yzn50285s67j5'
setting builder env variable 'name'='rootCA'
setting builder env variable 'out'='/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9'
setting builder env variable 'outputHashAlgo'='sha256'
setting builder env variable 'outputHashMode'='recursive'
setting builder env variable 'outputs'='out dev foo'
setting builder env variable 'system'='x86_64-linux'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
sandbox setup: closing leaked FD 15
sandbox setup: closing leaked FD 16
building '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: read 25 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: read 14 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: build done
killing process 22258
builder process for '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv' finished
scanning for references for output 'dev' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/jzdmjly2hplbzdxhizfrjkw4bv20y255-rootCA-dev'
found reference to 'qcs4gwypjwvwich2lal6sp625q8cywzf' at offset '51'
scanning for references for output 'foo' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/phd9nvy25ix7fvawm39w12f79brpnxqg-rootCA-foo'
found reference to 'qcs4gwypjwvwich2lal6sp625q8cywzf' at offset '51'
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/qcs4gwypjwvwich2lal6sp625q8cywzf-rootCA'
found reference to 'n2v81yva7c877n44ws20r0dlxp30ghra' at offset '51'
found reference to 'qcs4gwypjwvwich2lal6sp625q8cywzf' at offset '51'
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/qcs4gwypjwvwich2lal6sp625q8cywzf-rootCA'; cross fingers
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA.lock'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
referenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA.lock'
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/jzdmjly2hplbzdxhizfrjkw4bv20y255-rootCA-dev'; cross fingers
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/jzdmjly2hplbzdxhizfrjkw4bv20y255-rootCA-dev'; cross fingers
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lnp4nzhcjvsa4cndd68y0h0q40jgss8g-rootCA-dev'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lnp4nzhcjvsa4cndd68y0h0q40jgss8g-rootCA-dev.lock'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lnp4nzhcjvsa4cndd68y0h0q40jgss8g-rootCA-dev.lock'
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/phd9nvy25ix7fvawm39w12f79brpnxqg-rootCA-foo'; cross fingers
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/phd9nvy25ix7fvawm39w12f79brpnxqg-rootCA-foo'; cross fingers
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/5f7qc07isaia96psrsdhwhyb3llm5fxq-rootCA-foo'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/5f7qc07isaia96psrsdhwhyb3llm5fxq-rootCA-foo.lock'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/5f7qc07isaia96psrsdhwhyb3llm5fxq-rootCA-foo.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.dev.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.foo.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.out.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: resolved derivation finished
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: all inputs realised
Rewriting the derivation
rewriting /1ywq95kislqx8mq0kmnx21mirsf60xh4wifliylc2hj6jgr2rfm4 as /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: have derivation
substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out': created
substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out': woken up
substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out': init
substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out': trying next substituter
derivation output 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out' is required, but there is no substituter that can provide it
substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: waitee 'substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: woken up
substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: all inputs realised
added input paths '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed', '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n9ad3c730k3drj3whhm43x8r1j8690nv-builder-dependent.sh', '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv.out'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv.out.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: woken up
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n9ad3c730k3drj3whhm43x8r1j8690nv-builder-dependent.sh'
setting builder env variable 'PATH'='/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin'
setting builder env variable 'buildCommand'='echo "building a dependent derivation"
mkdir -p $out
cat /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA/self/dep
echo /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA/self/dep > $out/dep
'
setting builder env variable 'builder'='/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
setting builder env variable 'name'='dependent'
setting builder env variable 'out'='/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9'
setting builder env variable 'outputHashAlgo'='sha256'
setting builder env variable 'outputHashMode'='recursive'
setting builder env variable 'system'='x86_64-linux'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
building '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: read 32 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: read 113 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: build done
killing process 22298
builder process for '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv' finished
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/vnc4sligzfrgyc538vw0ndjkfidkckwq-dependent'
found reference to 'nk7n7dsly4kvfjvhms95p9x57j4pvpdr' at offset '51'
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/vnc4sligzfrgyc538vw0ndjkfidkckwq-dependent'; cross fingers
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent.lock'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n9ad3c730k3drj3whhm43x8r1j8690nv-builder-dependent.sh'
referenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv.out.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: resolved derivation finished
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: goal destroyed
starting pool of 15 threads
querying info about '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent' on 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
querying info about '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' on 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
querying info about '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA' on 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
reaping 2 worker threads
copying 3 paths...
starting pool of 15 threads
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' (296 bytes, compressed 40.5% in 89 ms) to binary cache
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA' (680 bytes, compressed 52.9% in 86 ms) to binary cache
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent' (384 bytes, compressed 35.4% in 67 ms) to binary cache
reaping 2 worker threads
starting pool of 15 threads
reaping 2 worker threads
+(signatures.sh:25) ensureCorrectlyCopied dependentCA
+(signatures.sh:13) attrPath=dependentCA
+(signatures.sh:14) nix build --store file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store --file ./content-addressed.nix dependentCA
+(signatures.sh:28) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(signatures.sh:29) nix copy --from file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store --file ./content-addressed.nix dependentCA --trusted-public-keys cache1.example.org:KRzSfT8cKIySVNPKg7bvJUic3qbiStaXZtuKrsM1ymc=
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
+(signatures.sh:34) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput
+(signatures.sh:35) testOneCopy transitivelyDependentCA
+(signatures.sh:18) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(signatures.sh:19) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store
+(signatures.sh:21) attrPath=transitivelyDependentCA
+(signatures.sh:22) nix copy -vvvv --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store transitivelyDependentCA --file ./content-addressed.nix --secret-key-files /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/sk1 --show-trace
evaluating file '/lix-src/build/tests/functional/ca/content-addressed.nix'
evaluating file '/lix-src/build/tests/functional/ca/config.nix'
processing attribute 'PATH'
processing attribute '__contentAddressed'
processing attribute 'args'
acquiring write lock on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix/temproots/23398'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/s0rjvv4qmnf81i2qxknzaxw241nkkmkm-builder-transitively-dependent.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/s0rjvv4qmnf81i2qxknzaxw241nkkmkm-builder-transitively-dependent.sh.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/s0rjvv4qmnf81i2qxknzaxw241nkkmkm-builder-transitively-dependent.sh.lock'
processing attribute 'buildCommand'
processing attribute 'PATH'
processing attribute '__contentAddressed'
processing attribute 'args'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n9ad3c730k3drj3whhm43x8r1j8690nv-builder-dependent.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n9ad3c730k3drj3whhm43x8r1j8690nv-builder-dependent.sh.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n9ad3c730k3drj3whhm43x8r1j8690nv-builder-dependent.sh.lock'
processing attribute 'buildCommand'
processing attribute 'PATH'
processing attribute '__contentAddressed'
processing attribute 'args'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh.lock'
processing attribute 'buildCommand'
processing attribute 'PATH'
processing attribute 'args'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh.lock'
processing attribute 'buildCommand'
processing attribute 'builder'
processing attribute 'name'
processing attribute 'system'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv.lock'
instantiated 'simple-input-addressed' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv'
processing attribute 'builder'
processing attribute 'name'
processing attribute 'outputHashAlgo'
processing attribute 'outputHashMode'
processing attribute 'outputs'
processing attribute 'system'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv.lock'
instantiated 'rootCA' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv'
processing attribute 'builder'
processing attribute 'name'
processing attribute 'outputHashAlgo'
processing attribute 'outputHashMode'
processing attribute 'system'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv.lock'
instantiated 'dependent' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv'
processing attribute 'builder'
processing attribute 'name'
processing attribute 'outputHashAlgo'
processing attribute 'outputHashMode'
processing attribute 'system'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv.lock'
instantiated 'transitively-dependent' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv'
querying info about missing paths...
starting pool of 24 threads
these 4 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv^out' from .drv file: woken up
querying info about missing paths...
starting pool of 24 threads
entered goal loop
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv^out' from .drv file: have derivation
substitution of 'sha256:beee65e5bb7b8e1d51fb503206fae21d0e71fb6cd38bc0694635de114e9e16a0!out': created
substitution of 'sha256:beee65e5bb7b8e1d51fb503206fae21d0e71fb6cd38bc0694635de114e9e16a0!out': woken up
substitution of 'sha256:beee65e5bb7b8e1d51fb503206fae21d0e71fb6cd38bc0694635de114e9e16a0!out': init
substitution of 'sha256:beee65e5bb7b8e1d51fb503206fae21d0e71fb6cd38bc0694635de114e9e16a0!out': trying next substituter
derivation output 'sha256:beee65e5bb7b8e1d51fb503206fae21d0e71fb6cd38bc0694635de114e9e16a0!out' is required, but there is no substituter that can provide it
substitution of 'sha256:beee65e5bb7b8e1d51fb503206fae21d0e71fb6cd38bc0694635de114e9e16a0!out': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv^out' from .drv file: waitee 'substitution of 'sha256:beee65e5bb7b8e1d51fb503206fae21d0e71fb6cd38bc0694635de114e9e16a0!out'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv^out' from .drv file: woken up
substitution of 'sha256:beee65e5bb7b8e1d51fb503206fae21d0e71fb6cd38bc0694635de114e9e16a0!out': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: have derivation
substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out': created
substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out': woken up
substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out': init
substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out': trying next substituter
derivation output 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out' is required, but there is no substituter that can provide it
substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: waitee 'substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: woken up
substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: have derivation
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': created
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': woken up
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': init
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': trying next substituter
derivation output 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out' is required, but there is no substituter that can provide it
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: waitee 'substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: woken up
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: have derivation
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': created
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': init
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': trying next substituter
path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' is required, but there is no substituter that can build it
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: waitee 'substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: all inputs realised
added input paths '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed.lock'
removing invalid path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
starting build hook '/lix-src/outputs/out/bin/nix __build-remote'
cannot find machines file '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/etc/machines'
got 0 remote builders
hook reply is 'decline-permanently'
killing process 23481
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
setting builder env variable 'PATH'='/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin'
setting builder env variable 'buildCommand'='set -x
echo "Building a legacy derivation"
mkdir -p $out
echo "Hello World" > $out/hello
'
setting builder env variable 'builder'='/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
setting builder env variable 'name'='simple-input-addressed'
setting builder env variable 'out'='/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
setting builder env variable 'system'='x86_64-linux'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
building '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: read 68 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: read 119 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: read 22 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: build done
killing process 23550
builder process for '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv' finished
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: all inputs realised
Rewriting the derivation
rewriting /1d68zbv8cb0z7z9bncy7ikn2z4kz6pfk4m4gs16rfydm5rx5w31v as /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: have derivation
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': created
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': woken up
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': init
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': trying next substituter
derivation output 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out' is required, but there is no substituter that can provide it
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: waitee 'substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: all inputs realised
added input paths '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh', '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.dev'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.dev.lock'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.foo'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.foo.lock'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.out'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.out.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
setting builder env variable 'PATH'='/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin'
setting builder env variable 'buildCommand'='echo "building a CA derivation"
echo "The seed is 0"
mkdir -p $out
echo /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed/hello > $out/dep
ln -s $out $out/self
# test symlinks at root
ln -s $out $dev
ln -s $out $foo
'
setting builder env variable 'builder'='/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
setting builder env variable 'dev'='/02qcpld1y6xhs5gz9bchpxaw0xdhmsp5dv88lh25r2ss44kh8dxz'
setting builder env variable 'foo'='/1x0ymrsy7yr7i9wdsqy9khmzc1yy7nvxw6rdp72yzn50285s67j5'
setting builder env variable 'name'='rootCA'
setting builder env variable 'out'='/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9'
setting builder env variable 'outputHashAlgo'='sha256'
setting builder env variable 'outputHashMode'='recursive'
setting builder env variable 'outputs'='out dev foo'
setting builder env variable 'system'='x86_64-linux'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
sandbox setup: closing leaked FD 15
sandbox setup: closing leaked FD 16
building '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: read 39 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: build done
killing process 23563
builder process for '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv' finished
scanning for references for output 'dev' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/jzdmjly2hplbzdxhizfrjkw4bv20y255-rootCA-dev'
found reference to 'qcs4gwypjwvwich2lal6sp625q8cywzf' at offset '51'
scanning for references for output 'foo' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/phd9nvy25ix7fvawm39w12f79brpnxqg-rootCA-foo'
found reference to 'qcs4gwypjwvwich2lal6sp625q8cywzf' at offset '51'
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/qcs4gwypjwvwich2lal6sp625q8cywzf-rootCA'
found reference to 'n2v81yva7c877n44ws20r0dlxp30ghra' at offset '51'
found reference to 'qcs4gwypjwvwich2lal6sp625q8cywzf' at offset '51'
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/qcs4gwypjwvwich2lal6sp625q8cywzf-rootCA'; cross fingers
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA.lock'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
referenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA.lock'
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/jzdmjly2hplbzdxhizfrjkw4bv20y255-rootCA-dev'; cross fingers
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/jzdmjly2hplbzdxhizfrjkw4bv20y255-rootCA-dev'; cross fingers
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lnp4nzhcjvsa4cndd68y0h0q40jgss8g-rootCA-dev'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lnp4nzhcjvsa4cndd68y0h0q40jgss8g-rootCA-dev.lock'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lnp4nzhcjvsa4cndd68y0h0q40jgss8g-rootCA-dev.lock'
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/phd9nvy25ix7fvawm39w12f79brpnxqg-rootCA-foo'; cross fingers
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/phd9nvy25ix7fvawm39w12f79brpnxqg-rootCA-foo'; cross fingers
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/5f7qc07isaia96psrsdhwhyb3llm5fxq-rootCA-foo'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/5f7qc07isaia96psrsdhwhyb3llm5fxq-rootCA-foo.lock'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/5f7qc07isaia96psrsdhwhyb3llm5fxq-rootCA-foo.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.dev.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.foo.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.out.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: resolved derivation finished
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: all inputs realised
Rewriting the derivation
rewriting /1ywq95kislqx8mq0kmnx21mirsf60xh4wifliylc2hj6jgr2rfm4 as /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: have derivation
substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out': created
substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out': woken up
substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out': init
substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out': trying next substituter
derivation output 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out' is required, but there is no substituter that can provide it
substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: waitee 'substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: woken up
substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: all inputs realised
added input paths '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed', '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n9ad3c730k3drj3whhm43x8r1j8690nv-builder-dependent.sh', '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv.out'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv.out.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: woken up
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n9ad3c730k3drj3whhm43x8r1j8690nv-builder-dependent.sh'
setting builder env variable 'PATH'='/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin'
setting builder env variable 'buildCommand'='echo "building a dependent derivation"
mkdir -p $out
cat /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA/self/dep
echo /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA/self/dep > $out/dep
'
setting builder env variable 'builder'='/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
setting builder env variable 'name'='dependent'
setting builder env variable 'out'='/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9'
setting builder env variable 'outputHashAlgo'='sha256'
setting builder env variable 'outputHashMode'='recursive'
setting builder env variable 'system'='x86_64-linux'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
building '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: read 32 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: read 113 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: build done
killing process 23627
builder process for '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv' finished
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/vnc4sligzfrgyc538vw0ndjkfidkckwq-dependent'
found reference to 'nk7n7dsly4kvfjvhms95p9x57j4pvpdr' at offset '51'
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/vnc4sligzfrgyc538vw0ndjkfidkckwq-dependent'; cross fingers
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent.lock'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n9ad3c730k3drj3whhm43x8r1j8690nv-builder-dependent.sh'
referenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv.out.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: resolved derivation finished
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv^out' from .drv file: all inputs realised
Rewriting the derivation
rewriting /0ivjaajczf9gmkcmbr9nl54h4g2xj5z8qawzf0czshyszflmmz09 as /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file: have derivation
substitution of 'sha256:5c82b0ba9d776bd05c3dd64019e9a6a265e64bc96ecbdf504b279d24d6091dfc!out': created
substitution of 'sha256:5c82b0ba9d776bd05c3dd64019e9a6a265e64bc96ecbdf504b279d24d6091dfc!out': woken up
substitution of 'sha256:5c82b0ba9d776bd05c3dd64019e9a6a265e64bc96ecbdf504b279d24d6091dfc!out': init
substitution of 'sha256:5c82b0ba9d776bd05c3dd64019e9a6a265e64bc96ecbdf504b279d24d6091dfc!out': trying next substituter
derivation output 'sha256:5c82b0ba9d776bd05c3dd64019e9a6a265e64bc96ecbdf504b279d24d6091dfc!out' is required, but there is no substituter that can provide it
substitution of 'sha256:5c82b0ba9d776bd05c3dd64019e9a6a265e64bc96ecbdf504b279d24d6091dfc!out': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file: waitee 'substitution of 'sha256:5c82b0ba9d776bd05c3dd64019e9a6a265e64bc96ecbdf504b279d24d6091dfc!out'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file: woken up
substitution of 'sha256:5c82b0ba9d776bd05c3dd64019e9a6a265e64bc96ecbdf504b279d24d6091dfc!out': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file: all inputs realised
added input paths '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent', '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed', '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA', '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/s0rjvv4qmnf81i2qxknzaxw241nkkmkm-builder-transitively-dependent.sh'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv.out'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv.out.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file: woken up
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/s0rjvv4qmnf81i2qxknzaxw241nkkmkm-builder-transitively-dependent.sh'
setting builder env variable 'PATH'='/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin'
setting builder env variable 'buildCommand'='echo "building transitively-dependent"
cat /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent/dep
echo /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent > $out
'
setting builder env variable 'builder'='/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
setting builder env variable 'name'='transitively-dependent'
setting builder env variable 'out'='/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9'
setting builder env variable 'outputHashAlgo'='sha256'
setting builder env variable 'outputHashMode'='recursive'
setting builder env variable 'system'='x86_64-linux'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
building '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file: read 32 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file: read 100 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file: build done
killing process 23666
builder process for '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv' finished
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/954b0barssj2h79x5xbvqyf32wilycv4-transitively-dependent'
found reference to '45v53zkcnhwa97yq0ih30fxykv85ddx3' at offset '51'
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/954b0barssj2h79x5xbvqyf32wilycv4-transitively-dependent'; cross fingers
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/r2p7dw3zfvk9b307zafgw20f7vrwdgw7-transitively-dependent'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/r2p7dw3zfvk9b307zafgw20f7vrwdgw7-transitively-dependent.lock'
referenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/s0rjvv4qmnf81i2qxknzaxw241nkkmkm-builder-transitively-dependent.sh'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/r2p7dw3zfvk9b307zafgw20f7vrwdgw7-transitively-dependent.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv.out.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv^out' from .drv file: resolved derivation finished
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/a4m99mwpa5vhzj1fxm6w5g2z9wv1q6qc-transitively-dependent.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lpnsqg59mlcb5qqxsjprj228g1i9y52x-transitively-dependent.drv^out' from .drv file: goal destroyed
starting pool of 15 threads
querying info about '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent' on 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
querying info about '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/r2p7dw3zfvk9b307zafgw20f7vrwdgw7-transitively-dependent' on 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
querying info about '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA' on 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
querying info about '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' on 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
reaping 3 worker threads
copying 4 paths...
starting pool of 15 threads
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' (296 bytes, compressed 40.5% in 84 ms) to binary cache
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA' (680 bytes, compressed 52.9% in 82 ms) to binary cache
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent' (384 bytes, compressed 35.4% in 65 ms) to binary cache
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/r2p7dw3zfvk9b307zafgw20f7vrwdgw7-transitively-dependent' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/r2p7dw3zfvk9b307zafgw20f7vrwdgw7-transitively-dependent' (208 bytes, compressed 0.0% in 67 ms) to binary cache
reaping 3 worker threads
starting pool of 15 threads
reaping 3 worker threads
+(signatures.sh:25) ensureCorrectlyCopied transitivelyDependentCA
+(signatures.sh:13) attrPath=transitivelyDependentCA
+(signatures.sh:14) nix build --store file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store --file ./content-addressed.nix transitivelyDependentCA
+(signatures.sh:28) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(signatures.sh:29) nix copy --from file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store --file ./content-addressed.nix transitivelyDependentCA --trusted-public-keys cache1.example.org:KRzSfT8cKIySVNPKg7bvJUic3qbiStaXZtuKrsM1ymc=
copying 4 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/r2p7dw3zfvk9b307zafgw20f7vrwdgw7-transitively-dependent' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
+(signatures.sh:34) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput
+(signatures.sh:35) testOneCopy dependentNonCA
+(signatures.sh:18) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(signatures.sh:19) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store
+(signatures.sh:21) attrPath=dependentNonCA
+(signatures.sh:22) nix copy -vvvv --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store dependentNonCA --file ./content-addressed.nix --secret-key-files /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/sk1 --show-trace
evaluating file '/lix-src/build/tests/functional/ca/content-addressed.nix'
evaluating file '/lix-src/build/tests/functional/ca/config.nix'
processing attribute 'PATH'
processing attribute 'args'
acquiring write lock on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix/temproots/25212'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nqy2b0i8p3xjm5c1ayksh8pns67m5i48-builder-dependent-non-ca.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nqy2b0i8p3xjm5c1ayksh8pns67m5i48-builder-dependent-non-ca.sh.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nqy2b0i8p3xjm5c1ayksh8pns67m5i48-builder-dependent-non-ca.sh.lock'
processing attribute 'buildCommand'
processing attribute 'PATH'
processing attribute '__contentAddressed'
processing attribute 'args'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh.lock'
processing attribute 'buildCommand'
processing attribute 'PATH'
processing attribute 'args'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh.lock'
processing attribute 'buildCommand'
processing attribute 'builder'
processing attribute 'name'
processing attribute 'system'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv.lock'
instantiated 'simple-input-addressed' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv'
processing attribute 'builder'
processing attribute 'name'
processing attribute 'outputHashAlgo'
processing attribute 'outputHashMode'
processing attribute 'outputs'
processing attribute 'system'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv.lock'
instantiated 'rootCA' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv'
processing attribute 'builder'
processing attribute 'name'
processing attribute 'system'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv.lock'
instantiated 'dependent-non-ca' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv'
querying info about missing paths...
starting pool of 24 threads
these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv^out' from .drv file: woken up
querying info about missing paths...
starting pool of 24 threads
entered goal loop
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv^out' from .drv file: have derivation
substitution of 'sha256:7f788a6657bb45d1690f61108058397fee5fdd82a9c6e2997eb9bc7907ee1988!out': created
substitution of 'sha256:7f788a6657bb45d1690f61108058397fee5fdd82a9c6e2997eb9bc7907ee1988!out': woken up
substitution of 'sha256:7f788a6657bb45d1690f61108058397fee5fdd82a9c6e2997eb9bc7907ee1988!out': init
substitution of 'sha256:7f788a6657bb45d1690f61108058397fee5fdd82a9c6e2997eb9bc7907ee1988!out': trying next substituter
derivation output 'sha256:7f788a6657bb45d1690f61108058397fee5fdd82a9c6e2997eb9bc7907ee1988!out' is required, but there is no substituter that can provide it
substitution of 'sha256:7f788a6657bb45d1690f61108058397fee5fdd82a9c6e2997eb9bc7907ee1988!out': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv^out' from .drv file: waitee 'substitution of 'sha256:7f788a6657bb45d1690f61108058397fee5fdd82a9c6e2997eb9bc7907ee1988!out'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv^out' from .drv file: woken up
substitution of 'sha256:7f788a6657bb45d1690f61108058397fee5fdd82a9c6e2997eb9bc7907ee1988!out': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: have derivation
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': created
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': woken up
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': init
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': trying next substituter
derivation output 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out' is required, but there is no substituter that can provide it
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: waitee 'substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: woken up
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: have derivation
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': created
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': init
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': trying next substituter
path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' is required, but there is no substituter that can build it
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: waitee 'substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: all inputs realised
added input paths '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed.lock'
removing invalid path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
starting build hook '/lix-src/outputs/out/bin/nix __build-remote'
cannot find machines file '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/etc/machines'
got 0 remote builders
hook reply is 'decline-permanently'
killing process 25272
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
setting builder env variable 'PATH'='/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin'
setting builder env variable 'buildCommand'='set -x
echo "Building a legacy derivation"
mkdir -p $out
echo "Hello World" > $out/hello
'
setting builder env variable 'builder'='/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
setting builder env variable 'name'='simple-input-addressed'
setting builder env variable 'out'='/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
setting builder env variable 'system'='x86_64-linux'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
building '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: read 39 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: read 29 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: read 119 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: read 22 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: build done
killing process 25366
builder process for '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv' finished
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: all inputs realised
Rewriting the derivation
rewriting /1d68zbv8cb0z7z9bncy7ikn2z4kz6pfk4m4gs16rfydm5rx5w31v as /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: have derivation
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': created
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': woken up
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': init
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': trying next substituter
derivation output 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out' is required, but there is no substituter that can provide it
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: waitee 'substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: all inputs realised
added input paths '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh', '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.dev'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.dev.lock'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.foo'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.foo.lock'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.out'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.out.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
setting builder env variable 'PATH'='/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin'
setting builder env variable 'buildCommand'='echo "building a CA derivation"
echo "The seed is 0"
mkdir -p $out
echo /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed/hello > $out/dep
ln -s $out $out/self
# test symlinks at root
ln -s $out $dev
ln -s $out $foo
'
setting builder env variable 'builder'='/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
setting builder env variable 'dev'='/02qcpld1y6xhs5gz9bchpxaw0xdhmsp5dv88lh25r2ss44kh8dxz'
setting builder env variable 'foo'='/1x0ymrsy7yr7i9wdsqy9khmzc1yy7nvxw6rdp72yzn50285s67j5'
setting builder env variable 'name'='rootCA'
setting builder env variable 'out'='/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9'
setting builder env variable 'outputHashAlgo'='sha256'
setting builder env variable 'outputHashMode'='recursive'
setting builder env variable 'outputs'='out dev foo'
setting builder env variable 'system'='x86_64-linux'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
sandbox setup: closing leaked FD 15
sandbox setup: closing leaked FD 16
building '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: read 25 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: read 14 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: build done
killing process 25399
builder process for '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv' finished
scanning for references for output 'dev' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/jzdmjly2hplbzdxhizfrjkw4bv20y255-rootCA-dev'
found reference to 'qcs4gwypjwvwich2lal6sp625q8cywzf' at offset '51'
scanning for references for output 'foo' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/phd9nvy25ix7fvawm39w12f79brpnxqg-rootCA-foo'
found reference to 'qcs4gwypjwvwich2lal6sp625q8cywzf' at offset '51'
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/qcs4gwypjwvwich2lal6sp625q8cywzf-rootCA'
found reference to 'n2v81yva7c877n44ws20r0dlxp30ghra' at offset '51'
found reference to 'qcs4gwypjwvwich2lal6sp625q8cywzf' at offset '51'
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/qcs4gwypjwvwich2lal6sp625q8cywzf-rootCA'; cross fingers
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA.lock'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
referenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA.lock'
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/jzdmjly2hplbzdxhizfrjkw4bv20y255-rootCA-dev'; cross fingers
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/jzdmjly2hplbzdxhizfrjkw4bv20y255-rootCA-dev'; cross fingers
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lnp4nzhcjvsa4cndd68y0h0q40jgss8g-rootCA-dev'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lnp4nzhcjvsa4cndd68y0h0q40jgss8g-rootCA-dev.lock'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lnp4nzhcjvsa4cndd68y0h0q40jgss8g-rootCA-dev.lock'
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/phd9nvy25ix7fvawm39w12f79brpnxqg-rootCA-foo'; cross fingers
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/phd9nvy25ix7fvawm39w12f79brpnxqg-rootCA-foo'; cross fingers
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/5f7qc07isaia96psrsdhwhyb3llm5fxq-rootCA-foo'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/5f7qc07isaia96psrsdhwhyb3llm5fxq-rootCA-foo.lock'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/5f7qc07isaia96psrsdhwhyb3llm5fxq-rootCA-foo.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.dev.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.foo.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.out.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: resolved derivation finished
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv^out' from .drv file: all inputs realised
Rewriting the derivation
rewriting /1ywq95kislqx8mq0kmnx21mirsf60xh4wifliylc2hj6jgr2rfm4 as /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv^out' from .drv file: have derivation
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pzpiqnd1mig8kwyqzm7pajzh1j4ksg01-dependent-non-ca': created
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pzpiqnd1mig8kwyqzm7pajzh1j4ksg01-dependent-non-ca': woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pzpiqnd1mig8kwyqzm7pajzh1j4ksg01-dependent-non-ca': init
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pzpiqnd1mig8kwyqzm7pajzh1j4ksg01-dependent-non-ca': trying next substituter
path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pzpiqnd1mig8kwyqzm7pajzh1j4ksg01-dependent-non-ca' is required, but there is no substituter that can build it
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pzpiqnd1mig8kwyqzm7pajzh1j4ksg01-dependent-non-ca': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv^out' from .drv file: waitee 'substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pzpiqnd1mig8kwyqzm7pajzh1j4ksg01-dependent-non-ca'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv^out' from .drv file: woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pzpiqnd1mig8kwyqzm7pajzh1j4ksg01-dependent-non-ca': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv^out' from .drv file: all inputs realised
added input paths '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed', '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA', '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nqy2b0i8p3xjm5c1ayksh8pns67m5i48-builder-dependent-non-ca.sh'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pzpiqnd1mig8kwyqzm7pajzh1j4ksg01-dependent-non-ca'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pzpiqnd1mig8kwyqzm7pajzh1j4ksg01-dependent-non-ca.lock'
removing invalid path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pzpiqnd1mig8kwyqzm7pajzh1j4ksg01-dependent-non-ca'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv^out' from .drv file: woken up
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nqy2b0i8p3xjm5c1ayksh8pns67m5i48-builder-dependent-non-ca.sh'
setting builder env variable 'PATH'='/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin'
setting builder env variable 'buildCommand'='echo "Didn't cut-off"
echo "building dependent-non-ca"
mkdir -p $out
echo /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA/non-ca-hello > $out/dep
'
setting builder env variable 'builder'='/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
setting builder env variable 'name'='dependent-non-ca'
setting builder env variable 'out'='/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pzpiqnd1mig8kwyqzm7pajzh1j4ksg01-dependent-non-ca'
setting builder env variable 'system'='x86_64-linux'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
building '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv^out' from .drv file: read 41 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv^out' from .drv file: build done
killing process 25450
builder process for '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv' finished
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pzpiqnd1mig8kwyqzm7pajzh1j4ksg01-dependent-non-ca'
found reference to 'nk7n7dsly4kvfjvhms95p9x57j4pvpdr' at offset '51'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
referenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nqy2b0i8p3xjm5c1ayksh8pns67m5i48-builder-dependent-non-ca.sh'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pzpiqnd1mig8kwyqzm7pajzh1j4ksg01-dependent-non-ca.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv^out' from .drv file: resolved derivation finished
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pc2v16yf2ma852gx0idi9x6amx2q6h6d-dependent-non-ca.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yg8q8f3zixhnbj0bxysw1m72dn2in6yr-dependent-non-ca.drv^out' from .drv file: goal destroyed
starting pool of 15 threads
querying info about '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' on 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
querying info about '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pzpiqnd1mig8kwyqzm7pajzh1j4ksg01-dependent-non-ca' on 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
querying info about '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA' on 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
reaping 2 worker threads
copying 3 paths...
starting pool of 15 threads
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' (296 bytes, compressed 40.5% in 82 ms) to binary cache
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA' (680 bytes, compressed 52.9% in 81 ms) to binary cache
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pzpiqnd1mig8kwyqzm7pajzh1j4ksg01-dependent-non-ca' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pzpiqnd1mig8kwyqzm7pajzh1j4ksg01-dependent-non-ca' (384 bytes, compressed 34.4% in 62 ms) to binary cache
reaping 2 worker threads
starting pool of 15 threads
reaping 2 worker threads
+(signatures.sh:25) ensureCorrectlyCopied dependentNonCA
+(signatures.sh:13) attrPath=dependentNonCA
+(signatures.sh:14) nix build --store file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store --file ./content-addressed.nix dependentNonCA
+(signatures.sh:28) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(signatures.sh:29) nix copy --from file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store --file ./content-addressed.nix dependentNonCA --trusted-public-keys cache1.example.org:KRzSfT8cKIySVNPKg7bvJUic3qbiStaXZtuKrsM1ymc=
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pzpiqnd1mig8kwyqzm7pajzh1j4ksg01-dependent-non-ca' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
+(signatures.sh:34) for attrPath in rootCA dependentCA transitivelyDependentCA dependentNonCA dependentFixedOutput
+(signatures.sh:35) testOneCopy dependentFixedOutput
+(signatures.sh:18) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(signatures.sh:19) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store
+(signatures.sh:21) attrPath=dependentFixedOutput
+(signatures.sh:22) nix copy -vvvv --to file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store dependentFixedOutput --file ./content-addressed.nix --secret-key-files /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/sk1 --show-trace
evaluating file '/lix-src/build/tests/functional/ca/content-addressed.nix'
evaluating file '/lix-src/build/tests/functional/ca/config.nix'
processing attribute 'PATH'
processing attribute 'args'
acquiring write lock on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix/temproots/26362'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/8ayvj31gg4qcs8cc2m0zs1zdf3mfa9fk-builder-dependent-fixed-output.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/8ayvj31gg4qcs8cc2m0zs1zdf3mfa9fk-builder-dependent-fixed-output.sh.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/8ayvj31gg4qcs8cc2m0zs1zdf3mfa9fk-builder-dependent-fixed-output.sh.lock'
processing attribute 'buildCommand'
processing attribute 'PATH'
processing attribute '__contentAddressed'
processing attribute 'args'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n9ad3c730k3drj3whhm43x8r1j8690nv-builder-dependent.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n9ad3c730k3drj3whhm43x8r1j8690nv-builder-dependent.sh.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n9ad3c730k3drj3whhm43x8r1j8690nv-builder-dependent.sh.lock'
processing attribute 'buildCommand'
processing attribute 'PATH'
processing attribute '__contentAddressed'
processing attribute 'args'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh.lock'
processing attribute 'buildCommand'
processing attribute 'PATH'
processing attribute 'args'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh.lock'
processing attribute 'buildCommand'
processing attribute 'builder'
processing attribute 'name'
processing attribute 'system'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv.lock'
instantiated 'simple-input-addressed' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv'
processing attribute 'builder'
processing attribute 'name'
processing attribute 'outputHashAlgo'
processing attribute 'outputHashMode'
processing attribute 'outputs'
processing attribute 'system'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv.lock'
instantiated 'rootCA' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv'
processing attribute 'builder'
processing attribute 'name'
processing attribute 'outputHashAlgo'
processing attribute 'outputHashMode'
processing attribute 'system'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv.lock'
instantiated 'dependent' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv'
processing attribute 'builder'
processing attribute 'name'
processing attribute 'outputHash'
processing attribute 'outputHashMode'
processing attribute 'system'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv.lock'
instantiated 'dependent-fixed-output' -> '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv'
querying info about missing paths...
starting pool of 24 threads
these 4 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv
/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv^out' from .drv file: woken up
querying info about missing paths...
starting pool of 24 threads
entered goal loop
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv^out' from .drv file: have derivation
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output': created
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output': woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output': init
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output': trying next substituter
path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output' is required, but there is no substituter that can build it
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv^out' from .drv file: waitee 'substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv^out' from .drv file: woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: have derivation
substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out': created
substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out': woken up
substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out': init
substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out': trying next substituter
derivation output 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out' is required, but there is no substituter that can provide it
substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: waitee 'substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: woken up
substitution of 'sha256:d6a2d6aeaea4f9c47459ec41c1b315068518910468ab6ec4d997f3642f3644ba!out': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: have derivation
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': created
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': woken up
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': init
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': trying next substituter
derivation output 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out' is required, but there is no substituter that can provide it
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: waitee 'substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: woken up
substitution of 'sha256:7480cbc09e06af2e1ff1eb4796d34e94ff8f390bca46135f996de2e72d8f64b9!out': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: have derivation
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': created
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': init
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': trying next substituter
path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed' is required, but there is no substituter that can build it
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: waitee 'substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: all inputs realised
added input paths '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed.lock'
removing invalid path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
starting build hook '/lix-src/outputs/out/bin/nix __build-remote'
cannot find machines file '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/etc/machines'
got 0 remote builders
hook reply is 'decline-permanently'
killing process 26381
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
setting builder env variable 'PATH'='/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin'
setting builder env variable 'buildCommand'='set -x
echo "Building a legacy derivation"
mkdir -p $out
echo "Hello World" > $out/hello
'
setting builder env variable 'builder'='/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
setting builder env variable 'name'='simple-input-addressed'
setting builder env variable 'out'='/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
setting builder env variable 'system'='x86_64-linux'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
building '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: read 39 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: read 148 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: read 22 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: build done
killing process 26408
builder process for '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv' finished
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/hc4578m9j9pk79lvdr6vqs7sfhsgky75-builder-simple-input-addressed.sh'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/9q9gd18kwz01q7findg5hs1h24mzbn09-simple-input-addressed.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: all inputs realised
Rewriting the derivation
rewriting /1d68zbv8cb0z7z9bncy7ikn2z4kz6pfk4m4gs16rfydm5rx5w31v as /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: have derivation
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': created
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': woken up
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': init
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': trying next substituter
derivation output 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out' is required, but there is no substituter that can provide it
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: waitee 'substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
substitution of 'sha256:f53197db3a4e7a4e6e791669d3b9f323baa13bd483a7680f42efce22ad996b77!out': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: all inputs realised
added input paths '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh', '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.dev'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.dev.lock'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.foo'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.foo.lock'
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.out'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.out.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
setting builder env variable 'PATH'='/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin'
setting builder env variable 'buildCommand'='echo "building a CA derivation"
echo "The seed is 0"
mkdir -p $out
echo /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed/hello > $out/dep
ln -s $out $out/self
# test symlinks at root
ln -s $out $dev
ln -s $out $foo
'
setting builder env variable 'builder'='/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
setting builder env variable 'dev'='/02qcpld1y6xhs5gz9bchpxaw0xdhmsp5dv88lh25r2ss44kh8dxz'
setting builder env variable 'foo'='/1x0ymrsy7yr7i9wdsqy9khmzc1yy7nvxw6rdp72yzn50285s67j5'
setting builder env variable 'name'='rootCA'
setting builder env variable 'out'='/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9'
setting builder env variable 'outputHashAlgo'='sha256'
setting builder env variable 'outputHashMode'='recursive'
setting builder env variable 'outputs'='out dev foo'
setting builder env variable 'system'='x86_64-linux'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
sandbox setup: closing leaked FD 15
sandbox setup: closing leaked FD 16
building '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: read 39 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: build done
killing process 26421
builder process for '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv' finished
scanning for references for output 'dev' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/jzdmjly2hplbzdxhizfrjkw4bv20y255-rootCA-dev'
found reference to 'qcs4gwypjwvwich2lal6sp625q8cywzf' at offset '51'
scanning for references for output 'foo' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/phd9nvy25ix7fvawm39w12f79brpnxqg-rootCA-foo'
found reference to 'qcs4gwypjwvwich2lal6sp625q8cywzf' at offset '51'
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/qcs4gwypjwvwich2lal6sp625q8cywzf-rootCA'
found reference to 'n2v81yva7c877n44ws20r0dlxp30ghra' at offset '51'
found reference to 'qcs4gwypjwvwich2lal6sp625q8cywzf' at offset '51'
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/qcs4gwypjwvwich2lal6sp625q8cywzf-rootCA'; cross fingers
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA.lock'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
referenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA.lock'
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/jzdmjly2hplbzdxhizfrjkw4bv20y255-rootCA-dev'; cross fingers
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/jzdmjly2hplbzdxhizfrjkw4bv20y255-rootCA-dev'; cross fingers
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lnp4nzhcjvsa4cndd68y0h0q40jgss8g-rootCA-dev'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lnp4nzhcjvsa4cndd68y0h0q40jgss8g-rootCA-dev.lock'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/lnp4nzhcjvsa4cndd68y0h0q40jgss8g-rootCA-dev.lock'
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/phd9nvy25ix7fvawm39w12f79brpnxqg-rootCA-foo'; cross fingers
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/phd9nvy25ix7fvawm39w12f79brpnxqg-rootCA-foo'; cross fingers
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/5f7qc07isaia96psrsdhwhyb3llm5fxq-rootCA-foo'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/5f7qc07isaia96psrsdhwhyb3llm5fxq-rootCA-foo.lock'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/7d009yfshx3xvga2yizxfl1pdm9g2zcs-builder-rootCA.sh'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/5f7qc07isaia96psrsdhwhyb3llm5fxq-rootCA-foo.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.dev.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.foo.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv.out.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: resolved derivation finished
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/6nckhqzmpmql3ppbyh8bcwcj3pq4qnj9-rootCA.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/pw3gjlpnkj9d63rcghgvq63flgaghfar-rootCA.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: all inputs realised
Rewriting the derivation
rewriting /1ywq95kislqx8mq0kmnx21mirsf60xh4wifliylc2hj6jgr2rfm4 as /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: have derivation
substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out': created
substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out': woken up
substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out': init
substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out': trying next substituter
derivation output 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out' is required, but there is no substituter that can provide it
substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: waitee 'substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: woken up
substitution of 'sha256:3fe27dc2583a4fcd5d7102dd6e35a983763c264f717c62df3ea36cdd3517bfe7!out': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: all inputs realised
added input paths '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed', '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n9ad3c730k3drj3whhm43x8r1j8690nv-builder-dependent.sh', '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv.out'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv.out.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: woken up
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n9ad3c730k3drj3whhm43x8r1j8690nv-builder-dependent.sh'
setting builder env variable 'PATH'='/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin'
setting builder env variable 'buildCommand'='echo "building a dependent derivation"
mkdir -p $out
cat /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA/self/dep
echo /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA/self/dep > $out/dep
'
setting builder env variable 'builder'='/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
setting builder env variable 'name'='dependent'
setting builder env variable 'out'='/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9'
setting builder env variable 'outputHashAlgo'='sha256'
setting builder env variable 'outputHashMode'='recursive'
setting builder env variable 'system'='x86_64-linux'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
building '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: read 32 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: read 113 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: build done
killing process 26453
builder process for '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv' finished
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/vnc4sligzfrgyc538vw0ndjkfidkckwq-dependent'
found reference to 'nk7n7dsly4kvfjvhms95p9x57j4pvpdr' at offset '51'
rewriting hashes in '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/vnc4sligzfrgyc538vw0ndjkfidkckwq-dependent'; cross fingers
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent.lock'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n9ad3c730k3drj3whhm43x8r1j8690nv-builder-dependent.sh'
referenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv.out.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: resolved derivation finished
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/mpsl7ll4whl3ap08sr2m88zkmvw5zf3b-dependent.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/argnr2jmag4wb10ya2z737ihsgqz67ld-dependent.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv^out' from .drv file: all inputs realised
Rewriting the derivation
rewriting /0ivjaajczf9gmkcmbr9nl54h4g2xj5z8qawzf0czshyszflmmz09 as /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv^out' from .drv file: have derivation
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output': created
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output': woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output': init
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output': trying next substituter
path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output' is required, but there is no substituter that can build it
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output': done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv^out' from .drv file: waitee 'substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv^out' from .drv file: woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv^out' from .drv file: all inputs realised
added input paths '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent', '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/8ayvj31gg4qcs8cc2m0zs1zdf3mfa9fk-builder-dependent-fixed-output.sh', '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed', '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output.lock'
removing invalid path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv^out' from .drv file: woken up
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/8ayvj31gg4qcs8cc2m0zs1zdf3mfa9fk-builder-dependent-fixed-output.sh'
setting builder env variable 'PATH'='/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin'
setting builder env variable 'buildCommand'='cat /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent/dep
echo foo > $out
'
setting builder env variable 'builder'='/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
setting builder env variable 'name'='dependent-fixed-output'
setting builder env variable 'out'='/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output'
setting builder env variable 'outputHash'='sha512-7aJcmSuEuYP5tGKcmGY8bRr/lrCjJlOxP2mIUjO/vMQeg6gx/65IbzRWES8EKiPDOs9z+wF30lEfcwxM/cT4pw=='
setting builder env variable 'outputHashMode'='recursive'
setting builder env variable 'system'='x86_64-linux'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
building '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv^out' from .drv file: read 100 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv^out' from .drv file: build done
killing process 26519
builder process for '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv' finished
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/45v53zkcnhwa97yq0ih30fxykv85ddx3-dependent'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/8ayvj31gg4qcs8cc2m0zs1zdf3mfa9fk-builder-dependent-fixed-output.sh'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/n2v81yva7c877n44ws20r0dlxp30ghra-simple-input-addressed'
unreferenced input: '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/nk7n7dsly4kvfjvhms95p9x57j4pvpdr-rootCA'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv^out' from .drv file: waitee 'building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv^out' from .drv file' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv^out' from .drv file: resolved derivation finished
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/22vjcb9dw9p6ldpfih6m6jy6r7ai76in-dependent-fixed-output.drv^out' from .drv file: goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/0fwjdbi70fj2lmkzrf7kh3f8c1z5zxgs-dependent-fixed-output.drv^out' from .drv file: goal destroyed
starting pool of 15 threads
querying info about '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output' on 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying 1 paths...
starting pool of 15 threads
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output' to 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output' (120 bytes, compressed -6.7% in 80 ms) to binary cache
starting pool of 15 threads
+(signatures.sh:25) ensureCorrectlyCopied dependentFixedOutput
+(signatures.sh:13) attrPath=dependentFixedOutput
+(signatures.sh:14) nix build --store file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store --file ./content-addressed.nix dependentFixedOutput
+(signatures.sh:28) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/signatures/test-home/.local/state/nix/profiles
+(signatures.sh:29) nix copy --from file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store --file ./content-addressed.nix dependentFixedOutput --trusted-public-keys cache1.example.org:KRzSfT8cKIySVNPKg7bvJUic3qbiStaXZtuKrsM1ymc=
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/ca/signatures/store/yd4dsnv1qi0rfydsyxqg8bya429l16yw-dependent-fixed-output' from 'file:///tmp/nix-shell.MrxVR3/nix-test/ca/signatures/remote_store'...clearing store...
/tmp/nix-shell.MrxVR3/nix-test/gc/var/nix/gcroots/foo -> /tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/gc/store/ni3ca7as4k4h442lkqn0zrnvim69qki0-dependencies-top.drv
/tmp/nix-shell.MrxVR3/nix-test/gc/store/14hnp3wh6frhzc3ppf2gd03ap4h2rw0d-fod-input
/tmp/nix-shell.MrxVR3/nix-test/gc/store/bidic97sdwwvxwca6g7gdrrf07zn6hz8-builder-dependencies-input-0.sh
/tmp/nix-shell.MrxVR3/nix-test/gc/store/fq2zqp4xfcbz094bsjjpi5sndndrn5w2-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/gc/store/fv7bw3a7v3vb22vq0dmdq50dld361xyj-builder-fod-input.sh
/tmp/nix-shell.MrxVR3/nix-test/gc/store/iyi85fx2vxn3ad7jspln1837mzz309vh-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/gc/store/jwzzjggvqidi1cpzjjx36mzn0517va06-builder-dependencies-input-1.sh
/tmp/nix-shell.MrxVR3/nix-test/gc/store/l4fwc7vnqq4wmbd2bva8p4pqpd9a3vd4-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/gc/store/m92lm1pv2klr3nrhmj7zfd4c7bg51fkh-dependencies.builder0.sh
/tmp/nix-shell.MrxVR3/nix-test/gc/store/ni3ca7as4k4h442lkqn0zrnvim69qki0-dependencies-top.drv
/tmp/nix-shell.MrxVR3/nix-test/gc/store/vxy4pwdfzfxx11z2qq96wig8s3sgdnkz-dependencies-input-1
/tmp/nix-shell.MrxVR3/nix-test/gc/store/wrkqjpqqbkl69wvn8hsixysjhzzi6xr7-builder-dependencies-input-2.sh
/tmp/nix-shell.MrxVR3/nix-test/gc/store/zlx78v34n5plirpg1wynj0df7hcnzadz-dependencies-input-1.drv
0 store paths deleted, 0.00 MiB freed
0 store paths deleted, 0.00 MiB freed
42 store paths deleted, 0.01 MiB freed
FOOBAR
BAR
3 store paths deleted, 0.00 MiB freed
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/gc
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/gc
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/gc
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/gc
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/gc/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/gc/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(gc.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/gc/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/gc/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/gc/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/gc/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/gc/test-home/.local/state/nix/profiles
++(gc.sh:5) nix-instantiate dependencies.nix
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(gc.sh:5) drvPath=/tmp/nix-shell.MrxVR3/nix-test/gc/store/ni3ca7as4k4h442lkqn0zrnvim69qki0-dependencies-top.drv
++(gc.sh:6) nix-store -rvv /tmp/nix-shell.MrxVR3/nix-test/gc/store/ni3ca7as4k4h442lkqn0zrnvim69qki0-dependencies-top.drv
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/gc/store/l4fwc7vnqq4wmbd2bva8p4pqpd9a3vd4-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/gc/store/fq2zqp4xfcbz094bsjjpi5sndndrn5w2-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/gc/store/iyi85fx2vxn3ad7jspln1837mzz309vh-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/gc/store/zlx78v34n5plirpg1wynj0df7hcnzadz-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/gc/store/ni3ca7as4k4h442lkqn0zrnvim69qki0-dependencies-top.drv
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/gc/store/bidic97sdwwvxwca6g7gdrrf07zn6hz8-builder-dependencies-input-0.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/gc/store/l4fwc7vnqq4wmbd2bva8p4pqpd9a3vd4-dependencies-input-0.drv'...
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/gc/store/jwzzjggvqidi1cpzjjx36mzn0517va06-builder-dependencies-input-1.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/gc/store/zlx78v34n5plirpg1wynj0df7hcnzadz-dependencies-input-1.drv'...
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/gc/store/wrkqjpqqbkl69wvn8hsixysjhzzi6xr7-builder-dependencies-input-2.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/gc/store/fq2zqp4xfcbz094bsjjpi5sndndrn5w2-dependencies-input-2.drv'...
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/gc/store/fv7bw3a7v3vb22vq0dmdq50dld361xyj-builder-fod-input.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/gc/store/iyi85fx2vxn3ad7jspln1837mzz309vh-fod-input.drv'...
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/gc/store/m92lm1pv2klr3nrhmj7zfd4c7bg51fkh-dependencies.builder0.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/gc/store/ni3ca7as4k4h442lkqn0zrnvim69qki0-dependencies-top.drv'...
FOO
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(gc.sh:6) outPath=/tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top
+(gc.sh:9) rm -f /tmp/nix-shell.MrxVR3/nix-test/gc/var/nix/gcroots/foo
+(gc.sh:10) ln -sf /tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top /tmp/nix-shell.MrxVR3/nix-test/gc/var/nix/gcroots/foo
++(gc.sh:12) nix-store -q --roots /tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top
+(gc.sh:12) '[' '/tmp/nix-shell.MrxVR3/nix-test/gc/var/nix/gcroots/foo -> /tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top' = '/tmp/nix-shell.MrxVR3/nix-test/gc/var/nix/gcroots/foo -> /tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top' ']'
+(gc.sh:14) nix-store --gc --print-roots
+(gc.sh:14) grep /tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top
+(gc.sh:15) nix-store --gc --print-live
+(gc.sh:15) grep /tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top
finding garbage collector roots...
determining live/dead paths...
+(gc.sh:16) grep /tmp/nix-shell.MrxVR3/nix-test/gc/store/ni3ca7as4k4h442lkqn0zrnvim69qki0-dependencies-top.drv
+(gc.sh:16) nix-store --gc --print-dead
finding garbage collector roots...
determining live/dead paths...
+(gc.sh:17) nix-store --gc --print-dead
+(gc.sh:17) grep -E '/tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top$'
finding garbage collector roots...
determining live/dead paths...
+(gc.sh:19) nix-store --gc --print-dead
finding garbage collector roots...
determining live/dead paths...
++(gc.sh:21) readLink /tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top/reference-to-input-2
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:63) sed 's/.*->\ //'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:63) ls -l /tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top/reference-to-input-2
+(gc.sh:21) inUse=/tmp/nix-shell.MrxVR3/nix-test/gc/store/6q4k7ngr2j7q53yk3daipfyy9h30l14w-dependencies-input-2/.
+(gc.sh:22) nix-store --delete /tmp/nix-shell.MrxVR3/nix-test/gc/store/6q4k7ngr2j7q53yk3daipfyy9h30l14w-dependencies-input-2/.
finding garbage collector roots...
error: Cannot delete path '/tmp/nix-shell.MrxVR3/nix-test/gc/store/6q4k7ngr2j7q53yk3daipfyy9h30l14w-dependencies-input-2' since it is still alive. To find out why, use: nix-store --query --roots and nix-store --query --referrers
+(gc.sh:23) test -e /tmp/nix-shell.MrxVR3/nix-test/gc/store/6q4k7ngr2j7q53yk3daipfyy9h30l14w-dependencies-input-2/.
+(gc.sh:25) nix-store --delete /tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top
finding garbage collector roots...
error: Cannot delete path '/tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top' since it is still alive. To find out why, use: nix-store --query --roots and nix-store --query --referrers
+(gc.sh:26) test -e /tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top
+(gc.sh:28) for i in $NIX_STORE_DIR/*
+(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/gc/store/14hnp3wh6frhzc3ppf2gd03ap4h2rw0d-fod-input =~ /trash ]]
+(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/14hnp3wh6frhzc3ppf2gd03ap4h2rw0d-fod-input.lock
+(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/14hnp3wh6frhzc3ppf2gd03ap4h2rw0d-fod-input.chroot
+(gc.sh:28) for i in $NIX_STORE_DIR/*
+(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/gc/store/6q4k7ngr2j7q53yk3daipfyy9h30l14w-dependencies-input-2 =~ /trash ]]
+(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/6q4k7ngr2j7q53yk3daipfyy9h30l14w-dependencies-input-2.lock
+(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/6q4k7ngr2j7q53yk3daipfyy9h30l14w-dependencies-input-2.chroot
+(gc.sh:28) for i in $NIX_STORE_DIR/*
+(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/gc/store/9akcqr0kz051mg159qpx6jh2p68q2s60-dependencies-input-0 =~ /trash ]]
+(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/9akcqr0kz051mg159qpx6jh2p68q2s60-dependencies-input-0.lock
+(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/9akcqr0kz051mg159qpx6jh2p68q2s60-dependencies-input-0.chroot
+(gc.sh:28) for i in $NIX_STORE_DIR/*
+(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/gc/store/bidic97sdwwvxwca6g7gdrrf07zn6hz8-builder-dependencies-input-0.sh =~ /trash ]]
+(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/bidic97sdwwvxwca6g7gdrrf07zn6hz8-builder-dependencies-input-0.sh.lock
+(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/bidic97sdwwvxwca6g7gdrrf07zn6hz8-builder-dependencies-input-0.sh.chroot
+(gc.sh:28) for i in $NIX_STORE_DIR/*
+(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top =~ /trash ]]
+(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top.lock
+(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top.chroot
+(gc.sh:28) for i in $NIX_STORE_DIR/*
+(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/gc/store/fq2zqp4xfcbz094bsjjpi5sndndrn5w2-dependencies-input-2.drv =~ /trash ]]
+(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/fq2zqp4xfcbz094bsjjpi5sndndrn5w2-dependencies-input-2.drv.lock
+(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/fq2zqp4xfcbz094bsjjpi5sndndrn5w2-dependencies-input-2.drv.chroot
+(gc.sh:28) for i in $NIX_STORE_DIR/*
+(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/gc/store/fv7bw3a7v3vb22vq0dmdq50dld361xyj-builder-fod-input.sh =~ /trash ]]
+(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/fv7bw3a7v3vb22vq0dmdq50dld361xyj-builder-fod-input.sh.lock
+(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/fv7bw3a7v3vb22vq0dmdq50dld361xyj-builder-fod-input.sh.chroot
+(gc.sh:28) for i in $NIX_STORE_DIR/*
+(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/gc/store/iyi85fx2vxn3ad7jspln1837mzz309vh-fod-input.drv =~ /trash ]]
+(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/iyi85fx2vxn3ad7jspln1837mzz309vh-fod-input.drv.lock
+(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/iyi85fx2vxn3ad7jspln1837mzz309vh-fod-input.drv.chroot
+(gc.sh:28) for i in $NIX_STORE_DIR/*
+(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/gc/store/jwzzjggvqidi1cpzjjx36mzn0517va06-builder-dependencies-input-1.sh =~ /trash ]]
+(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/jwzzjggvqidi1cpzjjx36mzn0517va06-builder-dependencies-input-1.sh.lock
+(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/jwzzjggvqidi1cpzjjx36mzn0517va06-builder-dependencies-input-1.sh.chroot
+(gc.sh:28) for i in $NIX_STORE_DIR/*
+(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/gc/store/l4fwc7vnqq4wmbd2bva8p4pqpd9a3vd4-dependencies-input-0.drv =~ /trash ]]
+(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/l4fwc7vnqq4wmbd2bva8p4pqpd9a3vd4-dependencies-input-0.drv.lock
+(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/l4fwc7vnqq4wmbd2bva8p4pqpd9a3vd4-dependencies-input-0.drv.chroot
+(gc.sh:28) for i in $NIX_STORE_DIR/*
+(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/gc/store/m92lm1pv2klr3nrhmj7zfd4c7bg51fkh-dependencies.builder0.sh =~ /trash ]]
+(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/m92lm1pv2klr3nrhmj7zfd4c7bg51fkh-dependencies.builder0.sh.lock
+(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/m92lm1pv2klr3nrhmj7zfd4c7bg51fkh-dependencies.builder0.sh.chroot
+(gc.sh:28) for i in $NIX_STORE_DIR/*
+(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/gc/store/ni3ca7as4k4h442lkqn0zrnvim69qki0-dependencies-top.drv =~ /trash ]]
+(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/ni3ca7as4k4h442lkqn0zrnvim69qki0-dependencies-top.drv.lock
+(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/ni3ca7as4k4h442lkqn0zrnvim69qki0-dependencies-top.drv.chroot
+(gc.sh:28) for i in $NIX_STORE_DIR/*
+(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/gc/store/vxy4pwdfzfxx11z2qq96wig8s3sgdnkz-dependencies-input-1 =~ /trash ]]
+(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/vxy4pwdfzfxx11z2qq96wig8s3sgdnkz-dependencies-input-1.lock
+(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/vxy4pwdfzfxx11z2qq96wig8s3sgdnkz-dependencies-input-1.chroot
+(gc.sh:28) for i in $NIX_STORE_DIR/*
+(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/gc/store/wrkqjpqqbkl69wvn8hsixysjhzzi6xr7-builder-dependencies-input-2.sh =~ /trash ]]
+(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/wrkqjpqqbkl69wvn8hsixysjhzzi6xr7-builder-dependencies-input-2.sh.lock
+(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/wrkqjpqqbkl69wvn8hsixysjhzzi6xr7-builder-dependencies-input-2.sh.chroot
+(gc.sh:28) for i in $NIX_STORE_DIR/*
+(gc.sh:29) [[ /tmp/nix-shell.MrxVR3/nix-test/gc/store/zlx78v34n5plirpg1wynj0df7hcnzadz-dependencies-input-1.drv =~ /trash ]]
+(gc.sh:30) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/zlx78v34n5plirpg1wynj0df7hcnzadz-dependencies-input-1.drv.lock
+(gc.sh:31) touch /tmp/nix-shell.MrxVR3/nix-test/gc/store/zlx78v34n5plirpg1wynj0df7hcnzadz-dependencies-input-1.drv.chroot
+(gc.sh:34) nix-collect-garbage
finding garbage collector roots...
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/l4fwc7vnqq4wmbd2bva8p4pqpd9a3vd4-dependencies-input-0.drv.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/ni3ca7as4k4h442lkqn0zrnvim69qki0-dependencies-top.drv.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/fv7bw3a7v3vb22vq0dmdq50dld361xyj-builder-fod-input.sh.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/wrkqjpqqbkl69wvn8hsixysjhzzi6xr7-builder-dependencies-input-2.sh.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/ni3ca7as4k4h442lkqn0zrnvim69qki0-dependencies-top.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/fq2zqp4xfcbz094bsjjpi5sndndrn5w2-dependencies-input-2.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/l4fwc7vnqq4wmbd2bva8p4pqpd9a3vd4-dependencies-input-0.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/14hnp3wh6frhzc3ppf2gd03ap4h2rw0d-fod-input'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/bidic97sdwwvxwca6g7gdrrf07zn6hz8-builder-dependencies-input-0.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/iyi85fx2vxn3ad7jspln1837mzz309vh-fod-input.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/9akcqr0kz051mg159qpx6jh2p68q2s60-dependencies-input-0.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/iyi85fx2vxn3ad7jspln1837mzz309vh-fod-input.drv.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/14hnp3wh6frhzc3ppf2gd03ap4h2rw0d-fod-input.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/zlx78v34n5plirpg1wynj0df7hcnzadz-dependencies-input-1.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/jwzzjggvqidi1cpzjjx36mzn0517va06-builder-dependencies-input-1.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/14hnp3wh6frhzc3ppf2gd03ap4h2rw0d-fod-input.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/zlx78v34n5plirpg1wynj0df7hcnzadz-dependencies-input-1.drv.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/9akcqr0kz051mg159qpx6jh2p68q2s60-dependencies-input-0.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/iyi85fx2vxn3ad7jspln1837mzz309vh-fod-input.drv.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/m92lm1pv2klr3nrhmj7zfd4c7bg51fkh-dependencies.builder0.sh.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/vxy4pwdfzfxx11z2qq96wig8s3sgdnkz-dependencies-input-1'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/6q4k7ngr2j7q53yk3daipfyy9h30l14w-dependencies-input-2.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/fq2zqp4xfcbz094bsjjpi5sndndrn5w2-dependencies-input-2.drv.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/m92lm1pv2klr3nrhmj7zfd4c7bg51fkh-dependencies.builder0.sh.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/fv7bw3a7v3vb22vq0dmdq50dld361xyj-builder-fod-input.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/wrkqjpqqbkl69wvn8hsixysjhzzi6xr7-builder-dependencies-input-2.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/jwzzjggvqidi1cpzjjx36mzn0517va06-builder-dependencies-input-1.sh.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/l4fwc7vnqq4wmbd2bva8p4pqpd9a3vd4-dependencies-input-0.drv.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/vxy4pwdfzfxx11z2qq96wig8s3sgdnkz-dependencies-input-1.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/fv7bw3a7v3vb22vq0dmdq50dld361xyj-builder-fod-input.sh.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/vxy4pwdfzfxx11z2qq96wig8s3sgdnkz-dependencies-input-1.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/bidic97sdwwvxwca6g7gdrrf07zn6hz8-builder-dependencies-input-0.sh.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/wrkqjpqqbkl69wvn8hsixysjhzzi6xr7-builder-dependencies-input-2.sh.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/fq2zqp4xfcbz094bsjjpi5sndndrn5w2-dependencies-input-2.drv.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/ni3ca7as4k4h442lkqn0zrnvim69qki0-dependencies-top.drv.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/zlx78v34n5plirpg1wynj0df7hcnzadz-dependencies-input-1.drv.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/jwzzjggvqidi1cpzjjx36mzn0517va06-builder-dependencies-input-1.sh.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/m92lm1pv2klr3nrhmj7zfd4c7bg51fkh-dependencies.builder0.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/bidic97sdwwvxwca6g7gdrrf07zn6hz8-builder-dependencies-input-0.sh.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/6q4k7ngr2j7q53yk3daipfyy9h30l14w-dependencies-input-2.chroot'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top.chroot'
deleting unused links...
note: currently hard linking saves -0.00 MiB
+(gc.sh:37) cat /tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top/foobar
+(gc.sh:38) cat /tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top/reference-to-input-2/bar
+(gc.sh:41) test -e /tmp/nix-shell.MrxVR3/nix-test/gc/store/ni3ca7as4k4h442lkqn0zrnvim69qki0-dependencies-top.drv
+(gc.sh:43) rm /tmp/nix-shell.MrxVR3/nix-test/gc/var/nix/gcroots/foo
+(gc.sh:45) nix-collect-garbage
finding garbage collector roots...
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/6q4k7ngr2j7q53yk3daipfyy9h30l14w-dependencies-input-2'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc/store/9akcqr0kz051mg159qpx6jh2p68q2s60-dependencies-input-0'
deleting unused links...
note: currently hard linking saves -0.00 MiB
+(gc.sh:48) test -e /tmp/nix-shell.MrxVR3/nix-test/gc/store/cj831339zbp3yraswvms67a3givlnxf3-dependencies-top/foobar
+(gc.sh:51) rmdir /tmp/nix-shell.MrxVR3/nix-test/gc/store/.links
+(gc.sh:52) rmdir /tmp/nix-shell.MrxVR3/nix-test/gc/storeclearing store...
A
B
target is /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/r0gk5rza3y3zp2k07i6w9cqp56zdcma2-dependencies-top
12 store paths deleted, 0.01 MiB freed
3 store paths deleted, 0.00 MiB freed
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/nix-build
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/nix-build
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/nix-build
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-build
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-build
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-build/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-build/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/nix-build/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-build/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-build/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/nix-build/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(nix-build.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/nix-build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-build/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-build/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/nix-build/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-build/test-home/.local/state/nix/profiles
++(nix-build.sh:5) nix-build dependencies.nix -o /tmp/nix-shell.MrxVR3/nix-test/nix-build/result
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/0i9jvv1dlllsm6agp1275qpfj5nygbzm-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/lg18d37qjwlz9sp0mklyk5yb7c5zxqs1-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/5gwf5yfwyflh30mv0i0h7ip1npdzpjhx-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/bnvjfqc456rab2cxlzxrmphnjxmxq7g4-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/qgcvq1ymvzjfldvgrxq320dm3vq4mfdv-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/lg18d37qjwlz9sp0mklyk5yb7c5zxqs1-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/bnvjfqc456rab2cxlzxrmphnjxmxq7g4-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/5gwf5yfwyflh30mv0i0h7ip1npdzpjhx-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/0i9jvv1dlllsm6agp1275qpfj5nygbzm-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/qgcvq1ymvzjfldvgrxq320dm3vq4mfdv-dependencies-top.drv'...
FOO
+(nix-build.sh:5) outPath=/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/r0gk5rza3y3zp2k07i6w9cqp56zdcma2-dependencies-top
++(nix-build.sh:6) cat /tmp/nix-shell.MrxVR3/nix-test/nix-build/result/foobar
+(nix-build.sh:6) test FOOBAR = FOOBAR
+(nix-build.sh:9) echo A
++(nix-build.sh:10) readLink /tmp/nix-shell.MrxVR3/nix-test/nix-build/result
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:63) ls -l /tmp/nix-shell.MrxVR3/nix-test/nix-build/result
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:63) sed 's/.*->\ //'
+(nix-build.sh:10) target=/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/r0gk5rza3y3zp2k07i6w9cqp56zdcma2-dependencies-top
+(nix-build.sh:11) echo B
+(nix-build.sh:12) echo target is /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/r0gk5rza3y3zp2k07i6w9cqp56zdcma2-dependencies-top
+(nix-build.sh:13) nix-store --gc
finding garbage collector roots...
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/qgcvq1ymvzjfldvgrxq320dm3vq4mfdv-dependencies-top.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/5gwf5yfwyflh30mv0i0h7ip1npdzpjhx-dependencies-input-2.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/s86wsfk1na48yzc69sxws3hx0l0g85dz-builder-dependencies-input-2.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/lg18d37qjwlz9sp0mklyk5yb7c5zxqs1-dependencies-input-0.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/n9j0k03kyn662bls08x2q1dpvcdd2rh4-builder-dependencies-input-0.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/bnvjfqc456rab2cxlzxrmphnjxmxq7g4-dependencies-input-1.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/z8n4izlc5vqr5zb93an4ihzh9mx7z74i-dependencies-input-1'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/9ql6bhkkbzcgdzcyzddqsnqaxcq3vm1z-dependencies.builder0.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/34rki5q99rc5zxpp85bkrmn7dh4j5lls-builder-dependencies-input-1.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/0y6b2aqy2zx5hmkbgwmmiv6z3pfx9rdn-fod-input'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/0i9jvv1dlllsm6agp1275qpfj5nygbzm-fod-input.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/lk427a2d3m28vh7h3pfnadb2qvmh5id2-builder-fod-input.sh'
deleting unused links...
note: currently hard linking saves -0.00 MiB
+(nix-build.sh:14) test -e /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/r0gk5rza3y3zp2k07i6w9cqp56zdcma2-dependencies-top/foobar
+(nix-build.sh:17) rm /tmp/nix-shell.MrxVR3/nix-test/nix-build/result
+(nix-build.sh:18) nix-store --gc
finding garbage collector roots...
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/nix-build/var/nix/gcroots/auto/3b7kwjjklnn4hbbvqxlhmwybr122l7ag' to '/tmp/nix-shell.MrxVR3/nix-test/nix-build/result'
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/r0gk5rza3y3zp2k07i6w9cqp56zdcma2-dependencies-top'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/2q194ckc2lrak8l9wyh8pnpx3w55jq26-dependencies-input-2'
deleting '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/hn55rf18h91073ajn1ks0ng57a14qkxs-dependencies-input-0'
deleting unused links...
note: currently hard linking saves -0.00 MiB
+(nix-build.sh:19) test -e /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/r0gk5rza3y3zp2k07i6w9cqp56zdcma2-dependencies-top/foobar
+++(nix-build.sh:21) nix-instantiate dependencies.nix
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
++(nix-build.sh:21) nix-build /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/qgcvq1ymvzjfldvgrxq320dm3vq4mfdv-dependencies-top.drv --no-out-link
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/0i9jvv1dlllsm6agp1275qpfj5nygbzm-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/lg18d37qjwlz9sp0mklyk5yb7c5zxqs1-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/5gwf5yfwyflh30mv0i0h7ip1npdzpjhx-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/bnvjfqc456rab2cxlzxrmphnjxmxq7g4-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/qgcvq1ymvzjfldvgrxq320dm3vq4mfdv-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/lg18d37qjwlz9sp0mklyk5yb7c5zxqs1-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/bnvjfqc456rab2cxlzxrmphnjxmxq7g4-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/5gwf5yfwyflh30mv0i0h7ip1npdzpjhx-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/0i9jvv1dlllsm6agp1275qpfj5nygbzm-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/qgcvq1ymvzjfldvgrxq320dm3vq4mfdv-dependencies-top.drv'...
FOO
+(nix-build.sh:21) outPath2=/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/r0gk5rza3y3zp2k07i6w9cqp56zdcma2-dependencies-top
+(nix-build.sh:22) [[ /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/r0gk5rza3y3zp2k07i6w9cqp56zdcma2-dependencies-top = /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/r0gk5rza3y3zp2k07i6w9cqp56zdcma2-dependencies-top ]]
+++(nix-build.sh:24) nix-instantiate dependencies.nix
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
++(nix-build.sh:24) nix-build '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/qgcvq1ymvzjfldvgrxq320dm3vq4mfdv-dependencies-top.drv!out' --no-out-link
+(nix-build.sh:24) outPath2=/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/r0gk5rza3y3zp2k07i6w9cqp56zdcma2-dependencies-top
+(nix-build.sh:25) [[ /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/r0gk5rza3y3zp2k07i6w9cqp56zdcma2-dependencies-top = /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/r0gk5rza3y3zp2k07i6w9cqp56zdcma2-dependencies-top ]]
+++(nix-build.sh:27) nix-instantiate --add-root /tmp/nix-shell.MrxVR3/nix-test/nix-build/indirect dependencies.nix
++(nix-build.sh:27) nix-store -r '/tmp/nix-shell.MrxVR3/nix-test/nix-build/indirect!out'
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(nix-build.sh:27) outPath2=/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/r0gk5rza3y3zp2k07i6w9cqp56zdcma2-dependencies-top
+(nix-build.sh:28) [[ /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/r0gk5rza3y3zp2k07i6w9cqp56zdcma2-dependencies-top = /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/r0gk5rza3y3zp2k07i6w9cqp56zdcma2-dependencies-top ]]
++(nix-build.sh:33) nix-build nix-build-examples.nix -A input0 --no-out-link
+(nix-build.sh:33) input0=/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/hn55rf18h91073ajn1ks0ng57a14qkxs-dependencies-input-0
++(nix-build.sh:34) nix-build nix-build-examples.nix -A input1 --no-out-link
+(nix-build.sh:34) input1=/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/z8n4izlc5vqr5zb93an4ihzh9mx7z74i-dependencies-input-1
++(nix-build.sh:35) nix-build nix-build-examples.nix -A input2 --no-out-link
+(nix-build.sh:35) input2=/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/2q194ckc2lrak8l9wyh8pnpx3w55jq26-dependencies-input-2
++(nix-build.sh:36) nix-build nix-build-examples.nix -A body --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/2s468ja2xjqdf8kahbww7fg5xj84aa6x-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/2s468ja2xjqdf8kahbww7fg5xj84aa6x-dependencies-top.drv'...
FOO
+(nix-build.sh:36) body=/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/sa8jylafdsdp0smvgdnfwgf7s2zlrb13-dependencies-top
+++(nix-build.sh:38) nix-build nix-build-examples.nix -A input0 -A input1 -A input2 -A body --no-out-link
++(nix-build.sh:38) echo /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/hn55rf18h91073ajn1ks0ng57a14qkxs-dependencies-input-0 /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/z8n4izlc5vqr5zb93an4ihzh9mx7z74i-dependencies-input-1 /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/2q194ckc2lrak8l9wyh8pnpx3w55jq26-dependencies-input-2 /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/sa8jylafdsdp0smvgdnfwgf7s2zlrb13-dependencies-top
+(nix-build.sh:38) outPathsA='/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/hn55rf18h91073ajn1ks0ng57a14qkxs-dependencies-input-0 /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/z8n4izlc5vqr5zb93an4ihzh9mx7z74i-dependencies-input-1 /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/2q194ckc2lrak8l9wyh8pnpx3w55jq26-dependencies-input-2 /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/sa8jylafdsdp0smvgdnfwgf7s2zlrb13-dependencies-top'
+(nix-build.sh:39) [[ /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/hn55rf18h91073ajn1ks0ng57a14qkxs-dependencies-input-0 /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/z8n4izlc5vqr5zb93an4ihzh9mx7z74i-dependencies-input-1 /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/2q194ckc2lrak8l9wyh8pnpx3w55jq26-dependencies-input-2 /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/sa8jylafdsdp0smvgdnfwgf7s2zlrb13-dependencies-top = \/\t\m\p\/\n\i\x\-\s\h\e\l\l\.\M\r\x\V\R\3\/\n\i\x\-\t\e\s\t\/\n\i\x\-\b\u\i\l\d\/\s\t\o\r\e\/\h\n\5\5\r\f\1\8\h\9\1\0\7\3\a\j\n\1\k\s\0\n\g\5\7\a\1\4\q\k\x\s\-\d\e\p\e\n\d\e\n\c\i\e\s\-\i\n\p\u\t\-\0\ \/\t\m\p\/\n\i\x\-\s\h\e\l\l\.\M\r\x\V\R\3\/\n\i\x\-\t\e\s\t\/\n\i\x\-\b\u\i\l\d\/\s\t\o\r\e\/\z\8\n\4\i\z\l\c\5\v\q\r\5\z\b\9\3\a\n\4\i\h\z\h\9\m\x\7\z\7\4\i\-\d\e\p\e\n\d\e\n\c\i\e\s\-\i\n\p\u\t\-\1\ \/\t\m\p\/\n\i\x\-\s\h\e\l\l\.\M\r\x\V\R\3\/\n\i\x\-\t\e\s\t\/\n\i\x\-\b\u\i\l\d\/\s\t\o\r\e\/\2\q\1\9\4\c\k\c\2\l\r\a\k\8\l\9\w\y\h\8\p\n\p\x\3\w\5\5\j\q\2\6\-\d\e\p\e\n\d\e\n\c\i\e\s\-\i\n\p\u\t\-\2\ \/\t\m\p\/\n\i\x\-\s\h\e\l\l\.\M\r\x\V\R\3\/\n\i\x\-\t\e\s\t\/\n\i\x\-\b\u\i\l\d\/\s\t\o\r\e\/\s\a\8\j\y\l\a\f\d\s\d\p\0\s\m\v\g\d\n\f\w\g\f\7\s\2\z\l\r\b\1\3\-\d\e\p\e\n\d\e\n\c\i\e\s\-\t\o\p ]]
+++(nix-build.sh:42) nix-build nix-build-examples.nix -A body -A input1 -A input2 -A input0 --no-out-link
++(nix-build.sh:42) echo /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/sa8jylafdsdp0smvgdnfwgf7s2zlrb13-dependencies-top /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/z8n4izlc5vqr5zb93an4ihzh9mx7z74i-dependencies-input-1 /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/2q194ckc2lrak8l9wyh8pnpx3w55jq26-dependencies-input-2 /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/hn55rf18h91073ajn1ks0ng57a14qkxs-dependencies-input-0
+(nix-build.sh:42) outPathsB='/tmp/nix-shell.MrxVR3/nix-test/nix-build/store/sa8jylafdsdp0smvgdnfwgf7s2zlrb13-dependencies-top /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/z8n4izlc5vqr5zb93an4ihzh9mx7z74i-dependencies-input-1 /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/2q194ckc2lrak8l9wyh8pnpx3w55jq26-dependencies-input-2 /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/hn55rf18h91073ajn1ks0ng57a14qkxs-dependencies-input-0'
+(nix-build.sh:43) [[ /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/sa8jylafdsdp0smvgdnfwgf7s2zlrb13-dependencies-top /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/z8n4izlc5vqr5zb93an4ihzh9mx7z74i-dependencies-input-1 /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/2q194ckc2lrak8l9wyh8pnpx3w55jq26-dependencies-input-2 /tmp/nix-shell.MrxVR3/nix-test/nix-build/store/hn55rf18h91073ajn1ks0ng57a14qkxs-dependencies-input-0 = \/\t\m\p\/\n\i\x\-\s\h\e\l\l\.\M\r\x\V\R\3\/\n\i\x\-\t\e\s\t\/\n\i\x\-\b\u\i\l\d\/\s\t\o\r\e\/\s\a\8\j\y\l\a\f\d\s\d\p\0\s\m\v\g\d\n\f\w\g\f\7\s\2\z\l\r\b\1\3\-\d\e\p\e\n\d\e\n\c\i\e\s\-\t\o\p\ \/\t\m\p\/\n\i\x\-\s\h\e\l\l\.\M\r\x\V\R\3\/\n\i\x\-\t\e\s\t\/\n\i\x\-\b\u\i\l\d\/\s\t\o\r\e\/\z\8\n\4\i\z\l\c\5\v\q\r\5\z\b\9\3\a\n\4\i\h\z\h\9\m\x\7\z\7\4\i\-\d\e\p\e\n\d\e\n\c\i\e\s\-\i\n\p\u\t\-\1\ \/\t\m\p\/\n\i\x\-\s\h\e\l\l\.\M\r\x\V\R\3\/\n\i\x\-\t\e\s\t\/\n\i\x\-\b\u\i\l\d\/\s\t\o\r\e\/\2\q\1\9\4\c\k\c\2\l\r\a\k\8\l\9\w\y\h\8\p\n\p\x\3\w\5\5\j\q\2\6\-\d\e\p\e\n\d\e\n\c\i\e\s\-\i\n\p\u\t\-\2\ \/\t\m\p\/\n\i\x\-\s\h\e\l\l\.\M\r\x\V\R\3\/\n\i\x\-\t\e\s\t\/\n\i\x\-\b\u\i\l\d\/\s\t\o\r\e\/\h\n\5\5\r\f\1\8\h\9\1\0\7\3\a\j\n\1\k\s\0\n\g\5\7\a\1\4\q\k\x\s\-\d\e\p\e\n\d\e\n\c\i\e\s\-\i\n\p\u\t\-\0 ]]clearing store...
Build started
3 store paths deleted, 0.00 MiB freed
waiting for pid 26910 to finish...
/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/adan63zz9xjglccfqzsjvbnnjfcx5a8k-gc-concurrent
FOOBAR
BAR
/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/w9zvh1rcrwal60qxxrqxr5iqhm8gaax2-gc-concurrent2
FOOBARxyzzy
13 store paths deleted, 0.00 MiB freed
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(gc-concurrent.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/test-home/.local/state/nix/profiles
+(gc-concurrent.sh:5) lockFifo1=/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/test1.fifo
+(gc-concurrent.sh:6) mkfifo /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/test1.fifo
++(gc-concurrent.sh:8) nix-instantiate gc-concurrent.nix -A test1 --argstr lockFifo /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/test1.fifo
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(gc-concurrent.sh:8) drvPath1=/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/17g99q5qjm5x9hqfb28pwxgbbarivz1f-gc-concurrent.drv
++(gc-concurrent.sh:9) nix-store -q /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/17g99q5qjm5x9hqfb28pwxgbbarivz1f-gc-concurrent.drv
+(gc-concurrent.sh:9) outPath1=/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/adan63zz9xjglccfqzsjvbnnjfcx5a8k-gc-concurrent
++(gc-concurrent.sh:11) nix-instantiate gc-concurrent.nix -A test2
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(gc-concurrent.sh:11) drvPath2=/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/i7cxm3j5hp7735giisplcn2yn539cd7d-gc-concurrent2.drv
++(gc-concurrent.sh:12) nix-store -q /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/i7cxm3j5hp7735giisplcn2yn539cd7d-gc-concurrent2.drv
+(gc-concurrent.sh:12) outPath2=/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/w9zvh1rcrwal60qxxrqxr5iqhm8gaax2-gc-concurrent2
++(gc-concurrent.sh:14) nix-instantiate simple.nix
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(gc-concurrent.sh:14) drvPath3=/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/mx6bcwjfasxw922s8i3xg5a8vylk4bl1-simple.drv
++(gc-concurrent.sh:15) nix-store -r /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/mx6bcwjfasxw922s8i3xg5a8vylk4bl1-simple.drv
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/mx6bcwjfasxw922s8i3xg5a8vylk4bl1-simple.drv
building '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/mx6bcwjfasxw922s8i3xg5a8vylk4bl1-simple.drv'...
PATH=
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(gc-concurrent.sh:15) outPath3=/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/84ds5v9i0crbwr34hpmdyfmw0vaw8v25-simple
+(gc-concurrent.sh:17) test -e /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/84ds5v9i0crbwr34hpmdyfmw0vaw8v25-simple.lock
+(gc-concurrent.sh:18) touch /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/84ds5v9i0crbwr34hpmdyfmw0vaw8v25-simple.lock
+(gc-concurrent.sh:20) rm -f '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/var/nix/gcroots/foo*'
+(gc-concurrent.sh:21) ln -s /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/i7cxm3j5hp7735giisplcn2yn539cd7d-gc-concurrent2.drv /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/var/nix/gcroots/foo
+(gc-concurrent.sh:22) ln -s /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/84ds5v9i0crbwr34hpmdyfmw0vaw8v25-simple /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/var/nix/gcroots/foo2
+(gc-concurrent.sh:26) pid1=26910
+(gc-concurrent.sh:29) cat /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/test1.fifo
+(gc-concurrent.sh:25) nix-store -rvv /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/17g99q5qjm5x9hqfb28pwxgbbarivz1f-gc-concurrent.drv
these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/f6cfdawwhfj2fln1ii1018rk2rgyqjs1-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/rb1m7zdxqapsnmxq3iq17yggksvy9g6q-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/17g99q5qjm5x9hqfb28pwxgbbarivz1f-gc-concurrent.drv
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/36sxm4540cdq107if1cjvay83mc6hlhr-builder-dependencies-input-1.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/rb1m7zdxqapsnmxq3iq17yggksvy9g6q-dependencies-input-1.drv'...
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/n8lr3p6c83vhiiv6s4rjjm42za5k85na-builder-dependencies-input-2.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/f6cfdawwhfj2fln1ii1018rk2rgyqjs1-dependencies-input-2.drv'...
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/lxv2n5zwvk032380nj9y3nv1yxnbk85p-gc-concurrent.builder.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/17g99q5qjm5x9hqfb28pwxgbbarivz1f-gc-concurrent.drv'...
+(gc-concurrent.sh:32) nix-collect-garbage
finding garbage collector roots...
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/mx6bcwjfasxw922s8i3xg5a8vylk4bl1-simple.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/84ds5v9i0crbwr34hpmdyfmw0vaw8v25-simple.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/1ab86kl5nk9cc840dnf9ddw06kbq5d2i-simple.builder.sh'
deleting unused links...
note: currently hard linking saves -0.00 MiB
+(gc-concurrent.sh:35) echo ''
+(gc-concurrent.sh:36) echo waiting for pid 26910 to finish...
+(gc-concurrent.sh:37) wait 26910
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(gc-concurrent.sh:42) cat /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/adan63zz9xjglccfqzsjvbnnjfcx5a8k-gc-concurrent/foobar
+(gc-concurrent.sh:43) cat /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/adan63zz9xjglccfqzsjvbnnjfcx5a8k-gc-concurrent/input-2/bar
+(gc-concurrent.sh:47) nix-store -rvv /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/i7cxm3j5hp7735giisplcn2yn539cd7d-gc-concurrent2.drv
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/i7cxm3j5hp7735giisplcn2yn539cd7d-gc-concurrent2.drv
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/1yh4glxv2nq9c3nyz0v35apmc3hvkbjh-gc-concurrent2.builder.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/i7cxm3j5hp7735giisplcn2yn539cd7d-gc-concurrent2.drv'...
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(gc-concurrent.sh:48) cat /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/w9zvh1rcrwal60qxxrqxr5iqhm8gaax2-gc-concurrent2/foobar
+(gc-concurrent.sh:50) rm -f /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/var/nix/gcroots/foo /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/var/nix/gcroots/foo2
+(gc-concurrent.sh:54) test -e /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/84ds5v9i0crbwr34hpmdyfmw0vaw8v25-simple.lock
+(gc-concurrent.sh:57) nix-collect-garbage
finding garbage collector roots...
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/w9zvh1rcrwal60qxxrqxr5iqhm8gaax2-gc-concurrent2'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/i7cxm3j5hp7735giisplcn2yn539cd7d-gc-concurrent2.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/1yh4glxv2nq9c3nyz0v35apmc3hvkbjh-gc-concurrent2.builder.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/17g99q5qjm5x9hqfb28pwxgbbarivz1f-gc-concurrent.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/rb1m7zdxqapsnmxq3iq17yggksvy9g6q-dependencies-input-1.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/36sxm4540cdq107if1cjvay83mc6hlhr-builder-dependencies-input-1.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/84ds5v9i0crbwr34hpmdyfmw0vaw8v25-simple'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/adan63zz9xjglccfqzsjvbnnjfcx5a8k-gc-concurrent'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/lxv2n5zwvk032380nj9y3nv1yxnbk85p-gc-concurrent.builder.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/f6cfdawwhfj2fln1ii1018rk2rgyqjs1-dependencies-input-2.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/n8lr3p6c83vhiiv6s4rjjm42za5k85na-builder-dependencies-input-2.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/x52prqmbnc24rzzw363hkc6fk1lk4d1r-dependencies-input-1'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/y52rfj04f3g8a5fkr5hmqndb0996z92z-dependencies-input-2'
deleting unused links...
note: currently hard linking saves -0.00 MiB
+(gc-concurrent.sh:58) test -e /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/adan63zz9xjglccfqzsjvbnnjfcx5a8k-gc-concurrent
+(gc-concurrent.sh:59) test -e /tmp/nix-shell.MrxVR3/nix-test/gc-concurrent/store/w9zvh1rcrwal60qxxrqxr5iqhm8gaax2-gc-concurrent2clearing store...
evaluating c...
building b...
output path is /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/bb9wcsa5icm82i9ycr2jb9gxb17hhrh2-multiple-outputs-b
/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/0cdby5v92b31972hzfnivmgybbzcrign-multiple-outputs-a-first
/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/2hvdnifn48i4v1m2z0y6883qqnyz4n6z-multiple-outputs-a-second
1 store paths deleted, 0.00 MiB freed
/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/0cdby5v92b31972hzfnivmgybbzcrign-multiple-outputs-a-first
/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/2hvdnifn48i4v1m2z0y6883qqnyz4n6z-multiple-outputs-a-second
building a.first...
/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/0cdby5v92b31972hzfnivmgybbzcrign-multiple-outputs-a-first
building cyclic...
collecting garbage...
20 store paths deleted, 0.01 MiB freed
error: store path '774v8cdb8n1px3iwvzpvds8pz4l4gx82-invalid-output-name-1-out/' contains illegal character '/'
error: store path '7dsw05flqwfykkihhq4v5848cdj1z6g1-invalid-output-name-2-foo$' contains illegal character '$'
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(multiple-outputs.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/test-home/.local/state/nix/profiles
+(multiple-outputs.sh:5) rm -f '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/result*'
++(multiple-outputs.sh:8) nix-instantiate multiple-outputs.nix --eval -A nameCheck.out.outPath
+(multiple-outputs.sh:8) outPath='"/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/g9k8kj7vyvjdzmwrywd8jqmmrs7dv66s-multiple-outputs-a"'
++(multiple-outputs.sh:9) echo '"/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/g9k8kj7vyvjdzmwrywd8jqmmrs7dv66s-multiple-outputs-a"'
++(multiple-outputs.sh:9) sed -E 's_^".*/[^-/]*-([^/]*)"$_\1_'
+(multiple-outputs.sh:9) '[' multiple-outputs-a = multiple-outputs-a ']'
++(multiple-outputs.sh:10) nix-instantiate multiple-outputs.nix --eval -A nameCheck.dev.outPath
+(multiple-outputs.sh:10) outPath='"/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/hbk6xc2na718c5v42ki9jzf1w2rzyc23-multiple-outputs-a-dev"'
++(multiple-outputs.sh:11) echo '"/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/hbk6xc2na718c5v42ki9jzf1w2rzyc23-multiple-outputs-a-dev"'
++(multiple-outputs.sh:11) sed -E 's_^".*/[^-/]*-([^/]*)"$_\1_'
+(multiple-outputs.sh:11) '[' multiple-outputs-a-dev = multiple-outputs-a-dev ']'
+(multiple-outputs.sh:15) echo 'evaluating c...'
++(multiple-outputs.sh:20) nix-instantiate multiple-outputs.nix -A c
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(multiple-outputs.sh:20) drvPath=/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/bnvl5sl803yacg8w44npgv9hmlhsjlxv-multiple-outputs-c.drv
+(multiple-outputs.sh:22) grepQuiet 'multiple-outputs-a.drv",\["first","second"\]' /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/bnvl5sl803yacg8w44npgv9hmlhsjlxv-multiple-outputs-c.drv
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'multiple-outputs-a.drv",\["first","second"\]' /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/bnvl5sl803yacg8w44npgv9hmlhsjlxv-multiple-outputs-c.drv
+(multiple-outputs.sh:23) grepQuiet 'multiple-outputs-b.drv",\["out"\]' /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/bnvl5sl803yacg8w44npgv9hmlhsjlxv-multiple-outputs-c.drv
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'multiple-outputs-b.drv",\["out"\]' /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/bnvl5sl803yacg8w44npgv9hmlhsjlxv-multiple-outputs-c.drv
++(multiple-outputs.sh:26) nix-build multiple-outputs.nix -A d --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/yf8gp9nh036nqcbi5kmj7f3rmq78r7hf-multiple-outputs-d.drv
building '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/yf8gp9nh036nqcbi5kmj7f3rmq78r7hf-multiple-outputs-d.drv'...
+(multiple-outputs.sh:26) outPath=/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/qzzpv3gnc39hkylx8x10jaqj2hg0fna8-multiple-outputs-d
++(multiple-outputs.sh:27) cat /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/qzzpv3gnc39hkylx8x10jaqj2hg0fna8-multiple-outputs-d/drv
+(multiple-outputs.sh:27) drvPath=/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/dydx626xs96nqiscv65qh96s96smw4sx-multiple-outputs-b.drv
++(multiple-outputs.sh:28) nix-store -q /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/dydx626xs96nqiscv65qh96s96smw4sx-multiple-outputs-b.drv
+(multiple-outputs.sh:28) outPath=/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/bb9wcsa5icm82i9ycr2jb9gxb17hhrh2-multiple-outputs-b
+(multiple-outputs.sh:29) '[' -e /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/bb9wcsa5icm82i9ycr2jb9gxb17hhrh2-multiple-outputs-b ']'
+(multiple-outputs.sh:33) echo 'building b...'
++(multiple-outputs.sh:34) nix-build multiple-outputs.nix -A b --no-out-link
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/hdnlj3gpfsvy2zrg1gwdh0qm50kr3rf9-multiple-outputs-a.drv
/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/dydx626xs96nqiscv65qh96s96smw4sx-multiple-outputs-b.drv
building '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/hdnlj3gpfsvy2zrg1gwdh0qm50kr3rf9-multiple-outputs-a.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/dydx626xs96nqiscv65qh96s96smw4sx-multiple-outputs-b.drv'...
+(multiple-outputs.sh:34) outPath=/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/bb9wcsa5icm82i9ycr2jb9gxb17hhrh2-multiple-outputs-b
+(multiple-outputs.sh:35) echo 'output path is /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/bb9wcsa5icm82i9ycr2jb9gxb17hhrh2-multiple-outputs-b'
++(multiple-outputs.sh:36) cat /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/bb9wcsa5icm82i9ycr2jb9gxb17hhrh2-multiple-outputs-b/file
+(multiple-outputs.sh:36) '[' success = success ']'
++(multiple-outputs.sh:39) nix-build multiple-outputs.nix -A a -o /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/result
+(multiple-outputs.sh:39) outPath1=/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/0cdby5v92b31972hzfnivmgybbzcrign-multiple-outputs-a-first
+(multiple-outputs.sh:40) '[' -e /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/result-first ']'
+(multiple-outputs.sh:41) '[' -e /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/result-second ']'
+(multiple-outputs.sh:42) nix-build multiple-outputs.nix -A a.all -o /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/result
++(multiple-outputs.sh:43) cat /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/result-first/file
+(multiple-outputs.sh:43) '[' first = first ']'
++(multiple-outputs.sh:44) cat /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/result-second/file
+(multiple-outputs.sh:44) '[' second = second ']'
++(multiple-outputs.sh:45) cat /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/result-second/link/file
+(multiple-outputs.sh:45) '[' first = first ']'
++(multiple-outputs.sh:46) nix-store -q --hash /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/result-second
+(multiple-outputs.sh:46) hash1=sha256:1rxpn782bw1vyh8hhhihx3hvz6i08x0ms61dzs7pi9grbqk4r2h7
+++(multiple-outputs.sh:48) nix-instantiate multiple-outputs.nix -A a
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
++(multiple-outputs.sh:48) nix-build '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/hdnlj3gpfsvy2zrg1gwdh0qm50kr3rf9-multiple-outputs-a.drv!first' --no-out-link
+(multiple-outputs.sh:48) outPath2=/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/0cdby5v92b31972hzfnivmgybbzcrign-multiple-outputs-a-first
+(multiple-outputs.sh:49) [[ /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/0cdby5v92b31972hzfnivmgybbzcrign-multiple-outputs-a-first = /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/0cdby5v92b31972hzfnivmgybbzcrign-multiple-outputs-a-first ]]
+++(multiple-outputs.sh:51) nix-instantiate multiple-outputs.nix -A a.first
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
++(multiple-outputs.sh:51) nix-build '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/hdnlj3gpfsvy2zrg1gwdh0qm50kr3rf9-multiple-outputs-a.drv!first' --no-out-link
+(multiple-outputs.sh:51) outPath2=/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/0cdby5v92b31972hzfnivmgybbzcrign-multiple-outputs-a-first
+(multiple-outputs.sh:52) [[ /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/0cdby5v92b31972hzfnivmgybbzcrign-multiple-outputs-a-first = /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/0cdby5v92b31972hzfnivmgybbzcrign-multiple-outputs-a-first ]]
+++(multiple-outputs.sh:54) nix-instantiate multiple-outputs.nix -A a.second
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
++(multiple-outputs.sh:54) nix-build '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/hdnlj3gpfsvy2zrg1gwdh0qm50kr3rf9-multiple-outputs-a.drv!second' --no-out-link
+(multiple-outputs.sh:54) outPath2=/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/2hvdnifn48i4v1m2z0y6883qqnyz4n6z-multiple-outputs-a-second
++(multiple-outputs.sh:55) cat /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/2hvdnifn48i4v1m2z0y6883qqnyz4n6z-multiple-outputs-a-second/file
+(multiple-outputs.sh:55) [[ second = second ]]
++(multiple-outputs.sh:57) wc -l
+++(multiple-outputs.sh:57) nix-instantiate multiple-outputs.nix -A a.all
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
++(multiple-outputs.sh:57) nix-build '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/hdnlj3gpfsvy2zrg1gwdh0qm50kr3rf9-multiple-outputs-a.drv!first' '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/hdnlj3gpfsvy2zrg1gwdh0qm50kr3rf9-multiple-outputs-a.drv!second' --no-out-link
+(multiple-outputs.sh:57) [[ 2 -eq 2 ]]
+(multiple-outputs.sh:61) env -u NIX_REMOTE nix store delete /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/result-second --ignore-liveness
finding garbage collector roots...
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/2hvdnifn48i4v1m2z0y6883qqnyz4n6z-multiple-outputs-a-second'
deleting unused links...
note: currently hard linking saves -0.00 MiB
+(multiple-outputs.sh:62) nix-build multiple-outputs.nix -A a.all -o /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/result
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/hdnlj3gpfsvy2zrg1gwdh0qm50kr3rf9-multiple-outputs-a.drv
building '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/hdnlj3gpfsvy2zrg1gwdh0qm50kr3rf9-multiple-outputs-a.drv'...
++(multiple-outputs.sh:63) cat /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/result-second/file
+(multiple-outputs.sh:63) '[' second = second ']'
++(multiple-outputs.sh:64) cat /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/result-second/link/file
+(multiple-outputs.sh:64) '[' first = first ']'
++(multiple-outputs.sh:65) nix-store -q --hash /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/result-second
+(multiple-outputs.sh:65) hash2=sha256:1rxpn782bw1vyh8hhhihx3hvz6i08x0ms61dzs7pi9grbqk4r2h7
+(multiple-outputs.sh:66) '[' sha256:1rxpn782bw1vyh8hhhihx3hvz6i08x0ms61dzs7pi9grbqk4r2h7 = sha256:1rxpn782bw1vyh8hhhihx3hvz6i08x0ms61dzs7pi9grbqk4r2h7 ']'
+(multiple-outputs.sh:69) echo 'building a.first...'
+(multiple-outputs.sh:70) nix-build multiple-outputs.nix -A a.first --no-out-link
+(multiple-outputs.sh:73) echo 'building cyclic...'
+(multiple-outputs.sh:74) nix-build multiple-outputs.nix -A cyclic --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/2lajr8vzxpmxknv9gwgm95scid6sr2yi-cyclic-outputs.drv
building '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/2lajr8vzxpmxknv9gwgm95scid6sr2yi-cyclic-outputs.drv'...
error: cycle detected in build of '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/2lajr8vzxpmxknv9gwgm95scid6sr2yi-cyclic-outputs.drv' in the references of output 'a' from output 'b'
+(multiple-outputs.sh:80) echo 'collecting garbage...'
+(multiple-outputs.sh:81) rm /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/result-first /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/result-second
+(multiple-outputs.sh:82) nix-store --gc --keep-derivations --keep-outputs
finding garbage collector roots...
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/var/nix/gcroots/auto/7j2r1rfmriylh0gkcpcj51g4ilskqf2w' to '/tmp/nix-shell.MrxVR3/nix-build-26640-0/result-first'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/var/nix/gcroots/auto/mkmdvhr4hsv28xv87jns7dmcy4jl5igp' to '/tmp/nix-shell.MrxVR3/nix-build-26207-0/result'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/var/nix/gcroots/auto/s2iammxm2x8cv3yfa4khdb38n1nwcrzm' to '/tmp/nix-shell.MrxVR3/nix-build-26728-0/result-first'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/var/nix/gcroots/auto/jf8cd6495a2wamjv54g6v6xg7d0dwgz4' to '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/result-first'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/var/nix/gcroots/auto/i06hkb50hksrp4inh2n7i1hipciwx6nw' to '/tmp/nix-shell.MrxVR3/nix-build-26918-0/result-second'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/var/nix/gcroots/auto/53a1h42h7f7dfvfvwfnn1hxdq3gsw4mk' to '/tmp/nix-shell.MrxVR3/nix-build-26918-0/result-first'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/var/nix/gcroots/auto/zxgw74i9cv04lshb74f0hqcn13kdy6sz' to '/tmp/nix-shell.MrxVR3/nix-build-27217-0/result-first'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/var/nix/gcroots/auto/qb2ikywp5408xgxa2fndz4knglaxspcn' to '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/result-second'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/var/nix/gcroots/auto/pq5ys7piq3f68q2ddl2ri3qh1782sz3m' to '/tmp/nix-shell.MrxVR3/nix-build-26357-0/result'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/var/nix/gcroots/auto/an329k7nx6f1bh1c7vlkxsgk9zl9v64i' to '/tmp/nix-shell.MrxVR3/nix-build-26814-0/result-second'
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/yf8gp9nh036nqcbi5kmj7f3rmq78r7hf-multiple-outputs-d.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/qzzpv3gnc39hkylx8x10jaqj2hg0fna8-multiple-outputs-d'
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/bnvl5sl803yacg8w44npgv9hmlhsjlxv-multiple-outputs-c.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/dydx626xs96nqiscv65qh96s96smw4sx-multiple-outputs-b.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/bb9wcsa5icm82i9ycr2jb9gxb17hhrh2-multiple-outputs-b'
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/9c9hp7q6xyzb82jh9cicci8bgixi06ag-builder.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/2bgw7xm3xv6jfj3sps9d03djbahmib6i-cyclic-outputs-c'
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/s854xkj6250j0y0bw1v9d7cx8fl3416h-builder.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/hdnlj3gpfsvy2zrg1gwdh0qm50kr3rf9-multiple-outputs-a.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/ga42b36qyy7wmwbmhxrl87ws5vwrvhp6-builder.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/2hvdnifn48i4v1m2z0y6883qqnyz4n6z-multiple-outputs-a-second'
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/0cdby5v92b31972hzfnivmgybbzcrign-multiple-outputs-a-first'
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/2bgw7xm3xv6jfj3sps9d03djbahmib6i-cyclic-outputs-c.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/lkq1wqbxbflnnr8j9ncqijsg57j3x6cc-cyclic-outputs-b'
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/2lajr8vzxpmxknv9gwgm95scid6sr2yi-cyclic-outputs.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/rwkrd8fbqk3zf4jhwhap57kj1rk0s4dm-builder.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/c6a8n70dz22m68qwrccc6v8q0ld2xfl6-cyclic-outputs-a.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/c6a8n70dz22m68qwrccc6v8q0ld2xfl6-cyclic-outputs-a'
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/lkq1wqbxbflnnr8j9ncqijsg57j3x6cc-cyclic-outputs-b.lock'
deleting '/tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/my12qiic25fxyi802mff3qj5giyl9y2l-builder.sh'
deleting unused links...
note: currently hard linking saves -0.00 MiB
+(multiple-outputs.sh:83) nix-store --gc --print-roots
+(multiple-outputs.sh:84) rm -rf /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store/.links
+(multiple-outputs.sh:85) rmdir /tmp/nix-shell.MrxVR3/nix-test/multiple-outputs/store
+(multiple-outputs.sh:87) expect 1 nix build -f multiple-outputs.nix invalid-output-name-1
+(multiple-outputs.sh:87) grep 'contains illegal character'
+(multiple-outputs.sh:88) expect 1 nix build -f multiple-outputs.nix invalid-output-name-2
+(multiple-outputs.sh:88) grep 'contains illegal character'[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/fetchPath
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/fetchPath
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/fetchPath
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchPath
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchPath
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchPath/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchPath/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/fetchPath/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchPath/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchPath/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/fetchPath/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(fetchPath.sh:3) touch /tmp/nix-shell.MrxVR3/nix-test/fetchPath/foo -t 202211111111
++(fetchPath.sh:6) nix eval --impure --raw --expr '(builtins.fetchTree "path:///tmp/nix-shell.MrxVR3/nix-test/fetchPath/foo").lastModifiedDate'
+(fetchPath.sh:6) [[ 20221111111100 =~ 2022111.* ]]clearing store...
14 store paths deleted, 0.01 MiB freed
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/export-graph
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/export-graph
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/export-graph
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/export-graph
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/export-graph
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/export-graph/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/export-graph/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/export-graph/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/export-graph/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/export-graph/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/export-graph/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(export-graph.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/export-graph/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/export-graph/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/export-graph/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/export-graph/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/export-graph/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/export-graph/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/export-graph/test-home/.local/state/nix/profiles
+(export-graph.sh:4) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/export-graph/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/export-graph/test-home/.local/state/nix/profiles
++(export-graph.sh:12) nix-build ./export-graph.nix -A 'foo."bar.runtimeGraph"' -o /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
these 6 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/b9avwbj1s7b1ff94kgnrnhbc2lc1dnmq-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/gni5iz4xbv85xa8xjiadwlds1a0ddi4n-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/lqbm5ilqrj0rc15gr3wr2dmylk7q92zi-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/rg9xxkw7xifr7idfksvjdvjkzsm04wd4-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/qa86zr108wxhiwkll329ladqvyg1bn1g-dependencies-top.drv
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/afndiqvmdbmxhax3cvjd3fdjgyfhk58l-dependencies.drv
building '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/gni5iz4xbv85xa8xjiadwlds1a0ddi4n-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/rg9xxkw7xifr7idfksvjdvjkzsm04wd4-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/lqbm5ilqrj0rc15gr3wr2dmylk7q92zi-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/b9avwbj1s7b1ff94kgnrnhbc2lc1dnmq-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/qa86zr108wxhiwkll329ladqvyg1bn1g-dependencies-top.drv'...
FOO
building '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/afndiqvmdbmxhax3cvjd3fdjgyfhk58l-dependencies.drv'...
refs /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/r9yh891ci9cwrmrgirabd2c35krwlkhk-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/6p8kml87fwms8xws9r605m2x3pp5cna9-dependencies-input-2 has 1 references
ref /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/98fiky8kr0d3aq02idvv17ibvbcm3gjh-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/98fiky8kr0d3aq02idvv17ibvbcm3gjh-dependencies-input-0 has 0 references
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/r9yh891ci9cwrmrgirabd2c35krwlkhk-dependencies-top has 2 references
ref /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/6p8kml87fwms8xws9r605m2x3pp5cna9-dependencies-input-2
ref /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/r9yh891ci9cwrmrgirabd2c35krwlkhk-dependencies-top
+(export-graph.sh:12) outPath=/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/hh4hlr0w238rwalqaxakg1rnyc36b9qp-dependencies
++(export-graph.sh:14) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
++(export-graph.sh:14) wc -l
+(export-graph.sh:14) test 3 = 3
+(export-graph.sh:16) checkRef input-2
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:7) grepQuiet 'input-2$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'input-2$'
++(export-graph.sh:17) cat /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/hh4hlr0w238rwalqaxakg1rnyc36b9qp-dependencies
+(export-graph.sh:17) for i in $(cat $outPath)
+(export-graph.sh:17) checkRef /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/6p8kml87fwms8xws9r605m2x3pp5cna9-dependencies-input-2
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:7) grepQuiet '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/6p8kml87fwms8xws9r605m2x3pp5cna9-dependencies-input-2$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/6p8kml87fwms8xws9r605m2x3pp5cna9-dependencies-input-2$'
+(export-graph.sh:17) for i in $(cat $outPath)
+(export-graph.sh:17) checkRef /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/98fiky8kr0d3aq02idvv17ibvbcm3gjh-dependencies-input-0
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:7) grepQuiet '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/98fiky8kr0d3aq02idvv17ibvbcm3gjh-dependencies-input-0$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/98fiky8kr0d3aq02idvv17ibvbcm3gjh-dependencies-input-0$'
+(export-graph.sh:17) for i in $(cat $outPath)
+(export-graph.sh:17) checkRef /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/r9yh891ci9cwrmrgirabd2c35krwlkhk-dependencies-top
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:7) grepQuiet '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/r9yh891ci9cwrmrgirabd2c35krwlkhk-dependencies-top$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/r9yh891ci9cwrmrgirabd2c35krwlkhk-dependencies-top$'
+(export-graph.sh:21) nix-store --gc
finding garbage collector roots...
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/37in2dh02nn4j3hw71jzhdz7mf2c23c1-fod-input'
deleting '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/afndiqvmdbmxhax3cvjd3fdjgyfhk58l-dependencies.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/qa86zr108wxhiwkll329ladqvyg1bn1g-dependencies-top.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/rg9xxkw7xifr7idfksvjdvjkzsm04wd4-dependencies-input-1.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/amgysgi678zyqsmlf4k43dv3hwcixv41-builder-dependencies-input-1.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/b3fvl0nakbcrfgm5raib4gx2c73ry971-dependencies.builder0.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/lqbm5ilqrj0rc15gr3wr2dmylk7q92zi-dependencies-input-2.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/mhny2hcghibxjm28mbkagh8yg6lr9fg8-build-graph-builder'
deleting '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/b9avwbj1s7b1ff94kgnrnhbc2lc1dnmq-fod-input.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/hx8lw3fzjdaz82ksvjygdqm432hshfbg-builder-dependencies-input-2.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/5iga022y60dxfwp0gfkjy684k9gz6jck-dependencies-input-1'
deleting '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/gni5iz4xbv85xa8xjiadwlds1a0ddi4n-dependencies-input-0.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/2a19pzrpj0ghaa7hip17dcz8dxrd9z0h-builder-dependencies-input-0.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/wi8zspnf27fwqm0cnqgps6cnzv8k1avw-builder-fod-input.sh'
deleting unused links...
note: currently hard linking saves -0.00 MiB
++(export-graph.sh:23) nix-build ./export-graph.nix -A 'foo."bar.buildGraph"' -o /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/b9avwbj1s7b1ff94kgnrnhbc2lc1dnmq-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/rg9xxkw7xifr7idfksvjdvjkzsm04wd4-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/w5v1i75i5jswvhamwikwxds4qh7dbcax-dependencies.drv
building '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/rg9xxkw7xifr7idfksvjdvjkzsm04wd4-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/b9avwbj1s7b1ff94kgnrnhbc2lc1dnmq-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/w5v1i75i5jswvhamwikwxds4qh7dbcax-dependencies.drv'...
refs /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/qa86zr108wxhiwkll329ladqvyg1bn1g-dependencies-top.drv
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/2a19pzrpj0ghaa7hip17dcz8dxrd9z0h-builder-dependencies-input-0.sh has 0 references
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/37in2dh02nn4j3hw71jzhdz7mf2c23c1-fod-input has 0 references
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/5iga022y60dxfwp0gfkjy684k9gz6jck-dependencies-input-1 has 0 references
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/6p8kml87fwms8xws9r605m2x3pp5cna9-dependencies-input-2 has 1 references
ref /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/98fiky8kr0d3aq02idvv17ibvbcm3gjh-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/98fiky8kr0d3aq02idvv17ibvbcm3gjh-dependencies-input-0 has 0 references
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/amgysgi678zyqsmlf4k43dv3hwcixv41-builder-dependencies-input-1.sh has 0 references
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/b3fvl0nakbcrfgm5raib4gx2c73ry971-dependencies.builder0.sh has 0 references
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/b9avwbj1s7b1ff94kgnrnhbc2lc1dnmq-fod-input.drv has 1 references
ref /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/wi8zspnf27fwqm0cnqgps6cnzv8k1avw-builder-fod-input.sh
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/gni5iz4xbv85xa8xjiadwlds1a0ddi4n-dependencies-input-0.drv has 1 references
ref /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/2a19pzrpj0ghaa7hip17dcz8dxrd9z0h-builder-dependencies-input-0.sh
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/hx8lw3fzjdaz82ksvjygdqm432hshfbg-builder-dependencies-input-2.sh has 0 references
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/lqbm5ilqrj0rc15gr3wr2dmylk7q92zi-dependencies-input-2.drv has 2 references
ref /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/gni5iz4xbv85xa8xjiadwlds1a0ddi4n-dependencies-input-0.drv
ref /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/hx8lw3fzjdaz82ksvjygdqm432hshfbg-builder-dependencies-input-2.sh
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/qa86zr108wxhiwkll329ladqvyg1bn1g-dependencies-top.drv has 5 references
ref /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/b3fvl0nakbcrfgm5raib4gx2c73ry971-dependencies.builder0.sh
ref /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/b9avwbj1s7b1ff94kgnrnhbc2lc1dnmq-fod-input.drv
ref /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/gni5iz4xbv85xa8xjiadwlds1a0ddi4n-dependencies-input-0.drv
ref /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/lqbm5ilqrj0rc15gr3wr2dmylk7q92zi-dependencies-input-2.drv
ref /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/rg9xxkw7xifr7idfksvjdvjkzsm04wd4-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/r9yh891ci9cwrmrgirabd2c35krwlkhk-dependencies-top has 2 references
ref /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/6p8kml87fwms8xws9r605m2x3pp5cna9-dependencies-input-2
ref /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/r9yh891ci9cwrmrgirabd2c35krwlkhk-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/rg9xxkw7xifr7idfksvjdvjkzsm04wd4-dependencies-input-1.drv has 1 references
ref /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/amgysgi678zyqsmlf4k43dv3hwcixv41-builder-dependencies-input-1.sh
/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/wi8zspnf27fwqm0cnqgps6cnzv8k1avw-builder-fod-input.sh has 0 references
+(export-graph.sh:23) outPath=/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/4h1nxqnxcrfc1r522j68wl0h4ckyfj2f-dependencies
+(export-graph.sh:25) checkRef input-1
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:7) grepQuiet 'input-1$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'input-1$'
+(export-graph.sh:26) checkRef input-1.drv
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:7) grepQuiet 'input-1.drv$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'input-1.drv$'
+(export-graph.sh:27) checkRef input-2
+(export-graph.sh:7) grepQuiet 'input-2$'
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'input-2$'
+(export-graph.sh:28) checkRef input-2.drv
+(export-graph.sh:7) grepQuiet 'input-2.drv$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'input-2.drv$'
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
++(export-graph.sh:30) cat /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/4h1nxqnxcrfc1r522j68wl0h4ckyfj2f-dependencies
+(export-graph.sh:30) for i in $(cat $outPath)
+(export-graph.sh:30) checkRef /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/2a19pzrpj0ghaa7hip17dcz8dxrd9z0h-builder-dependencies-input-0.sh
+(export-graph.sh:7) grepQuiet '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/2a19pzrpj0ghaa7hip17dcz8dxrd9z0h-builder-dependencies-input-0.sh$'
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/2a19pzrpj0ghaa7hip17dcz8dxrd9z0h-builder-dependencies-input-0.sh$'
+(export-graph.sh:30) for i in $(cat $outPath)
+(export-graph.sh:30) checkRef /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/37in2dh02nn4j3hw71jzhdz7mf2c23c1-fod-input
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:7) grepQuiet '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/37in2dh02nn4j3hw71jzhdz7mf2c23c1-fod-input$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/37in2dh02nn4j3hw71jzhdz7mf2c23c1-fod-input$'
+(export-graph.sh:30) for i in $(cat $outPath)
+(export-graph.sh:30) checkRef /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/5iga022y60dxfwp0gfkjy684k9gz6jck-dependencies-input-1
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:7) grepQuiet '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/5iga022y60dxfwp0gfkjy684k9gz6jck-dependencies-input-1$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/5iga022y60dxfwp0gfkjy684k9gz6jck-dependencies-input-1$'
+(export-graph.sh:30) for i in $(cat $outPath)
+(export-graph.sh:30) checkRef /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/6p8kml87fwms8xws9r605m2x3pp5cna9-dependencies-input-2
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:7) grepQuiet '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/6p8kml87fwms8xws9r605m2x3pp5cna9-dependencies-input-2$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/6p8kml87fwms8xws9r605m2x3pp5cna9-dependencies-input-2$'
+(export-graph.sh:30) for i in $(cat $outPath)
+(export-graph.sh:30) checkRef /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/98fiky8kr0d3aq02idvv17ibvbcm3gjh-dependencies-input-0
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:7) grepQuiet '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/98fiky8kr0d3aq02idvv17ibvbcm3gjh-dependencies-input-0$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/98fiky8kr0d3aq02idvv17ibvbcm3gjh-dependencies-input-0$'
+(export-graph.sh:30) for i in $(cat $outPath)
+(export-graph.sh:30) checkRef /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/amgysgi678zyqsmlf4k43dv3hwcixv41-builder-dependencies-input-1.sh
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:7) grepQuiet '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/amgysgi678zyqsmlf4k43dv3hwcixv41-builder-dependencies-input-1.sh$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/amgysgi678zyqsmlf4k43dv3hwcixv41-builder-dependencies-input-1.sh$'
+(export-graph.sh:30) for i in $(cat $outPath)
+(export-graph.sh:30) checkRef /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/b3fvl0nakbcrfgm5raib4gx2c73ry971-dependencies.builder0.sh
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:7) grepQuiet '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/b3fvl0nakbcrfgm5raib4gx2c73ry971-dependencies.builder0.sh$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/b3fvl0nakbcrfgm5raib4gx2c73ry971-dependencies.builder0.sh$'
+(export-graph.sh:30) for i in $(cat $outPath)
+(export-graph.sh:30) checkRef /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/b9avwbj1s7b1ff94kgnrnhbc2lc1dnmq-fod-input.drv
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:7) grepQuiet '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/b9avwbj1s7b1ff94kgnrnhbc2lc1dnmq-fod-input.drv$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/b9avwbj1s7b1ff94kgnrnhbc2lc1dnmq-fod-input.drv$'
+(export-graph.sh:30) for i in $(cat $outPath)
+(export-graph.sh:30) checkRef /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/gni5iz4xbv85xa8xjiadwlds1a0ddi4n-dependencies-input-0.drv
+(export-graph.sh:7) grepQuiet '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/gni5iz4xbv85xa8xjiadwlds1a0ddi4n-dependencies-input-0.drv$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/gni5iz4xbv85xa8xjiadwlds1a0ddi4n-dependencies-input-0.drv$'
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:30) for i in $(cat $outPath)
+(export-graph.sh:30) checkRef /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/hx8lw3fzjdaz82ksvjygdqm432hshfbg-builder-dependencies-input-2.sh
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:7) grepQuiet '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/hx8lw3fzjdaz82ksvjygdqm432hshfbg-builder-dependencies-input-2.sh$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/hx8lw3fzjdaz82ksvjygdqm432hshfbg-builder-dependencies-input-2.sh$'
+(export-graph.sh:30) for i in $(cat $outPath)
+(export-graph.sh:30) checkRef /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/lqbm5ilqrj0rc15gr3wr2dmylk7q92zi-dependencies-input-2.drv
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:7) grepQuiet '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/lqbm5ilqrj0rc15gr3wr2dmylk7q92zi-dependencies-input-2.drv$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/lqbm5ilqrj0rc15gr3wr2dmylk7q92zi-dependencies-input-2.drv$'
+(export-graph.sh:30) for i in $(cat $outPath)
+(export-graph.sh:30) checkRef /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/qa86zr108wxhiwkll329ladqvyg1bn1g-dependencies-top.drv
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:7) grepQuiet '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/qa86zr108wxhiwkll329ladqvyg1bn1g-dependencies-top.drv$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/qa86zr108wxhiwkll329ladqvyg1bn1g-dependencies-top.drv$'
+(export-graph.sh:30) for i in $(cat $outPath)
+(export-graph.sh:30) checkRef /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/r9yh891ci9cwrmrgirabd2c35krwlkhk-dependencies-top
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:7) grepQuiet '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/r9yh891ci9cwrmrgirabd2c35krwlkhk-dependencies-top$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/r9yh891ci9cwrmrgirabd2c35krwlkhk-dependencies-top$'
+(export-graph.sh:30) for i in $(cat $outPath)
+(export-graph.sh:30) checkRef /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/rg9xxkw7xifr7idfksvjdvjkzsm04wd4-dependencies-input-1.drv
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:7) grepQuiet '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/rg9xxkw7xifr7idfksvjdvjkzsm04wd4-dependencies-input-1.drv$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/rg9xxkw7xifr7idfksvjdvjkzsm04wd4-dependencies-input-1.drv$'
+(export-graph.sh:30) for i in $(cat $outPath)
+(export-graph.sh:30) checkRef /tmp/nix-shell.MrxVR3/nix-test/export-graph/store/wi8zspnf27fwqm0cnqgps6cnzv8k1avw-builder-fod-input.sh
+(export-graph.sh:7) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/export-graph/result
+(export-graph.sh:7) grepQuiet '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/wi8zspnf27fwqm0cnqgps6cnzv8k1avw-builder-fod-input.sh$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '/tmp/nix-shell.MrxVR3/nix-test/export-graph/store/wi8zspnf27fwqm0cnqgps6cnzv8k1avw-builder-fod-input.sh$'clearing store...
{ narHash = "sha256-QvtAMbUl/uvi+LCObmqOhvNOapHdA2raiI4xG5zI5pA="; outPath = "/tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/store/cz560d1a1jp330sz5n46d975aq0w8al3-source"; }
/tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/testFlake /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file
true
/tmp/nix-shell.MrxVR3/nix-test/fetchTree-file
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(fetchTree-file.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/test-home/.local/state/nix/profiles
+(fetchTree-file.sh:5) cd /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file
+(fetchTree-file.sh:116) test_fetch_file
+(fetchTree-file.sh:8) echo foo
++(fetchTree-file.sh:10) nix hash path test_input
+(fetchTree-file.sh:10) input_hash=sha256-QvtAMbUl/uvi+LCObmqOhvNOapHdA2raiI4xG5zI5pA=
+(fetchTree-file.sh:12) nix eval --impure --file -
+(fetchTree-file.sh:117) test_file_flake_input
+(fetchTree-file.sh:24) rm -fr /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/testFlake
+(fetchTree-file.sh:25) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/testFlake
+(fetchTree-file.sh:26) pushd testFlake
+(fetchTree-file.sh:28) mkdir inputs
+(fetchTree-file.sh:29) echo foo
+(fetchTree-file.sh:30) echo '{ outputs = { self }: { }; }'
+(fetchTree-file.sh:31) tar cfa test_input.tar.gz inputs
+(fetchTree-file.sh:32) cp test_input.tar.gz test_input_no_ext
++(fetchTree-file.sh:33) nix hash path test_input.tar.gz
+(fetchTree-file.sh:33) input_tarball_hash=sha256-2XtAGoZ/w4OHBd4c1n8YRB/IMVm5Y5eZTJEvjb5ZA6M=
++(fetchTree-file.sh:34) nix hash path inputs
+(fetchTree-file.sh:34) input_directory_hash=sha256-jxhFTljWE9IX8TdOKNYbAYxYf97PVdTzus7Mwu11OQg=
+(fetchTree-file.sh:36) cat
+(fetchTree-file.sh:61) nix flake update
warning: creating lock file '/tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/testFlake/flake.lock':
• Added input 'flake_no_ext':
'file:///tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/testFlake/test_input_no_ext?narHash=sha256-jxhFTljWE9IX8TdOKNYbAYxYf97PVdTzus7Mwu11OQg%3D' (2024-05-26)
• Added input 'no_ext_default_no_unpack':
'file:///tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/testFlake/test_input_no_ext?narHash=sha256-2XtAGoZ/w4OHBd4c1n8YRB/IMVm5Y5eZTJEvjb5ZA6M%3D'
• Added input 'no_ext_explicit_unpack':
'file:///tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/testFlake/test_input_no_ext?narHash=sha256-jxhFTljWE9IX8TdOKNYbAYxYf97PVdTzus7Mwu11OQg%3D' (2024-05-26)
• Added input 'tarball_default_unpack':
'file:///tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/testFlake/test_input.tar.gz?narHash=sha256-jxhFTljWE9IX8TdOKNYbAYxYf97PVdTzus7Mwu11OQg%3D' (2024-05-26)
• Added input 'tarball_explicit_no_unpack':
'file:///tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/testFlake/test_input.tar.gz?narHash=sha256-2XtAGoZ/w4OHBd4c1n8YRB/IMVm5Y5eZTJEvjb5ZA6M%3D'
+(fetchTree-file.sh:62) nix eval --file -
++(fetchTree-file.sh:90) nix flake metadata --json file:///tmp/nix-shell.MrxVR3/nix-test/fetchTree-file/testFlake/test_input_no_ext
++(fetchTree-file.sh:90) jq -r .resolved.type
+(fetchTree-file.sh:90) [[ tarball = tarball ]]
+(fetchTree-file.sh:92) popd
+(fetchTree-file.sh:94) [[ -z '' ]]
+(fetchTree-file.sh:94) return 0derivation is /tmp/nix-shell.MrxVR3/nix-test/simple/store/4xszsiyfairgjjgx0c0fwg55rnc0gd9k-simple.drv
output path is /tmp/nix-shell.MrxVR3/nix-test/simple/store/v170118w7bcg0lvb84iw5yaqr02lvvv1-simple
[FAIL]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/simple
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/simple
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/simple
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/simple
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/simple
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/simple/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/simple/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/simple/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/simple/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/simple/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/simple/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
++(simple.sh:3) nix-instantiate simple.nix
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(simple.sh:3) drvPath=/tmp/nix-shell.MrxVR3/nix-test/simple/store/4xszsiyfairgjjgx0c0fwg55rnc0gd9k-simple.drv
++(simple.sh:5) nix-store -q --binding system /tmp/nix-shell.MrxVR3/nix-test/simple/store/4xszsiyfairgjjgx0c0fwg55rnc0gd9k-simple.drv
+(simple.sh:5) test x86_64-linux = x86_64-linux
+(simple.sh:7) echo 'derivation is /tmp/nix-shell.MrxVR3/nix-test/simple/store/4xszsiyfairgjjgx0c0fwg55rnc0gd9k-simple.drv'
++(simple.sh:9) nix-store -rvv /tmp/nix-shell.MrxVR3/nix-test/simple/store/4xszsiyfairgjjgx0c0fwg55rnc0gd9k-simple.drv
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/simple/store/4xszsiyfairgjjgx0c0fwg55rnc0gd9k-simple.drv
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/simple/store/vplil2myn0kgiyzlxkglxg59v009q82r-simple.builder.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/simple/store/4xszsiyfairgjjgx0c0fwg55rnc0gd9k-simple.drv'...
PATH=
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(simple.sh:9) outPath=/tmp/nix-shell.MrxVR3/nix-test/simple/store/v170118w7bcg0lvb84iw5yaqr02lvvv1-simple
+(simple.sh:11) echo 'output path is /tmp/nix-shell.MrxVR3/nix-test/simple/store/v170118w7bcg0lvb84iw5yaqr02lvvv1-simple'
+(simple.sh:13) '[' -w /tmp/nix-shell.MrxVR3/nix-test/simple/store/v170118w7bcg0lvb84iw5yaqr02lvvv1-simple ']'
++(simple.sh:13) onError
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
simple.sh: test failed at:
main in simple.sh:13clearing store...
clearing store...
clearing store...
clearing store...
/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh
1 store paths deleted, 0.00 MiB freed
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/fetchurl
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/fetchurl
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/fetchurl
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchurl
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchurl
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchurl/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchurl/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(fetchurl.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/fetchurl/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchurl/test-home/.local/state/nix/profiles
++(fetchurl.sh:6) nix-hash --flat --type sha256 ./fetchurl.sh
+(fetchurl.sh:6) hash=5386ee66b76e7f6ac8b4731087aa326953ec9ad5e76d091180c2c4407ebfc464
+++(fetchurl.sh:8) pwd
++(fetchurl.sh:8) nix-build -vvvvv --expr 'import <nix/fetchurl.nix>' --argstr url file:///lix-src/build/tests/functional/fetchurl.sh --argstr sha256 5386ee66b76e7f6ac8b4731087aa326953ec9ad5e76d091180c2c4407ebfc464 --no-out-link
processing attribute 'builder'
processing attribute 'executable'
processing attribute 'impureEnvVars'
processing attribute 'name'
processing attribute 'outputHash'
processing attribute 'outputHashAlgo'
processing attribute 'outputHashMode'
processing attribute 'preferLocalBuild'
processing attribute 'system'
processing attribute 'unpack'
processing attribute 'url'
processing attribute 'urls'
acquiring write lock on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix/temproots/27974'
locking path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv.lock'
instantiated 'fetchurl.sh' -> '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv'
querying info about missing paths...
starting pool of 24 threads
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: woken up
querying info about missing paths...
starting pool of 24 threads
entered goal loop
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: have derivation
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': created
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': init
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': trying next substituter
path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh' is required, but there is no substituter that can build it
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': done
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: waitee 'substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: all inputs realised
added input paths
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh.lock'
removing invalid path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh'
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: woken up
executing builder 'builtin:fetchurl'
using builder args ''
setting builder env variable 'builder'='builtin:fetchurl'
setting builder env variable 'executable'=''
setting builder env variable 'impureEnvVars'='http_proxy https_proxy ftp_proxy all_proxy no_proxy'
setting builder env variable 'name'='fetchurl.sh'
setting builder env variable 'out'='/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh'
setting builder env variable 'outputHash'='5386ee66b76e7f6ac8b4731087aa326953ec9ad5e76d091180c2c4407ebfc464'
setting builder env variable 'outputHashAlgo'='sha256'
setting builder env variable 'outputHashMode'='flat'
setting builder env variable 'preferLocalBuild'='1'
setting builder env variable 'system'='builtin'
setting builder env variable 'unpack'=''
setting builder env variable 'url'='file:///lix-src/build/tests/functional/fetchurl.sh'
setting builder env variable 'urls'='file:///lix-src/build/tests/functional/fetchurl.sh'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
building '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: read 77 bytes
download thread waiting for 10000 ms
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: read 215 bytes
downloading 'file:///lix-src/build/tests/functional/fetchurl.sh'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: read 112 bytes
starting download of file:///lix-src/build/tests/functional/fetchurl.sh
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: read 144 bytes
curl: Couldn't find host in the /tmp/nix-shell.MrxVR3/nix-test/fetchurl/etc/netrc file; using defaults
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: read 152 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: read 130 bytes
got header for 'file:///lix-src/build/tests/functional/fetchurl.sh': Content-Length: 2648
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: read 130 bytes
got header for 'file:///lix-src/build/tests/functional/fetchurl.sh': Accept-ranges: bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: read 154 bytes
got header for 'file:///lix-src/build/tests/functional/fetchurl.sh': Last-Modified: Sat, 25 May 2024 00:55:44 GMT
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: read 164 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: read 311 bytes
curl: Closing connection
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: read 370 bytes
finished download of 'file:///lix-src/build/tests/functional/fetchurl.sh'; curl status = 0, HTTP status = 0, body = 2648 bytes
download thread waiting for 10000 ms
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: read 70 bytes
download thread shutting down
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: build done
killing process 28031
builder process for '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv' finished
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/2ww45vzxhqz58if20v15jvbdj1pfm2wx-fetchurl.sh.drv^out' from .drv file: goal destroyed
+(fetchurl.sh:8) outPath=/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh
+(fetchurl.sh:10) cmp /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh fetchurl.sh
++(fetchurl.sh:13) nix-build -vvvvv --expr 'import <nix/fetchurl.nix>' --argstr url file:///does-not-exist/must-remain-unused/fetchurl.sh --argstr sha256 5386ee66b76e7f6ac8b4731087aa326953ec9ad5e76d091180c2c4407ebfc464 --no-out-link
processing attribute 'builder'
processing attribute 'executable'
processing attribute 'impureEnvVars'
processing attribute 'name'
processing attribute 'outputHash'
processing attribute 'outputHashAlgo'
processing attribute 'outputHashMode'
processing attribute 'preferLocalBuild'
processing attribute 'system'
processing attribute 'unpack'
processing attribute 'url'
processing attribute 'urls'
acquiring write lock on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix/temproots/28054'
locking path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/8ab7b80drp2ypj48cjpdl0mk8b4mdmlp-fetchurl.sh.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/8ab7b80drp2ypj48cjpdl0mk8b4mdmlp-fetchurl.sh.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/8ab7b80drp2ypj48cjpdl0mk8b4mdmlp-fetchurl.sh.drv.lock'
instantiated 'fetchurl.sh' -> '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/8ab7b80drp2ypj48cjpdl0mk8b4mdmlp-fetchurl.sh.drv'
querying info about missing paths...
starting pool of 24 threads
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/8ab7b80drp2ypj48cjpdl0mk8b4mdmlp-fetchurl.sh.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/8ab7b80drp2ypj48cjpdl0mk8b4mdmlp-fetchurl.sh.drv^out' from .drv file: woken up
querying info about missing paths...
starting pool of 24 threads
entered goal loop
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/8ab7b80drp2ypj48cjpdl0mk8b4mdmlp-fetchurl.sh.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/8ab7b80drp2ypj48cjpdl0mk8b4mdmlp-fetchurl.sh.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/8ab7b80drp2ypj48cjpdl0mk8b4mdmlp-fetchurl.sh.drv^out' from .drv file: have derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/8ab7b80drp2ypj48cjpdl0mk8b4mdmlp-fetchurl.sh.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/8ab7b80drp2ypj48cjpdl0mk8b4mdmlp-fetchurl.sh.drv^out' from .drv file: goal destroyed
+(fetchurl.sh:13) outPath2=/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh
+(fetchurl.sh:14) test /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh == /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh
+(fetchurl.sh:17) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/fetchurl/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchurl/test-home/.local/state/nix/profiles
++(fetchurl.sh:19) nix hash file --type sha512 --base64 ./fetchurl.sh
+(fetchurl.sh:19) hash=IHh49sFrjLaPHwL3wvyBo5RnlfWhSjs3HI8uxy8C0DMlHQ2UDYpxSGOyy+2cI53MOG0ZKH7YCD2zehsbJhcMfw==
+++(fetchurl.sh:21) pwd
++(fetchurl.sh:21) nix-build -vvvvv --expr 'import <nix/fetchurl.nix>' --argstr url file:///lix-src/build/tests/functional/fetchurl.sh --argstr sha512 IHh49sFrjLaPHwL3wvyBo5RnlfWhSjs3HI8uxy8C0DMlHQ2UDYpxSGOyy+2cI53MOG0ZKH7YCD2zehsbJhcMfw== --no-out-link
processing attribute 'builder'
processing attribute 'executable'
processing attribute 'impureEnvVars'
processing attribute 'name'
processing attribute 'outputHash'
processing attribute 'outputHashAlgo'
processing attribute 'outputHashMode'
processing attribute 'preferLocalBuild'
processing attribute 'system'
processing attribute 'unpack'
processing attribute 'url'
processing attribute 'urls'
acquiring write lock on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix/temproots/28156'
locking path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv.lock'
instantiated 'fetchurl.sh' -> '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv'
querying info about missing paths...
starting pool of 24 threads
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: woken up
querying info about missing paths...
starting pool of 24 threads
entered goal loop
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: have derivation
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/rvg7n5z3qz1vq5kg2m51mzbsvzx3mrpi-fetchurl.sh': created
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/rvg7n5z3qz1vq5kg2m51mzbsvzx3mrpi-fetchurl.sh': woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/rvg7n5z3qz1vq5kg2m51mzbsvzx3mrpi-fetchurl.sh': init
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/rvg7n5z3qz1vq5kg2m51mzbsvzx3mrpi-fetchurl.sh': trying next substituter
path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/rvg7n5z3qz1vq5kg2m51mzbsvzx3mrpi-fetchurl.sh' is required, but there is no substituter that can build it
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/rvg7n5z3qz1vq5kg2m51mzbsvzx3mrpi-fetchurl.sh': done
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: waitee 'substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/rvg7n5z3qz1vq5kg2m51mzbsvzx3mrpi-fetchurl.sh'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/rvg7n5z3qz1vq5kg2m51mzbsvzx3mrpi-fetchurl.sh': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: all inputs realised
added input paths
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/rvg7n5z3qz1vq5kg2m51mzbsvzx3mrpi-fetchurl.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/rvg7n5z3qz1vq5kg2m51mzbsvzx3mrpi-fetchurl.sh.lock'
removing invalid path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/rvg7n5z3qz1vq5kg2m51mzbsvzx3mrpi-fetchurl.sh'
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: woken up
executing builder 'builtin:fetchurl'
using builder args ''
setting builder env variable 'builder'='builtin:fetchurl'
setting builder env variable 'executable'=''
setting builder env variable 'impureEnvVars'='http_proxy https_proxy ftp_proxy all_proxy no_proxy'
setting builder env variable 'name'='fetchurl.sh'
setting builder env variable 'out'='/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/rvg7n5z3qz1vq5kg2m51mzbsvzx3mrpi-fetchurl.sh'
setting builder env variable 'outputHash'='IHh49sFrjLaPHwL3wvyBo5RnlfWhSjs3HI8uxy8C0DMlHQ2UDYpxSGOyy+2cI53MOG0ZKH7YCD2zehsbJhcMfw=='
setting builder env variable 'outputHashAlgo'='sha512'
setting builder env variable 'outputHashMode'='flat'
setting builder env variable 'preferLocalBuild'='1'
setting builder env variable 'system'='builtin'
setting builder env variable 'unpack'=''
setting builder env variable 'url'='file:///lix-src/build/tests/functional/fetchurl.sh'
setting builder env variable 'urls'='file:///lix-src/build/tests/functional/fetchurl.sh'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
building '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: read 77 bytes
download thread waiting for 10000 ms
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: read 215 bytes
downloading 'file:///lix-src/build/tests/functional/fetchurl.sh'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: read 112 bytes
starting download of file:///lix-src/build/tests/functional/fetchurl.sh
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: read 144 bytes
curl: Couldn't find host in the /tmp/nix-shell.MrxVR3/nix-test/fetchurl/etc/netrc file; using defaults
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: read 152 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: read 130 bytes
got header for 'file:///lix-src/build/tests/functional/fetchurl.sh': Content-Length: 2648
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: read 130 bytes
got header for 'file:///lix-src/build/tests/functional/fetchurl.sh': Accept-ranges: bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: read 154 bytes
got header for 'file:///lix-src/build/tests/functional/fetchurl.sh': Last-Modified: Sat, 25 May 2024 00:55:44 GMT
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: read 164 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: read 311 bytes
curl: Closing connection
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: read 440 bytes
finished download of 'file:///lix-src/build/tests/functional/fetchurl.sh'; curl status = 0, HTTP status = 0, body = 2648 bytes
download thread waiting for 10000 ms
download thread shutting down
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: build done
killing process 28233
builder process for '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv' finished
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/rvg7n5z3qz1vq5kg2m51mzbsvzx3mrpi-fetchurl.sh'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/rvg7n5z3qz1vq5kg2m51mzbsvzx3mrpi-fetchurl.sh.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/y6madz9ikf0riszs0vxd1fkivr1kw4sd-fetchurl.sh.drv^out' from .drv file: goal destroyed
+(fetchurl.sh:21) outPath=/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/rvg7n5z3qz1vq5kg2m51mzbsvzx3mrpi-fetchurl.sh
+(fetchurl.sh:23) cmp /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/rvg7n5z3qz1vq5kg2m51mzbsvzx3mrpi-fetchurl.sh fetchurl.sh
+(fetchurl.sh:26) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/fetchurl/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchurl/test-home/.local/state/nix/profiles
++(fetchurl.sh:28) nix hash file ./fetchurl.sh
+(fetchurl.sh:28) hash=sha256-U4buZrduf2rItHMQh6oyaVPsmtXnbQkRgMLEQH6/xGQ=
+(fetchurl.sh:30) [[ sha256-U4buZrduf2rItHMQh6oyaVPsmtXnbQkRgMLEQH6/xGQ= =~ ^sha256- ]]
+++(fetchurl.sh:32) pwd
++(fetchurl.sh:32) nix-build -vvvvv --expr 'import <nix/fetchurl.nix>' --argstr url file:///lix-src/build/tests/functional/fetchurl.sh --argstr hash sha256-U4buZrduf2rItHMQh6oyaVPsmtXnbQkRgMLEQH6/xGQ= --no-out-link
processing attribute 'builder'
processing attribute 'executable'
processing attribute 'impureEnvVars'
processing attribute 'name'
processing attribute 'outputHash'
processing attribute 'outputHashAlgo'
processing attribute 'outputHashMode'
processing attribute 'preferLocalBuild'
processing attribute 'system'
processing attribute 'unpack'
processing attribute 'url'
processing attribute 'urls'
acquiring write lock on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix/temproots/28306'
locking path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv.lock'
instantiated 'fetchurl.sh' -> '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv'
querying info about missing paths...
starting pool of 24 threads
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: woken up
querying info about missing paths...
starting pool of 24 threads
entered goal loop
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: have derivation
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': created
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': init
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': trying next substituter
path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh' is required, but there is no substituter that can build it
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': done
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: waitee 'substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: all inputs realised
added input paths
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh.lock'
removing invalid path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh'
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: woken up
executing builder 'builtin:fetchurl'
using builder args ''
setting builder env variable 'builder'='builtin:fetchurl'
setting builder env variable 'executable'=''
setting builder env variable 'impureEnvVars'='http_proxy https_proxy ftp_proxy all_proxy no_proxy'
setting builder env variable 'name'='fetchurl.sh'
setting builder env variable 'out'='/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh'
setting builder env variable 'outputHash'='sha256-U4buZrduf2rItHMQh6oyaVPsmtXnbQkRgMLEQH6/xGQ='
setting builder env variable 'outputHashAlgo'=''
setting builder env variable 'outputHashMode'='flat'
setting builder env variable 'preferLocalBuild'='1'
setting builder env variable 'system'='builtin'
setting builder env variable 'unpack'=''
setting builder env variable 'url'='file:///lix-src/build/tests/functional/fetchurl.sh'
setting builder env variable 'urls'='file:///lix-src/build/tests/functional/fetchurl.sh'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
building '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: read 77 bytes
download thread waiting for 10000 ms
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: read 215 bytes
downloading 'file:///lix-src/build/tests/functional/fetchurl.sh'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: read 112 bytes
starting download of file:///lix-src/build/tests/functional/fetchurl.sh
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: read 144 bytes
curl: Couldn't find host in the /tmp/nix-shell.MrxVR3/nix-test/fetchurl/etc/netrc file; using defaults
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: read 152 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: read 130 bytes
got header for 'file:///lix-src/build/tests/functional/fetchurl.sh': Content-Length: 2648
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: read 130 bytes
got header for 'file:///lix-src/build/tests/functional/fetchurl.sh': Accept-ranges: bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: read 154 bytes
got header for 'file:///lix-src/build/tests/functional/fetchurl.sh': Last-Modified: Sat, 25 May 2024 00:55:44 GMT
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: read 164 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: read 478 bytes
curl: Closing connection
finished download of 'file:///lix-src/build/tests/functional/fetchurl.sh'; curl status = 0, HTTP status = 0, body = 2648 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: read 82 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: read 121 bytes
download thread waiting for 10000 ms
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: read 70 bytes
download thread shutting down
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: build done
killing process 28356
builder process for '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv' finished
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/sva22bry34bzqflhqka2dpbc5sksb9y0-fetchurl.sh.drv^out' from .drv file: goal destroyed
+(fetchurl.sh:32) outPath=/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh
+(fetchurl.sh:34) cmp /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh fetchurl.sh
+(fetchurl.sh:37) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/fetchurl/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchurl/test-home/.local/state/nix/profiles
+(fetchurl.sh:39) other_store='file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/other_store?store=/fnord/store'
++(fetchurl.sh:41) nix hash file --type sha256 --base16 ./fetchurl.sh
+(fetchurl.sh:41) hash=5386ee66b76e7f6ac8b4731087aa326953ec9ad5e76d091180c2c4407ebfc464
++(fetchurl.sh:43) nix --store 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/other_store?store=/fnord/store' store add-file ./fetchurl.sh
+(fetchurl.sh:43) storePath=/fnord/store/46bskamyfiwpgpz6vz0l368yqzwz0axq-fetchurl.sh
++(fetchurl.sh:45) nix-build -vvvvv --expr 'import <nix/fetchurl.nix>' --argstr url file:///no-such-dir/fetchurl.sh --argstr sha256 5386ee66b76e7f6ac8b4731087aa326953ec9ad5e76d091180c2c4407ebfc464 --no-out-link --substituters 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/other_store?store=/fnord/store'
processing attribute 'builder'
processing attribute 'executable'
processing attribute 'impureEnvVars'
processing attribute 'name'
processing attribute 'outputHash'
processing attribute 'outputHashAlgo'
processing attribute 'outputHashMode'
processing attribute 'preferLocalBuild'
processing attribute 'system'
processing attribute 'unpack'
processing attribute 'url'
processing attribute 'urls'
acquiring write lock on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix/temproots/28545'
locking path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/0l8cbjqkigdac6spvhdix3cpia87mlv2-fetchurl.sh.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/0l8cbjqkigdac6spvhdix3cpia87mlv2-fetchurl.sh.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/0l8cbjqkigdac6spvhdix3cpia87mlv2-fetchurl.sh.drv.lock'
instantiated 'fetchurl.sh' -> '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/0l8cbjqkigdac6spvhdix3cpia87mlv2-fetchurl.sh.drv'
querying info about missing paths...
starting pool of 24 threads
checking substituter 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/other_store' for path '/fnord/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh'
querying info about '/fnord/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh' on 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/other_store'...
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/0l8cbjqkigdac6spvhdix3cpia87mlv2-fetchurl.sh.drv
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/0l8cbjqkigdac6spvhdix3cpia87mlv2-fetchurl.sh.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/0l8cbjqkigdac6spvhdix3cpia87mlv2-fetchurl.sh.drv^out' from .drv file: woken up
querying info about missing paths...
starting pool of 24 threads
checking substituter 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/other_store' for path '/fnord/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh'
entered goal loop
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/0l8cbjqkigdac6spvhdix3cpia87mlv2-fetchurl.sh.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/0l8cbjqkigdac6spvhdix3cpia87mlv2-fetchurl.sh.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/0l8cbjqkigdac6spvhdix3cpia87mlv2-fetchurl.sh.drv^out' from .drv file: have derivation
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': created
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': init
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': trying next substituter
querying info about '/fnord/store/46bskamyfiwpgpz6vz0l368yqzwz0axq-fetchurl.sh' on 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/other_store'...
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': all references realised
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': trying to run
waiting for children
copying path '/fnord/store/46bskamyfiwpgpz6vz0l368yqzwz0axq-fetchurl.sh' from 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/other_store'...
locking path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh.lock'
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': got EOF
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': substitute finished
substitution of path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh' succeeded
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': done
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/0l8cbjqkigdac6spvhdix3cpia87mlv2-fetchurl.sh.drv^out' from .drv file: waitee 'substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/0l8cbjqkigdac6spvhdix3cpia87mlv2-fetchurl.sh.drv^out' from .drv file: woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/0l8cbjqkigdac6spvhdix3cpia87mlv2-fetchurl.sh.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/0l8cbjqkigdac6spvhdix3cpia87mlv2-fetchurl.sh.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/0l8cbjqkigdac6spvhdix3cpia87mlv2-fetchurl.sh.drv^out' from .drv file: goal destroyed
+(fetchurl.sh:45) outPath=/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pk6jjp67cy4l03pv3xxppbvcib4pib88-fetchurl.sh
++(fetchurl.sh:48) nix hash to-sri --type sha256 5386ee66b76e7f6ac8b4731087aa326953ec9ad5e76d091180c2c4407ebfc464
+(fetchurl.sh:48) nix-build -vvvvv --expr 'import <nix/fetchurl.nix>' --argstr url file:///no-such-dir/fetchurl.sh --argstr hash sha256-U4buZrduf2rItHMQh6oyaVPsmtXnbQkRgMLEQH6/xGQ= --no-out-link --substituters 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/other_store?store=/fnord/store'
processing attribute 'builder'
processing attribute 'executable'
processing attribute 'impureEnvVars'
processing attribute 'name'
processing attribute 'outputHash'
processing attribute 'outputHashAlgo'
processing attribute 'outputHashMode'
processing attribute 'preferLocalBuild'
processing attribute 'system'
processing attribute 'unpack'
processing attribute 'url'
processing attribute 'urls'
acquiring write lock on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix/temproots/28624'
locking path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pnxdxchwnivr7a9179i53wmv6z4v0ipi-fetchurl.sh.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pnxdxchwnivr7a9179i53wmv6z4v0ipi-fetchurl.sh.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pnxdxchwnivr7a9179i53wmv6z4v0ipi-fetchurl.sh.drv.lock'
instantiated 'fetchurl.sh' -> '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pnxdxchwnivr7a9179i53wmv6z4v0ipi-fetchurl.sh.drv'
querying info about missing paths...
starting pool of 24 threads
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pnxdxchwnivr7a9179i53wmv6z4v0ipi-fetchurl.sh.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pnxdxchwnivr7a9179i53wmv6z4v0ipi-fetchurl.sh.drv^out' from .drv file: woken up
querying info about missing paths...
starting pool of 24 threads
entered goal loop
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pnxdxchwnivr7a9179i53wmv6z4v0ipi-fetchurl.sh.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pnxdxchwnivr7a9179i53wmv6z4v0ipi-fetchurl.sh.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pnxdxchwnivr7a9179i53wmv6z4v0ipi-fetchurl.sh.drv^out' from .drv file: have derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pnxdxchwnivr7a9179i53wmv6z4v0ipi-fetchurl.sh.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pnxdxchwnivr7a9179i53wmv6z4v0ipi-fetchurl.sh.drv^out' from .drv file: goal destroyed
+(fetchurl.sh:52) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive
+(fetchurl.sh:53) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive
+(fetchurl.sh:54) cp ./fetchurl.sh /tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive
+(fetchurl.sh:55) chmod +x /tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive/fetchurl.sh
+(fetchurl.sh:56) ln -s foo /tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive/symlink
+(fetchurl.sh:57) nar=/tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar
+(fetchurl.sh:58) nix-store --dump /tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive
++(fetchurl.sh:60) nix-hash --flat --type sha256 /tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar
+(fetchurl.sh:60) hash=be6049661b50b24ee144fe27dd407260498cebcfe122d7656a46b701016453a1
++(fetchurl.sh:63) nix-build -vvvvv --expr 'import <nix/fetchurl.nix>' --argstr url file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar --argstr sha256 be6049661b50b24ee144fe27dd407260498cebcfe122d7656a46b701016453a1 --arg unpack true --argstr name xyzzy --no-out-link
processing attribute 'builder'
processing attribute 'executable'
processing attribute 'impureEnvVars'
processing attribute 'name'
processing attribute 'outputHash'
processing attribute 'outputHashAlgo'
processing attribute 'outputHashMode'
processing attribute 'preferLocalBuild'
processing attribute 'system'
processing attribute 'unpack'
processing attribute 'url'
processing attribute 'urls'
acquiring write lock on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix/temproots/28762'
locking path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv.lock'
instantiated 'xyzzy' -> '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv'
querying info about missing paths...
starting pool of 24 threads
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: woken up
querying info about missing paths...
starting pool of 24 threads
entered goal loop
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: have derivation
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy': created
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy': woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy': init
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy': trying next substituter
path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy' is required, but there is no substituter that can build it
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy': done
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: waitee 'substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: all inputs realised
added input paths
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy.lock'
removing invalid path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy'
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: woken up
executing builder 'builtin:fetchurl'
using builder args ''
setting builder env variable 'builder'='builtin:fetchurl'
setting builder env variable 'executable'=''
setting builder env variable 'impureEnvVars'='http_proxy https_proxy ftp_proxy all_proxy no_proxy'
setting builder env variable 'name'='xyzzy'
setting builder env variable 'out'='/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy'
setting builder env variable 'outputHash'='be6049661b50b24ee144fe27dd407260498cebcfe122d7656a46b701016453a1'
setting builder env variable 'outputHashAlgo'='sha256'
setting builder env variable 'outputHashMode'='recursive'
setting builder env variable 'preferLocalBuild'='1'
setting builder env variable 'system'='builtin'
setting builder env variable 'unpack'='1'
setting builder env variable 'url'='file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar'
setting builder env variable 'urls'='file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
building '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: read 428 bytes
download thread waiting for 10000 ms
downloading 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar'...
starting download of file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: read 434 bytes
curl: Couldn't find host in the /tmp/nix-shell.MrxVR3/nix-test/fetchurl/etc/netrc file; using defaults
got header for 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar': Content-Length: 3160
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: read 138 bytes
got header for 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar': Accept-ranges: bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: read 162 bytes
got header for 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar': Last-Modified: Sun, 26 May 2024 00:21:07 GMT
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: read 410 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: read 322 bytes
curl: Closing connection
finished download of 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar'; curl status = 0, HTTP status = 0, body = 3160 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: read 44 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: read 77 bytes
download thread waiting for 10000 ms
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: read 70 bytes
download thread shutting down
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: build done
killing process 28809
builder process for '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv' finished
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/pvysgdvirs48hyj72biq0s16hg6cjfsc-xyzzy.drv^out' from .drv file: goal destroyed
+(fetchurl.sh:63) outPath=/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy
+(fetchurl.sh:65) echo /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy
+(fetchurl.sh:65) grepQuiet xyzzy
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep xyzzy
+(fetchurl.sh:67) test -x /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy/fetchurl.sh
+(fetchurl.sh:68) test -L /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy/symlink
+(fetchurl.sh:70) nix-store --delete /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy
finding garbage collector roots...
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix/gcroots/auto/bqsfyfqii38iag4kvkixhzd3z1585x6y' to '/tmp/nix-shell.MrxVR3/nix-build-28545-0/result'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix/gcroots/auto/l17pllla27lvwawil2bx62bgx3xjins0' to '/tmp/nix-shell.MrxVR3/nix-build-28762-0/result'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix/gcroots/auto/jcg0i4lh8kii2cym33xj55d0agq8kq8s' to '/tmp/nix-shell.MrxVR3/nix-build-28624-0/result'
deleting '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy'
deleting unused links...
note: currently hard linking saves -0.00 MiB
+(fetchurl.sh:73) narxz=/tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar.xz
+(fetchurl.sh:74) rm -f /tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar.xz
+(fetchurl.sh:75) xz --keep /tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar
++(fetchurl.sh:77) nix-build -vvvvv --expr 'import <nix/fetchurl.nix>' --argstr url file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar.xz --argstr sha256 be6049661b50b24ee144fe27dd407260498cebcfe122d7656a46b701016453a1 --arg unpack true --argstr name xyzzy --no-out-link
processing attribute 'builder'
processing attribute 'executable'
processing attribute 'impureEnvVars'
processing attribute 'name'
processing attribute 'outputHash'
processing attribute 'outputHashAlgo'
processing attribute 'outputHashMode'
processing attribute 'preferLocalBuild'
processing attribute 'system'
processing attribute 'unpack'
processing attribute 'url'
processing attribute 'urls'
acquiring write lock on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/var/nix/temproots/29128'
locking path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv.lock'
instantiated 'xyzzy' -> '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv'
querying info about missing paths...
starting pool of 24 threads
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: created
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: woken up
querying info about missing paths...
starting pool of 24 threads
entered goal loop
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: init
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: loading derivation
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: have derivation
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy': created
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy': woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy': init
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy': trying next substituter
path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy' is required, but there is no substituter that can build it
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy': done
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: waitee 'substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy'' done; 0 left
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: woken up
substitution of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy': goal destroyed
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: all outputs substituted (maybe)
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: all inputs realised
added input paths
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: trying to build
locking path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy.lock'
removing invalid path '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy'
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: woken up
executing builder 'builtin:fetchurl'
using builder args ''
setting builder env variable 'builder'='builtin:fetchurl'
setting builder env variable 'executable'=''
setting builder env variable 'impureEnvVars'='http_proxy https_proxy ftp_proxy all_proxy no_proxy'
setting builder env variable 'name'='xyzzy'
setting builder env variable 'out'='/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy'
setting builder env variable 'outputHash'='be6049661b50b24ee144fe27dd407260498cebcfe122d7656a46b701016453a1'
setting builder env variable 'outputHashAlgo'='sha256'
setting builder env variable 'outputHashMode'='recursive'
setting builder env variable 'preferLocalBuild'='1'
setting builder env variable 'system'='builtin'
setting builder env variable 'unpack'='1'
setting builder env variable 'url'='file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar.xz'
setting builder env variable 'urls'='file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar.xz'
sandbox setup: closing leaked FD 3
sandbox setup: closing leaked FD 4
sandbox setup: closing leaked FD 5
sandbox setup: closing leaked FD 6
sandbox setup: closing leaked FD 7
sandbox setup: closing leaked FD 8
sandbox setup: closing leaked FD 9
sandbox setup: closing leaked FD 10
sandbox setup: closing leaked FD 11
sandbox setup: closing leaked FD 12
sandbox setup: closing leaked FD 13
sandbox setup: closing leaked FD 14
building '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: read 314 bytes
download thread waiting for 10000 ms
downloading 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar.xz'...
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: read 267 bytes
starting download of file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar.xz
curl: Couldn't find host in the /tmp/nix-shell.MrxVR3/nix-test/fetchurl/etc/netrc file; using defaults
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: read 76 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: read 76 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: read 140 bytes
got header for 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar.xz': Content-Length: 916
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: read 141 bytes
got header for 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar.xz': Accept-ranges: bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: read 165 bytes
got header for 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar.xz': Last-Modified: Sun, 26 May 2024 00:21:07 GMT
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: read 160 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: read 160 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: read 145 bytes
curl: Closing connection
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: read 177 bytes
finished download of 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchurl/archive.nar.xz'; curl status = 0, HTTP status = 0, body = 916 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: read 80 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: read 44 bytes
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: read 77 bytes
download thread waiting for 10000 ms
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: read 70 bytes
download thread shutting down
waiting for children
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: got EOF
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: woken up
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: build done
killing process 29195
builder process for '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv' finished
scanning for references for output 'out' in temp location '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy.lock'
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: done
building of '/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/inan1h864jsngxs7k8hhi4cicgkaincx-xyzzy.drv^out' from .drv file: goal destroyed
+(fetchurl.sh:77) outPath=/tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy
+(fetchurl.sh:79) test -x /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy/fetchurl.sh
+(fetchurl.sh:80) test -L /tmp/nix-shell.MrxVR3/nix-test/fetchurl/store/yr62p3zpb0ha891vc6ymhm01x7acjwzm-xyzzy/symlinkclearing store...
making registration...
registering...
collecting garbage...
500 store paths deleted, 0.00 MiB freed
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/referrers
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/referrers
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/referrers
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/referrers
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/referrers
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/referrers/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/referrers/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/referrers/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/referrers/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/referrers/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/referrers/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(referrers.sh:3) needLocalStore 'uses some low-level store manipulations that aren’t available through the daemon'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:217) [[ '' == \d\a\e\m\o\n ]]
+(referrers.sh:5) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/referrers/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/referrers/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/referrers/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/referrers/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/referrers/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/referrers/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/referrers/test-home/.local/state/nix/profiles
+(referrers.sh:7) max=500
+(referrers.sh:9) reference=/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-bla
+(referrers.sh:10) touch /tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-bla
+(referrers.sh:11) echo /tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-bla
+(referrers.sh:11) echo
+(referrers.sh:11) echo 0
+(referrers.sh:11) nix-store --register-validity
+(referrers.sh:13) echo 'making registration...'
+(referrers.sh:15) set +x
+(referrers.sh:27) echo registering...
+(referrers.sh:29) nix-store --register-validity
+(referrers.sh:31) echo 'collecting garbage...'
+(referrers.sh:32) ln -sfn /tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-bla /tmp/nix-shell.MrxVR3/nix-test/referrers/var/nix/gcroots/ref
+(referrers.sh:33) nix-store --gc
finding garbage collector roots...
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-0'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-1'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-2'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-3'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-4'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-5'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-6'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-7'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-8'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-9'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-10'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-11'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-12'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-13'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-14'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-15'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-16'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-17'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-18'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-19'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-20'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-21'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-22'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-23'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-24'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-25'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-26'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-27'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-28'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-29'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-30'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-31'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-32'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-33'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-34'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-35'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-36'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-37'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-38'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-39'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-40'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-41'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-42'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-43'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-44'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-45'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-46'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-47'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-48'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-49'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-50'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-51'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-52'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-53'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-54'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-55'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-56'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-57'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-58'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-59'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-60'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-61'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-62'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-63'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-64'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-65'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-66'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-67'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-68'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-69'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-70'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-71'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-72'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-73'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-74'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-75'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-76'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-77'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-78'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-79'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-80'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-81'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-82'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-83'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-84'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-85'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-86'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-87'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-88'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-89'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-90'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-91'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-92'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-93'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-94'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-95'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-96'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-97'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-98'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-99'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-100'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-101'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-102'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-103'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-104'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-105'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-106'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-107'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-108'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-109'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-110'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-111'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-112'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-113'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-114'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-115'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-116'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-117'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-118'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-119'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-120'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-121'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-122'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-123'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-124'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-125'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-126'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-127'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-128'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-129'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-130'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-131'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-132'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-133'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-134'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-135'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-136'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-137'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-138'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-139'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-140'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-141'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-142'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-143'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-144'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-145'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-146'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-147'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-148'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-149'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-150'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-151'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-152'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-153'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-154'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-155'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-156'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-157'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-158'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-159'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-160'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-161'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-162'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-163'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-164'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-165'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-166'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-167'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-168'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-169'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-170'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-171'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-172'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-173'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-174'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-175'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-176'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-177'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-178'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-179'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-180'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-181'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-182'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-183'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-184'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-185'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-186'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-187'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-188'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-189'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-190'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-191'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-192'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-193'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-194'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-195'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-196'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-197'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-198'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-199'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-200'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-201'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-202'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-203'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-204'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-205'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-206'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-207'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-208'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-209'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-210'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-211'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-212'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-213'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-214'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-215'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-216'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-217'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-218'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-219'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-220'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-221'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-222'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-223'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-224'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-225'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-226'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-227'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-228'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-229'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-230'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-231'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-232'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-233'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-234'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-235'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-236'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-237'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-238'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-239'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-240'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-241'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-242'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-243'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-244'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-245'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-246'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-247'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-248'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-249'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-250'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-251'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-252'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-253'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-254'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-255'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-256'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-257'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-258'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-259'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-260'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-261'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-262'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-263'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-264'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-265'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-266'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-267'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-268'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-269'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-270'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-271'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-272'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-273'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-274'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-275'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-276'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-277'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-278'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-279'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-280'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-281'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-282'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-283'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-284'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-285'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-286'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-287'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-288'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-289'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-290'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-291'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-292'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-293'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-294'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-295'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-296'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-297'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-298'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-299'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-300'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-301'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-302'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-303'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-304'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-305'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-306'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-307'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-308'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-309'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-310'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-311'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-312'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-313'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-314'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-315'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-316'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-317'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-318'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-319'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-320'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-321'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-322'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-323'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-324'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-325'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-326'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-327'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-328'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-329'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-330'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-331'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-332'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-333'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-334'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-335'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-336'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-337'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-338'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-339'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-340'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-341'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-342'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-343'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-344'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-345'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-346'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-347'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-348'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-349'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-350'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-351'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-352'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-353'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-354'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-355'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-356'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-357'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-358'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-359'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-360'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-361'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-362'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-363'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-364'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-365'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-366'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-367'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-368'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-369'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-370'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-371'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-372'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-373'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-374'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-375'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-376'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-377'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-378'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-379'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-380'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-381'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-382'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-383'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-384'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-385'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-386'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-387'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-388'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-389'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-390'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-391'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-392'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-393'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-394'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-395'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-396'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-397'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-398'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-399'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-400'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-401'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-402'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-403'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-404'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-405'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-406'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-407'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-408'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-409'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-410'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-411'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-412'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-413'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-414'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-415'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-416'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-417'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-418'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-419'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-420'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-421'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-422'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-423'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-424'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-425'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-426'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-427'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-428'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-429'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-430'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-431'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-432'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-433'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-434'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-435'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-436'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-437'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-438'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-439'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-440'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-441'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-442'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-443'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-444'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-445'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-446'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-447'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-448'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-449'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-450'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-451'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-452'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-453'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-454'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-455'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-456'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-457'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-458'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-459'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-460'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-461'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-462'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-463'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-464'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-465'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-466'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-467'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-468'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-469'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-470'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-471'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-472'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-473'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-474'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-475'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-476'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-477'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-478'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-479'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-480'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-481'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-482'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-483'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-484'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-485'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-486'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-487'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-488'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-489'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-490'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-491'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-492'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-493'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-494'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-495'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-496'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-497'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-498'
deleting '/tmp/nix-shell.MrxVR3/nix-test/referrers/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-499'
deleting unused links...
note: currently hard linking saves -0.00 MiB
++(referrers.sh:35) type -p sqlite3
++(referrers.sh:35) sqlite3 /tmp/nix-shell.MrxVR3/nix-test/referrers/var/nix/db/db.sqlite 'select count(*) from Refs'
+(referrers.sh:35) '[' -n /nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin/sqlite3 -a 0 -ne 0 ']'clearing store...
7 store paths deleted, 0.00 MiB freed
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/optimise-store
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/optimise-store
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/optimise-store
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/optimise-store
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/optimise-store
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/optimise-store/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/optimise-store/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/optimise-store/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/optimise-store/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/optimise-store/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/optimise-store/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(optimise-store.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/optimise-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/optimise-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/optimise-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/optimise-store/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/optimise-store/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/optimise-store/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/optimise-store/test-home/.local/state/nix/profiles
++(optimise-store.sh:5) echo 'with import ./config.nix; mkDerivation { name = "foo1"; builder = builtins.toFile "builder" "mkdir $out; echo hello > $out/foo"; }'
++(optimise-store.sh:5) nix-build - --no-out-link --auto-optimise-store
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/i4rj79g3y36mdaf2r5l1hwfx734h0gqc-foo1.drv
building '/tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/i4rj79g3y36mdaf2r5l1hwfx734h0gqc-foo1.drv'...
+(optimise-store.sh:5) outPath1=/tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/y1h1c361zx02p9xjxkxkf1mn2yjfixca-foo1
++(optimise-store.sh:6) echo 'with import ./config.nix; mkDerivation { name = "foo2"; builder = builtins.toFile "builder" "mkdir $out; echo hello > $out/foo"; }'
++(optimise-store.sh:6) nix-build - --no-out-link --auto-optimise-store
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/v1ar27l7rbh7pkxi8n3z193ih9482xjw-foo2.drv
building '/tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/v1ar27l7rbh7pkxi8n3z193ih9482xjw-foo2.drv'...
+(optimise-store.sh:6) outPath2=/tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/r5q9ng72l2mmc1wyjgjv7dcjp97h71rs-foo2
++(optimise-store.sh:8) stat --format=%i /tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/y1h1c361zx02p9xjxkxkf1mn2yjfixca-foo1/foo
+(optimise-store.sh:8) inode1=185686
++(optimise-store.sh:9) stat --format=%i /tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/r5q9ng72l2mmc1wyjgjv7dcjp97h71rs-foo2/foo
+(optimise-store.sh:9) inode2=185686
+(optimise-store.sh:10) '[' 185686 '!=' 185686 ']'
++(optimise-store.sh:15) stat --format=%h /tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/y1h1c361zx02p9xjxkxkf1mn2yjfixca-foo1/foo
+(optimise-store.sh:15) nlink=3
+(optimise-store.sh:16) '[' 3 '!=' 3 ']'
++(optimise-store.sh:21) echo 'with import ./config.nix; mkDerivation { name = "foo3"; builder = builtins.toFile "builder" "mkdir $out; echo hello > $out/foo"; }'
++(optimise-store.sh:21) nix-build - --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/xxsz9ca4zc1137y17yp4525n52c6skw8-foo3.drv
building '/tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/xxsz9ca4zc1137y17yp4525n52c6skw8-foo3.drv'...
+(optimise-store.sh:21) outPath3=/tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/a9gf66knvcy7fjqkg18nqpi33mx2d6sa-foo3
++(optimise-store.sh:23) stat --format=%i /tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/a9gf66knvcy7fjqkg18nqpi33mx2d6sa-foo3/foo
+(optimise-store.sh:23) inode3=184791
+(optimise-store.sh:24) '[' 185686 = 184791 ']'
+(optimise-store.sh:30) NIX_REMOTE=
+(optimise-store.sh:30) nix-store --optimise
0.00 MiB freed by hard-linking 1 files
++(optimise-store.sh:32) stat --format=%i /tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/y1h1c361zx02p9xjxkxkf1mn2yjfixca-foo1/foo
+(optimise-store.sh:32) inode1=185686
++(optimise-store.sh:33) stat --format=%i /tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/a9gf66knvcy7fjqkg18nqpi33mx2d6sa-foo3/foo
+(optimise-store.sh:33) inode3=185686
+(optimise-store.sh:34) '[' 185686 '!=' 185686 ']'
+(optimise-store.sh:39) nix-store --gc
finding garbage collector roots...
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/optimise-store/var/nix/gcroots/auto/mbgikrkzszsq8d9vamhs1ixnp2f50n9y' to '/tmp/nix-shell.MrxVR3/nix-build-29211-0/result'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/optimise-store/var/nix/gcroots/auto/v0h9zivbyxm8rcp59fyp1zjhp0rjbfa9' to '/tmp/nix-shell.MrxVR3/nix-build-29479-0/result'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/optimise-store/var/nix/gcroots/auto/qnwmw1y1z4nw9g1k9c0cdf4qliln5k07' to '/tmp/nix-shell.MrxVR3/nix-build-29338-0/result'
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/y1h1c361zx02p9xjxkxkf1mn2yjfixca-foo1'
deleting '/tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/xxsz9ca4zc1137y17yp4525n52c6skw8-foo3.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/v1ar27l7rbh7pkxi8n3z193ih9482xjw-foo2.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/i4rj79g3y36mdaf2r5l1hwfx734h0gqc-foo1.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/ilix8idhgzhadxvqlyz3yzvb4mya04ky-builder'
deleting '/tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/a9gf66knvcy7fjqkg18nqpi33mx2d6sa-foo3'
deleting '/tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/r5q9ng72l2mmc1wyjgjv7dcjp97h71rs-foo2'
deleting unused links...
note: currently hard linking saves -0.00 MiB
++(optimise-store.sh:41) ls /tmp/nix-shell.MrxVR3/nix-test/optimise-store/store/.links
+(optimise-store.sh:41) '[' -n '' ']'[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(substitute-with-invalid-ca.sh:3) BINARY_CACHE=file:///tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache
+(substitute-with-invalid-ca.sh:12) cat
+(substitute-with-invalid-ca.sh:16) cat
++(substitute-with-invalid-ca.sh:20) nix-store --add /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/test-home/good.txt
+(substitute-with-invalid-ca.sh:20) good=/tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/store/4wsq444v2j42v19vwa17x20sgmj1ljqw-good.txt
++(substitute-with-invalid-ca.sh:21) nix-store --add /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/test-home/bad.txt
+(substitute-with-invalid-ca.sh:21) bad=/tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/store/7q5sspla8i7iz1i7m3cgi8g8cvcaml2z-bad.txt
+(substitute-with-invalid-ca.sh:22) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/store/4wsq444v2j42v19vwa17x20sgmj1ljqw-good.txt
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/store/4wsq444v2j42v19vwa17x20sgmj1ljqw-good.txt' to 'file:///tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache'...
+(substitute-with-invalid-ca.sh:23) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/store/7q5sspla8i7iz1i7m3cgi8g8cvcaml2z-bad.txt
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/store/7q5sspla8i7iz1i7m3cgi8g8cvcaml2z-bad.txt' to 'file:///tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache'...
+(substitute-with-invalid-ca.sh:24) nix-collect-garbage
++(substitute-with-invalid-ca.sh:27) getRemoteNarInfo /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/store/4wsq444v2j42v19vwa17x20sgmj1ljqw-good.txt
+++(substitute-with-invalid-ca.sh:9) getHash /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/store/4wsq444v2j42v19vwa17x20sgmj1ljqw-good.txt
+++(substitute-with-invalid-ca.sh:6) basename /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/store/4wsq444v2j42v19vwa17x20sgmj1ljqw-good.txt
+++(substitute-with-invalid-ca.sh:6) cut -d - -f 1
++(substitute-with-invalid-ca.sh:9) echo /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache/4wsq444v2j42v19vwa17x20sgmj1ljqw.narinfo
+(substitute-with-invalid-ca.sh:27) goodPathNarInfo=/tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache/4wsq444v2j42v19vwa17x20sgmj1ljqw.narinfo
++(substitute-with-invalid-ca.sh:28) getRemoteNarInfo /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/store/7q5sspla8i7iz1i7m3cgi8g8cvcaml2z-bad.txt
+++(substitute-with-invalid-ca.sh:9) getHash /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/store/7q5sspla8i7iz1i7m3cgi8g8cvcaml2z-bad.txt
+++(substitute-with-invalid-ca.sh:6) basename /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/store/7q5sspla8i7iz1i7m3cgi8g8cvcaml2z-bad.txt
+++(substitute-with-invalid-ca.sh:6) cut -d - -f 1
++(substitute-with-invalid-ca.sh:9) echo /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache/7q5sspla8i7iz1i7m3cgi8g8cvcaml2z.narinfo
+(substitute-with-invalid-ca.sh:28) badPathNarInfo=/tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache/7q5sspla8i7iz1i7m3cgi8g8cvcaml2z.narinfo
+(substitute-with-invalid-ca.sh:29) for fieldName in URL FileHash FileSize NarHash NarSize
+(substitute-with-invalid-ca.sh:30) sed -i '/^URL/d' /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache/4wsq444v2j42v19vwa17x20sgmj1ljqw.narinfo
+(substitute-with-invalid-ca.sh:31) grep -E '^URL' /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache/7q5sspla8i7iz1i7m3cgi8g8cvcaml2z.narinfo
+(substitute-with-invalid-ca.sh:29) for fieldName in URL FileHash FileSize NarHash NarSize
+(substitute-with-invalid-ca.sh:30) sed -i '/^FileHash/d' /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache/4wsq444v2j42v19vwa17x20sgmj1ljqw.narinfo
+(substitute-with-invalid-ca.sh:31) grep -E '^FileHash' /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache/7q5sspla8i7iz1i7m3cgi8g8cvcaml2z.narinfo
+(substitute-with-invalid-ca.sh:29) for fieldName in URL FileHash FileSize NarHash NarSize
+(substitute-with-invalid-ca.sh:30) sed -i '/^FileSize/d' /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache/4wsq444v2j42v19vwa17x20sgmj1ljqw.narinfo
+(substitute-with-invalid-ca.sh:31) grep -E '^FileSize' /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache/7q5sspla8i7iz1i7m3cgi8g8cvcaml2z.narinfo
+(substitute-with-invalid-ca.sh:29) for fieldName in URL FileHash FileSize NarHash NarSize
+(substitute-with-invalid-ca.sh:30) sed -i '/^NarHash/d' /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache/4wsq444v2j42v19vwa17x20sgmj1ljqw.narinfo
+(substitute-with-invalid-ca.sh:31) grep -E '^NarHash' /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache/7q5sspla8i7iz1i7m3cgi8g8cvcaml2z.narinfo
+(substitute-with-invalid-ca.sh:29) for fieldName in URL FileHash FileSize NarHash NarSize
+(substitute-with-invalid-ca.sh:30) sed -i '/^NarSize/d' /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache/4wsq444v2j42v19vwa17x20sgmj1ljqw.narinfo
+(substitute-with-invalid-ca.sh:31) grep -E '^NarSize' /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache/7q5sspla8i7iz1i7m3cgi8g8cvcaml2z.narinfo
+(substitute-with-invalid-ca.sh:36) nix copy --from file:///tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache /tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/store/4wsq444v2j42v19vwa17x20sgmj1ljqw-good.txt
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/store/4wsq444v2j42v19vwa17x20sgmj1ljqw-good.txt' from 'file:///tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/binary-cache'...
error: ca hash mismatch importing path '/tmp/nix-shell.MrxVR3/nix-test/substitute-with-invalid-ca/store/4wsq444v2j42v19vwa17x20sgmj1ljqw-good.txt';
specified: sha256:0zzcrgjj4gxc3kv5nkdc1jc6wlz1ssc7s851nnsnr5k5sbczyfax
got: sha256:093aqsrdadjdwhzr8gwaygrn6gj7a21ba9vwzz6j5f6y9wwc8s6jclearing store...
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git/.git/
[master (root-commit) 2a49deb] Bla1
1 file changed, 1 insertion(+)
create mode 100644 hello
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(fetchGitRefs.sh:3) requireGit
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) type -p git
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) [[ -n /nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin/git ]]
+(fetchGitRefs.sh:5) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/test-home/.local/state/nix/profiles
+(fetchGitRefs.sh:7) repo=/tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git
+(fetchGitRefs.sh:9) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git-tmp /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/test-home/.cache/nix
+(fetchGitRefs.sh:11) git init /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(fetchGitRefs.sh:12) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git config user.email foobar@example.com
+(fetchGitRefs.sh:13) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git config user.name Foobar
+(fetchGitRefs.sh:15) echo utrecht
+(fetchGitRefs.sh:16) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git add hello
+(fetchGitRefs.sh:17) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git commit -m Bla1
++(fetchGitRefs.sh:19) nix eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = "master"; }).outPath'
+(fetchGitRefs.sh:19) path=/tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source
+(fetchGitRefs.sh:60) valid_ref foox
+(fetchGitRefs.sh:39) set +x
>>>>>>>>>> valid_ref foox$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:40) git check-ref-format --branch foox
+(fetchGitRefs.sh:41) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch foox master
++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foox'\'''\''; }).outPath'
+(fetchGitRefs.sh:42) path1=/tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source
+(fetchGitRefs.sh:43) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source ]]
+(fetchGitRefs.sh:44) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch -D foox
+(fetchGitRefs.sh:61) valid_ref 1337
+(fetchGitRefs.sh:39) set +x
>>>>>>>>>> valid_ref 1337$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:40) git check-ref-format --branch 1337
+(fetchGitRefs.sh:41) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch 1337 master
++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''1337'\'''\''; }).outPath'
+(fetchGitRefs.sh:42) path1=/tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source
+(fetchGitRefs.sh:43) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source ]]
+(fetchGitRefs.sh:44) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch -D 1337
+(fetchGitRefs.sh:62) valid_ref foo.baz
+(fetchGitRefs.sh:39) set +x
>>>>>>>>>> valid_ref foo.baz$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:40) git check-ref-format --branch foo.baz
+(fetchGitRefs.sh:41) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch foo.baz master
++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foo.baz'\'''\''; }).outPath'
+(fetchGitRefs.sh:42) path1=/tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source
+(fetchGitRefs.sh:43) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source ]]
+(fetchGitRefs.sh:44) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch -D foo.baz
+(fetchGitRefs.sh:63) valid_ref foo/bar/baz
+(fetchGitRefs.sh:39) set +x
>>>>>>>>>> valid_ref foo/bar/baz$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:40) git check-ref-format --branch foo/bar/baz
+(fetchGitRefs.sh:41) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch foo/bar/baz master
++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foo/bar/baz'\'''\''; }).outPath'
+(fetchGitRefs.sh:42) path1=/tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source
+(fetchGitRefs.sh:43) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source ]]
+(fetchGitRefs.sh:44) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch -D foo/bar/baz
+(fetchGitRefs.sh:64) valid_ref foo./bar
+(fetchGitRefs.sh:39) set +x
>>>>>>>>>> valid_ref foo./bar$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:40) git check-ref-format --branch foo./bar
+(fetchGitRefs.sh:41) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch foo./bar master
++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foo./bar'\'''\''; }).outPath'
+(fetchGitRefs.sh:42) path1=/tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source
+(fetchGitRefs.sh:43) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source ]]
+(fetchGitRefs.sh:44) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch -D foo./bar
+(fetchGitRefs.sh:65) valid_ref heads/foo@bar
+(fetchGitRefs.sh:39) set +x
>>>>>>>>>> valid_ref heads/foo@bar$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:40) git check-ref-format --branch heads/foo@bar
+(fetchGitRefs.sh:41) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch heads/foo@bar master
++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''heads/foo@bar'\'''\''; }).outPath'
+(fetchGitRefs.sh:42) path1=/tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source
+(fetchGitRefs.sh:43) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source ]]
+(fetchGitRefs.sh:44) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch -D heads/foo@bar
++(fetchGitRefs.sh:66) printf 'heads/fu\303\237'
+(fetchGitRefs.sh:66) valid_ref heads/fuß
+(fetchGitRefs.sh:39) set +x
>>>>>>>>>> valid_ref heads/fu\303\237$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:40) git check-ref-format --branch heads/fuß
+(fetchGitRefs.sh:41) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch heads/fuß master
++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''heads/fuß'\'''\''; }).outPath'
+(fetchGitRefs.sh:42) path1=/tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source
+(fetchGitRefs.sh:43) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source ]]
+(fetchGitRefs.sh:44) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch -D heads/fuß
+(fetchGitRefs.sh:67) valid_ref foo-bar-baz
+(fetchGitRefs.sh:39) set +x
>>>>>>>>>> valid_ref foo-bar-baz$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:40) git check-ref-format --branch foo-bar-baz
+(fetchGitRefs.sh:41) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch foo-bar-baz master
++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foo-bar-baz'\'''\''; }).outPath'
+(fetchGitRefs.sh:42) path1=/tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source
+(fetchGitRefs.sh:43) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source ]]
+(fetchGitRefs.sh:44) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch -D foo-bar-baz
+(fetchGitRefs.sh:68) valid_ref '$1'
+(fetchGitRefs.sh:39) set +x
>>>>>>>>>> valid_ref $1$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:40) git check-ref-format --branch '$1'
+(fetchGitRefs.sh:41) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch '$1' master
++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''$1'\'''\''; }).outPath'
+(fetchGitRefs.sh:42) path1=/tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source
+(fetchGitRefs.sh:43) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source ]]
+(fetchGitRefs.sh:44) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch -D '$1'
+(fetchGitRefs.sh:69) valid_ref foo.locke
+(fetchGitRefs.sh:39) set +x
>>>>>>>>>> valid_ref foo.locke$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:40) git check-ref-format --branch foo.locke
+(fetchGitRefs.sh:41) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch foo.locke master
++(fetchGitRefs.sh:42) nix eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foo.locke'\'''\''; }).outPath'
+(fetchGitRefs.sh:42) path1=/tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source
+(fetchGitRefs.sh:43) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/store/53z96jkz6fk8mkfxvygxcsf168sxrfkj-source ]]
+(fetchGitRefs.sh:44) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git branch -D foo.locke
+(fetchGitRefs.sh:71) invalid_ref refs///heads/foo
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref refs///heads/foo$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' refs///heads/foo = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch refs///heads/foo
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''refs///heads/foo'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:72) invalid_ref heads/foo/
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref heads/foo/$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' heads/foo/ = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch heads/foo/
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''heads/foo/'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:73) invalid_ref ///heads/foo
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref ///heads/foo$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' ///heads/foo = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch ///heads/foo
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''///heads/foo'\'''\''; }).outPath'
+(fetchGitRefs.sh:74) invalid_ref .foo
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref .foo$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' .foo = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch .foo
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''.foo'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:75) invalid_ref ./foo
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref ./foo$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' ./foo = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch ./foo
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''./foo'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:76) invalid_ref ./foo/bar
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref ./foo/bar$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' ./foo/bar = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch ./foo/bar
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''./foo/bar'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:77) invalid_ref foo/./bar
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref foo/./bar$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' foo/./bar = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch foo/./bar
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foo/./bar'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:78) invalid_ref foo/bar/.
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref foo/bar/.$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' foo/bar/. = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch foo/bar/.
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foo/bar/.'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:79) invalid_ref 'foo bar'
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref foo\x08 <<<<<<<<<<
>>>>>>>>>> invalid_ref bar$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' 'foo bar' = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch 'foo bar'
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foo bar'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:80) invalid_ref 'foo?bar'
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref foo?bar$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' 'foo?bar' = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch 'foo?bar'
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foo?bar'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:81) invalid_ref 'foo^bar'
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref foo^bar$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' 'foo^bar' = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch 'foo^bar'
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foo^bar'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:82) invalid_ref foo~bar
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref foo~bar$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' foo~bar = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch foo~bar
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foo~bar'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:83) invalid_ref foo:bar
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref foo:bar$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' foo:bar = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch foo:bar
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foo:bar'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:84) invalid_ref 'foo[bar'
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref foo[bar$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' 'foo[bar' = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch 'foo[bar'
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foo[bar'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:85) invalid_ref foo/bar/.
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref foo/bar/.$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' foo/bar/. = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch foo/bar/.
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foo/bar/.'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:86) invalid_ref .refs/foo
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref .refs/foo$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' .refs/foo = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch .refs/foo
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''.refs/foo'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:87) invalid_ref refs/heads/foo.
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref refs/heads/foo.$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' refs/heads/foo. = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch refs/heads/foo.
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''refs/heads/foo.'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:88) invalid_ref heads/foo..bar
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref heads/foo..bar$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' heads/foo..bar = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch heads/foo..bar
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''heads/foo..bar'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:89) invalid_ref 'heads/foo?bar'
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref heads/foo?bar$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' 'heads/foo?bar' = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch 'heads/foo?bar'
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''heads/foo?bar'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:90) invalid_ref heads/foo.lock
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref heads/foo.lock$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' heads/foo.lock = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch heads/foo.lock
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''heads/foo.lock'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:91) invalid_ref heads///foo.lock
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref heads///foo.lock$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' heads///foo.lock = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch heads///foo.lock
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''heads///foo.lock'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:92) invalid_ref foo.lock/bar
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref foo.lock/bar$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' foo.lock/bar = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch foo.lock/bar
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foo.lock/bar'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:93) invalid_ref foo.lock///bar
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref foo.lock///bar$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' foo.lock///bar = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch foo.lock///bar
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foo.lock///bar'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:94) invalid_ref 'heads/v@{ation'
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref heads/v@{ation$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' 'heads/v@{ation' = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch 'heads/v@{ation'
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''heads/v@{ation'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:95) invalid_ref 'heads/foo\.ar'
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref heads/foo\\.ar$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' 'heads/foo\.ar' = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch 'heads/foo\.ar'
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''heads/foo\.ar'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:96) invalid_ref 'heads/foo\bar'
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref heads/foo\\bar$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' 'heads/foo\bar' = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch 'heads/foo\bar'
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''heads/foo\bar'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
++(fetchGitRefs.sh:97) printf 'heads/foo\t'
+(fetchGitRefs.sh:97) invalid_ref 'heads/foo '
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref heads/foo\t$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' 'heads/foo ' = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch 'heads/foo '
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''heads/foo '\'''\''; }).outPath'
++(fetchGitRefs.sh:98) printf 'heads/foo\177'
+(fetchGitRefs.sh:98) invalid_ref $'heads/foo\177'
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref heads/foo\177$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' $'heads/foo\177' = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch $'heads/foo\177'
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''heads/foo\x7f'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:99) invalid_ref @
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref @$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' @ = @ ']'
+(fetchGitRefs.sh:52) git check-ref-format --allow-onelevel @
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''@'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:101) invalid_ref 'foo/*'
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref foo/*$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' 'foo/*' = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch 'foo/*'
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foo/*'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:102) invalid_ref '*/foo'
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref */foo$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' '*/foo' = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch '*/foo'
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''*/foo'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:103) invalid_ref 'foo/*/bar'
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref foo/*/bar$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' 'foo/*/bar' = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch 'foo/*/bar'
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foo/*/bar'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:104) invalid_ref '*'
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref *$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' '*' = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch '*'
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''*'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:105) invalid_ref 'foo/*/*'
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref foo/*/*$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' 'foo/*/*' = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch 'foo/*/*'
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''foo/*/*'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:106) invalid_ref '*/foo/*'
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref */foo/*$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' '*/foo/*' = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch '*/foo/*'
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''*/foo/*'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:107) invalid_ref /foo
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref /foo$\x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' /foo = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch /foo
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\''/foo'\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'
+(fetchGitRefs.sh:108) invalid_ref ''
+(fetchGitRefs.sh:48) set +x
>>>>>>>>>> invalid_ref \x08 <<<<<<<<<<
+(fetchGitRefs.sh:51) '[' '' = @ ']'
+(fetchGitRefs.sh:54) git check-ref-format --branch ''
+(fetchGitRefs.sh:56) expect 1 nix --debug eval --raw --impure --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitRefs/git; ref = '\'''\'''\'''\''; }).outPath'
+(fetchGitRefs.sh:56) grep 'invalid Git branch/tag name'/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/pgs5395rxzfp3fxhz9gh6v7zr170v1dx-gc-runtime-program /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/j8ynfkc8svdid2f3b37dmfsn55vpr3c0-gc-runtime-environ /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/a66s75vp7c9dflrj46504ryfww674c75-gc-runtime-open
backgrounding program...
PID=27925
10 store paths deleted, 0.01 MiB freed
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/gc-runtime
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/gc-runtime
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/gc-runtime
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/gc-runtime
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-runtime
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(gc-runtime.sh:3) set -m
+(gc-runtime.sh:5) profiles=/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/var/nix/profiles
+(gc-runtime.sh:6) rm -rf /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/var/nix/profiles
+(gc-runtime.sh:8) nix-env -p /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/var/nix/profiles/test -f ./gc-runtime.nix -i gc-runtime-program gc-runtime-environ gc-runtime-open
installing 'gc-runtime-program'
installing 'gc-runtime-environ'
installing 'gc-runtime-open'
these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/fwl6ad521xcvql0l1fg6h4d4h9fr952f-gc-runtime-program.drv
/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/jfx2a1zb1p7vlcimjh81ycq2xvlknla6-gc-runtime-environ.drv
/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/shj326ygaks81q408hf6hjxl0ci9v033-gc-runtime-open.drv
building '/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/jfx2a1zb1p7vlcimjh81ycq2xvlknla6-gc-runtime-environ.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/shj326ygaks81q408hf6hjxl0ci9v033-gc-runtime-open.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/fwl6ad521xcvql0l1fg6h4d4h9fr952f-gc-runtime-program.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/xjfaqwhabbm29k1blna9s3fs28blhbc3-user-environment.drv'...
++(gc-runtime.sh:10) nix-env -p /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/var/nix/profiles/test -q --no-name --out-path gc-runtime-program
+(gc-runtime.sh:10) programPath=/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/pgs5395rxzfp3fxhz9gh6v7zr170v1dx-gc-runtime-program
++(gc-runtime.sh:11) nix-env -p /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/var/nix/profiles/test -q --no-name --out-path gc-runtime-environ
+(gc-runtime.sh:11) environPath=/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/j8ynfkc8svdid2f3b37dmfsn55vpr3c0-gc-runtime-environ
++(gc-runtime.sh:12) nix-env -p /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/var/nix/profiles/test -q --no-name --out-path gc-runtime-open
+(gc-runtime.sh:12) openPath=/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/a66s75vp7c9dflrj46504ryfww674c75-gc-runtime-open
+(gc-runtime.sh:13) echo /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/pgs5395rxzfp3fxhz9gh6v7zr170v1dx-gc-runtime-program /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/j8ynfkc8svdid2f3b37dmfsn55vpr3c0-gc-runtime-environ /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/a66s75vp7c9dflrj46504ryfww674c75-gc-runtime-open
+(gc-runtime.sh:15) echo 'backgrounding program...'
+(gc-runtime.sh:16) export environPath
+(gc-runtime.sh:18) sleep 2
+(gc-runtime.sh:17) /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/var/nix/profiles/test/program /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/a66s75vp7c9dflrj46504ryfww674c75-gc-runtime-open/open
+(gc-runtime.sh:19) child=27925
+(gc-runtime.sh:20) echo PID=27925
+(gc-runtime.sh:22) nix-env -p /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/var/nix/profiles/test -e gc-runtime-program gc-runtime-environ gc-runtime-open
uninstalling 'gc-runtime-program'
uninstalling 'gc-runtime-environ'
uninstalling 'gc-runtime-open'
building '/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/xwf3j9xmvvji12s0h83xdrlxpk9mzcaj-user-environment.drv'...
+(gc-runtime.sh:23) nix-env -p /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/var/nix/profiles/test --delete-generations old
removing profile version 1
+(gc-runtime.sh:25) nix-store --gc
finding garbage collector roots...
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/var/nix/gcroots/auto/3q2ljnpd0g68vqwzgfxcn0x68cjsxsqm' to '/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/var/nix/profiles/test-1-link'
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/jfx2a1zb1p7vlcimjh81ycq2xvlknla6-gc-runtime-environ.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/xwf3j9xmvvji12s0h83xdrlxpk9mzcaj-user-environment.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/fwl6ad521xcvql0l1fg6h4d4h9fr952f-gc-runtime-program.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/z9s76f1rf7hx6p8p14bzdxxp0clwxnxj-builder.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/zzq9sixag649g6rrfxsr231j88hfvq9m-builder-gc-runtime-environ.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/shj326ygaks81q408hf6hjxl0ci9v033-gc-runtime-open.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/rv80isbqjn977dhhwpxalb0mij6l8m3n-builder-gc-runtime-open.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/3ypbgcic4aywy0fsaif0fgd8439zj4hj-user-environment'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/xjfaqwhabbm29k1blna9s3fs28blhbc3-user-environment.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/rj8c7zvidgcf9x1x5p5nwlyh1qb3zija-env-manifest.nix'
deleting unused links...
note: currently hard linking saves -0.00 MiB
+(gc-runtime.sh:27) kill -- -27925
+(gc-runtime.sh:29) test -e /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/pgs5395rxzfp3fxhz9gh6v7zr170v1dx-gc-runtime-program
+(gc-runtime.sh:34) test -e /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/j8ynfkc8svdid2f3b37dmfsn55vpr3c0-gc-runtime-environ
+(gc-runtime.sh:39) test -e /tmp/nix-shell.MrxVR3/nix-test/gc-runtime/store/a66s75vp7c9dflrj46504ryfww674c75-gc-runtime-open
+(gc-runtime.sh:44) exit 0clearing store...
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
error: NAR hash mismatch in input 'file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar?narHash=sha256-xdKv2pq/IiwLSnBBJXW8hNowI4MrdZfW%2BSYqDQs7Tzc%3D' (/tmp/nix-shell.MrxVR3/nix-test/tarball/store/vr0i71a2sgmjvn0byb0aqbw8rdwmys78-source), expected 'sha256-xdKv2pq/IiwLSnBBJXW8hNowI4MrdZfW+SYqDQs7Tzc=', got 'sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA='
true
3
3
/lix-src/build/tests/functional/config.nix
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
error: NAR hash mismatch in input 'file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.xz?narHash=sha256-xdKv2pq/IiwLSnBBJXW8hNowI4MrdZfW%2BSYqDQs7Tzc%3D' (/tmp/nix-shell.MrxVR3/nix-test/tarball/store/vr0i71a2sgmjvn0byb0aqbw8rdwmys78-source), expected 'sha256-xdKv2pq/IiwLSnBBJXW8hNowI4MrdZfW+SYqDQs7Tzc=', got 'sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA='
true
3
3
/lix-src/build/tests/functional/config.nix
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/fbpkzjd5856kknyi4qbj8npgnjf0n6j4-dependencies-top
error: NAR hash mismatch in input 'file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.gz?narHash=sha256-xdKv2pq/IiwLSnBBJXW8hNowI4MrdZfW%2BSYqDQs7Tzc%3D' (/tmp/nix-shell.MrxVR3/nix-test/tarball/store/vr0i71a2sgmjvn0byb0aqbw8rdwmys78-source), expected 'sha256-xdKv2pq/IiwLSnBBJXW8hNowI4MrdZfW+SYqDQs7Tzc=', got 'sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA='
true
3
3
/lix-src/build/tests/functional/config.nix
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/tarball
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/tarball
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/tarball
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/tarball
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/tarball
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/tarball/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/tarball/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/tarball/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/tarball/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/tarball/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/tarball/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(tarball.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/tarball/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/tarball/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/tarball/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/tarball/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/tarball/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/tarball/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/tarball/test-home/.local/state/nix/profiles
+(tarball.sh:5) rm -rf /tmp/nix-shell.MrxVR3/nix-test/tarball/test-home
+(tarball.sh:7) tarroot=/tmp/nix-shell.MrxVR3/nix-test/tarball/tarball
+(tarball.sh:8) rm -rf /tmp/nix-shell.MrxVR3/nix-test/tarball/tarball
+(tarball.sh:9) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/tarball/tarball
+(tarball.sh:10) cp dependencies.nix /tmp/nix-shell.MrxVR3/nix-test/tarball/tarball/default.nix
+(tarball.sh:11) cp config.nix dependencies.builder0.sh /tmp/nix-shell.MrxVR3/nix-test/tarball/tarball/
+(tarball.sh:12) touch -d @1000000000 /tmp/nix-shell.MrxVR3/nix-test/tarball/tarball /tmp/nix-shell.MrxVR3/nix-test/tarball/tarball/config.nix /tmp/nix-shell.MrxVR3/nix-test/tarball/tarball/default.nix /tmp/nix-shell.MrxVR3/nix-test/tarball/tarball/dependencies.builder0.sh
++(tarball.sh:14) nix hash path /tmp/nix-shell.MrxVR3/nix-test/tarball/tarball
+(tarball.sh:14) hash=sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA=
+(tarball.sh:57) test_tarball '' cat
+(tarball.sh:17) local ext=
+(tarball.sh:18) local compressor=cat
+(tarball.sh:20) tarball=/tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar
+(tarball.sh:21) cd /tmp/nix-shell.MrxVR3/nix-test/tarball
+(tarball.sh:21) GNUTAR_REPRODUCIBLE=
+(tarball.sh:21) cat
+(tarball.sh:21) tar --mtime=/tmp/nix-shell.MrxVR3/nix-test/tarball/tarball/default.nix --owner=0 --group=0 --numeric-owner --sort=name -c -f - tarball
+(tarball.sh:23) nix-env -f file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar -qa --out-path
+(tarball.sh:23) grepQuiet dependencies
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep dependencies
+(tarball.sh:25) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/cfkkf7gj9rkn9qm9zqvq6fg7asvgs7qz-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/limklhl53ygkg6y62c4vmmd8ar0lvzhx-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/nvvmd2lc08gf50zd177vffn4pl5yq1r9-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/zqhszjc1v1rb037w6mkzrmi41qv8412n-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/tarball/store/xgf8nm8ilg0i99fcjmy0bkh2hyl78rli-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/tarball/store/cfkkf7gj9rkn9qm9zqvq6fg7asvgs7qz-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/tarball/store/limklhl53ygkg6y62c4vmmd8ar0lvzhx-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/tarball/store/nvvmd2lc08gf50zd177vffn4pl5yq1r9-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/tarball/store/zqhszjc1v1rb037w6mkzrmi41qv8412n-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/tarball/store/xgf8nm8ilg0i99fcjmy0bkh2hyl78rli-dependencies-top.drv'...
FOO
+(tarball.sh:27) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result '<foo>' -I foo=file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar
+(tarball.sh:29) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTarball file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar)'
+(tarball.sh:31) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTarball { url = file:///does-not-exist/must-remain-unused//tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar; sha256 = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; })'
+(tarball.sh:33) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTree file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar)'
+(tarball.sh:34) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar; })'
+(tarball.sh:35) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar; narHash = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; })'
+(tarball.sh:37) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTree { type = "tarball"; url = file:///does-not-exist/must-remain-unused//tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar; narHash = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; })'
+(tarball.sh:38) expectStderr 102 nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar; narHash = "sha256-xdKv2pq/IiwLSnBBJXW8hNowI4MrdZfW+SYqDQs7Tzc="; })'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(tarball.sh:38) grep 'NAR hash mismatch in input'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=102
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar; narHash = "sha256-xdKv2pq/IiwLSnBBJXW8hNowI4MrdZfW+SYqDQs7Tzc="; })'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=102
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 102 -ne 102 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
++(tarball.sh:40) nix eval --impure --expr '(fetchTree file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar).lastModified'
+(tarball.sh:40) [[ 1000000000 = 1000000000 ]]
+(tarball.sh:42) nix-instantiate --strict --eval -E '!((import (fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar; narHash = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; })) ? submodules)'
true
+(tarball.sh:43) nix-instantiate --strict --eval -E '!((import (fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar; narHash = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; })) ? submodules)'
+(tarball.sh:43) grep true
+(tarball.sh:45) nix-instantiate --eval -E '1 + 2' -I fnord=file://no-such-tarball.tar
+(tarball.sh:46) nix-instantiate --eval -E 'with <fnord/xyzzy>; 1 + 2' -I fnord=file://no-such-tarball
+(tarball.sh:47) nix-instantiate --eval -E '<fnord/xyzzy> 1' -I fnord=file://no-such-tarball
warning: Nix search path entry 'file://no-such-tarball' cannot be downloaded, ignoring
error:
… while calling the 'findFile' builtin
at «string»:1:1:
1| <fnord/xyzzy> 1
| ^
error: file 'fnord/xyzzy' was not found in the Nix search path (add it using $NIX_PATH or -I)
+(tarball.sh:49) nix-instantiate --eval -E '<fnord/config.nix>' -I fnord=file://no-such-tarball -I fnord=.
warning: Nix search path entry 'file://no-such-tarball' cannot be downloaded, ignoring
+(tarball.sh:53) nix-instantiate --eval -E 'fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar; narHash = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; name = "foo"; }'
error:
… while calling the 'fetchTree' builtin
at «string»:1:1:
1| fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar; narHash = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; name = "foo"; }
| ^
error: attribute 'name' isn’t supported in call to 'fetchTree'
+(tarball.sh:58) test_tarball .xz xz
+(tarball.sh:17) local ext=.xz
+(tarball.sh:18) local compressor=xz
+(tarball.sh:20) tarball=/tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.xz
+(tarball.sh:21) cd /tmp/nix-shell.MrxVR3/nix-test/tarball
+(tarball.sh:21) GNUTAR_REPRODUCIBLE=
+(tarball.sh:21) xz
+(tarball.sh:21) tar --mtime=/tmp/nix-shell.MrxVR3/nix-test/tarball/tarball/default.nix --owner=0 --group=0 --numeric-owner --sort=name -c -f - tarball
+(tarball.sh:23) nix-env -f file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.xz -qa --out-path
+(tarball.sh:23) grepQuiet dependencies
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep dependencies
+(tarball.sh:25) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.xz
+(tarball.sh:27) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result '<foo>' -I foo=file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.xz
+(tarball.sh:29) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTarball file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.xz)'
+(tarball.sh:31) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTarball { url = file:///does-not-exist/must-remain-unused//tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.xz; sha256 = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; })'
+(tarball.sh:33) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTree file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.xz)'
+(tarball.sh:34) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.xz; })'
+(tarball.sh:35) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.xz; narHash = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; })'
+(tarball.sh:37) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTree { type = "tarball"; url = file:///does-not-exist/must-remain-unused//tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.xz; narHash = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; })'
+(tarball.sh:38) expectStderr 102 nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.xz; narHash = "sha256-xdKv2pq/IiwLSnBBJXW8hNowI4MrdZfW+SYqDQs7Tzc="; })'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(tarball.sh:38) grep 'NAR hash mismatch in input'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=102
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.xz; narHash = "sha256-xdKv2pq/IiwLSnBBJXW8hNowI4MrdZfW+SYqDQs7Tzc="; })'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=102
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 102 -ne 102 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
++(tarball.sh:40) nix eval --impure --expr '(fetchTree file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.xz).lastModified'
+(tarball.sh:40) [[ 1000000000 = 1000000000 ]]
+(tarball.sh:42) nix-instantiate --strict --eval -E '!((import (fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.xz; narHash = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; })) ? submodules)'
true
+(tarball.sh:43) nix-instantiate --strict --eval -E '!((import (fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.xz; narHash = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; })) ? submodules)'
+(tarball.sh:43) grep true
+(tarball.sh:45) nix-instantiate --eval -E '1 + 2' -I fnord=file://no-such-tarball.tar.xz
+(tarball.sh:46) nix-instantiate --eval -E 'with <fnord/xyzzy>; 1 + 2' -I fnord=file://no-such-tarball.xz
+(tarball.sh:47) nix-instantiate --eval -E '<fnord/xyzzy> 1' -I fnord=file://no-such-tarball.xz
warning: Nix search path entry 'file://no-such-tarball.xz' cannot be downloaded, ignoring
error:
… while calling the 'findFile' builtin
at «string»:1:1:
1| <fnord/xyzzy> 1
| ^
error: file 'fnord/xyzzy' was not found in the Nix search path (add it using $NIX_PATH or -I)
+(tarball.sh:49) nix-instantiate --eval -E '<fnord/config.nix>' -I fnord=file://no-such-tarball.xz -I fnord=.
warning: Nix search path entry 'file://no-such-tarball.xz' cannot be downloaded, ignoring
+(tarball.sh:53) nix-instantiate --eval -E 'fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.xz; narHash = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; name = "foo"; }'
error:
… while calling the 'fetchTree' builtin
at «string»:1:1:
1| fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.xz; narHash = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; name = "foo"; }
| ^
error: attribute 'name' isn’t supported in call to 'fetchTree'
+(tarball.sh:59) test_tarball .gz gzip
+(tarball.sh:17) local ext=.gz
+(tarball.sh:18) local compressor=gzip
+(tarball.sh:20) tarball=/tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.gz
+(tarball.sh:21) cd /tmp/nix-shell.MrxVR3/nix-test/tarball
+(tarball.sh:21) GNUTAR_REPRODUCIBLE=
+(tarball.sh:21) tar --mtime=/tmp/nix-shell.MrxVR3/nix-test/tarball/tarball/default.nix --owner=0 --group=0 --numeric-owner --sort=name -c -f - tarball
+(tarball.sh:21) gzip
+(tarball.sh:23) nix-env -f file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.gz -qa --out-path
+(tarball.sh:23) grepQuiet dependencies
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep dependencies
+(tarball.sh:25) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.gz
+(tarball.sh:27) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result '<foo>' -I foo=file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.gz
+(tarball.sh:29) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTarball file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.gz)'
+(tarball.sh:31) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTarball { url = file:///does-not-exist/must-remain-unused//tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.gz; sha256 = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; })'
+(tarball.sh:33) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTree file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.gz)'
+(tarball.sh:34) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.gz; })'
+(tarball.sh:35) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.gz; narHash = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; })'
+(tarball.sh:37) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTree { type = "tarball"; url = file:///does-not-exist/must-remain-unused//tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.gz; narHash = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; })'
+(tarball.sh:38) expectStderr 102 nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.gz; narHash = "sha256-xdKv2pq/IiwLSnBBJXW8hNowI4MrdZfW+SYqDQs7Tzc="; })'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=102
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/tarball/result -E 'import (fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.gz; narHash = "sha256-xdKv2pq/IiwLSnBBJXW8hNowI4MrdZfW+SYqDQs7Tzc="; })'
+(tarball.sh:38) grep 'NAR hash mismatch in input'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=102
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 102 -ne 102 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
++(tarball.sh:40) nix eval --impure --expr '(fetchTree file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.gz).lastModified'
+(tarball.sh:40) [[ 1000000000 = 1000000000 ]]
+(tarball.sh:42) nix-instantiate --strict --eval -E '!((import (fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.gz; narHash = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; })) ? submodules)'
true
+(tarball.sh:43) nix-instantiate --strict --eval -E '!((import (fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.gz; narHash = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; })) ? submodules)'
+(tarball.sh:43) grep true
+(tarball.sh:45) nix-instantiate --eval -E '1 + 2' -I fnord=file://no-such-tarball.tar.gz
+(tarball.sh:46) nix-instantiate --eval -E 'with <fnord/xyzzy>; 1 + 2' -I fnord=file://no-such-tarball.gz
+(tarball.sh:47) nix-instantiate --eval -E '<fnord/xyzzy> 1' -I fnord=file://no-such-tarball.gz
warning: Nix search path entry 'file://no-such-tarball.gz' cannot be downloaded, ignoring
error:
… while calling the 'findFile' builtin
at «string»:1:1:
1| <fnord/xyzzy> 1
| ^
error: file 'fnord/xyzzy' was not found in the Nix search path (add it using $NIX_PATH or -I)
+(tarball.sh:49) nix-instantiate --eval -E '<fnord/config.nix>' -I fnord=file://no-such-tarball.gz -I fnord=.
warning: Nix search path entry 'file://no-such-tarball.gz' cannot be downloaded, ignoring
+(tarball.sh:53) nix-instantiate --eval -E 'fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.gz; narHash = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; name = "foo"; }'
error:
… while calling the 'fetchTree' builtin
at «string»:1:1:
1| fetchTree { type = "tarball"; url = file:///tmp/nix-shell.MrxVR3/nix-test/tarball/tarball.tar.gz; narHash = "sha256-esiF3OUbO6IDkfoeafZ6aSwB+FBeqDQkHbLN5REZ+IA="; name = "foo"; }
| ^
error: attribute 'name' isn’t supported in call to 'fetchTree'
+(tarball.sh:61) rm -rf /tmp/nix-shell.MrxVR3/nix-test/tarball/tmp
+(tarball.sh:62) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/tarball/tmp
++(tarball.sh:63) pwd
+(tarball.sh:63) TMPDIR=/tmp/nix-shell.MrxVR3/nix-test/tarball/tmp
+(tarball.sh:63) XDG_RUNTIME_DIR=/tmp/nix-shell.MrxVR3/nix-test/tarball/tmp
+(tarball.sh:63) nix-env -f file:///lix-src/build/tests/functional/bad.tar.xz -qa --out-path
error: failed to extract archive (Path contains '..')
+(tarball.sh:64) '[' -e /tmp/nix-shell.MrxVR3/nix-test/tarball/tmp/bad ']'clearing store...
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/smr75aqrg83cnnianp85a9jyx21h864y-dependencies-top.drv
clearing store...
error: build log of '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' is not available
FOO
error: build log of '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' is not available
FOO
FOO
clearing store...
--- dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
clearing store...
--S dependencies-top
--S dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2
clearing store...
--- dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
clearing store...
--S dependencies-top
--S dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2
clearing store...
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) nix-build --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache --no-require-sigs dependencies.nix -o /tmp/nix-shell.MrxVR3/nix-test/binary-cache/result
these 3 paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
error: hash mismatch importing path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top';
specified: sha256:0wjw2l97iajvdy161j5vp71m31zp8gsf50s32c655pw985wrvmq0
got: sha256:0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5
error: some substitutes for the outputs of derivation '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/smr75aqrg83cnnianp85a9jyx21h864y-dependencies-top.drv' failed (usually happens due to networking issues); try '--fallback' to build derivation from source
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
clearing store...
clearing store...
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
clearing store...
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
clearing store...
removed '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/362qxc10x86zbdfbai436fw8gi808rsx.narinfo'
these 3 paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
clearing store...
this path will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
don't know how to build these paths:
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/k64k104bj7hpy2pdiigybam2vn7vnk80-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/mldgai8lyfxv2m2rhzjldr5ylym01p2v-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/w8wwgl8h6a5xqlc3pvpiamw540yszrc8-fod-input.drv'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
clearing store...
clearing store...
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
clearing store...
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
removed '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar/1pz6nzd6hc0a4cc3qqg7ssaz64drf7axpfiqxl9p9p9hms5vsdri.nar.xz'
removed '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar/0yaw950k1hywa3s9vi8047x2phcrqh3nqnvsw3f2i9b35kw9b1n8.nar.xz'
removed '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar/1pcs3g9r8g6jf8irzs22qpx1rgjmrhkq923qi7b3biwdr8bfwrk7.nar.xz'
removed directory '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar'
2 store paths deleted, 0.00 MiB freed
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/52k06wx0r0f32xm9d42ax1r84pbviza4-multi-output
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/binary-cache
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/binary-cache
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/binary-cache
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(binary-cache.sh:3) needLocalStore ''\''--no-require-sigs'\'' can’t be used with the daemon'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:217) [[ '' == \d\a\e\m\o\n ]]
+(binary-cache.sh:6) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(binary-cache.sh:7) clearCacheCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:86) rm -f '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.cache/nix/binary-cache*'
+(binary-cache.sh:8) nix-instantiate --store file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache dependencies.nix
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(binary-cache.sh:11) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(binary-cache.sh:12) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache
++(binary-cache.sh:13) nix-build dependencies.nix --no-out-link
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/6fg0z210rkyxdrnbpa870k4xvfkmigis-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/k64k104bj7hpy2pdiigybam2vn7vnk80-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/mldgai8lyfxv2m2rhzjldr5ylym01p2v-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/w8wwgl8h6a5xqlc3pvpiamw540yszrc8-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/smr75aqrg83cnnianp85a9jyx21h864y-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/6fg0z210rkyxdrnbpa870k4xvfkmigis-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/k64k104bj7hpy2pdiigybam2vn7vnk80-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/mldgai8lyfxv2m2rhzjldr5ylym01p2v-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/w8wwgl8h6a5xqlc3pvpiamw540yszrc8-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/smr75aqrg83cnnianp85a9jyx21h864y-dependencies-top.drv'...
FOO
+(binary-cache.sh:13) outPath=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
+(binary-cache.sh:15) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' to 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2' to 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' to 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
+(binary-cache.sh:18) expect 1 nix log --store file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
+(binary-cache.sh:18) grep 'is not available'
+(binary-cache.sh:19) nix store copy-log --to file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
+(binary-cache.sh:20) nix log --store file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
+(binary-cache.sh:20) grep FOO
got build log for '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'
+(binary-cache.sh:21) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/log/nix
+(binary-cache.sh:22) expect 1 nix log /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
+(binary-cache.sh:22) grep 'is not available'
+(binary-cache.sh:23) grep FOO
+(binary-cache.sh:23) nix log --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
got build log for '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'
++(binary-cache.sh:26) nix-store -qd /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
+(binary-cache.sh:26) nix store copy-log --from file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/smr75aqrg83cnnianp85a9jyx21h864y-dependencies-top.drv^*'
+(binary-cache.sh:27) nix log /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
+(binary-cache.sh:27) grep FOO
got build log for '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' from 'local'
+(binary-cache.sh:65) basicDownloadTests
+(binary-cache.sh:34) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(binary-cache.sh:35) clearCacheCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:86) rm -f '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.cache/nix/binary-cache*'
+(binary-cache.sh:37) nix-env --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache -f dependencies.nix -qas '*'
+(binary-cache.sh:37) grep -- ---
+(binary-cache.sh:39) nix-store --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache --no-require-sigs -r /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
these 3 paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(binary-cache.sh:41) '[' -x /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top/program ']'
+(binary-cache.sh:45) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(binary-cache.sh:46) clearCacheCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:86) rm -f '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.cache/nix/binary-cache*'
+(binary-cache.sh:47) echo 'WantMassQuery: 1'
+(binary-cache.sh:49) nix-env --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache -f dependencies.nix -qas '*'
+(binary-cache.sh:49) grep -- --S
+(binary-cache.sh:50) nix-env --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache -f dependencies.nix -qas '*'
+(binary-cache.sh:50) grep -- --S
++(binary-cache.sh:52) nix-env -f dependencies.nix -qas '*' --prebuilt-only
+(binary-cache.sh:52) x=
+(binary-cache.sh:53) '[' -z '' ']'
+(binary-cache.sh:55) nix-store --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache --no-require-sigs -r /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
these 3 paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(binary-cache.sh:57) nix-store --check-validity /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
+(binary-cache.sh:58) grep input-2
+(binary-cache.sh:58) nix-store -qR /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
+(binary-cache.sh:60) echo 'WantMassQuery: 0'
+(binary-cache.sh:69) export _NIX_FORCE_HTTP=1
+(binary-cache.sh:69) _NIX_FORCE_HTTP=1
+(binary-cache.sh:70) basicDownloadTests
+(binary-cache.sh:34) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(binary-cache.sh:35) clearCacheCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:86) rm -f '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.cache/nix/binary-cache*'
+(binary-cache.sh:37) grep -- ---
+(binary-cache.sh:37) nix-env --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache -f dependencies.nix -qas '*'
+(binary-cache.sh:39) nix-store --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache --no-require-sigs -r /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
these 3 paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(binary-cache.sh:41) '[' -x /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top/program ']'
+(binary-cache.sh:45) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(binary-cache.sh:46) clearCacheCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:86) rm -f /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.cache/nix/binary-cache-v6.sqlite /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.cache/nix/binary-cache-v6.sqlite-journal
+(binary-cache.sh:47) echo 'WantMassQuery: 1'
+(binary-cache.sh:49) nix-env --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache -f dependencies.nix -qas '*'
+(binary-cache.sh:49) grep -- --S
+(binary-cache.sh:50) nix-env --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache -f dependencies.nix -qas '*'
+(binary-cache.sh:50) grep -- --S
++(binary-cache.sh:52) nix-env -f dependencies.nix -qas '*' --prebuilt-only
+(binary-cache.sh:52) x=
+(binary-cache.sh:53) '[' -z '' ']'
+(binary-cache.sh:55) nix-store --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache --no-require-sigs -r /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
these 3 paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(binary-cache.sh:57) nix-store --check-validity /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
+(binary-cache.sh:58) nix-store -qR /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
+(binary-cache.sh:58) grep input-2
+(binary-cache.sh:60) echo 'WantMassQuery: 0'
+(binary-cache.sh:74) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
++(binary-cache.sh:76) head -n1
++(binary-cache.sh:76) ls /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar/0yaw950k1hywa3s9vi8047x2phcrqh3nqnvsw3f2i9b35kw9b1n8.nar.xz /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar/1pcs3g9r8g6jf8irzs22qpx1rgjmrhkq923qi7b3biwdr8bfwrk7.nar.xz /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar/1pz6nzd6hc0a4cc3qqg7ssaz64drf7axpfiqxl9p9p9hms5vsdri.nar.xz
+(binary-cache.sh:76) nar=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar/0yaw950k1hywa3s9vi8047x2phcrqh3nqnvsw3f2i9b35kw9b1n8.nar.xz
+(binary-cache.sh:77) mv /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar/0yaw950k1hywa3s9vi8047x2phcrqh3nqnvsw3f2i9b35kw9b1n8.nar.xz /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar/0yaw950k1hywa3s9vi8047x2phcrqh3nqnvsw3f2i9b35kw9b1n8.nar.xz.good
+(binary-cache.sh:78) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/binary-cache/empty
+(binary-cache.sh:79) nix-store --dump /tmp/nix-shell.MrxVR3/nix-test/binary-cache/empty
+(binary-cache.sh:79) xz
+(binary-cache.sh:81) expect 1 nix-build --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache --no-require-sigs dependencies.nix -o /tmp/nix-shell.MrxVR3/nix-test/binary-cache/result
+(binary-cache.sh:81) tee /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(binary-cache.sh:82) grepQuiet 'hash mismatch' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'hash mismatch' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(binary-cache.sh:84) mv /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar/0yaw950k1hywa3s9vi8047x2phcrqh3nqnvsw3f2i9b35kw9b1n8.nar.xz.good /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar/0yaw950k1hywa3s9vi8047x2phcrqh3nqnvsw3f2i9b35kw9b1n8.nar.xz
+(binary-cache.sh:88) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(binary-cache.sh:89) clearCacheCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:86) rm -f /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.cache/nix/binary-cache-v6.sqlite /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.cache/nix/binary-cache-v6.sqlite-journal
+(binary-cache.sh:91) nix-store --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache -r /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
these 3 paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
warning: ignoring substitute for '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache', as it's not signed by any of the keys in 'trusted-public-keys'
error: build of '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' failed
+(binary-cache.sh:98) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(binary-cache.sh:100) mv /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar2
+(binary-cache.sh:102) nix-build --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache --no-require-sigs dependencies.nix -o /tmp/nix-shell.MrxVR3/nix-test/binary-cache/result
these 3 paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
error: file 'nar/1pcs3g9r8g6jf8irzs22qpx1rgjmrhkq923qi7b3biwdr8bfwrk7.nar.xz' does not exist in binary cache 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/k64k104bj7hpy2pdiigybam2vn7vnk80-dependencies-input-1.drv'...
error: file 'nar/1pcs3g9r8g6jf8irzs22qpx1rgjmrhkq923qi7b3biwdr8bfwrk7.nar.xz' does not exist in binary cache 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/6fg0z210rkyxdrnbpa870k4xvfkmigis-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/w8wwgl8h6a5xqlc3pvpiamw540yszrc8-fod-input.drv'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
error: file 'nar/1pz6nzd6hc0a4cc3qqg7ssaz64drf7axpfiqxl9p9p9hms5vsdri.nar.xz' does not exist in binary cache 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/mldgai8lyfxv2m2rhzjldr5ylym01p2v-dependencies-input-2.drv'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
error: file 'nar/0yaw950k1hywa3s9vi8047x2phcrqh3nqnvsw3f2i9b35kw9b1n8.nar.xz' does not exist in binary cache 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/smr75aqrg83cnnianp85a9jyx21h864y-dependencies-top.drv'...
FOO
+(binary-cache.sh:104) mv /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar2 /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar
+(binary-cache.sh:108) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(binary-cache.sh:110) mv /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar2
+(binary-cache.sh:111) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar
++(binary-cache.sh:112) cd /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar2
++(binary-cache.sh:112) echo 0yaw950k1hywa3s9vi8047x2phcrqh3nqnvsw3f2i9b35kw9b1n8.nar.xz 1pcs3g9r8g6jf8irzs22qpx1rgjmrhkq923qi7b3biwdr8bfwrk7.nar.xz 1pz6nzd6hc0a4cc3qqg7ssaz64drf7axpfiqxl9p9p9hms5vsdri.nar.xz
+(binary-cache.sh:112) for i in $(cd $cacheDir/nar2 && echo *)
+(binary-cache.sh:112) touch /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar/0yaw950k1hywa3s9vi8047x2phcrqh3nqnvsw3f2i9b35kw9b1n8.nar.xz
+(binary-cache.sh:112) for i in $(cd $cacheDir/nar2 && echo *)
+(binary-cache.sh:112) touch /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar/1pcs3g9r8g6jf8irzs22qpx1rgjmrhkq923qi7b3biwdr8bfwrk7.nar.xz
+(binary-cache.sh:112) for i in $(cd $cacheDir/nar2 && echo *)
+(binary-cache.sh:112) touch /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar/1pz6nzd6hc0a4cc3qqg7ssaz64drf7axpfiqxl9p9p9hms5vsdri.nar.xz
+(binary-cache.sh:114) nix-build --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache --no-require-sigs dependencies.nix -o /tmp/nix-shell.MrxVR3/nix-test/binary-cache/result
these 3 paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
error: NAR for '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' fetched from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache' is incomplete
error: some substitutes for the outputs of derivation '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/smr75aqrg83cnnianp85a9jyx21h864y-dependencies-top.drv' failed (usually happens due to networking issues); try '--fallback' to build derivation from source
+(binary-cache.sh:116) nix-build --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache --no-require-sigs dependencies.nix -o /tmp/nix-shell.MrxVR3/nix-test/binary-cache/result --fallback
these 3 paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
error: NAR for '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' fetched from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache' is incomplete
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/k64k104bj7hpy2pdiigybam2vn7vnk80-dependencies-input-1.drv'...
error: NAR for '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' fetched from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache' is incomplete
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/6fg0z210rkyxdrnbpa870k4xvfkmigis-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/w8wwgl8h6a5xqlc3pvpiamw540yszrc8-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/mldgai8lyfxv2m2rhzjldr5ylym01p2v-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/smr75aqrg83cnnianp85a9jyx21h864y-dependencies-top.drv'...
FOO
+(binary-cache.sh:118) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar
+(binary-cache.sh:119) mv /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar2 /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar
+(binary-cache.sh:124) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
++(binary-cache.sh:126) grep -l 'StorePath:.*dependencies-input-2' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/04daranpi8vark9mbzyxiw9nzi21ww6v.narinfo /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/362qxc10x86zbdfbai436fw8gi808rsx.narinfo /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/scbwl4l3xrsyycwlpdgkv3h69zy8s699.narinfo
+(binary-cache.sh:126) rm -v /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/362qxc10x86zbdfbai436fw8gi808rsx.narinfo
+(binary-cache.sh:128) nix-build --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache --no-require-sigs dependencies.nix -o /tmp/nix-shell.MrxVR3/nix-test/binary-cache/result
+(binary-cache.sh:128) tee /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(binary-cache.sh:129) grepQuiet 'copying path.*input-0' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'copying path.*input-0' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(binary-cache.sh:130) grepQuiet 'copying path.*input-2' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'copying path.*input-2' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(binary-cache.sh:131) grepQuiet 'copying path.*top' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'copying path.*top' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(binary-cache.sh:135) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(binary-cache.sh:136) clearCacheCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:86) rm -f /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.cache/nix/binary-cache-v6.sqlite /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.cache/nix/binary-cache-v6.sqlite-journal
+(binary-cache.sh:138) nix-build --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache --no-require-sigs dependencies.nix -o /tmp/nix-shell.MrxVR3/nix-test/binary-cache/result
+(binary-cache.sh:138) tee /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(binary-cache.sh:139) grepQuiet 'don'\''t know how to build' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'don'\''t know how to build' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(binary-cache.sh:140) grepQuiet 'building.*input-1' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'building.*input-1' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(binary-cache.sh:141) grepQuiet 'building.*input-2' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'building.*input-2' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(binary-cache.sh:142) grepQuiet 'copying path.*input-0' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'copying path.*input-0' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(binary-cache.sh:143) grepQuiet 'copying path.*top' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'copying path.*top' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/log
+(binary-cache.sh:147) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache
+(binary-cache.sh:148) clearCacheCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:86) rm -f /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.cache/nix/binary-cache-v6.sqlite /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.cache/nix/binary-cache-v6.sqlite-journal
+(binary-cache.sh:150) nix key generate-secret --key-name test.nixos.org-1
++(binary-cache.sh:151) nix key convert-secret-to-public
+(binary-cache.sh:151) publicKey=test.nixos.org-1:dFOtBdbuj6/I9yDvgCsUFeR3qaph/G+9960oa15VTCw=
+(binary-cache.sh:153) nix key generate-secret --key-name test.nixos.org-1
++(binary-cache.sh:154) nix key convert-secret-to-public
+(binary-cache.sh:154) badKey=test.nixos.org-1:pFVcesoW3kMPuLaLliV9G2FgZ5Tq3CJKmpej3fazZIM=
+(binary-cache.sh:156) nix key generate-secret --key-name foo.nixos.org-1
++(binary-cache.sh:157) nix key convert-secret-to-public
+(binary-cache.sh:157) otherKey=foo.nixos.org-1:TOuRWXPhq8rm150NCesHELHEcmT2aTnrGdMxS2VNBbc=
+(binary-cache.sh:159) _NIX_FORCE_HTTP=
+(binary-cache.sh:159) nix copy --to 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache?secret-key=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/sk1' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' to 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2' to 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' to 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
+(binary-cache.sh:163) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(binary-cache.sh:164) clearCacheCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:86) rm -f '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.cache/nix/binary-cache*'
+(binary-cache.sh:166) nix-store -r /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache
these 3 paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
warning: ignoring substitute for '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache', as it's not signed by any of the keys in 'trusted-public-keys'
error: build of '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' failed
+(binary-cache.sh:170) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(binary-cache.sh:171) clearCacheCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:86) rm -f /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.cache/nix/binary-cache-v6.sqlite /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.cache/nix/binary-cache-v6.sqlite-journal
+(binary-cache.sh:173) nix-store -r /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache --trusted-public-keys test.nixos.org-1:pFVcesoW3kMPuLaLliV9G2FgZ5Tq3CJKmpej3fazZIM=
these 3 paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
warning: ignoring substitute for '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache', as it's not signed by any of the keys in 'trusted-public-keys'
error: build of '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' failed
+(binary-cache.sh:177) nix-store -r /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache --trusted-public-keys 'foo.nixos.org-1:TOuRWXPhq8rm150NCesHELHEcmT2aTnrGdMxS2VNBbc= test.nixos.org-1:dFOtBdbuj6/I9yDvgCsUFeR3qaph/G+9960oa15VTCw='
these 3 paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(binary-cache.sh:181) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.local/state/nix/profiles
+(binary-cache.sh:183) cacheDir2=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache-2
+(binary-cache.sh:184) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache-2
+(binary-cache.sh:185) cp -r /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache-2
+(binary-cache.sh:187) for i in $cacheDir2/*.narinfo
+(binary-cache.sh:188) grep -v References /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache-2/04daranpi8vark9mbzyxiw9nzi21ww6v.narinfo
+(binary-cache.sh:189) mv /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache-2/04daranpi8vark9mbzyxiw9nzi21ww6v.narinfo.tmp /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache-2/04daranpi8vark9mbzyxiw9nzi21ww6v.narinfo
+(binary-cache.sh:187) for i in $cacheDir2/*.narinfo
+(binary-cache.sh:188) grep -v References /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache-2/362qxc10x86zbdfbai436fw8gi808rsx.narinfo
+(binary-cache.sh:189) mv /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache-2/362qxc10x86zbdfbai436fw8gi808rsx.narinfo.tmp /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache-2/362qxc10x86zbdfbai436fw8gi808rsx.narinfo
+(binary-cache.sh:187) for i in $cacheDir2/*.narinfo
+(binary-cache.sh:188) grep -v References /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache-2/scbwl4l3xrsyycwlpdgkv3h69zy8s699.narinfo
+(binary-cache.sh:189) mv /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache-2/scbwl4l3xrsyycwlpdgkv3h69zy8s699.narinfo.tmp /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache-2/scbwl4l3xrsyycwlpdgkv3h69zy8s699.narinfo
+(binary-cache.sh:192) clearCacheCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:86) rm -f /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.cache/nix/binary-cache-v6.sqlite /tmp/nix-shell.MrxVR3/nix-test/binary-cache/test-home/.cache/nix/binary-cache-v6.sqlite-journal
+(binary-cache.sh:194) nix-store -r /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top --substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache-2 --trusted-public-keys test.nixos.org-1:dFOtBdbuj6/I9yDvgCsUFeR3qaph/G+9960oa15VTCw=
this path will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
warning: ignoring substitute for '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache-2', as it's not signed by any of the keys in 'trusted-public-keys'
error: build of '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' failed
+(binary-cache.sh:198) nix-store -r /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top --substituters 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache-2 file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache' --trusted-public-keys test.nixos.org-1:dFOtBdbuj6/I9yDvgCsUFeR3qaph/G+9960oa15VTCw=
this path will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top
warning: ignoring substitute for '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache-2', as it's not signed by any of the keys in 'trusted-public-keys'
warning: ignoring substitute for '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache-2', as it's not signed by any of the keys in 'trusted-public-keys'
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache-2'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(binary-cache.sh:201) unset _NIX_FORCE_HTTP
+(binary-cache.sh:205) nix store verify -vvvvv --all --store file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache --no-trust
querying info about '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-x' on 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
querying info about '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-x' on 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
querying info about '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-x' on 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
starting pool of 15 threads
checking '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top'...
querying info about '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top' on 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
checking '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0'...
checking '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2'...
querying info about '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/scbwl4l3xrsyycwlpdgkv3h69zy8s699-dependencies-input-0' on 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
querying info about '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/362qxc10x86zbdfbai436fw8gi808rsx-dependencies-input-2' on 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
reaping 2 worker threads
+(binary-cache.sh:209) narCache=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/nar-cache
+(binary-cache.sh:210) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/nar-cache
+(binary-cache.sh:211) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache/nar-cache
++(binary-cache.sh:213) nix store cat --store 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache?local-nar-cache=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/nar-cache' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top/foobar
+(binary-cache.sh:213) [[ FOOBAR = FOOBAR ]]
+(binary-cache.sh:215) rm -rfv /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/nar
++(binary-cache.sh:217) nix store cat --store 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache?local-nar-cache=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/nar-cache' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top/foobar
+(binary-cache.sh:217) [[ FOOBAR = FOOBAR ]]
+(binary-cache.sh:219) nix store cat --store file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/04daranpi8vark9mbzyxiw9nzi21ww6v-dependencies-top/foobar
error: file 'nar/0yaw950k1hywa3s9vi8047x2phcrqh3nqnvsw3f2i9b35kw9b1n8.nar.xz' does not exist in binary cache
+(binary-cache.sh:223) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache
++(binary-cache.sh:231) nix-build --no-out-link -E '
with import ./config.nix;
mkDerivation {
name = "nar-listing";
buildCommand = "mkdir $out; echo foo > $out/bar; ln -s xyzzy $out/link";
}
'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/dnbr6x7v44skay0l3xnir0i6w9mdw6p1-nar-listing.drv
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/dnbr6x7v44skay0l3xnir0i6w9mdw6p1-nar-listing.drv'...
+(binary-cache.sh:231) outPath=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/anfs3p0h52is7p2f8kk63fx4fn5zb99w-nar-listing
+(binary-cache.sh:233) nix copy --to 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache?write-nar-listing=1' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/anfs3p0h52is7p2f8kk63fx4fn5zb99w-nar-listing
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/anfs3p0h52is7p2f8kk63fx4fn5zb99w-nar-listing' to 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
+(binary-cache.sh:235) diff -u /dev/fd/63 /dev/fd/62
++(binary-cache.sh:235) jq -S
++(binary-cache.sh:235) echo '{"version":1,"root":{"type":"directory","entries":{"bar":{"type":"regular","size":4,"narOffset":232},"link":{"type":"symlink","target":"xyzzy"}}}}'
++(binary-cache.sh:235) jq -S
+++(binary-cache.sh:235) basename /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/anfs3p0h52is7p2f8kk63fx4fn5zb99w-nar-listing
+++(binary-cache.sh:235) cut -c1-32
+(binary-cache.sh:241) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache
++(binary-cache.sh:249) nix-build --no-out-link -E '
with import ./config.nix;
mkDerivation {
name = "debug-info";
buildCommand = "mkdir -p $out/lib/debug/.build-id/02; echo foo > $out/lib/debug/.build-id/02/623eda209c26a59b1a8638ff7752f6b945c26b.debug";
}
'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/mic7p3iay9wv3gx98zqc1w73hkwj1gy0-debug-info.drv
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/mic7p3iay9wv3gx98zqc1w73hkwj1gy0-debug-info.drv'...
+(binary-cache.sh:249) outPath=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/g8d71wfn9dcl27aiakq4bc7zh07211s7-debug-info
+(binary-cache.sh:251) nix copy --to 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache?index-debug-info=1&compression=none' /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/g8d71wfn9dcl27aiakq4bc7zh07211s7-debug-info
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/g8d71wfn9dcl27aiakq4bc7zh07211s7-debug-info' to 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
+(binary-cache.sh:253) diff -u /dev/fd/63 /dev/fd/62
++(binary-cache.sh:253) cat /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/debuginfo/02623eda209c26a59b1a8638ff7752f6b945c26b.debug
++(binary-cache.sh:253) jq -S
++(binary-cache.sh:253) jq -S
++(binary-cache.sh:253) echo '{"archive":"../nar/100vxs724qr46phz8m24iswmg9p3785hsyagz0kchf6q6gf06sw6.nar","member":"lib/debug/.build-id/02/623eda209c26a59b1a8638ff7752f6b945c26b.debug"}'
+(binary-cache.sh:266) expr='
with import ./config.nix;
mkDerivation {
name = "multi-output";
buildCommand = "mkdir -p $out; echo foo > $doc; echo $doc > $out/docref";
outputs = ["out" "doc"];
}
'
++(binary-cache.sh:267) nix-build --no-out-link -E '
with import ./config.nix;
mkDerivation {
name = "multi-output";
buildCommand = "mkdir -p $out; echo foo > $doc; echo $doc > $out/docref";
outputs = ["out" "doc"];
}
'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/jbr9nl6bfrwzfy1cf14pmlg4vcycjp0h-multi-output.drv
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/jbr9nl6bfrwzfy1cf14pmlg4vcycjp0h-multi-output.drv'...
+(binary-cache.sh:267) outPath=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/52k06wx0r0f32xm9d42ax1r84pbviza4-multi-output
++(binary-cache.sh:268) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/52k06wx0r0f32xm9d42ax1r84pbviza4-multi-output
+(binary-cache.sh:268) docPath=/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/s1j1fzr1kg9kcrni2i7lf88b5d1jsgl8-multi-output-doc
+(binary-cache.sh:274) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/52k06wx0r0f32xm9d42ax1r84pbviza4-multi-output
copying 2 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/s1j1fzr1kg9kcrni2i7lf88b5d1jsgl8-multi-output-doc' to 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/52k06wx0r0f32xm9d42ax1r84pbviza4-multi-output' to 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache'...
++(binary-cache.sh:281) hashpart /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/s1j1fzr1kg9kcrni2i7lf88b5d1jsgl8-multi-output-doc
++(binary-cache.sh:277) basename /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/s1j1fzr1kg9kcrni2i7lf88b5d1jsgl8-multi-output-doc
++(binary-cache.sh:277) cut -c1-32
+(binary-cache.sh:281) rm /tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache/s1j1fzr1kg9kcrni2i7lf88b5d1jsgl8.narinfo
+(binary-cache.sh:283) nix-store --delete /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/52k06wx0r0f32xm9d42ax1r84pbviza4-multi-output /tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/s1j1fzr1kg9kcrni2i7lf88b5d1jsgl8-multi-output-doc
finding garbage collector roots...
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix/gcroots/auto/ac0cqiffns24ix28v0np85v2qj9b9s1d' to '/tmp/nix-shell.MrxVR3/nix-build-30896-0/result'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix/gcroots/auto/61qxj6xr6r0x8dhxhl7l3mnw7b3rvqr0' to '/tmp/nix-shell.MrxVR3/nix-build-30646-0/result'
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/var/nix/gcroots/auto/p345dcgzng1q4a3w3pbp0i3hvxnha80g' to '/tmp/nix-shell.MrxVR3/nix-build-31041-0/result'
deleting '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/52k06wx0r0f32xm9d42ax1r84pbviza4-multi-output'
deleting '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/s1j1fzr1kg9kcrni2i7lf88b5d1jsgl8-multi-output-doc'
deleting unused links...
note: currently hard linking saves -0.00 MiB
+(binary-cache.sh:285) timeout 60 nix-build --no-out-link -E '
with import ./config.nix;
mkDerivation {
name = "multi-output";
buildCommand = "mkdir -p $out; echo foo > $doc; echo $doc > $out/docref";
outputs = ["out" "doc"];
}
' --option substituters file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache --option trusted-binary-caches file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache/binary-cache --no-require-sigs
this path will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/52k06wx0r0f32xm9d42ax1r84pbviza4-multi-output
don't know how to build these paths:
/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/s1j1fzr1kg9kcrni2i7lf88b5d1jsgl8-multi-output-doc
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache/store/jbr9nl6bfrwzfy1cf14pmlg4vcycjp0h-multi-output.drv'...clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) enableFeatures ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/etc/nix.conf
++(common.sh:5) restartDaemon
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(concurrent-builds.sh:8) buggyNeedLocalStore 'For some reason, this deadlocks with the daemon'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:224) needLocalStore 'For some reason, this deadlocks with the daemon'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:217) [[ '' == \d\a\e\m\o\n ]]
+(concurrent-builds.sh:10) export NIX_TESTS_CA_BY_DEFAULT=1
+(concurrent-builds.sh:10) NIX_TESTS_CA_BY_DEFAULT=1
+(concurrent-builds.sh:12) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/test-home/.local/state/nix/profiles
+(concurrent-builds.sh:14) for i in {0..5}
+(concurrent-builds.sh:14) for i in {0..5}
+(concurrent-builds.sh:14) for i in {0..5}
+(concurrent-builds.sh:14) for i in {0..5}
+(concurrent-builds.sh:14) for i in {0..5}
+(concurrent-builds.sh:14) for i in {0..5}
+(concurrent-builds.sh:15) nix build --no-link --file ./racy.nix
+(concurrent-builds.sh:18) wait
+(concurrent-builds.sh:15) nix build --no-link --file ./racy.nix
+(concurrent-builds.sh:15) nix build --no-link --file ./racy.nix
+(concurrent-builds.sh:15) nix build --no-link --file ./racy.nix
+(concurrent-builds.sh:15) nix build --no-link --file ./racy.nix
+(concurrent-builds.sh:15) nix build --no-link --file ./racy.nix
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/store/qwzrk72r99gp3l3z7di1729pvjml08pl-simple.drv
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/store/qwzrk72r99gp3l3z7di1729pvjml08pl-simple.drv
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/store/qwzrk72r99gp3l3z7di1729pvjml08pl-simple.drv
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/store/qwzrk72r99gp3l3z7di1729pvjml08pl-simple.drv
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/store/qwzrk72r99gp3l3z7di1729pvjml08pl-simple.drv
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/store/qwzrk72r99gp3l3z7di1729pvjml08pl-simple.drv
building '/tmp/nix-shell.MrxVR3/nix-test/ca/concurrent-builds/store/qwzrk72r99gp3l3z7di1729pvjml08pl-simple.drv'...clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/signing
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/signing
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/signing
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/signing
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/signing
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/signing/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/signing/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/signing/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/signing/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/signing/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/signing/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(signing.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/signing/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/signing/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/signing/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/signing/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/signing/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/signing/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/signing/test-home/.local/state/nix/profiles
+(signing.sh:4) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/signing/binary-cache
+(signing.sh:6) nix-store --generate-binary-cache-key cache1.example.org /tmp/nix-shell.MrxVR3/nix-test/signing/sk1 /tmp/nix-shell.MrxVR3/nix-test/signing/pk1
++(signing.sh:7) cat /tmp/nix-shell.MrxVR3/nix-test/signing/pk1
+(signing.sh:7) pk1=cache1.example.org:do2m3xoHp5YI9MMCNy6EvwSEhTrtZWJS6CZdTpNMfHk=
+(signing.sh:8) nix-store --generate-binary-cache-key cache2.example.org /tmp/nix-shell.MrxVR3/nix-test/signing/sk2 /tmp/nix-shell.MrxVR3/nix-test/signing/pk2
++(signing.sh:9) cat /tmp/nix-shell.MrxVR3/nix-test/signing/pk2
+(signing.sh:9) pk2=cache2.example.org:fgjvIONRS3l04MoRee62mS1zZeHh4zUFTna5bAuT2vo=
++(signing.sh:12) nix-build dependencies.nix --no-out-link --secret-key-files '/tmp/nix-shell.MrxVR3/nix-test/signing/sk1 /tmp/nix-shell.MrxVR3/nix-test/signing/sk2'
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/signing/store/9wf16kwpqkv9fb56mfag971nkr0n07fq-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/signing/store/d2dj0rk1fn9xccy1jz4fc866z73zvzq9-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/signing/store/jk6yjjzamki3xv6f4xpk2dmxwfkmzlfh-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/signing/store/nzjjqj0rlpr7vsdksr5j5gg3xq37g8mx-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/signing/store/48a1ypw96qqz0a5v9j3g24vmkzybz3hg-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/signing/store/9wf16kwpqkv9fb56mfag971nkr0n07fq-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/signing/store/d2dj0rk1fn9xccy1jz4fc866z73zvzq9-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/signing/store/jk6yjjzamki3xv6f4xpk2dmxwfkmzlfh-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/signing/store/nzjjqj0rlpr7vsdksr5j5gg3xq37g8mx-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/signing/store/48a1ypw96qqz0a5v9j3g24vmkzybz3hg-dependencies-top.drv'...
FOO
+(signing.sh:12) outPath=/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top
++(signing.sh:15) nix path-info --json /tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top
+(signing.sh:15) info='[{"deriver":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/48a1ypw96qqz0a5v9j3g24vmkzybz3hg-dependencies-top.drv","narHash":"sha256-ZN+/0n/6lW+EGUe2CsbKgYx9G2TDmSwmAy+y5e13rwc=","narSize":1096,"path":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top","references":["/tmp/nix-shell.MrxVR3/nix-test/signing/store/9p53s2aqw88kam4z28p0a4nwdfsisfs4-dependencies-input-2","/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top"],"registrationTime":1716682869,"signatures":["cache1.example.org:/KwBFVmUcX+hivoRlNcYROmtmtQ+KKbMtemFfzqhoNYBI2OOpvgSiKbRqhGrDSa0X8QZBnCXw6lgKCo5u2/HCw==","cache2.example.org:MdhAOyBxXPN6a3cMUCoRrQ+u4mip6FR1DUXhZdgls3h7TDSmVjC8+W6mGTvsh1i7IElZ4CLZqRvtCxcPfn3YBQ=="],"ultimate":true,"valid":true}]'
+(signing.sh:16) [[ [{"deriver":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/48a1ypw96qqz0a5v9j3g24vmkzybz3hg-dependencies-top.drv","narHash":"sha256-ZN+/0n/6lW+EGUe2CsbKgYx9G2TDmSwmAy+y5e13rwc=","narSize":1096,"path":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top","references":["/tmp/nix-shell.MrxVR3/nix-test/signing/store/9p53s2aqw88kam4z28p0a4nwdfsisfs4-dependencies-input-2","/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top"],"registrationTime":1716682869,"signatures":["cache1.example.org:/KwBFVmUcX+hivoRlNcYROmtmtQ+KKbMtemFfzqhoNYBI2OOpvgSiKbRqhGrDSa0X8QZBnCXw6lgKCo5u2/HCw==","cache2.example.org:MdhAOyBxXPN6a3cMUCoRrQ+u4mip6FR1DUXhZdgls3h7TDSmVjC8+W6mGTvsh1i7IElZ4CLZqRvtCxcPfn3YBQ=="],"ultimate":true,"valid":true}] =~ "ultimate":true ]]
+(signing.sh:17) [[ [{"deriver":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/48a1ypw96qqz0a5v9j3g24vmkzybz3hg-dependencies-top.drv","narHash":"sha256-ZN+/0n/6lW+EGUe2CsbKgYx9G2TDmSwmAy+y5e13rwc=","narSize":1096,"path":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top","references":["/tmp/nix-shell.MrxVR3/nix-test/signing/store/9p53s2aqw88kam4z28p0a4nwdfsisfs4-dependencies-input-2","/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top"],"registrationTime":1716682869,"signatures":["cache1.example.org:/KwBFVmUcX+hivoRlNcYROmtmtQ+KKbMtemFfzqhoNYBI2OOpvgSiKbRqhGrDSa0X8QZBnCXw6lgKCo5u2/HCw==","cache2.example.org:MdhAOyBxXPN6a3cMUCoRrQ+u4mip6FR1DUXhZdgls3h7TDSmVjC8+W6mGTvsh1i7IElZ4CLZqRvtCxcPfn3YBQ=="],"ultimate":true,"valid":true}] =~ cache1\.example\.org ]]
+(signing.sh:18) [[ [{"deriver":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/48a1ypw96qqz0a5v9j3g24vmkzybz3hg-dependencies-top.drv","narHash":"sha256-ZN+/0n/6lW+EGUe2CsbKgYx9G2TDmSwmAy+y5e13rwc=","narSize":1096,"path":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top","references":["/tmp/nix-shell.MrxVR3/nix-test/signing/store/9p53s2aqw88kam4z28p0a4nwdfsisfs4-dependencies-input-2","/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top"],"registrationTime":1716682869,"signatures":["cache1.example.org:/KwBFVmUcX+hivoRlNcYROmtmtQ+KKbMtemFfzqhoNYBI2OOpvgSiKbRqhGrDSa0X8QZBnCXw6lgKCo5u2/HCw==","cache2.example.org:MdhAOyBxXPN6a3cMUCoRrQ+u4mip6FR1DUXhZdgls3h7TDSmVjC8+W6mGTvsh1i7IElZ4CLZqRvtCxcPfn3YBQ=="],"ultimate":true,"valid":true}] =~ cache2\.example\.org ]]
+(signing.sh:21) nix store verify -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/7vw6srdayycls86y6p2qqz3knarndb83-dependencies-input-0'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/9p53s2aqw88kam4z28p0a4nwdfsisfs4-dependencies-input-2'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top'...
+(signing.sh:23) expect 2 nix store verify -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top --sigs-needed 1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=2
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) nix store verify -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top --sigs-needed 1
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/7vw6srdayycls86y6p2qqz3knarndb83-dependencies-input-0'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/9p53s2aqw88kam4z28p0a4nwdfsisfs4-dependencies-input-2'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top'...
path '/tmp/nix-shell.MrxVR3/nix-test/signing/store/9p53s2aqw88kam4z28p0a4nwdfsisfs4-dependencies-input-2' is untrusted
path '/tmp/nix-shell.MrxVR3/nix-test/signing/store/7vw6srdayycls86y6p2qqz3knarndb83-dependencies-input-0' is untrusted
path '/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top' is untrusted
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=2
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 2 -ne 2 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(signing.sh:25) nix store verify -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top --sigs-needed 1 --trusted-public-keys cache1.example.org:do2m3xoHp5YI9MMCNy6EvwSEhTrtZWJS6CZdTpNMfHk=
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/7vw6srdayycls86y6p2qqz3knarndb83-dependencies-input-0'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/9p53s2aqw88kam4z28p0a4nwdfsisfs4-dependencies-input-2'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top'...
+(signing.sh:27) expect 2 nix store verify -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top --sigs-needed 2 --trusted-public-keys cache1.example.org:do2m3xoHp5YI9MMCNy6EvwSEhTrtZWJS6CZdTpNMfHk=
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=2
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) nix store verify -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top --sigs-needed 2 --trusted-public-keys cache1.example.org:do2m3xoHp5YI9MMCNy6EvwSEhTrtZWJS6CZdTpNMfHk=
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/7vw6srdayycls86y6p2qqz3knarndb83-dependencies-input-0'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/9p53s2aqw88kam4z28p0a4nwdfsisfs4-dependencies-input-2'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top'...
path '/tmp/nix-shell.MrxVR3/nix-test/signing/store/7vw6srdayycls86y6p2qqz3knarndb83-dependencies-input-0' is untrusted
path '/tmp/nix-shell.MrxVR3/nix-test/signing/store/9p53s2aqw88kam4z28p0a4nwdfsisfs4-dependencies-input-2' is untrusted
path '/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top' is untrusted
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=2
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 2 -ne 2 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(signing.sh:29) nix store verify -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top --sigs-needed 2 --trusted-public-keys 'cache1.example.org:do2m3xoHp5YI9MMCNy6EvwSEhTrtZWJS6CZdTpNMfHk= cache2.example.org:fgjvIONRS3l04MoRee62mS1zZeHh4zUFTna5bAuT2vo='
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/7vw6srdayycls86y6p2qqz3knarndb83-dependencies-input-0'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/9p53s2aqw88kam4z28p0a4nwdfsisfs4-dependencies-input-2'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top'...
+(signing.sh:31) nix store verify --all --sigs-needed 2 --trusted-public-keys 'cache1.example.org:do2m3xoHp5YI9MMCNy6EvwSEhTrtZWJS6CZdTpNMfHk= cache2.example.org:fgjvIONRS3l04MoRee62mS1zZeHh4zUFTna5bAuT2vo='
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/y5qi98c4aglzidy9lhhwrh4mfxdz2csw-builder-dependencies-input-0.sh'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/mn6cfs7fkq5dbqpkcvkdh53il1l89xq6-builder-dependencies-input-1.sh'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/9wf16kwpqkv9fb56mfag971nkr0n07fq-dependencies-input-0.drv'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/d2dj0rk1fn9xccy1jz4fc866z73zvzq9-dependencies-input-1.drv'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/df0r2fcgj6vg5nki0qvm9bxk1vsiwcf7-dependencies.builder0.sh'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/gbls97vzm1m0kx7pvk2739lihvv4xmci-builder-dependencies-input-2.sh'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/48a1ypw96qqz0a5v9j3g24vmkzybz3hg-dependencies-top.drv'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/7vw6srdayycls86y6p2qqz3knarndb83-dependencies-input-0'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/fg62lqzcmhzabhy1zyg8d42wp52xcjq9-builder-fod-input.sh'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7kjkgfpv306z8jljhgr24lwzn5rr9dq-fod-input'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/nzjjqj0rlpr7vsdksr5j5gg3xq37g8mx-fod-input.drv'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/wxz3r79b7xf6xdnfwhvx55r1i3kxx9pm-dependencies-input-1'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/9p53s2aqw88kam4z28p0a4nwdfsisfs4-dependencies-input-2'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/jk6yjjzamki3xv6f4xpk2dmxwfkmzlfh-dependencies-input-2.drv'...
++(signing.sh:34) nix-build simple.nix --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/signing/store/fsbxxawd041asmdlk3sy72y4lpl8zjdg-simple.drv
building '/tmp/nix-shell.MrxVR3/nix-test/signing/store/fsbxxawd041asmdlk3sy72y4lpl8zjdg-simple.drv'...
PATH=
+(signing.sh:34) outPath2=/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple
+(signing.sh:36) nix store verify -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/7vw6srdayycls86y6p2qqz3knarndb83-dependencies-input-0'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/9p53s2aqw88kam4z28p0a4nwdfsisfs4-dependencies-input-2'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top'...
++(signing.sh:39) nix path-info --json /tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple
+(signing.sh:39) info='[{"deriver":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/fsbxxawd041asmdlk3sy72y4lpl8zjdg-simple.drv","narHash":"sha256-wJOqRNWFc+Bemzsgrf9iDHJ46vVMAg/wOaKfqvo/G+4=","narSize":296,"path":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple","references":[],"registrationTime":1716682869,"ultimate":true,"valid":true}]'
+(signing.sh:40) [[ [{"deriver":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/fsbxxawd041asmdlk3sy72y4lpl8zjdg-simple.drv","narHash":"sha256-wJOqRNWFc+Bemzsgrf9iDHJ46vVMAg/wOaKfqvo/G+4=","narSize":296,"path":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple","references":[],"registrationTime":1716682869,"ultimate":true,"valid":true}] =~ "ultimate":true ]]
+(signing.sh:41) [[ [{"deriver":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/fsbxxawd041asmdlk3sy72y4lpl8zjdg-simple.drv","narHash":"sha256-wJOqRNWFc+Bemzsgrf9iDHJ46vVMAg/wOaKfqvo/G+4=","narSize":296,"path":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple","references":[],"registrationTime":1716682869,"ultimate":true,"valid":true}] =~ signatures ]]
+(signing.sh:44) nix store verify -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple'...
+(signing.sh:46) expect 2 nix store verify -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple --sigs-needed 1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=2
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) nix store verify -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple --sigs-needed 1
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple'...
path '/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple' is untrusted
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=2
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 2 -ne 2 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(signing.sh:48) expect 2 nix store verify -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple --sigs-needed 1 --trusted-public-keys cache1.example.org:do2m3xoHp5YI9MMCNy6EvwSEhTrtZWJS6CZdTpNMfHk=
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=2
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) nix store verify -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple --sigs-needed 1 --trusted-public-keys cache1.example.org:do2m3xoHp5YI9MMCNy6EvwSEhTrtZWJS6CZdTpNMfHk=
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple'...
path '/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple' is untrusted
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=2
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 2 -ne 2 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(signing.sh:51) nix store sign --key-file /tmp/nix-shell.MrxVR3/nix-test/signing/sk1 /tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple
added 1 signatures
+(signing.sh:53) nix store verify -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple --sigs-needed 1 --trusted-public-keys cache1.example.org:do2m3xoHp5YI9MMCNy6EvwSEhTrtZWJS6CZdTpNMfHk=
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple'...
++(signing.sh:56) IMPURE_VAR1=foo
++(signing.sh:56) IMPURE_VAR2=bar
++(signing.sh:56) nix-build ./fixed.nix -A good.0 --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/signing/store/llfxcqjzszkf09kgck2pkq0nva9v08h7-fixed.drv
building '/tmp/nix-shell.MrxVR3/nix-test/signing/store/llfxcqjzszkf09kgck2pkq0nva9v08h7-fixed.drv'...
+(signing.sh:56) outPathCA=/tmp/nix-shell.MrxVR3/nix-test/signing/store/gx0wz0v5l4nz64dfzjgx9bch5giywrmg-fixed
++(signing.sh:58) nix path-info --json /tmp/nix-shell.MrxVR3/nix-test/signing/store/gx0wz0v5l4nz64dfzjgx9bch5giywrmg-fixed
+(signing.sh:58) [[ [{"ca":"fixed:md5:2qk15sxzzjlnpjk9brn7j8ppcd","deriver":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/llfxcqjzszkf09kgck2pkq0nva9v08h7-fixed.drv","narHash":"sha256-O10uvOJfh8DTewsEX93TDfkI6iCt6ohRNx8wITd0Lq8=","narSize":128,"path":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/gx0wz0v5l4nz64dfzjgx9bch5giywrmg-fixed","references":[],"registrationTime":1716682869,"ultimate":true,"valid":true}] =~ "ca":"fixed:md5: ]]
+(signing.sh:62) nix store verify /tmp/nix-shell.MrxVR3/nix-test/signing/store/gx0wz0v5l4nz64dfzjgx9bch5giywrmg-fixed
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/gx0wz0v5l4nz64dfzjgx9bch5giywrmg-fixed'...
+(signing.sh:63) nix store verify /tmp/nix-shell.MrxVR3/nix-test/signing/store/gx0wz0v5l4nz64dfzjgx9bch5giywrmg-fixed --sigs-needed 1000
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/gx0wz0v5l4nz64dfzjgx9bch5giywrmg-fixed'...
+(signing.sh:66) nix store sign --key-file /tmp/nix-shell.MrxVR3/nix-test/signing/sk1 /tmp/nix-shell.MrxVR3/nix-test/signing/store/gx0wz0v5l4nz64dfzjgx9bch5giywrmg-fixed
added 1 signatures
+(signing.sh:67) nix store verify -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/gx0wz0v5l4nz64dfzjgx9bch5giywrmg-fixed --sigs-needed 1000 --trusted-public-keys cache1.example.org:do2m3xoHp5YI9MMCNy6EvwSEhTrtZWJS6CZdTpNMfHk=
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/gx0wz0v5l4nz64dfzjgx9bch5giywrmg-fixed'...
+(signing.sh:70) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/signing/binary-cache /tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple' to 'file:///tmp/nix-shell.MrxVR3/nix-test/signing/binary-cache'...
++(signing.sh:73) nix path-info --store file:///tmp/nix-shell.MrxVR3/nix-test/signing/binary-cache --json /tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple
+(signing.sh:73) info='[{"deriver":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/fsbxxawd041asmdlk3sy72y4lpl8zjdg-simple.drv","downloadHash":"sha256-16sfDJay3Lgk8ZQWClF6r7tv2pD74xBchtVJmIgUTwA=","downloadSize":176,"narHash":"sha256-wJOqRNWFc+Bemzsgrf9iDHJ46vVMAg/wOaKfqvo/G+4=","narSize":296,"path":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple","references":[],"signatures":["cache1.example.org:nZ0ZgEjSxmkgc/Pdml6HgiV/6UbuPwepa91T5pZXunx74SpnDF4tlXlIc9uBwjTGrejPb8Q2amBY4iuD7WluAg=="],"url":"nar/002g2j49hjfmhrf11qzvj3d6zfxgg98hl5lly4jbip5jjq61zayp.nar.xz","valid":true}]'
+(signing.sh:74) [[ [{"deriver":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/fsbxxawd041asmdlk3sy72y4lpl8zjdg-simple.drv","downloadHash":"sha256-16sfDJay3Lgk8ZQWClF6r7tv2pD74xBchtVJmIgUTwA=","downloadSize":176,"narHash":"sha256-wJOqRNWFc+Bemzsgrf9iDHJ46vVMAg/wOaKfqvo/G+4=","narSize":296,"path":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple","references":[],"signatures":["cache1.example.org:nZ0ZgEjSxmkgc/Pdml6HgiV/6UbuPwepa91T5pZXunx74SpnDF4tlXlIc9uBwjTGrejPb8Q2amBY4iuD7WluAg=="],"url":"nar/002g2j49hjfmhrf11qzvj3d6zfxgg98hl5lly4jbip5jjq61zayp.nar.xz","valid":true}] =~ "ultimate":true ]]
+(signing.sh:75) [[ [{"deriver":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/fsbxxawd041asmdlk3sy72y4lpl8zjdg-simple.drv","downloadHash":"sha256-16sfDJay3Lgk8ZQWClF6r7tv2pD74xBchtVJmIgUTwA=","downloadSize":176,"narHash":"sha256-wJOqRNWFc+Bemzsgrf9iDHJ46vVMAg/wOaKfqvo/G+4=","narSize":296,"path":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple","references":[],"signatures":["cache1.example.org:nZ0ZgEjSxmkgc/Pdml6HgiV/6UbuPwepa91T5pZXunx74SpnDF4tlXlIc9uBwjTGrejPb8Q2amBY4iuD7WluAg=="],"url":"nar/002g2j49hjfmhrf11qzvj3d6zfxgg98hl5lly4jbip5jjq61zayp.nar.xz","valid":true}] =~ cache1\.example\.org ]]
+(signing.sh:76) [[ [{"deriver":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/fsbxxawd041asmdlk3sy72y4lpl8zjdg-simple.drv","downloadHash":"sha256-16sfDJay3Lgk8ZQWClF6r7tv2pD74xBchtVJmIgUTwA=","downloadSize":176,"narHash":"sha256-wJOqRNWFc+Bemzsgrf9iDHJ46vVMAg/wOaKfqvo/G+4=","narSize":296,"path":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple","references":[],"signatures":["cache1.example.org:nZ0ZgEjSxmkgc/Pdml6HgiV/6UbuPwepa91T5pZXunx74SpnDF4tlXlIc9uBwjTGrejPb8Q2amBY4iuD7WluAg=="],"url":"nar/002g2j49hjfmhrf11qzvj3d6zfxgg98hl5lly4jbip5jjq61zayp.nar.xz","valid":true}] =~ cache2\.example\.org ]]
+(signing.sh:79) nix store sign --store file:///tmp/nix-shell.MrxVR3/nix-test/signing/binary-cache --key-file /tmp/nix-shell.MrxVR3/nix-test/signing/sk2 /tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple
added 1 signatures
++(signing.sh:80) nix path-info --store file:///tmp/nix-shell.MrxVR3/nix-test/signing/binary-cache --json /tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple
+(signing.sh:80) info='[{"deriver":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/fsbxxawd041asmdlk3sy72y4lpl8zjdg-simple.drv","downloadHash":"sha256-16sfDJay3Lgk8ZQWClF6r7tv2pD74xBchtVJmIgUTwA=","downloadSize":176,"narHash":"sha256-wJOqRNWFc+Bemzsgrf9iDHJ46vVMAg/wOaKfqvo/G+4=","narSize":296,"path":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple","references":[],"signatures":["cache1.example.org:nZ0ZgEjSxmkgc/Pdml6HgiV/6UbuPwepa91T5pZXunx74SpnDF4tlXlIc9uBwjTGrejPb8Q2amBY4iuD7WluAg==","cache2.example.org:X522Kc5c+8L/XwdqRbmftzVNvJF7FPocOViFf+dtp9CMhieCzFINoUXC4MlGFAvpmtwhW9AJmq11zKo1xXp5AQ=="],"url":"nar/002g2j49hjfmhrf11qzvj3d6zfxgg98hl5lly4jbip5jjq61zayp.nar.xz","valid":true}]'
+(signing.sh:81) [[ [{"deriver":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/fsbxxawd041asmdlk3sy72y4lpl8zjdg-simple.drv","downloadHash":"sha256-16sfDJay3Lgk8ZQWClF6r7tv2pD74xBchtVJmIgUTwA=","downloadSize":176,"narHash":"sha256-wJOqRNWFc+Bemzsgrf9iDHJ46vVMAg/wOaKfqvo/G+4=","narSize":296,"path":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple","references":[],"signatures":["cache1.example.org:nZ0ZgEjSxmkgc/Pdml6HgiV/6UbuPwepa91T5pZXunx74SpnDF4tlXlIc9uBwjTGrejPb8Q2amBY4iuD7WluAg==","cache2.example.org:X522Kc5c+8L/XwdqRbmftzVNvJF7FPocOViFf+dtp9CMhieCzFINoUXC4MlGFAvpmtwhW9AJmq11zKo1xXp5AQ=="],"url":"nar/002g2j49hjfmhrf11qzvj3d6zfxgg98hl5lly4jbip5jjq61zayp.nar.xz","valid":true}] =~ cache1\.example\.org ]]
+(signing.sh:82) [[ [{"deriver":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/fsbxxawd041asmdlk3sy72y4lpl8zjdg-simple.drv","downloadHash":"sha256-16sfDJay3Lgk8ZQWClF6r7tv2pD74xBchtVJmIgUTwA=","downloadSize":176,"narHash":"sha256-wJOqRNWFc+Bemzsgrf9iDHJ46vVMAg/wOaKfqvo/G+4=","narSize":296,"path":"/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple","references":[],"signatures":["cache1.example.org:nZ0ZgEjSxmkgc/Pdml6HgiV/6UbuPwepa91T5pZXunx74SpnDF4tlXlIc9uBwjTGrejPb8Q2amBY4iuD7WluAg==","cache2.example.org:X522Kc5c+8L/XwdqRbmftzVNvJF7FPocOViFf+dtp9CMhieCzFINoUXC4MlGFAvpmtwhW9AJmq11zKo1xXp5AQ=="],"url":"nar/002g2j49hjfmhrf11qzvj3d6zfxgg98hl5lly4jbip5jjq61zayp.nar.xz","valid":true}] =~ cache2\.example\.org ]]
+(signing.sh:85) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/signing/store0
chmod: cannot access '/tmp/nix-shell.MrxVR3/nix-test/signing/store0': No such file or directory
+(signing.sh:85) true
+(signing.sh:86) rm -rf /tmp/nix-shell.MrxVR3/nix-test/signing/store0
+(signing.sh:91) nix copy --to /tmp/nix-shell.MrxVR3/nix-test/signing/store0 /tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top
copying 3 paths...
error: cannot add path '/tmp/nix-shell.MrxVR3/nix-test/signing/store/7vw6srdayycls86y6p2qqz3knarndb83-dependencies-input-0' because it lacks a signature by a trusted key
+(signing.sh:94) nix copy --to /tmp/nix-shell.MrxVR3/nix-test/signing/store0 /tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top --trusted-public-keys cache1.example.org:do2m3xoHp5YI9MMCNy6EvwSEhTrtZWJS6CZdTpNMfHk=
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/signing/store/7vw6srdayycls86y6p2qqz3knarndb83-dependencies-input-0' to 'local'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/signing/store/9p53s2aqw88kam4z28p0a4nwdfsisfs4-dependencies-input-2' to 'local'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top' to 'local'...
+(signing.sh:96) expect 2 nix store verify --store /tmp/nix-shell.MrxVR3/nix-test/signing/store0 -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=2
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) nix store verify --store /tmp/nix-shell.MrxVR3/nix-test/signing/store0 -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/7vw6srdayycls86y6p2qqz3knarndb83-dependencies-input-0'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/9p53s2aqw88kam4z28p0a4nwdfsisfs4-dependencies-input-2'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top'...
path '/tmp/nix-shell.MrxVR3/nix-test/signing/store/7vw6srdayycls86y6p2qqz3knarndb83-dependencies-input-0' is untrusted
path '/tmp/nix-shell.MrxVR3/nix-test/signing/store/9p53s2aqw88kam4z28p0a4nwdfsisfs4-dependencies-input-2' is untrusted
path '/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top' is untrusted
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=2
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 2 -ne 2 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(signing.sh:98) nix store verify --store /tmp/nix-shell.MrxVR3/nix-test/signing/store0 -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top --trusted-public-keys cache1.example.org:do2m3xoHp5YI9MMCNy6EvwSEhTrtZWJS6CZdTpNMfHk=
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/7vw6srdayycls86y6p2qqz3knarndb83-dependencies-input-0'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/9p53s2aqw88kam4z28p0a4nwdfsisfs4-dependencies-input-2'...
+(signing.sh:99) nix store verify --store /tmp/nix-shell.MrxVR3/nix-test/signing/store0 -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top --sigs-needed 2 --trusted-public-keys 'cache1.example.org:do2m3xoHp5YI9MMCNy6EvwSEhTrtZWJS6CZdTpNMfHk= cache2.example.org:fgjvIONRS3l04MoRee62mS1zZeHh4zUFTna5bAuT2vo='
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/7vw6srdayycls86y6p2qqz3knarndb83-dependencies-input-0'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/b7k8jqgg9ycgjj2z8ia5gddamyr8d9a1-dependencies-top'...
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/9p53s2aqw88kam4z28p0a4nwdfsisfs4-dependencies-input-2'...
+(signing.sh:102) nix copy --to /tmp/nix-shell.MrxVR3/nix-test/signing/store0 /tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple
copying 1 paths...
error: cannot add path '/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple' because it lacks a signature by a trusted key
+(signing.sh:103) nix copy --to '/tmp/nix-shell.MrxVR3/nix-test/signing/store0?require-sigs=false' /tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple' to 'local'...
+(signing.sh:106) nix store verify --store /tmp/nix-shell.MrxVR3/nix-test/signing/store0 -r /tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple --trusted-public-keys cache1.example.org:do2m3xoHp5YI9MMCNy6EvwSEhTrtZWJS6CZdTpNMfHk=
checking '/tmp/nix-shell.MrxVR3/nix-test/signing/store/88hrlj0v46x44pag974qdj5vbwphp93k-simple'...
+(signing.sh:109) nix copy --to /tmp/nix-shell.MrxVR3/nix-test/signing/store0 /tmp/nix-shell.MrxVR3/nix-test/signing/store/gx0wz0v5l4nz64dfzjgx9bch5giywrmg-fixed
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/signing/store/gx0wz0v5l4nz64dfzjgx9bch5giywrmg-fixed' to 'local'...[FAIL]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(build-remote-input-addressed.sh:3) file=build-hook.nix
+(build-remote-input-addressed.sh:5) source build-remote.sh
++(build-remote.sh:1) requireSandboxSupport
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:167) canUseSandbox
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:163) [[ -n 1 ]]
++(build-remote.sh:2) [[ /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]]
++(build-remote.sh:5) unset NIX_STORE_DIR
++(build-remote.sh:6) unset NIX_STATE_DIR
++(build-remote.sh:10) EXTRA_SYSTEM_FEATURES=()
++(build-remote.sh:11) [[ -n '' ]]
++(build-remote.sh:21) builders=("ssh://localhost?remote-store=$TEST_ROOT/machine1?system-features=$(join_by "%20" foo ${EXTRA_SYSTEM_FEATURES[@]}) - - 1 1 $(join_by "," foo ${EXTRA_SYSTEM_FEATURES[@]})" "$TEST_ROOT/machine2 - - 1 1 $(join_by "," bar ${EXTRA_SYSTEM_FEATURES[@]})" "ssh-ng://localhost?remote-store=$TEST_ROOT/machine3?system-features=$(join_by "%20" baz ${EXTRA_SYSTEM_FEATURES[@]}) - - 1 1 $(join_by "," baz ${EXTRA_SYSTEM_FEATURES[@]})")
+++(build-remote.sh:21) join_by %20 foo
+++(build-remote.sh:8) local d=%20
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) echo -n foo
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) printf %s
+++(build-remote.sh:21) join_by , foo
+++(build-remote.sh:8) local d=,
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) echo -n foo
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) printf %s
+++(build-remote.sh:21) join_by , bar
+++(build-remote.sh:8) local d=,
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) echo -n bar
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) printf %s
+++(build-remote.sh:21) join_by %20 baz
+++(build-remote.sh:8) local d=%20
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) echo -n baz
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) printf %s
+++(build-remote.sh:21) join_by , baz
+++(build-remote.sh:8) local d=,
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) echo -n baz
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) printf %s
++(build-remote.sh:23) chmod -R +w '/tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine*'
chmod: cannot access '/tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine*': No such file or directory
++(build-remote.sh:23) true
++(build-remote.sh:24) rm -rf '/tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine*'
+++(build-remote.sh:29) join_by '; ' 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo' '/tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar' 'ssh-ng://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz'
+++(build-remote.sh:8) local 'd=; '
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) echo -n 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo'
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) printf %s '; /tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar' '; ssh-ng://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz'
++(build-remote.sh:29) nix build -L -v -f build-hook.nix -o /tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/result --max-jobs 0 --arg busybox /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine0 --builders 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine1?system-features=foo - - 1 1 foo; /tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine2 - - 1 1 bar; ssh-ng://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine3?system-features=baz - - 1 1 baz'
these 4 derivations will be built:
/nix/store/35alvhx3jbr9j6bm9wdhzk7kvbgyzack-build-remote-input-2.drv
/nix/store/bh0lskx0g2qd88l2fsjvy85dc2lrwr0s-build-remote-input-3.drv
/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv
/nix/store/yfcf7n7nv6ayfrvs6w002v9fpjxblshj-build-remote.drv
connecting to 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine1?system-features=foo'...
building '/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv' on 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine1?system-features=foo'...
connecting to '/tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine2'...
building '/nix/store/35alvhx3jbr9j6bm9wdhzk7kvbgyzack-build-remote-input-2.drv' on '/tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine2'...
waiting for the upload lock to 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine1?system-features=foo'...
copying dependencies to 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine1?system-features=foo'...
copying 2 paths...
copying path '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh' to 'ssh://localhost'...
copying path '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox' to 'ssh://localhost'...
build-remote-input> error: executing '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox': No such file or directory
waiting for the upload lock to '/tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine2'...
copying dependencies to '/tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine2'...
copying 2 paths...
copying path '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox' to 'local'...
copying path '/nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' to 'local'...
error: build of '/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv' on 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-input-addressed/machine1?system-features=foo' failed: builder for '/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv' failed with exit code 1
error: builder for '/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/yfcf7n7nv6ayfrvs6w002v9fpjxblshj-build-remote.drv' failed to build
+++(build-remote.sh:29) onError
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
build-remote-input-addressed.sh: test failed at:
source in build-remote.sh:29
main in build-remote-input-addressed.sh:5clearing store...
/tmp/nix-shell.MrxVR3/nix-test/check/store/2y31az39fgkr7fd0d2zyyn017nmd27yz-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/check/store/2y31az39fgkr7fd0d2zyyn017nmd27yz-dependencies-top
1716682869345987543
/tmp/nix-shell.MrxVR3/nix-test/check/store/9b3pg8r66l84cbb6ndkqzxnyz8pv579r-deterministic
/tmp/nix-shell.MrxVR3/nix-test/check/store/9b3pg8r66l84cbb6ndkqzxnyz8pv579r-deterministic
/tmp/nix-shell.MrxVR3/nix-test/check/store/bcig3y58rkqkkb5w5809ccq4awh4c9n9-nondeterministic
error: derivation '/tmp/nix-shell.MrxVR3/nix-test/check/store/ivkffvgaan3zav6qkqgl8gs7vmz02bap-nondeterministic.drv' may not be deterministic: output '/tmp/nix-shell.MrxVR3/nix-test/check/store/bcig3y58rkqkkb5w5809ccq4awh4c9n9-nondeterministic' differs
error: derivation '/tmp/nix-shell.MrxVR3/nix-test/check/store/ivkffvgaan3zav6qkqgl8gs7vmz02bap-nondeterministic.drv' may not be deterministic: output '/tmp/nix-shell.MrxVR3/nix-test/check/store/bcig3y58rkqkkb5w5809ccq4awh4c9n9-nondeterministic' differs from '/tmp/nix-shell.MrxVR3/nix-test/check/store/bcig3y58rkqkkb5w5809ccq4awh4c9n9-nondeterministic.check'
1716682869345987543
clearing store...
/tmp/nix-shell.MrxVR3/nix-test/check/store/axyhwi9pvdbdsp0b6304bxb9prssl67r-eval-okay-xml.exp.xml
/tmp/nix-shell.MrxVR3/nix-test/check/store/axyhwi9pvdbdsp0b6304bxb9prssl67r-eval-okay-xml.exp.xml
/tmp/nix-shell.MrxVR3/nix-test/check/store/d9jnw0464mdjfa9xzqc4v01b0scl67sk-dummy
/tmp/nix-shell.MrxVR3/nix-test/check/store/65bxqdj584kzq80bpydi2yd5s28wmaad-nondeterministic
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/check
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/check
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/check
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/check
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/check
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/check/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/check/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/check/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/check/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/check/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/check/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(check.sh:4) buggyNeedLocalStore 'see #4813'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:224) needLocalStore 'see #4813'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:217) [[ '' == \d\a\e\m\o\n ]]
++(check.sh:14) date +%s%N
+(check.sh:14) checkBuildId=1716682869345987543
+(check.sh:16) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/check/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/check/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/check/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/check/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/check/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/check/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/check/test-home/.local/state/nix/profiles
+(check.sh:18) nix-build dependencies.nix --no-out-link
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/check/store/9q32c2irc4wzqxzvp2bnk19s43x8azzw-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/check/store/4rwsalxr46ngp3hlrhp0zcavblqwxakk-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/check/store/nl4v5af336h2jdcalfbqh8f1qlmsrb8f-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/check/store/qfnlc0pwvaj8sd70ssjk8c06nsd8smpi-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/check/store/c2bgn4siinl285qyk46jjpyr3zw54blf-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check/store/9q32c2irc4wzqxzvp2bnk19s43x8azzw-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/check/store/nl4v5af336h2jdcalfbqh8f1qlmsrb8f-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/check/store/4rwsalxr46ngp3hlrhp0zcavblqwxakk-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/check/store/qfnlc0pwvaj8sd70ssjk8c06nsd8smpi-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/check/store/c2bgn4siinl285qyk46jjpyr3zw54blf-dependencies-top.drv'...
FOO
+(check.sh:19) nix-build dependencies.nix --no-out-link --check
checking outputs of '/tmp/nix-shell.MrxVR3/nix-test/check/store/c2bgn4siinl285qyk46jjpyr3zw54blf-dependencies-top.drv'...
FOO
+(check.sh:27) nix-build check.nix -A failed --argstr checkBuildId 1716682869345987543 --no-out-link
+(check.sh:28) status=100
+(check.sh:29) '[' 100 = 100 ']'
+(check.sh:30) checkBuildTempDirRemoved /tmp/nix-shell.MrxVR3/nix-test/check/log
++(check.sh:8) sed -n s/CHECK_TMPDIR=//p /tmp/nix-shell.MrxVR3/nix-test/check/log
++(check.sh:8) head -1
+(check.sh:8) buildDir=/tmp/nix-shell.MrxVR3/nix-build-failed.drv-0
+(check.sh:9) checkBuildIdFile=/tmp/nix-shell.MrxVR3/nix-build-failed.drv-0/checkBuildId
+(check.sh:10) [[ ! -f /tmp/nix-shell.MrxVR3/nix-build-failed.drv-0/checkBuildId ]]
+(check.sh:32) nix-build check.nix -A failed --argstr checkBuildId 1716682869345987543 --no-out-link --keep-failed
+(check.sh:33) status=100
+(check.sh:34) '[' 100 = 100 ']'
+(check.sh:35) checkBuildTempDirRemoved /tmp/nix-shell.MrxVR3/nix-test/check/log
++(check.sh:8) sed -n s/CHECK_TMPDIR=//p /tmp/nix-shell.MrxVR3/nix-test/check/log
++(check.sh:8) head -1
+(check.sh:8) buildDir=/tmp/nix-shell.MrxVR3/nix-build-failed.drv-0
+(check.sh:9) checkBuildIdFile=/tmp/nix-shell.MrxVR3/nix-build-failed.drv-0/checkBuildId
+(check.sh:10) [[ ! -f /tmp/nix-shell.MrxVR3/nix-build-failed.drv-0/checkBuildId ]]
+(check.sh:10) grep 1716682869345987543 /tmp/nix-shell.MrxVR3/nix-build-failed.drv-0/checkBuildId
+(check.sh:37) nix-build check.nix -A deterministic --argstr checkBuildId 1716682869345987543 --no-out-link
+(check.sh:39) checkBuildTempDirRemoved /tmp/nix-shell.MrxVR3/nix-test/check/log
++(check.sh:8) sed -n s/CHECK_TMPDIR=//p /tmp/nix-shell.MrxVR3/nix-test/check/log
++(check.sh:8) head -1
+(check.sh:8) buildDir=/tmp/nix-shell.MrxVR3/nix-build-deterministic.drv-0
+(check.sh:9) checkBuildIdFile=/tmp/nix-shell.MrxVR3/nix-build-deterministic.drv-0/checkBuildId
+(check.sh:10) [[ ! -f /tmp/nix-shell.MrxVR3/nix-build-deterministic.drv-0/checkBuildId ]]
+(check.sh:41) nix-build check.nix -A deterministic --argstr checkBuildId 1716682869345987543 --no-out-link --check --keep-failed
+(check.sh:43) grepQuiet 'may not be deterministic' /tmp/nix-shell.MrxVR3/nix-test/check/log
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'may not be deterministic' /tmp/nix-shell.MrxVR3/nix-test/check/log
+(check.sh:44) checkBuildTempDirRemoved /tmp/nix-shell.MrxVR3/nix-test/check/log
++(check.sh:8) sed -n s/CHECK_TMPDIR=//p /tmp/nix-shell.MrxVR3/nix-test/check/log
++(check.sh:8) head -1
+(check.sh:8) buildDir=/tmp/nix-shell.MrxVR3/nix-build-deterministic.drv-0
+(check.sh:9) checkBuildIdFile=/tmp/nix-shell.MrxVR3/nix-build-deterministic.drv-0/checkBuildId
+(check.sh:10) [[ ! -f /tmp/nix-shell.MrxVR3/nix-build-deterministic.drv-0/checkBuildId ]]
+(check.sh:46) nix-build check.nix -A nondeterministic --argstr checkBuildId 1716682869345987543 --no-out-link
+(check.sh:48) checkBuildTempDirRemoved /tmp/nix-shell.MrxVR3/nix-test/check/log
++(check.sh:8) sed -n s/CHECK_TMPDIR=//p /tmp/nix-shell.MrxVR3/nix-test/check/log
++(check.sh:8) head -1
+(check.sh:8) buildDir=/tmp/nix-shell.MrxVR3/nix-build-nondeterministic.drv-0
+(check.sh:9) checkBuildIdFile=/tmp/nix-shell.MrxVR3/nix-build-nondeterministic.drv-0/checkBuildId
+(check.sh:10) [[ ! -f /tmp/nix-shell.MrxVR3/nix-build-nondeterministic.drv-0/checkBuildId ]]
+(check.sh:50) nix-build check.nix -A nondeterministic --argstr checkBuildId 1716682869345987543 --no-out-link --check
+(check.sh:51) status=104
+(check.sh:52) grep 'may not be deterministic' /tmp/nix-shell.MrxVR3/nix-test/check/log
+(check.sh:53) '[' 104 = 104 ']'
+(check.sh:54) checkBuildTempDirRemoved /tmp/nix-shell.MrxVR3/nix-test/check/log
++(check.sh:8) sed -n s/CHECK_TMPDIR=//p /tmp/nix-shell.MrxVR3/nix-test/check/log
++(check.sh:8) head -1
+(check.sh:8) buildDir=/tmp/nix-shell.MrxVR3/nix-build-nondeterministic.drv-0
+(check.sh:9) checkBuildIdFile=/tmp/nix-shell.MrxVR3/nix-build-nondeterministic.drv-0/checkBuildId
+(check.sh:10) [[ ! -f /tmp/nix-shell.MrxVR3/nix-build-nondeterministic.drv-0/checkBuildId ]]
+(check.sh:56) nix-build check.nix -A nondeterministic --argstr checkBuildId 1716682869345987543 --no-out-link --check --keep-failed
+(check.sh:57) status=104
+(check.sh:58) grep 'may not be deterministic' /tmp/nix-shell.MrxVR3/nix-test/check/log
+(check.sh:59) '[' 104 = 104 ']'
+(check.sh:60) checkBuildTempDirRemoved /tmp/nix-shell.MrxVR3/nix-test/check/log
++(check.sh:8) sed -n s/CHECK_TMPDIR=//p /tmp/nix-shell.MrxVR3/nix-test/check/log
++(check.sh:8) head -1
+(check.sh:8) buildDir=/tmp/nix-shell.MrxVR3/nix-build-nondeterministic.drv-0
+(check.sh:9) checkBuildIdFile=/tmp/nix-shell.MrxVR3/nix-build-nondeterministic.drv-0/checkBuildId
+(check.sh:10) [[ ! -f /tmp/nix-shell.MrxVR3/nix-build-nondeterministic.drv-0/checkBuildId ]]
+(check.sh:10) grep 1716682869345987543 /tmp/nix-shell.MrxVR3/nix-build-nondeterministic.drv-0/checkBuildId
+(check.sh:62) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/check/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/check/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/check/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/check/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/check/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/check/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/check/test-home/.local/state/nix/profiles
++(check.sh:64) nix-build check.nix -A fetchurl --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/check/store/yiwsn1wj88q6yszivb4s03l074zam6g4-eval-okay-xml.exp.xml.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check/store/yiwsn1wj88q6yszivb4s03l074zam6g4-eval-okay-xml.exp.xml.drv'...
+(check.sh:64) path=/tmp/nix-shell.MrxVR3/nix-test/check/store/axyhwi9pvdbdsp0b6304bxb9prssl67r-eval-okay-xml.exp.xml
+(check.sh:66) chmod +w /tmp/nix-shell.MrxVR3/nix-test/check/store/axyhwi9pvdbdsp0b6304bxb9prssl67r-eval-okay-xml.exp.xml
+(check.sh:67) echo foo
+(check.sh:68) chmod -w /tmp/nix-shell.MrxVR3/nix-test/check/store/axyhwi9pvdbdsp0b6304bxb9prssl67r-eval-okay-xml.exp.xml
+(check.sh:70) nix-build check.nix -A fetchurl --no-out-link --check
checking outputs of '/tmp/nix-shell.MrxVR3/nix-test/check/store/yiwsn1wj88q6yszivb4s03l074zam6g4-eval-okay-xml.exp.xml.drv'...
++(check.sh:72) cat /tmp/nix-shell.MrxVR3/nix-test/check/store/axyhwi9pvdbdsp0b6304bxb9prssl67r-eval-okay-xml.exp.xml
+(check.sh:72) [[ foo = foo ]]
+(check.sh:74) nix-build check.nix -A fetchurl --no-out-link --repair
checking path '/tmp/nix-shell.MrxVR3/nix-test/check/store/axyhwi9pvdbdsp0b6304bxb9prssl67r-eval-okay-xml.exp.xml'...
path '/tmp/nix-shell.MrxVR3/nix-test/check/store/axyhwi9pvdbdsp0b6304bxb9prssl67r-eval-okay-xml.exp.xml' is corrupted or missing!
repairing outputs of '/tmp/nix-shell.MrxVR3/nix-test/check/store/yiwsn1wj88q6yszivb4s03l074zam6g4-eval-okay-xml.exp.xml.drv'...
++(check.sh:75) cat /tmp/nix-shell.MrxVR3/nix-test/check/store/axyhwi9pvdbdsp0b6304bxb9prssl67r-eval-okay-xml.exp.xml
+(check.sh:75) [[ <?xml version='1.0' encoding='utf-8'?>
<expr>
<attrs>
<attr name="a">
<string value="foo" />
</attr>
<attr name="at">
<function>
<attrspat name="args">
<attr name="x" />
<attr name="y" />
<attr name="z" />
</attrspat>
</function>
</attr>
<attr name="b">
<string value="bar" />
</attr>
<attr name="c">
<string value="foobar" />
</attr>
<attr name="ellipsis">
<function>
<attrspat ellipsis="1">
<attr name="x" />
<attr name="y" />
<attr name="z" />
</attrspat>
</function>
</attr>
<attr name="f">
<function>
<attrspat>
<attr name="x" />
<attr name="y" />
<attr name="z" />
</attrspat>
</function>
</attr>
<attr name="id">
<function>
<varpat name="x" />
</function>
</attr>
<attr name="x">
<int value="123" />
</attr>
<attr name="y">
<float value="567.89" />
</attr>
</attrs>
</expr> != foo ]]
+(check.sh:77) echo 'Hello World'
+(check.sh:78) nix-build check.nix -A hashmismatch --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/check/store/b6gxgx2vdpcxix8aim8l3rv9ww1jx6wy-dummy.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check/store/b6gxgx2vdpcxix8aim8l3rv9ww1jx6wy-dummy.drv'...
error: hash mismatch in fixed-output derivation '/tmp/nix-shell.MrxVR3/nix-test/check/store/b6gxgx2vdpcxix8aim8l3rv9ww1jx6wy-dummy.drv':
specified: sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=
got: sha256-0qhPS4tlCTfsj3PNi+LHSt1akRumTfJ0WO2CKdqASiY=
+(check.sh:78) status=102
+(check.sh:79) '[' 102 = 102 ']'
+(check.sh:81) echo -n
+(check.sh:82) nix-build check.nix -A hashmismatch --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/check/store/b6gxgx2vdpcxix8aim8l3rv9ww1jx6wy-dummy.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check/store/b6gxgx2vdpcxix8aim8l3rv9ww1jx6wy-dummy.drv'...
+(check.sh:83) echo 'Hello World'
+(check.sh:85) nix-build check.nix -A hashmismatch --no-out-link --check
checking outputs of '/tmp/nix-shell.MrxVR3/nix-test/check/store/b6gxgx2vdpcxix8aim8l3rv9ww1jx6wy-dummy.drv'...
error: hash mismatch in fixed-output derivation '/tmp/nix-shell.MrxVR3/nix-test/check/store/b6gxgx2vdpcxix8aim8l3rv9ww1jx6wy-dummy.drv':
specified: sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=
got: sha256-0qhPS4tlCTfsj3PNi+LHSt1akRumTfJ0WO2CKdqASiY=
+(check.sh:85) status=102
+(check.sh:86) '[' 102 = 102 ']'
+(check.sh:89) nix-build check.nix -A nondeterministic --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/check/store/m1mlpmizk428j6q5bwcq02cd5mg6j2db-nondeterministic.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check/store/m1mlpmizk428j6q5bwcq02cd5mg6j2db-nondeterministic.drv'...
CHECK_TMPDIR=/tmp/nix-shell.MrxVR3/nix-build-nondeterministic.drv-1
checkBuildId=0
+(check.sh:90) nix-build check.nix -A nondeterministic -A hashmismatch --no-out-link --check --keep-going
checking outputs of '/tmp/nix-shell.MrxVR3/nix-test/check/store/b6gxgx2vdpcxix8aim8l3rv9ww1jx6wy-dummy.drv'...
checking outputs of '/tmp/nix-shell.MrxVR3/nix-test/check/store/m1mlpmizk428j6q5bwcq02cd5mg6j2db-nondeterministic.drv'...
CHECK_TMPDIR=/tmp/nix-shell.MrxVR3/nix-build-nondeterministic.drv-1
checkBuildId=0
error: derivation '/tmp/nix-shell.MrxVR3/nix-test/check/store/m1mlpmizk428j6q5bwcq02cd5mg6j2db-nondeterministic.drv' may not be deterministic: output '/tmp/nix-shell.MrxVR3/nix-test/check/store/65bxqdj584kzq80bpydi2yd5s28wmaad-nondeterministic' differs
error: hash mismatch in fixed-output derivation '/tmp/nix-shell.MrxVR3/nix-test/check/store/b6gxgx2vdpcxix8aim8l3rv9ww1jx6wy-dummy.drv':
specified: sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=
got: sha256-0qhPS4tlCTfsj3PNi+LHSt1akRumTfJ0WO2CKdqASiY=
error: build of '/tmp/nix-shell.MrxVR3/nix-test/check/store/b6gxgx2vdpcxix8aim8l3rv9ww1jx6wy-dummy.drv', '/tmp/nix-shell.MrxVR3/nix-test/check/store/m1mlpmizk428j6q5bwcq02cd5mg6j2db-nondeterministic.drv' failed
+(check.sh:90) status=110
+(check.sh:91) '[' 110 = 110 ']'clearing store...
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/la8mfkr7y24mxg3chpixhk92cbrs7i08-check-refs-4
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/m6vdf5ndm3ggciid683xsazlg0a0gmvs-check-refs-5
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/v16nr26axsf12nll7kriilkv5jqqghdi-check-refs-7
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/h7a838f4sg4ahwhm0rfja4w0v7ba34cr-check-refs-10
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/check-refs
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/check-refs
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/check-refs
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/check-refs
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/check-refs
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/check-refs/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/check-refs/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/check-refs/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/check-refs/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/check-refs/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/check-refs/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(check-refs.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/check-refs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/check-refs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/check-refs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/check-refs/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/check-refs/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/check-refs/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/check-refs/test-home/.local/state/nix/profiles
+(check-refs.sh:5) RESULT=/tmp/nix-shell.MrxVR3/nix-test/check-refs/result
++(check-refs.sh:7) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/check-refs/result check-refs.nix -A dep
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/qa5n6fan8wzr2f1mzwlzdd6fdmyilgsq-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/qqcwxbfbb9ha6svr00qi588sr8nn4hs4-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/yx4idca2w6ygrphf9k198nzanyysa9h6-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/r17b6bbix8p8i4q5fj6z14zrlqcqld04-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/fbkff6v8frvwp0akimqndmg5pzcz2xn7-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/yx4idca2w6ygrphf9k198nzanyysa9h6-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/qa5n6fan8wzr2f1mzwlzdd6fdmyilgsq-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/r17b6bbix8p8i4q5fj6z14zrlqcqld04-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/qqcwxbfbb9ha6svr00qi588sr8nn4hs4-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/fbkff6v8frvwp0akimqndmg5pzcz2xn7-dependencies-top.drv'...
FOO
+(check-refs.sh:7) dep=/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/lq4ca0v9vs947wf9va874jwd77xf6zy6-dependencies-top
++(check-refs.sh:10) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/check-refs/result check-refs.nix -A test1
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/iv5i225mgzcn00n4bn3d7abgvzj0qr32-check-refs-1.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/iv5i225mgzcn00n4bn3d7abgvzj0qr32-check-refs-1.drv'...
+(check-refs.sh:10) test1=/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/ai0rnzz3mrgva6l9kc6bd24d25gy4dk6-check-refs-1
+(check-refs.sh:11) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/check-refs/store/ai0rnzz3mrgva6l9kc6bd24d25gy4dk6-check-refs-1
+(check-refs.sh:11) grepQuietInverse /tmp/nix-shell.MrxVR3/nix-test/check-refs/store/ai0rnzz3mrgva6l9kc6bd24d25gy4dk6-check-refs-1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:269) grep /tmp/nix-shell.MrxVR3/nix-test/check-refs/store/ai0rnzz3mrgva6l9kc6bd24d25gy4dk6-check-refs-1
+(check-refs.sh:12) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/check-refs/store/ai0rnzz3mrgva6l9kc6bd24d25gy4dk6-check-refs-1
+(check-refs.sh:12) grepQuiet /tmp/nix-shell.MrxVR3/nix-test/check-refs/store/lq4ca0v9vs947wf9va874jwd77xf6zy6-dependencies-top
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep /tmp/nix-shell.MrxVR3/nix-test/check-refs/store/lq4ca0v9vs947wf9va874jwd77xf6zy6-dependencies-top
++(check-refs.sh:15) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/check-refs/result check-refs.nix -A test2
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/yrlzfsv8llaaibs9rspz7ld29spmbz97-check-refs-2.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/yrlzfsv8llaaibs9rspz7ld29spmbz97-check-refs-2.drv'...
+(check-refs.sh:15) test2=/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/ar4xqq860sh3dg40k3z6gyik2b17in1z-check-refs-2
+(check-refs.sh:16) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/check-refs/store/ar4xqq860sh3dg40k3z6gyik2b17in1z-check-refs-2
+(check-refs.sh:16) grepQuietInverse /tmp/nix-shell.MrxVR3/nix-test/check-refs/store/ar4xqq860sh3dg40k3z6gyik2b17in1z-check-refs-2
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:269) grep /tmp/nix-shell.MrxVR3/nix-test/check-refs/store/ar4xqq860sh3dg40k3z6gyik2b17in1z-check-refs-2
+(check-refs.sh:17) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/check-refs/store/ar4xqq860sh3dg40k3z6gyik2b17in1z-check-refs-2
+(check-refs.sh:17) grepQuietInverse /tmp/nix-shell.MrxVR3/nix-test/check-refs/store/lq4ca0v9vs947wf9va874jwd77xf6zy6-dependencies-top
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:269) grep /tmp/nix-shell.MrxVR3/nix-test/check-refs/store/lq4ca0v9vs947wf9va874jwd77xf6zy6-dependencies-top
+(check-refs.sh:18) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/check-refs/store/ar4xqq860sh3dg40k3z6gyik2b17in1z-check-refs-2
+(check-refs.sh:18) grepQuiet aux-ref
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep aux-ref
+(check-refs.sh:21) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/check-refs/result check-refs.nix -A test3
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/806imj7mydfcw0133dj4d6px6yx0wmz0-check-refs-3.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/806imj7mydfcw0133dj4d6px6yx0wmz0-check-refs-3.drv'...
error: output '/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/ywqjg90rmnx0ra7jb82fv7wi1ysmnyl9-check-refs-3' is not allowed to refer to the following paths:
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/lq4ca0v9vs947wf9va874jwd77xf6zy6-dependencies-top
+(check-refs.sh:24) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/check-refs/result check-refs.nix -A test4
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/v4ylqj144z8v0cdh6aykbqv9q1k8qgs2-check-refs-4.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/v4ylqj144z8v0cdh6aykbqv9q1k8qgs2-check-refs-4.drv'...
+(check-refs.sh:27) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/check-refs/result check-refs.nix -A test5
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/jmg4glmi5rly6lkaf6cjgzj1g5aha8p0-check-refs-5.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/jmg4glmi5rly6lkaf6cjgzj1g5aha8p0-check-refs-5.drv'...
+(check-refs.sh:30) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/check-refs/result check-refs.nix -A test6
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/vv92p5n8qphi0ivfzr6d4k0blk14n0v5-check-refs-6.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/vv92p5n8qphi0ivfzr6d4k0blk14n0v5-check-refs-6.drv'...
error: output '/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/p1rqdplfnjzr3kd27r1aqmb7flz5s86a-check-refs-6' is not allowed to refer to the following paths:
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/p1rqdplfnjzr3kd27r1aqmb7flz5s86a-check-refs-6
+(check-refs.sh:33) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/check-refs/result check-refs.nix -A test7
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/x59ika76i91yk7hqapdj2vjyxifqykbn-check-refs-7.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/x59ika76i91yk7hqapdj2vjyxifqykbn-check-refs-7.drv'...
+(check-refs.sh:36) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/check-refs/result check-refs.nix -A test8
error:
… while calling the 'derivationStrict' builtin
at /builtin/derivation.nix:1:208:
… while evaluating derivation 'check-refs-8'
whose name attribute is located at /lix-src/build/tests/functional/check-refs.nix:8:5
… while evaluating attribute 'args' of derivation 'check-refs-8'
at /lix-src/build/tests/functional/config.nix:23:7:
22| builder = shell;
23| args = ["-e" args.builder or (builtins.toFile "builder-${args.name}.sh" ''
| ^
24| if [ -e "$NIX_ATTRS_SH_FILE" ]; then source $NIX_ATTRS_SH_FILE; fi;
… while evaluating the attribute 'builder'
at /lix-src/build/tests/functional/check-refs.nix:54:5:
53| test8 = makeTest 8 {
54| builder = builtins.toFile "builder.sh" "mkdir $out; ln -s ${test1} $out/link";
| ^
55| inherit dep;
… while calling the 'toFile' builtin
at /lix-src/build/tests/functional/check-refs.nix:54:15:
53| test8 = makeTest 8 {
54| builder = builtins.toFile "builder.sh" "mkdir $out; ln -s ${test1} $out/link";
| ^
55| inherit dep;
error: files created by builtins.toFile may not reference derivations, but builder.sh references !out!iv5i225mgzcn00n4bn3d7abgvzj0qr32-check-refs-1.drv
+(check-refs.sh:39) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/check-refs/result check-refs.nix -A test9
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/y13y4pmq9ha7gawgd5qdabdl3zpmasl6-check-refs-9.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/y13y4pmq9ha7gawgd5qdabdl3zpmasl6-check-refs-9.drv'...
error: output '/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/iw4bxfap2kg6zgccrc55nl5wgwvm04w9-check-refs-9' is not allowed to refer to the following paths:
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/lq4ca0v9vs947wf9va874jwd77xf6zy6-dependencies-top
+(check-refs.sh:42) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/check-refs/result check-refs.nix -A test10
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/yw298vjz8v8zc9wzn6r5pks8q370iymr-check-refs-10.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/yw298vjz8v8zc9wzn6r5pks8q370iymr-check-refs-10.drv'...
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/m6vdf5ndm3ggciid683xsazlg0a0gmvs-check-refs-5
+(check-refs.sh:44) isDaemonNewer 2.12pre20230103
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
+(check-refs.sh:45) isDaemonNewer 2.16.0
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
++(check-refs.sh:51) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/check-refs/result check-refs.nix -A test11
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/0szlkrzljiwdyq1sh7fhpqpncjxl0xr9-check-refs-11.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/0szlkrzljiwdyq1sh7fhpqpncjxl0xr9-check-refs-11.drv'...
+(check-refs.sh:51) test11=/tmp/nix-shell.MrxVR3/nix-test/check-refs/store/1xji3wpy277x26vldrgcmkcifs0b102d-check-refs-11
++(check-refs.sh:52) nix-store -q --references /tmp/nix-shell.MrxVR3/nix-test/check-refs/store/1xji3wpy277x26vldrgcmkcifs0b102d-check-refs-11
+(check-refs.sh:52) [[ -z '' ]]clearing store...
/tmp/nix-shell.MrxVR3/nix-test/nix-shell/shell.drv!dev
/tmp/nix-shell.MrxVR3/nix-test/nix-shell/shell!dev
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/nix-shell
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/nix-shell
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/nix-shell
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-shell
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-shell
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-shell/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-shell/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/nix-shell/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-shell/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-shell/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/nix-shell/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(nix-shell.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/nix-shell/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-shell/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-shell/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-shell/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-shell/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/nix-shell/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-shell/test-home/.local/state/nix/profiles
+(nix-shell.sh:5) [[ -n '' ]]
+(nix-shell.sh:8) shellDotNix=/lix-src/build/tests/functional/shell.nix
+(nix-shell.sh:11) export NIX_PATH=nixpkgs=/lix-src/build/tests/functional/shell.nix
+(nix-shell.sh:11) NIX_PATH=nixpkgs=/lix-src/build/tests/functional/shell.nix
+(nix-shell.sh:14) export IMPURE_VAR=foo
+(nix-shell.sh:14) IMPURE_VAR=foo
+(nix-shell.sh:15) export SELECTED_IMPURE_VAR=baz
+(nix-shell.sh:15) SELECTED_IMPURE_VAR=baz
++(nix-shell.sh:18) nix-shell --pure /lix-src/build/tests/functional/shell.nix -A shellDrv --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX - $TEST_inNixShell"'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/cjbnzgj7sfmmwx94yvabrp1a55i6qf8c-stdenv.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/cjbnzgj7sfmmwx94yvabrp1a55i6qf8c-stdenv.drv'...
+(nix-shell.sh:18) output=' - foo - bar - true'
+(nix-shell.sh:20) '[' ' - foo - bar - true' = ' - foo - bar - true' ']'
++(nix-shell.sh:24) nix-shell --pure --keep SELECTED_IMPURE_VAR /lix-src/build/tests/functional/shell.nix -A shellDrv --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX - $SELECTED_IMPURE_VAR"'
+(nix-shell.sh:24) output=' - foo - bar - baz'
+(nix-shell.sh:26) '[' ' - foo - bar - baz' = ' - foo - bar - baz' ']'
+++(nix-shell.sh:30) nix-instantiate /lix-src/build/tests/functional/shell.nix -A shellDrv
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
++(nix-shell.sh:30) nix-shell --pure '/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/2ld9wawdgi1gsf51cgcp3z2iw37yj2sb-shellDrv.drv!dev' --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX - $TEST_inNixShell"'
+(nix-shell.sh:30) [[ - foo - bar - false = \ \-\ \f\o\o\ \-\ \b\a\r\ \-\ \f\a\l\s\e ]]
+++(nix-shell.sh:33) nix-instantiate /lix-src/build/tests/functional/shell.nix -A shellDrv
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
++(nix-shell.sh:33) nix-shell --pure '/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/2ld9wawdgi1gsf51cgcp3z2iw37yj2sb-shellDrv.drv!dev' --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX - $TEST_inNixShell"'
+(nix-shell.sh:33) [[ - foo - bar - false = \ \-\ \f\o\o\ \-\ \b\a\r\ \-\ \f\a\l\s\e ]]
+(nix-shell.sh:38) nix-instantiate /lix-src/build/tests/functional/shell.nix -A shellDrv --add-root /tmp/nix-shell.MrxVR3/nix-test/nix-shell/shell.drv
++(nix-shell.sh:40) nix-shell --pure /tmp/nix-shell.MrxVR3/nix-test/nix-shell/shell.drv --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX"'
+(nix-shell.sh:40) [[ - foo - bar = \ \-\ \f\o\o\ \-\ \b\a\r ]]
+(nix-shell.sh:43) nix-instantiate /lix-src/build/tests/functional/shell.nix -A shellDrv --add-root /tmp/nix-shell.MrxVR3/nix-test/nix-shell/shell
++(nix-shell.sh:45) nix-shell --pure /tmp/nix-shell.MrxVR3/nix-test/nix-shell/shell --run 'echo "$IMPURE_VAR - $VAR_FROM_STDENV_SETUP - $VAR_FROM_NIX"'
+(nix-shell.sh:45) [[ - foo - bar = \ \-\ \f\o\o\ \-\ \b\a\r ]]
++(nix-shell.sh:48) NIX_PATH=nixpkgs=/lix-src/build/tests/functional/shell.nix
++(nix-shell.sh:48) nix-shell --pure -p foo bar --run 'echo "$(foo) $(bar)"'
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/9v9ykz0jiwndr0d6n2aflcrhdvnwa8i3-bar.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/d51wxrbawq72ak9whkwinqr2jsf8bh6g-foo.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/9v9ykz0jiwndr0d6n2aflcrhdvnwa8i3-bar.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/d51wxrbawq72ak9whkwinqr2jsf8bh6g-foo.drv'...
+(nix-shell.sh:48) output='foo bar'
+(nix-shell.sh:49) '[' 'foo bar' = 'foo bar' ']'
++(nix-shell.sh:52) NIX_PATH=nixpkgs=/lix-src/build/tests/functional/shell.nix
++(nix-shell.sh:52) nix-shell --pure -p foo --argstr fooContents baz --run 'echo "$(foo)"'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/rxii4zlb13izqz1klzs8291waxzzcclw-foo.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/rxii4zlb13izqz1klzs8291waxzzcclw-foo.drv'...
+(nix-shell.sh:52) output=baz
+(nix-shell.sh:53) '[' baz = baz ']'
++(nix-shell.sh:56) type -P env
+(nix-shell.sh:56) sed -e 's|@ENV_PROG@|/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin/env|' shell.shebang.sh
+(nix-shell.sh:57) chmod a+rx /tmp/nix-shell.MrxVR3/nix-test/nix-shell/shell.shebang.sh
++(nix-shell.sh:59) /tmp/nix-shell.MrxVR3/nix-test/nix-shell/shell.shebang.sh abc def
+(nix-shell.sh:59) output='foo bar abc def'
+(nix-shell.sh:60) '[' 'foo bar abc def' = 'foo bar abc def' ']'
++(nix-shell.sh:64) type -P env
+(nix-shell.sh:64) sed -e 's|@ENV_PROG@|/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin/env|' shell.shebang.sh
+(nix-shell.sh:65) chmod a+rx '/tmp/nix-shell.MrxVR3/nix-test/nix-shell/spaced \'\''"shell.shebang.sh'
++(nix-shell.sh:67) '/tmp/nix-shell.MrxVR3/nix-test/nix-shell/spaced \'\''"shell.shebang.sh' abc def
+(nix-shell.sh:67) output='foo bar abc def'
+(nix-shell.sh:68) '[' 'foo bar abc def' = 'foo bar abc def' ']'
++(nix-shell.sh:73) type -P nix-shell
+(nix-shell.sh:73) sed -e 's|@SHELL_PROG@|/lix-src/outputs/out/bin/nix-shell|' shell.shebang.rb
+(nix-shell.sh:74) chmod a+rx /tmp/nix-shell.MrxVR3/nix-test/nix-shell/shell.shebang.rb
++(nix-shell.sh:76) /tmp/nix-shell.MrxVR3/nix-test/nix-shell/shell.shebang.rb abc ruby
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/m4fjglm3mcfkfv7i6f0396vqs4jp0prl-ruby.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/m4fjglm3mcfkfv7i6f0396vqs4jp0prl-ruby.drv'...
+(nix-shell.sh:76) output='-e load(ARGV.shift) -- /tmp/nix-shell.MrxVR3/nix-test/nix-shell/shell.shebang.rb abc ruby'
+(nix-shell.sh:77) '[' '-e load(ARGV.shift) -- /tmp/nix-shell.MrxVR3/nix-test/nix-shell/shell.shebang.rb abc ruby' = '-e load(ARGV.shift) -- /tmp/nix-shell.MrxVR3/nix-test/nix-shell/shell.shebang.rb abc ruby' ']'
++(nix-shell.sh:81) type -P nix-shell
+(nix-shell.sh:81) sed -e 's|@SHELL_PROG@|/lix-src/outputs/out/bin/nix-shell|' shell.shebang.rb
+(nix-shell.sh:82) chmod a+rx '/tmp/nix-shell.MrxVR3/nix-test/nix-shell/spaced \'\''"shell.shebang.rb'
++(nix-shell.sh:84) '/tmp/nix-shell.MrxVR3/nix-test/nix-shell/spaced \'\''"shell.shebang.rb' abc ruby
+(nix-shell.sh:84) output='-e load(ARGV.shift) -- /tmp/nix-shell.MrxVR3/nix-test/nix-shell/spaced \'\''"shell.shebang.rb abc ruby'
+(nix-shell.sh:85) '[' '-e load(ARGV.shift) -- /tmp/nix-shell.MrxVR3/nix-test/nix-shell/spaced \'\''"shell.shebang.rb abc ruby' = '-e load(ARGV.shift) -- /tmp/nix-shell.MrxVR3/nix-test/nix-shell/spaced \'\''"shell.shebang.rb abc ruby' ']'
++(nix-shell.sh:88) type -P env
+(nix-shell.sh:88) sed -e 's|@ENV_PROG@|/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin/env|' shell.shebang.nix
+(nix-shell.sh:89) chmod a+rx /tmp/nix-shell.MrxVR3/nix-test/nix-shell/shell.shebang.nix
+(nix-shell.sh:90) /tmp/nix-shell.MrxVR3/nix-test/nix-shell/shell.shebang.nix
+(nix-shell.sh:93) nix develop -f /lix-src/build/tests/functional/shell.nix shellDrv -c bash -c '[[ -n $stdenv ]]'
building '/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/j993sfrx4hkrx9yisflk7kcjnncdqdj2-shellDrv-env.drv'...
warning: cannot read flake registry '/tmp/nix-shell.MrxVR3/nix-test/nix-shell/registry.json': path does not exist
error (ignored): error: cannot find flake 'flake:nixpkgs' in the flake registries
+(nix-shell.sh:96) echo foo
+(nix-shell.sh:96) nix develop -f /lix-src/build/tests/functional/shell.nix shellDrv -c cat
+(nix-shell.sh:96) grepQuiet foo
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep foo
warning: cannot read flake registry '/tmp/nix-shell.MrxVR3/nix-test/nix-shell/registry.json': path does not exist
error (ignored): error: cannot find flake 'flake:nixpkgs' in the flake registries
+(nix-shell.sh:99) nix develop -f /lix-src/build/tests/functional/shell.nix shellDrv -c echo foo
+(nix-shell.sh:99) grepQuiet foo
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep foo
+(nix-shell.sh:103) nix print-dev-env -f /lix-src/build/tests/functional/shell.nix shellDrv
+(nix-shell.sh:104) nix print-dev-env -f /lix-src/build/tests/functional/shell.nix shellDrv --json
++(nix-shell.sh:108) nix-instantiate /lix-src/build/tests/functional/shell.nix -A shellDrv.out
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(nix-shell.sh:108) shellDrv=/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/2ld9wawdgi1gsf51cgcp3z2iw37yj2sb-shellDrv.drv
+(nix-shell.sh:110) nix develop /tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/2ld9wawdgi1gsf51cgcp3z2iw37yj2sb-shellDrv.drv -c bash -c '[[ -n $stdenv ]]'
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/2ld9wawdgi1gsf51cgcp3z2iw37yj2sb-shellDrv.drv^*'
warning: cannot read flake registry '/tmp/nix-shell.MrxVR3/nix-test/nix-shell/registry.json': path does not exist
error (ignored): error: cannot find flake 'flake:nixpkgs' in the flake registries
+(nix-shell.sh:112) nix print-dev-env /tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/2ld9wawdgi1gsf51cgcp3z2iw37yj2sb-shellDrv.drv
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/2ld9wawdgi1gsf51cgcp3z2iw37yj2sb-shellDrv.drv^*'
+(nix-shell.sh:113) nix print-dev-env /tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/2ld9wawdgi1gsf51cgcp3z2iw37yj2sb-shellDrv.drv --json
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/2ld9wawdgi1gsf51cgcp3z2iw37yj2sb-shellDrv.drv^*'
+(nix-shell.sh:115) diff /tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh /tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env2.sh
+(nix-shell.sh:116) diff /tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.json /tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env2.json
++(nix-shell.sh:119) jq -r '.variables.arr1.value[2]' /tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.json
+(nix-shell.sh:119) [[ 3 4 = \3\ \4 ]]
+(nix-shell.sh:124) set -u
+(nix-shell.sh:128) path=/lix-src/outputs/out/bin:/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:/lix-src/outputs/out/bin:/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6/bin:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/bin:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/bin:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6/bin:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/bin:/nix/store/cww3k56xakjzf71wjc4jwcj7r95m97a1-glibc-2.38-66-bin/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40/bin:/nix/store/01bi48ga8vzbz4zgh7g3bsl620cj27kj-binutils-2.40/bin:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/bin:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/bin:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/bin:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/bin:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/bin:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3/bin:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6/bin:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/bin:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0/bin:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers/bin:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes/bin:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt/bin:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0/bin:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/bin:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/bin:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/bin:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/bin:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/bin:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/bin:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7/bin:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/bin:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/bin:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7/bin:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/bin:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin:/tools:/bin
+(nix-shell.sh:129) source /tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:1) unset shellHook
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:2) PATH=/lix-src/outputs/out/bin:/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:/lix-src/outputs/out/bin:/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6/bin:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/bin:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/bin:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6/bin:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/bin:/nix/store/cww3k56xakjzf71wjc4jwcj7r95m97a1-glibc-2.38-66-bin/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40/bin:/nix/store/01bi48ga8vzbz4zgh7g3bsl620cj27kj-binutils-2.40/bin:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/bin:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/bin:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/bin:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/bin:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/bin:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3/bin:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6/bin:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/bin:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0/bin:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers/bin:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes/bin:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt/bin:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0/bin:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/bin:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/bin:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/bin:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/bin:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/bin:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/bin:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7/bin:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/bin:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/bin:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7/bin:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/bin:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin:/tools:/bin
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:3) nix_saved_PATH=/lix-src/outputs/out/bin:/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:/lix-src/outputs/out/bin:/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6/bin:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/bin:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/bin:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6/bin:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/bin:/nix/store/cww3k56xakjzf71wjc4jwcj7r95m97a1-glibc-2.38-66-bin/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40/bin:/nix/store/01bi48ga8vzbz4zgh7g3bsl620cj27kj-binutils-2.40/bin:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/bin:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/bin:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/bin:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/bin:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/bin:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3/bin:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6/bin:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/bin:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0/bin:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers/bin:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes/bin:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt/bin:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0/bin:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/bin:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/bin:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/bin:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/bin:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/bin:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/bin:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7/bin:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/bin:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/bin:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7/bin:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/bin:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin:/tools:/bin
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:4) XDG_DATA_DIRS=/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/share:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/share:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/share:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/share:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/share:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/share:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/share:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/share:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/share:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/share:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/share:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/share:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/share:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/share:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/share:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/share:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/share:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/share:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/share:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/share:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/share:/lix-src/outputs/out/share
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:5) nix_saved_XDG_DATA_DIRS=/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/share:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/share:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/share:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/share:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/share:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/share:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/share:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/share:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/share:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/share:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/share:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/share:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/share:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/share:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/share:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/share:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/share:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/share:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/share:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/share:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/share:/lix-src/outputs/out/share
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:6) ASCII_AT=@
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:7) export ASCII_AT
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:8) ASCII_PERCENT=%
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:9) export ASCII_PERCENT
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:10) BASH=/bin/bash
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:11) HOSTTYPE=x86_64
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:13) IFS='
'
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:14) IN_NIX_SHELL=impure
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:15) export IN_NIX_SHELL
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:16) LINENO=76
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:17) MACHTYPE=x86_64-pc-linux-gnu
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:18) NIX_BUILD_CORES=16
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:19) export NIX_BUILD_CORES
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:20) NIX_STORE=/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:21) export NIX_STORE
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:22) OLDPWD=
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:23) export OLDPWD
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:24) OPTERR=1
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:25) OSTYPE=linux-gnu
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:26) PATH=/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:27) export PATH
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:28) PS4='+ '
++ SHELL=/bin/bash
++ TEST_inNixShell=false
++ export TEST_inNixShell
++ VAR_FROM_NIX=bar
++ export VAR_FROM_NIX
++ VAR_FROM_STDENV_SETUP=foo
++ export VAR_FROM_STDENV_SETUP
++ arr1=('1' '2' '3 4' '5')
++ declare -a arr1
++ arr2=('x' '
' 'x
y')
++ declare -a arr2
++ builder=/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash
++ export builder
++ dev=/lix-src/build/tests/functional/outputs/dev
++ export dev
++ dontAddDisableDepTrack=1
++ export dontAddDisableDepTrack
++ name=shellDrv-env
++ export name
++ out=/lix-src/build/tests/functional/outputs/out
++ export out
++ outputs='dev out'
++ export outputs
++ stdenv=/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/q0bl141624hzgd77p3g5y3mnkwlrzplp-stdenv
++ export stdenv
++ system=x86_64-linux
++ export system
++ PATH=/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/lix-src/outputs/out/bin:/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:/lix-src/outputs/out/bin:/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6/bin:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/bin:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/bin:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6/bin:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/bin:/nix/store/cww3k56xakjzf71wjc4jwcj7r95m97a1-glibc-2.38-66-bin/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40/bin:/nix/store/01bi48ga8vzbz4zgh7g3bsl620cj27kj-binutils-2.40/bin:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/bin:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/bin:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/bin:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/bin:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/bin:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3/bin:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6/bin:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/bin:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0/bin:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers/bin:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes/bin:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt/bin:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0/bin:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/bin:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/bin:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/bin:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/bin:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/bin:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/bin:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7/bin:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/bin:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/bin:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7/bin:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/bin:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin:/tools:/bin
++ XDG_DATA_DIRS=/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/share:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/share:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/share:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/share:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/share:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/share:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/share:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/share:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/share:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/share:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/share:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/share:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/share:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/share:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/share:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/share:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/share:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/share:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/share:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/share:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/share:/lix-src/outputs/out/share:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/share:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/share:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/share:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/share:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/share:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/share:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/share:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/share:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/share:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/share:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/share:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/share:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/share:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/share:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/share:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/share:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/share:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/share:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/share:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/share:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/share:/lix-src/outputs/out/share
+++ mktemp -d -t nix-shell.XXXXXX
++ export NIX_BUILD_TOP=/tmp/nix-shell.MrxVR3/nix-shell.ckgndF
++ NIX_BUILD_TOP=/tmp/nix-shell.MrxVR3/nix-shell.ckgndF
++ export TMP=/tmp/nix-shell.MrxVR3/nix-shell.ckgndF
++ TMP=/tmp/nix-shell.MrxVR3/nix-shell.ckgndF
++ export TMPDIR=/tmp/nix-shell.MrxVR3/nix-shell.ckgndF
++ TMPDIR=/tmp/nix-shell.MrxVR3/nix-shell.ckgndF
++ export TEMP=/tmp/nix-shell.MrxVR3/nix-shell.ckgndF
++ TEMP=/tmp/nix-shell.MrxVR3/nix-shell.ckgndF
++ export TEMPDIR=/tmp/nix-shell.MrxVR3/nix-shell.ckgndF
++ TEMPDIR=/tmp/nix-shell.MrxVR3/nix-shell.ckgndF
++ eval ''
+ [[ -n /tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/q0bl141624hzgd77p3g5y3mnkwlrzplp-stdenv ]]
+ [[ 3 4 = \3\ \4 ]]
+ [[
= \
]]
+ [[ x
y = \x\
\y ]]
++ fun
++ echo blabla
+ [[ blabla = blabla ]]
++ jq -r .variables.PATH.value /tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.json
+ [[ /nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/lix-src/outputs/out/bin:/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:/lix-src/outputs/out/bin:/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6/bin:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/bin:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/bin:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6/bin:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/bin:/nix/store/cww3k56xakjzf71wjc4jwcj7r95m97a1-glibc-2.38-66-bin/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40/bin:/nix/store/01bi48ga8vzbz4zgh7g3bsl620cj27kj-binutils-2.40/bin:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/bin:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/bin:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/bin:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/bin:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/bin:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3/bin:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6/bin:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/bin:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0/bin:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers/bin:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes/bin:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt/bin:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0/bin:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/bin:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/bin:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/bin:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/bin:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/bin:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/bin:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7/bin:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/bin:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/bin:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7/bin:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/bin:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin:/tools:/bin = /nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/lix-src/outputs/out/bin:/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:/lix-src/outputs/out/bin:/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6/bin:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/bin:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/bin:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6/bin:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/bin:/nix/store/cww3k56xakjzf71wjc4jwcj7r95m97a1-glibc-2.38-66-bin/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40/bin:/nix/store/01bi48ga8vzbz4zgh7g3bsl620cj27kj-binutils-2.40/bin:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/bin:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/bin:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/bin:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/bin:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/bin:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3/bin:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6/bin:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/bin:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0/bin:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers/bin:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes/bin:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt/bin:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0/bin:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/bin:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/bin:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/bin:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/bin:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/bin:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/bin:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7/bin:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/bin:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/bin:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7/bin:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/bin:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin:/tools:/bin ]]
+(nix-shell.sh:140) path=/lix-src/outputs/out/bin:/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:/lix-src/outputs/out/bin:/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6/bin:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/bin:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/bin:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6/bin:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/bin:/nix/store/cww3k56xakjzf71wjc4jwcj7r95m97a1-glibc-2.38-66-bin/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40/bin:/nix/store/01bi48ga8vzbz4zgh7g3bsl620cj27kj-binutils-2.40/bin:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/bin:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/bin:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/bin:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/bin:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/bin:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3/bin:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6/bin:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/bin:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0/bin:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers/bin:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes/bin:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt/bin:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0/bin:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/bin:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/bin:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/bin:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/bin:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/bin:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/bin:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7/bin:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/bin:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/bin:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7/bin:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/bin:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin:/tools:/bin
+(nix-shell.sh:141) PATH=
+(nix-shell.sh:142) source /tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:1) unset shellHook
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:2) PATH=
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:3) nix_saved_PATH=
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:4) XDG_DATA_DIRS=/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/share:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/share:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/share:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/share:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/share:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/share:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/share:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/share:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/share:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/share:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/share:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/share:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/share:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/share:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/share:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/share:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/share:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/share:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/share:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/share:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/share:/lix-src/outputs/out/share
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:5) nix_saved_XDG_DATA_DIRS=/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/share:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/share:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/share:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/share:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/share:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/share:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/share:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/share:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/share:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/share:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/share:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/share:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/share:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/share:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/share:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/share:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/share:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/share:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/share:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/share:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/share:/lix-src/outputs/out/share
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:6) ASCII_AT=@
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:7) export ASCII_AT
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:8) ASCII_PERCENT=%
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:9) export ASCII_PERCENT
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:10) BASH=/bin/bash
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:11) HOSTTYPE=x86_64
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:13) IFS='
'
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:14) IN_NIX_SHELL=impure
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:15) export IN_NIX_SHELL
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:16) LINENO=76
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:17) MACHTYPE=x86_64-pc-linux-gnu
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:18) NIX_BUILD_CORES=16
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:19) export NIX_BUILD_CORES
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:20) NIX_STORE=/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:21) export NIX_STORE
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:22) OLDPWD=
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:23) export OLDPWD
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:24) OPTERR=1
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:25) OSTYPE=linux-gnu
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:26) PATH=/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:27) export PATH
++(/tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.sh:28) PS4='+ '
++ SHELL=/bin/bash
++ TEST_inNixShell=false
++ export TEST_inNixShell
++ VAR_FROM_NIX=bar
++ export VAR_FROM_NIX
++ VAR_FROM_STDENV_SETUP=foo
++ export VAR_FROM_STDENV_SETUP
++ arr1=('1' '2' '3 4' '5')
++ declare -a arr1
++ arr2=('x' '
' 'x
y')
++ declare -a arr2
++ builder=/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash
++ export builder
++ dev=/lix-src/build/tests/functional/outputs/dev
++ export dev
++ dontAddDisableDepTrack=1
++ export dontAddDisableDepTrack
++ name=shellDrv-env
++ export name
++ out=/lix-src/build/tests/functional/outputs/out
++ export out
++ outputs='dev out'
++ export outputs
++ stdenv=/tmp/nix-shell.MrxVR3/nix-test/nix-shell/store/q0bl141624hzgd77p3g5y3mnkwlrzplp-stdenv
++ export stdenv
++ system=x86_64-linux
++ export system
++ PATH=/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin
++ XDG_DATA_DIRS=/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/share:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/share:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/share:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/share:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/share:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/share:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/share:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/share:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/share:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/share:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/share:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/share:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/share:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/share:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/share:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/share:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/share:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/share:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/share:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/share:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/share:/lix-src/outputs/out/share:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/share:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/share:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/share:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/share:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/share:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/share:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/share:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/share:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/share:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/share:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/share:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/share:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/share:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/share:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/share:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/share:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/share:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/share:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/share:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/share:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/share:/lix-src/outputs/out/share
+++ mktemp -d -t nix-shell.XXXXXX
++ export NIX_BUILD_TOP=/tmp/nix-shell.MrxVR3/nix-shell.TjBsH1
++ NIX_BUILD_TOP=/tmp/nix-shell.MrxVR3/nix-shell.TjBsH1
++ export TMP=/tmp/nix-shell.MrxVR3/nix-shell.TjBsH1
++ TMP=/tmp/nix-shell.MrxVR3/nix-shell.TjBsH1
++ export TMPDIR=/tmp/nix-shell.MrxVR3/nix-shell.TjBsH1
++ TMPDIR=/tmp/nix-shell.MrxVR3/nix-shell.TjBsH1
++ export TEMP=/tmp/nix-shell.MrxVR3/nix-shell.TjBsH1
++ TEMP=/tmp/nix-shell.MrxVR3/nix-shell.TjBsH1
++ export TEMPDIR=/tmp/nix-shell.MrxVR3/nix-shell.TjBsH1
++ TEMPDIR=/tmp/nix-shell.MrxVR3/nix-shell.TjBsH1
++ eval ''
++ PATH=/lix-src/outputs/out/bin:/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:/lix-src/outputs/out/bin:/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6/bin:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/bin:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/bin:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6/bin:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/bin:/nix/store/cww3k56xakjzf71wjc4jwcj7r95m97a1-glibc-2.38-66-bin/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40/bin:/nix/store/01bi48ga8vzbz4zgh7g3bsl620cj27kj-binutils-2.40/bin:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/bin:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/bin:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/bin:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/bin:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/bin:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3/bin:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6/bin:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/bin:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0/bin:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers/bin:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes/bin:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt/bin:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0/bin:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/bin:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/bin:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/bin:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/bin:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/bin:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/bin:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7/bin:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/bin:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/bin:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7/bin:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/bin:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin:/tools:/bin
++ jq -r .variables.PATH.value /tmp/nix-shell.MrxVR3/nix-test/nix-shell/dev-env.json
+ [[ /nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin = /nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin ]]
+(nix-shell.sh:147) cat
+(nix-shell.sh:152) nix-shell /tmp/nix-shell.MrxVR3/nix-test/nix-shell/shell-ellipsis.nix --run trueclearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(secure-drv-outputs.sh:7) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/test-home/.local/state/nix/profiles
+(secure-drv-outputs.sh:9) startDaemon
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:91) [[ '' != '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:95) rm -f /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/dSocket
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:97) _NIX_TEST_DAEMON_PID=32094
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:98) export _NIX_TEST_DAEMON_PID
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:99) (( i = 0 ))
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:99) (( i < 300 ))
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:100) [[ -S /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/dSocket ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:104) sleep 0.1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:96) PATH=/lix-src/outputs/out/bin:/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:/lix-src/outputs/out/bin:/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6/bin:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/bin:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/bin:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6/bin:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/bin:/nix/store/cww3k56xakjzf71wjc4jwcj7r95m97a1-glibc-2.38-66-bin/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40/bin:/nix/store/01bi48ga8vzbz4zgh7g3bsl620cj27kj-binutils-2.40/bin:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/bin:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/bin:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/bin:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/bin:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/bin:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3/bin:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6/bin:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/bin:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0/bin:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers/bin:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes/bin:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt/bin:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0/bin:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/bin:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/bin:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/bin:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/bin:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/bin:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/bin:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7/bin:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/bin:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/bin:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7/bin:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/bin:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin:/tools:/bin
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:96) nix --extra-experimental-features nix-command daemon
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:99) (( i++ ))
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:99) (( i < 300 ))
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:100) [[ -S /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/dSocket ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:101) DAEMON_STARTED=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:102) break
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:106) [[ -z x ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:109) trap killDaemon EXIT
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:111) NIX_REMOTE_OLD=
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:112) export NIX_REMOTE=daemon
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:112) NIX_REMOTE=daemon
+++(secure-drv-outputs.sh:12) nix-instantiate ./secure-drv-outputs.nix -A good
accepted connection from pid 32231, user root (trusted)
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
++(secure-drv-outputs.sh:12) nix-store -q /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store/7mzkyc763wlx2j97ybs6s3rfmzghiggs-good.drv
accepted connection from pid 32230, user root (trusted)
+(secure-drv-outputs.sh:12) goodOut=/tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store/lj736xg7k8875qcqw5n50l7j0c6nxi0c-good
++(secure-drv-outputs.sh:15) nix-instantiate ./secure-drv-outputs.nix -A bad
accepted connection from pid 32323, user root (trusted)
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(secure-drv-outputs.sh:15) badDrv=/tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store/km45dxw6an8vdkriq3cn95923wcyv0cj-good.drv
++(secure-drv-outputs.sh:16) nix-store -q /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store/km45dxw6an8vdkriq3cn95923wcyv0cj-good.drv
accepted connection from pid 32362, user root (trusted)
+(secure-drv-outputs.sh:16) badOut=/tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store/af8gd3jhw3ylm18nj4iswgd1yv7ad77k-good
+(secure-drv-outputs.sh:20) rm -f /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/bad.drv
+(secure-drv-outputs.sh:21) sed -e 's|/tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store/af8gd3jhw3ylm18nj4iswgd1yv7ad77k-good|/tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store/lj736xg7k8875qcqw5n50l7j0c6nxi0c-good|g'
++(secure-drv-outputs.sh:25) nix-store --add /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/bad.drv
accepted connection from pid 32431, user root (trusted)
error: derivation '/tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store/5rdwcxh2niikyr2dqr4m36yl4ihpwxfr-bad.drv' has incorrect output '/tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store/lj736xg7k8875qcqw5n50l7j0c6nxi0c-good', should be '/tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store/3nqfxb03866k9gsmn55ynza09v86q703-bad'
+(secure-drv-outputs.sh:25) badDrv2=
++(secure-drv-outputs.sh:30) nix-build ./secure-drv-outputs.nix -A good --no-out-link
accepted connection from pid 32496, user root (trusted)
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store/7mzkyc763wlx2j97ybs6s3rfmzghiggs-good.drv
building '/tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store/7mzkyc763wlx2j97ybs6s3rfmzghiggs-good.drv'...
+(secure-drv-outputs.sh:30) goodOut2=/tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store/lj736xg7k8875qcqw5n50l7j0c6nxi0c-good
+(secure-drv-outputs.sh:31) test /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store/lj736xg7k8875qcqw5n50l7j0c6nxi0c-good = /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store/lj736xg7k8875qcqw5n50l7j0c6nxi0c-good
+(secure-drv-outputs.sh:33) test -e /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/store/lj736xg7k8875qcqw5n50l7j0c6nxi0c-good/good
+(secure-drv-outputs.sh:1) killDaemon
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:117) [[ 32094 == '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:120) kill 32094
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:121) for i in {0..100}
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:122) kill -0 32094
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:123) sleep 0.1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:121) for i in {0..100}
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:122) kill -0 32094
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:122) break
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:125) kill -9 32094
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:125) true
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:126) wait 32094
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:127) rm -f /tmp/nix-shell.MrxVR3/nix-test/secure-drv-outputs/dSocket
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:129) unset _NIX_TEST_DAEMON_PID
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:131) NIX_REMOTE=
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:132) trap '' EXITclearing store...
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/fetchGit/git/.git/
[master (root-commit) 402525a] Bla1
2 files changed, 1 insertion(+)
create mode 100644 .gitignore
create mode 100644 hello
[master 42db136] Bla2
1 file changed, 1 insertion(+), 1 deletion(-)
HEAD is now at 42db136 Bla2
[devtest 9b59aba] Test2
1 file changed, 1 insertion(+)
create mode 100644 differentbranch
rm 'hello'
[master 72e1ec8] Bla3
2 files changed, 1 insertion(+), 1 deletion(-)
create mode 100644 dir1/foo
delete mode 100644 hello
[master 2471eb0] Bla4
1 file changed, 1 insertion(+)
create mode 100644 hello
[dev 07388a0] Bla5
1 file changed, 1 insertion(+), 1 deletion(-)
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/fetchGit/minimal/.git/
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/fetchGit/git/.git/
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/fetchGit/a b/.git/
[master (root-commit) 16c14b2] Bla1
2 files changed, 1 insertion(+)
create mode 100644 .gitignore
create mode 100644 hello
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/fetchGit
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/fetchGit
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/fetchGit
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchGit
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGit
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGit/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/fetchGit/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGit/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGit/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/fetchGit/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(fetchGit.sh:3) requireGit
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) type -p git
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) [[ -n /nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin/git ]]
+(fetchGit.sh:5) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchGit/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGit/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchGit/test-home/.local/state/nix/profiles
+(fetchGit.sh:9) repo=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git
+(fetchGit.sh:11) export _NIX_FORCE_HTTP=1
+(fetchGit.sh:11) _NIX_FORCE_HTTP=1
+(fetchGit.sh:13) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git-tmp /tmp/nix-shell.MrxVR3/nix-test/fetchGit/test-home/.cache/nix /tmp/nix-shell.MrxVR3/nix-test/fetchGit/worktree /tmp/nix-shell.MrxVR3/nix-test/fetchGit/shallow /tmp/nix-shell.MrxVR3/nix-test/fetchGit/minimal
+(fetchGit.sh:15) git init /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(fetchGit.sh:16) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git config user.email foobar@example.com
+(fetchGit.sh:17) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git config user.name Foobar
+(fetchGit.sh:19) echo utrecht
+(fetchGit.sh:20) touch /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git/.gitignore
+(fetchGit.sh:21) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git add hello .gitignore
+(fetchGit.sh:22) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git commit -m Bla1
++(fetchGit.sh:23) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git rev-parse HEAD
+(fetchGit.sh:23) rev1=402525a678d13992f9361a536f775db783673f65
+(fetchGit.sh:24) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git tag -a tag1 -m tag1
+(fetchGit.sh:26) echo world
+(fetchGit.sh:27) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git commit -m Bla2 -a
+(fetchGit.sh:28) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git worktree add /tmp/nix-shell.MrxVR3/nix-test/fetchGit/worktree
Preparing worktree (new branch 'worktree')
+(fetchGit.sh:29) echo hello
++(fetchGit.sh:30) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git rev-parse HEAD
+(fetchGit.sh:30) rev2=42db1362dfcd448aef094efb0ab5d5e4316559c1
+(fetchGit.sh:31) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git tag -a tag2 -m tag2
+(fetchGit.sh:34) unset _NIX_FORCE_HTTP
++(fetchGit.sh:35) nix eval --impure --raw --expr '(builtins.fetchGit file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/worktree).outPath'
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/worktree' is dirty
+(fetchGit.sh:35) path0=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/zg6wrr281vv3s1b59vrkfalvz3qpnbnx-source
++(fetchGit.sh:36) nix eval --impure --raw --expr '(builtins.fetchTree { type = "git"; url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/worktree; }).outPath'
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/worktree' is dirty
+(fetchGit.sh:36) path0_=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/zg6wrr281vv3s1b59vrkfalvz3qpnbnx-source
+(fetchGit.sh:37) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/zg6wrr281vv3s1b59vrkfalvz3qpnbnx-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/zg6wrr281vv3s1b59vrkfalvz3qpnbnx-source ]]
+(fetchGit.sh:38) export _NIX_FORCE_HTTP=1
+(fetchGit.sh:38) _NIX_FORCE_HTTP=1
++(fetchGit.sh:39) tail -n 1 /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/zg6wrr281vv3s1b59vrkfalvz3qpnbnx-source/hello
+(fetchGit.sh:39) [[ hello = \h\e\l\l\o ]]
++(fetchGit.sh:42) nix eval --impure --raw --expr '(builtins.fetchGit file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git).outPath'
\x1b[K
\x1b[K
\x1b[K
\x1b[K+(fetchGit.sh:42) path=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source
++(fetchGit.sh:43) cat /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source/hello
+(fetchGit.sh:43) [[ world = world ]]
+(fetchGit.sh:46) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git checkout -b devtest
Switched to a new branch 'devtest'
+(fetchGit.sh:47) echo 'different file'
+(fetchGit.sh:48) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git add differentbranch
+(fetchGit.sh:49) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git commit -m Test2
+(fetchGit.sh:50) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git checkout master
Switched to branch 'master'
++(fetchGit.sh:51) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git rev-parse devtest
+(fetchGit.sh:51) devrev=9b59aba4afcc5ec1ff58206ce5cb103fda144896
++(fetchGit.sh:52) nix eval --impure --raw --expr 'builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git; rev = "9b59aba4afcc5ec1ff58206ce5cb103fda144896"; }'
+(fetchGit.sh:52) out='
\x1b[K
\x1b[K
\x1b[K
\x1b[Kerror:
… while calling the '\''fetchGit'\'' builtin
at «string»:1:1:
1| builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git; rev = "9b59aba4afcc5ec1ff58206ce5cb103fda144896"; }
| ^
… while fetching the input '\''git+file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git?rev=9b59aba4afcc5ec1ff58206ce5cb103fda144896'\''
error: Cannot find Git revision '\''9b59aba4afcc5ec1ff58206ce5cb103fda144896'\'' in ref '\''refs/heads/master'\'' of repository '\''file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git'\''! Please make sure that the rev exists on the ref you'\''ve specified or add allRefs = true; to fetchGit.'
+(fetchGit.sh:52) status=1
+(fetchGit.sh:53) [[ 1 == 1 ]]
+(fetchGit.sh:54) [[
\x1b[K
\x1b[K
\x1b[K
\x1b[Kerror:
… while calling the 'fetchGit' builtin
at «string»:1:1:
1| builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git; rev = "9b59aba4afcc5ec1ff58206ce5cb103fda144896"; }
| ^
… while fetching the input 'git+file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git?rev=9b59aba4afcc5ec1ff58206ce5cb103fda144896'
error: Cannot find Git revision '9b59aba4afcc5ec1ff58206ce5cb103fda144896' in ref 'refs/heads/master' of repository 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git'! Please make sure that the rev exists on the ref you've specified or add allRefs = true; to fetchGit. =~ Cannot find Git revision ]]
++(fetchGit.sh:56) nix eval --raw --expr 'builtins.readFile (builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git; rev = "9b59aba4afcc5ec1ff58206ce5cb103fda144896"; allRefs = true; } + "/differentbranch")'
\x1b[K
\x1b[K
\x1b[K
\x1b[K+(fetchGit.sh:56) [[ different file = \d\i\f\f\e\r\e\n\t\ \f\i\l\e ]]
++(fetchGit.sh:59) nix eval --impure --raw --expr 'builtins.readFile (fetchGit file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git + "/hello")'
\x1b[K
\x1b[K+(fetchGit.sh:59) [[ world = world ]]
+(fetchGit.sh:60) nix eval --raw --expr 'builtins.readFile (fetchGit file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git + "/hello")'
error:
… while calling the 'readFile' builtin
at «string»:1:1:
1| builtins.readFile (fetchGit file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git + "/hello")
| ^
… while calling the 'fetchGit' builtin
at «string»:1:20:
1| builtins.readFile (fetchGit file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git + "/hello")
| ^
error: in pure evaluation mode, 'fetchTree' requires a locked input
++(fetchGit.sh:63) nix eval --raw --expr '(builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git; rev = "42db1362dfcd448aef094efb0ab5d5e4316559c1"; }).outPath'
+(fetchGit.sh:63) path2=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source
+(fetchGit.sh:64) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source ]]
++(fetchGit.sh:67) nix eval --raw --expr 'builtins.readFile (fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git; rev = "42db1362dfcd448aef094efb0ab5d5e4316559c1"; } + "/hello")'
+(fetchGit.sh:67) [[ world = world ]]
+(fetchGit.sh:70) mv /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git-tmp
++(fetchGit.sh:71) nix eval --impure --raw --expr '(builtins.fetchGit file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git).outPath'
\x1b[K
\x1b[K+(fetchGit.sh:71) path2=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source
+(fetchGit.sh:72) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source ]]
++(fetchGit.sh:74) nix eval --impure --expr '(builtins.fetchGit file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git).revCount'
\x1b[K
\x1b[K+(fetchGit.sh:74) [[ 2 = 2 ]]
++(fetchGit.sh:75) nix eval --impure --raw --expr '(builtins.fetchGit file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git).rev'
\x1b[K
\x1b[K+(fetchGit.sh:75) [[ 42db1362dfcd448aef094efb0ab5d5e4316559c1 = 42db1362dfcd448aef094efb0ab5d5e4316559c1 ]]
++(fetchGit.sh:76) nix eval --impure --raw --expr '(builtins.fetchGit file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git).shortRev'
\x1b[K
\x1b[K+(fetchGit.sh:76) [[ 42db136 = 42db136 ]]
++(fetchGit.sh:79) nix eval --refresh --raw --expr '(builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git; rev = "42db1362dfcd448aef094efb0ab5d5e4316559c1"; }).outPath'
+(fetchGit.sh:79) path2=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source
+(fetchGit.sh:80) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source ]]
++(fetchGit.sh:82) nix eval --refresh --raw --expr '(builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git; rev = "402525a678d13992f9361a536f775db783673f65"; }).outPath'
\x1b[K
\x1b[K
\x1b[Kfatal: '/tmp/nix-shell.MrxVR3/nix-test/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.
\x1b[Kwarning: could not get HEAD ref for repository 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git'; using expired cached ref 'refs/heads/master'
+(fetchGit.sh:82) path2=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/1a00gfk0zrw3m49hy5q0w8b806c2v8lw-source
++(fetchGit.sh:83) cat /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/1a00gfk0zrw3m49hy5q0w8b806c2v8lw-source/hello
+(fetchGit.sh:83) [[ utrecht = utrecht ]]
+(fetchGit.sh:85) mv /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git-tmp /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git
++(fetchGit.sh:88) nix eval --impure --raw --expr '(builtins.fetchGit /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git).outPath'
\x1b[K
\x1b[K
\x1b[K
\x1b[K+(fetchGit.sh:88) path2=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source
+(fetchGit.sh:89) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source ]]
+(fetchGit.sh:92) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git/dir1 /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git/dir2
+(fetchGit.sh:93) echo foo
+(fetchGit.sh:94) echo bar
+(fetchGit.sh:95) echo bar
+(fetchGit.sh:96) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git add dir1/foo
+(fetchGit.sh:97) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git rm hello
+(fetchGit.sh:99) unset _NIX_FORCE_HTTP
++(fetchGit.sh:100) nix eval --impure --raw --expr '(builtins.fetchGit /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git).outPath'
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/git' is dirty
+(fetchGit.sh:100) path2=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/v5s067iiv72pql2sv30lhb2f3sf1h51d-source
+(fetchGit.sh:101) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/v5s067iiv72pql2sv30lhb2f3sf1h51d-source/hello ']'
+(fetchGit.sh:102) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/v5s067iiv72pql2sv30lhb2f3sf1h51d-source/bar ']'
+(fetchGit.sh:103) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/v5s067iiv72pql2sv30lhb2f3sf1h51d-source/dir2/bar ']'
+(fetchGit.sh:104) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/v5s067iiv72pql2sv30lhb2f3sf1h51d-source/.git ']'
++(fetchGit.sh:105) cat /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/v5s067iiv72pql2sv30lhb2f3sf1h51d-source/dir1/foo
+(fetchGit.sh:105) [[ foo = foo ]]
++(fetchGit.sh:107) nix eval --impure --raw --expr '(builtins.fetchGit /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git).rev'
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/git' is dirty
+(fetchGit.sh:107) [[ 0000000000000000000000000000000000000000 = 0000000000000000000000000000000000000000 ]]
++(fetchGit.sh:108) nix eval --impure --raw --expr '(builtins.fetchGit /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git).dirtyRev'
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/git' is dirty
+(fetchGit.sh:108) [[ 42db1362dfcd448aef094efb0ab5d5e4316559c1-dirty = \4\2\d\b\1\3\6\2\d\f\c\d\4\4\8\a\e\f\0\9\4\e\f\b\0\a\b\5\d\5\e\4\3\1\6\5\5\9\c\1\-\d\i\r\t\y ]]
++(fetchGit.sh:109) nix eval --impure --raw --expr '(builtins.fetchGit /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git).dirtyShortRev'
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/git' is dirty
+(fetchGit.sh:109) [[ 42db136-dirty = \4\2\d\b\1\3\6\-\d\i\r\t\y ]]
++(fetchGit.sh:112) nix eval --impure --raw --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git; ref = "master"; }).outPath'
+(fetchGit.sh:112) path3=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source
+(fetchGit.sh:113) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source ]]
++(fetchGit.sh:115) nix eval --raw --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git; rev = "42db1362dfcd448aef094efb0ab5d5e4316559c1"; }).outPath'
+(fetchGit.sh:115) path3=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source
+(fetchGit.sh:116) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source ]]
+(fetchGit.sh:119) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git commit -m Bla3 -a
++(fetchGit.sh:121) nix eval --impure --refresh --raw --expr '(builtins.fetchGit file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git).outPath'
\x1b[K
\x1b[K+(fetchGit.sh:121) path4=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/v5s067iiv72pql2sv30lhb2f3sf1h51d-source
+(fetchGit.sh:122) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/v5s067iiv72pql2sv30lhb2f3sf1h51d-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/v5s067iiv72pql2sv30lhb2f3sf1h51d-source ]]
++(fetchGit.sh:124) nix eval --impure --expr 'builtins.hasAttr "rev" (builtins.fetchGit /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git)'
\x1b[K
\x1b[K+(fetchGit.sh:124) [[ true == \t\r\u\e ]]
++(fetchGit.sh:125) nix eval --impure --expr 'builtins.hasAttr "dirtyRev" (builtins.fetchGit /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git)'
\x1b[K
\x1b[K+(fetchGit.sh:125) [[ false == \f\a\l\s\e ]]
++(fetchGit.sh:126) nix eval --impure --expr 'builtins.hasAttr "dirtyShortRev" (builtins.fetchGit /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git)'
\x1b[K
\x1b[K+(fetchGit.sh:126) [[ false == \f\a\l\s\e ]]
+(fetchGit.sh:128) status=0
+(fetchGit.sh:129) nix eval --impure --raw --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git; rev = "42db1362dfcd448aef094efb0ab5d5e4316559c1"; narHash = "sha256-B5yIPHhEm0eysJKEsO7nqxprh9vcblFxpJG11gXJus1="; }).outPath'
error:
… while calling the 'fetchGit' builtin
at «string»:1:2:
1| (builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git; rev = "42db1362dfcd448aef094efb0ab5d5e4316559c1"; narHash = "sha256-B5yIPHhEm0eysJKEsO7nqxprh9vcblFxpJG11gXJus1="; }).outPath
| ^
error: NAR hash mismatch in input 'git+file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/git?rev=42db1362dfcd448aef094efb0ab5d5e4316559c1' (/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source), expected 'sha256-B5yIPHhEm0eysJKEsO7nqxprh9vcblFxpJG11gXJus0=', got 'sha256-Hr8g6AqANb3xqX28eu1XnjK/3ab8Gv6TJSnkb1LezG8='
+(fetchGit.sh:129) status=102
+(fetchGit.sh:130) [[ 102 = \1\0\2 ]]
++(fetchGit.sh:132) nix eval --impure --raw --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git; rev = "42db1362dfcd448aef094efb0ab5d5e4316559c1"; narHash = "sha256-Hr8g6AqANb3xqX28eu1XnjK/3ab8Gv6TJSnkb1LezG9="; }).outPath'
+(fetchGit.sh:132) path5=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source
+(fetchGit.sh:133) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/cfjxnp8mj31ar12z8cp4lqix1anyn0i1-source ]]
+(fetchGit.sh:136) echo delft
+(fetchGit.sh:137) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git add hello
+(fetchGit.sh:138) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git commit -m Bla4
++(fetchGit.sh:139) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git rev-parse HEAD
+(fetchGit.sh:139) rev3=2471eb009294044bf2728788e6cf97536b099e7d
+(fetchGit.sh:140) nix eval --tarball-ttl 3600 --expr 'builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git; rev = "2471eb009294044bf2728788e6cf97536b099e7d"; }'
\x1b[K
\x1b[K++(fetchGit.sh:143) nix eval --impure --raw --expr '(builtins.fetchGit file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git).outPath'
\x1b[K
\x1b[K+(fetchGit.sh:143) path=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/0sv3rn6m2jc1cil2659bv4329iz2f7k8-source
+(fetchGit.sh:146) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git checkout 42db1362dfcd448aef094efb0ab5d5e4316559c1 -b dev
Switched to a new branch 'dev'
+(fetchGit.sh:147) echo dev
++(fetchGit.sh:150) nix eval --impure --raw --expr '(builtins.fetchGit file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git).outPath'
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git' is dirty
+(fetchGit.sh:150) path2=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source
++(fetchGit.sh:151) cat /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source/hello
+(fetchGit.sh:151) '[' dev = dev ']'
++(fetchGit.sh:154) nix eval --impure --raw --expr '(builtins.fetchGit /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git).outPath'
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/git' is dirty
+(fetchGit.sh:154) path3=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source
++(fetchGit.sh:156) nix eval --impure --raw --expr '(builtins.fetchGit /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git).rev'
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/git' is dirty
+(fetchGit.sh:156) [[ 0000000000000000000000000000000000000000 = 0000000000000000000000000000000000000000 ]]
++(fetchGit.sh:157) nix eval --impure --raw --expr '(builtins.fetchGit /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git).shortRev'
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/git' is dirty
+(fetchGit.sh:157) [[ 0000000 = 0000000 ]]
+(fetchGit.sh:160) echo world
++(fetchGit.sh:161) nix eval --impure --raw --expr '(builtins.fetchGit /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git).rev'
\x1b[K
\x1b[K+(fetchGit.sh:161) [[ 42db1362dfcd448aef094efb0ab5d5e4316559c1 = 42db1362dfcd448aef094efb0ab5d5e4316559c1 ]]
+(fetchGit.sh:164) echo dev
+(fetchGit.sh:165) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git commit -m Bla5 -a
++(fetchGit.sh:166) nix eval --impure --raw --expr '(builtins.fetchGit /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git).outPath'
\x1b[K
\x1b[K+(fetchGit.sh:166) path4=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source
++(fetchGit.sh:167) cat /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source/hello
+(fetchGit.sh:167) [[ dev = dev ]]
+(fetchGit.sh:168) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source ]]
+(fetchGit.sh:172) export _NIX_FORCE_HTTP=1
+(fetchGit.sh:172) _NIX_FORCE_HTTP=1
++(fetchGit.sh:173) nix eval --tarball-ttl 0 --impure --raw --expr '(builtins.fetchGit /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git).outPath'
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[K+(fetchGit.sh:173) path4=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source
++(fetchGit.sh:174) cat /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source/hello
+(fetchGit.sh:174) [[ dev = dev ]]
+(fetchGit.sh:175) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source ]]
+(fetchGit.sh:176) unset _NIX_FORCE_HTTP
++(fetchGit.sh:179) nix eval --impure --raw --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git; ref = "dev"; }).outPath'
+(fetchGit.sh:179) path5=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source
+(fetchGit.sh:180) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source ]]
+(fetchGit.sh:184) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchGit/test-home/.cache/nix
++(fetchGit.sh:187) command -v nix
+(fetchGit.sh:187) NIX=/lix-src/outputs/out/bin/nix
+(fetchGit.sh:188) PATH=
+(fetchGit.sh:188) /lix-src/outputs/out/bin/nix eval --impure --raw --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git; ref = "dev"; }).outPath'
\x1b[31;1merror:\x1b[0m executing '\x1b[35;1mgit\x1b[0m': \x1b[35;1mNo such file or directory\x1b[0m
error:
… while calling the 'fetchGit' builtin
at «string»:1:2:
1| (builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git; ref = "dev"; }).outPath
| ^
… while fetching the input 'git+file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/git?ref=dev'
error: program 'git' failed with exit code 1
++(fetchGit.sh:191) nix eval --impure --raw --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git; ref = "dev"; }).outPath'
+(fetchGit.sh:191) path5=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source
+(fetchGit.sh:192) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source ]]
+(fetchGit.sh:196) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGit/minimal
+(fetchGit.sh:197) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/minimal init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(fetchGit.sh:198) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/minimal fetch /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git 42db1362dfcd448aef094efb0ab5d5e4316559c1
From /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git
* branch 42db1362dfcd448aef094efb0ab5d5e4316559c1 -> FETCH_HEAD
+(fetchGit.sh:199) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/minimal checkout 42db1362dfcd448aef094efb0ab5d5e4316559c1
Note: switching to '42db1362dfcd448aef094efb0ab5d5e4316559c1'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 42db136 Bla2
++(fetchGit.sh:200) nix eval --impure --raw --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/minimal; }).rev'
\x1b[K
\x1b[K+(fetchGit.sh:200) [[ 42db1362dfcd448aef094efb0ab5d5e4316559c1 = 42db1362dfcd448aef094efb0ab5d5e4316559c1 ]]
+(fetchGit.sh:204) git clone --depth 1 file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git /tmp/nix-shell.MrxVR3/nix-test/fetchGit/shallow
Cloning into '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/shallow'...
+(fetchGit.sh:205) nix eval --impure --raw --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/shallow; ref = "dev"; }).outPath'
error:
… while calling the 'fetchGit' builtin
at «string»:1:2:
1| (builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/shallow; ref = "dev"; }).outPath
| ^
… while fetching the input 'git+file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/shallow?ref=dev'
error: '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/shallow' is a shallow Git repository, but shallow repositories are only allowed when `shallow = true;` is specified.
++(fetchGit.sh:208) nix eval --impure --raw --expr '(builtins.fetchTree { type = "git"; url = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/shallow"; ref = "dev"; shallow = true; }).outPath'
+(fetchGit.sh:208) path6=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source
+(fetchGit.sh:209) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source ]]
++(fetchGit.sh:210) nix eval --impure --expr '(builtins.fetchTree { type = "git"; url = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/shallow"; ref = "dev"; shallow = true; }).revCount or 123'
+(fetchGit.sh:210) [[ 123 == 123 ]]
++(fetchGit.sh:213) nix eval --impure --raw --expr '(builtins.fetchGit { url = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git"; ref = "HEAD"; }).outPath'
+(fetchGit.sh:213) path7=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source
++(fetchGit.sh:214) nix eval --impure --raw --expr '(builtins.fetchGit { url = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git"; }).outPath'
\x1b[K
\x1b[K+(fetchGit.sh:214) path8=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source
+(fetchGit.sh:215) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/xcss8rxrangm9crds227qk44viy8ymah-source ]]
++(fetchGit.sh:218) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git rev-parse HEAD
+(fetchGit.sh:218) rev4=07388a083bda9da4e443fd8c366274268b021d77
++(fetchGit.sh:219) nix eval --impure --raw --expr '(builtins.fetchGit { url = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git"; ref = "HEAD"; }).rev'
+(fetchGit.sh:219) rev4_nix=07388a083bda9da4e443fd8c366274268b021d77
+(fetchGit.sh:220) [[ 07388a083bda9da4e443fd8c366274268b021d77 = 07388a083bda9da4e443fd8c366274268b021d77 ]]
++(fetchGit.sh:223) nix eval --impure --raw --expr '(builtins.fetchGit { url = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git"; ref = "HEAD"; name = "foo"; }).outPath'
+(fetchGit.sh:223) path9=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/2j0k57pjmc7wrsbv3pwkknbm8hr6y7dr-foo
+(fetchGit.sh:224) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/2j0k57pjmc7wrsbv3pwkknbm8hr6y7dr-foo =~ -foo$ ]]
+(fetchGit.sh:227) export _NIX_FORCE_HTTP=1
+(fetchGit.sh:227) _NIX_FORCE_HTTP=1
++(fetchGit.sh:228) nix eval --impure --raw --expr '(builtins.fetchGit { url = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git"; ref = "refs/tags/tag1"; }).rev'
\x1b[K
\x1b[K+(fetchGit.sh:228) rev_tag1_nix=a0d863aa4c07f44ec337c31a9fc6d38a1e21c65b
++(fetchGit.sh:229) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git rev-parse refs/tags/tag1
+(fetchGit.sh:229) rev_tag1=a0d863aa4c07f44ec337c31a9fc6d38a1e21c65b
+(fetchGit.sh:230) [[ a0d863aa4c07f44ec337c31a9fc6d38a1e21c65b = a0d863aa4c07f44ec337c31a9fc6d38a1e21c65b ]]
++(fetchGit.sh:231) nix eval --impure --raw --expr '(builtins.fetchGit { url = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git"; ref = "refs/tags/tag2"; }).rev'
\x1b[K
\x1b[K+(fetchGit.sh:231) rev_tag2_nix=f7541b21955fe4e76787b66d6b14aa98a899816f
++(fetchGit.sh:232) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git rev-parse refs/tags/tag2
+(fetchGit.sh:232) rev_tag2=f7541b21955fe4e76787b66d6b14aa98a899816f
+(fetchGit.sh:233) [[ f7541b21955fe4e76787b66d6b14aa98a899816f = f7541b21955fe4e76787b66d6b14aa98a899816f ]]
+(fetchGit.sh:234) unset _NIX_FORCE_HTTP
+(fetchGit.sh:237) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git/.git
+(fetchGit.sh:238) nix eval --impure --raw --expr '(builtins.fetchGit "file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git").outPath'
\x1b[K
\x1b[K
\x1b[Kfatal: '/tmp/nix-shell.MrxVR3/nix-test/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.
\x1b[Kerror:
… while calling the 'fetchGit' builtin
at «string»:1:2:
1| (builtins.fetchGit "file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git").outPath
| ^
… while fetching the input 'git+file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git'
error: program 'git' failed with exit code 128
+(fetchGit.sh:241) git init /tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
++(fetchGit.sh:242) nix eval --impure --raw --expr '(builtins.fetchGit "file:///tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git").outPath'
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/./git' is dirty
+(fetchGit.sh:242) path10=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/j9p1cvpypbgi5c9829hn7hysjb9hhp5k-source
+(fetchGit.sh:246) repo='/tmp/nix-shell.MrxVR3/nix-test/fetchGit/a b'
+(fetchGit.sh:247) git init '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/a b'
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(fetchGit.sh:248) git -C '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/a b' config user.email foobar@example.com
+(fetchGit.sh:249) git -C '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/a b' config user.name Foobar
+(fetchGit.sh:251) echo utrecht
+(fetchGit.sh:252) touch '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/a b/.gitignore'
+(fetchGit.sh:253) git -C '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/a b' add hello .gitignore
+(fetchGit.sh:254) git -C '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/a b' commit -m Bla1
+(fetchGit.sh:255) cd '/tmp/nix-shell.MrxVR3/nix-test/fetchGit/a b'
++(fetchGit.sh:256) nix eval --impure --raw --expr '(builtins.fetchGit ./.).outPath'
\x1b[K
\x1b[K+(fetchGit.sh:256) path11=/tmp/nix-shell.MrxVR3/nix-test/fetchGit/store/1a00gfk0zrw3m49hy5q0w8b806c2v8lw-source[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/hash
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/hash
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/hash
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/hash
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/hash
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/hash/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/hash/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/hash/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/hash/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/hash/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/hash/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(hash.sh:17) FORMAT_FLAG=--base16
+(hash.sh:18) try md5 '' d41d8cd98f00b204e9800998ecf8427e
+(hash.sh:4) printf %s ''
++(hash.sh:5) nix-hash --flat --base16 --type md5 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=d41d8cd98f00b204e9800998ecf8427e
+(hash.sh:6) (( ))
+(hash.sh:6) test d41d8cd98f00b204e9800998ecf8427e '!=' d41d8cd98f00b204e9800998ecf8427e
++(hash.sh:10) nix hash file --base16 --type md5 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=d41d8cd98f00b204e9800998ecf8427e
+(hash.sh:11) (( ))
+(hash.sh:11) test d41d8cd98f00b204e9800998ecf8427e '!=' d41d8cd98f00b204e9800998ecf8427e
+(hash.sh:19) try md5 a 0cc175b9c0f1b6a831c399e269772661
+(hash.sh:4) printf %s a
++(hash.sh:5) nix-hash --flat --base16 --type md5 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=0cc175b9c0f1b6a831c399e269772661
+(hash.sh:6) (( ))
+(hash.sh:6) test 0cc175b9c0f1b6a831c399e269772661 '!=' 0cc175b9c0f1b6a831c399e269772661
++(hash.sh:10) nix hash file --base16 --type md5 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=0cc175b9c0f1b6a831c399e269772661
+(hash.sh:11) (( ))
+(hash.sh:11) test 0cc175b9c0f1b6a831c399e269772661 '!=' 0cc175b9c0f1b6a831c399e269772661
+(hash.sh:20) try md5 abc 900150983cd24fb0d6963f7d28e17f72
+(hash.sh:4) printf %s abc
++(hash.sh:5) nix-hash --flat --base16 --type md5 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=900150983cd24fb0d6963f7d28e17f72
+(hash.sh:6) (( ))
+(hash.sh:6) test 900150983cd24fb0d6963f7d28e17f72 '!=' 900150983cd24fb0d6963f7d28e17f72
++(hash.sh:10) nix hash file --base16 --type md5 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=900150983cd24fb0d6963f7d28e17f72
+(hash.sh:11) (( ))
+(hash.sh:11) test 900150983cd24fb0d6963f7d28e17f72 '!=' 900150983cd24fb0d6963f7d28e17f72
+(hash.sh:21) try md5 'message digest' f96b697d7cb7938d525a2f31aaf161d0
+(hash.sh:4) printf %s 'message digest'
++(hash.sh:5) nix-hash --flat --base16 --type md5 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=f96b697d7cb7938d525a2f31aaf161d0
+(hash.sh:6) (( ))
+(hash.sh:6) test f96b697d7cb7938d525a2f31aaf161d0 '!=' f96b697d7cb7938d525a2f31aaf161d0
++(hash.sh:10) nix hash file --base16 --type md5 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=f96b697d7cb7938d525a2f31aaf161d0
+(hash.sh:11) (( ))
+(hash.sh:11) test f96b697d7cb7938d525a2f31aaf161d0 '!=' f96b697d7cb7938d525a2f31aaf161d0
+(hash.sh:22) try md5 abcdefghijklmnopqrstuvwxyz c3fcd3d76192e4007dfb496cca67e13b
+(hash.sh:4) printf %s abcdefghijklmnopqrstuvwxyz
++(hash.sh:5) nix-hash --flat --base16 --type md5 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=c3fcd3d76192e4007dfb496cca67e13b
+(hash.sh:6) (( ))
+(hash.sh:6) test c3fcd3d76192e4007dfb496cca67e13b '!=' c3fcd3d76192e4007dfb496cca67e13b
++(hash.sh:10) nix hash file --base16 --type md5 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=c3fcd3d76192e4007dfb496cca67e13b
+(hash.sh:11) (( ))
+(hash.sh:11) test c3fcd3d76192e4007dfb496cca67e13b '!=' c3fcd3d76192e4007dfb496cca67e13b
+(hash.sh:23) try md5 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 d174ab98d277d9f5a5611c2c9f419d9f
+(hash.sh:4) printf %s ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
++(hash.sh:5) nix-hash --flat --base16 --type md5 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=d174ab98d277d9f5a5611c2c9f419d9f
+(hash.sh:6) (( ))
+(hash.sh:6) test d174ab98d277d9f5a5611c2c9f419d9f '!=' d174ab98d277d9f5a5611c2c9f419d9f
++(hash.sh:10) nix hash file --base16 --type md5 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=d174ab98d277d9f5a5611c2c9f419d9f
+(hash.sh:11) (( ))
+(hash.sh:11) test d174ab98d277d9f5a5611c2c9f419d9f '!=' d174ab98d277d9f5a5611c2c9f419d9f
+(hash.sh:24) try md5 12345678901234567890123456789012345678901234567890123456789012345678901234567890 57edf4a22be3c955ac49da2e2107b67a
+(hash.sh:4) printf %s 12345678901234567890123456789012345678901234567890123456789012345678901234567890
++(hash.sh:5) nix-hash --flat --base16 --type md5 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=57edf4a22be3c955ac49da2e2107b67a
+(hash.sh:6) (( ))
+(hash.sh:6) test 57edf4a22be3c955ac49da2e2107b67a '!=' 57edf4a22be3c955ac49da2e2107b67a
++(hash.sh:10) nix hash file --base16 --type md5 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=57edf4a22be3c955ac49da2e2107b67a
+(hash.sh:11) (( ))
+(hash.sh:11) test 57edf4a22be3c955ac49da2e2107b67a '!=' 57edf4a22be3c955ac49da2e2107b67a
+(hash.sh:26) try sha1 '' da39a3ee5e6b4b0d3255bfef95601890afd80709
+(hash.sh:4) printf %s ''
++(hash.sh:5) nix-hash --flat --base16 --type sha1 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=da39a3ee5e6b4b0d3255bfef95601890afd80709
+(hash.sh:6) (( ))
+(hash.sh:6) test da39a3ee5e6b4b0d3255bfef95601890afd80709 '!=' da39a3ee5e6b4b0d3255bfef95601890afd80709
++(hash.sh:10) nix hash file --base16 --type sha1 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=da39a3ee5e6b4b0d3255bfef95601890afd80709
+(hash.sh:11) (( ))
+(hash.sh:11) test da39a3ee5e6b4b0d3255bfef95601890afd80709 '!=' da39a3ee5e6b4b0d3255bfef95601890afd80709
+(hash.sh:27) try sha1 abc a9993e364706816aba3e25717850c26c9cd0d89d
+(hash.sh:4) printf %s abc
++(hash.sh:5) nix-hash --flat --base16 --type sha1 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=a9993e364706816aba3e25717850c26c9cd0d89d
+(hash.sh:6) (( ))
+(hash.sh:6) test a9993e364706816aba3e25717850c26c9cd0d89d '!=' a9993e364706816aba3e25717850c26c9cd0d89d
++(hash.sh:10) nix hash file --base16 --type sha1 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=a9993e364706816aba3e25717850c26c9cd0d89d
+(hash.sh:11) (( ))
+(hash.sh:11) test a9993e364706816aba3e25717850c26c9cd0d89d '!=' a9993e364706816aba3e25717850c26c9cd0d89d
+(hash.sh:28) try sha1 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq 84983e441c3bd26ebaae4aa1f95129e5e54670f1
+(hash.sh:4) printf %s abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq
++(hash.sh:5) nix-hash --flat --base16 --type sha1 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=84983e441c3bd26ebaae4aa1f95129e5e54670f1
+(hash.sh:6) (( ))
+(hash.sh:6) test 84983e441c3bd26ebaae4aa1f95129e5e54670f1 '!=' 84983e441c3bd26ebaae4aa1f95129e5e54670f1
++(hash.sh:10) nix hash file --base16 --type sha1 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=84983e441c3bd26ebaae4aa1f95129e5e54670f1
+(hash.sh:11) (( ))
+(hash.sh:11) test 84983e441c3bd26ebaae4aa1f95129e5e54670f1 '!=' 84983e441c3bd26ebaae4aa1f95129e5e54670f1
+(hash.sh:30) try sha256 '' e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+(hash.sh:4) printf %s ''
++(hash.sh:5) nix-hash --flat --base16 --type sha256 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+(hash.sh:6) (( ))
+(hash.sh:6) test e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 '!=' e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
++(hash.sh:10) nix hash file --base16 --type sha256 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+(hash.sh:11) (( ))
+(hash.sh:11) test e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 '!=' e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+(hash.sh:31) try sha256 abc ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
+(hash.sh:4) printf %s abc
++(hash.sh:5) nix-hash --flat --base16 --type sha256 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
+(hash.sh:6) (( ))
+(hash.sh:6) test ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad '!=' ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
++(hash.sh:10) nix hash file --base16 --type sha256 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
+(hash.sh:11) (( ))
+(hash.sh:11) test ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad '!=' ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
+(hash.sh:32) try sha256 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1
+(hash.sh:4) printf %s abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq
++(hash.sh:5) nix-hash --flat --base16 --type sha256 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1
+(hash.sh:6) (( ))
+(hash.sh:6) test 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 '!=' 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1
++(hash.sh:10) nix hash file --base16 --type sha256 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1
+(hash.sh:11) (( ))
+(hash.sh:11) test 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 '!=' 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1
+(hash.sh:34) try sha512 '' cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
+(hash.sh:4) printf %s ''
++(hash.sh:5) nix-hash --flat --base16 --type sha512 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
+(hash.sh:6) (( ))
+(hash.sh:6) test cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e '!=' cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
++(hash.sh:10) nix hash file --base16 --type sha512 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
+(hash.sh:11) (( ))
+(hash.sh:11) test cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e '!=' cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
+(hash.sh:35) try sha512 abc ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f
+(hash.sh:4) printf %s abc
++(hash.sh:5) nix-hash --flat --base16 --type sha512 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f
+(hash.sh:6) (( ))
+(hash.sh:6) test ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f '!=' ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f
++(hash.sh:10) nix hash file --base16 --type sha512 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f
+(hash.sh:11) (( ))
+(hash.sh:11) test ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f '!=' ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f
+(hash.sh:36) try sha512 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445
+(hash.sh:4) printf %s abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq
++(hash.sh:5) nix-hash --flat --base16 --type sha512 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445
+(hash.sh:6) (( ))
+(hash.sh:6) test 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 '!=' 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445
++(hash.sh:10) nix hash file --base16 --type sha512 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445
+(hash.sh:11) (( ))
+(hash.sh:11) test 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 '!=' 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445
+(hash.sh:37) unset FORMAT_FLAG
+(hash.sh:39) FORMAT_FLAG=--base32
+(hash.sh:40) try sha256 abc 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s
+(hash.sh:4) printf %s abc
++(hash.sh:5) nix-hash --flat --base32 --type sha256 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s
+(hash.sh:6) (( ))
+(hash.sh:6) test 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s '!=' 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s
++(hash.sh:10) nix hash file --base32 --type sha256 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s
+(hash.sh:11) (( ))
+(hash.sh:11) test 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s '!=' 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s
+(hash.sh:41) unset FORMAT_FLAG
+(hash.sh:43) FORMAT_FLAG=--sri
+(hash.sh:44) try sha512 '' sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==
+(hash.sh:4) printf %s ''
++(hash.sh:5) nix-hash --flat --sri --type sha512 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==
+(hash.sh:6) (( ))
+(hash.sh:6) test sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg== '!=' sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==
++(hash.sh:10) nix hash file --sri --type sha512 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==
+(hash.sh:11) (( ))
+(hash.sh:11) test sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg== '!=' sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==
+(hash.sh:45) try sha512 abc sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw==
+(hash.sh:4) printf %s abc
++(hash.sh:5) nix-hash --flat --sri --type sha512 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw==
+(hash.sh:6) (( ))
+(hash.sh:6) test sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw== '!=' sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw==
++(hash.sh:10) nix hash file --sri --type sha512 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw==
+(hash.sh:11) (( ))
+(hash.sh:11) test sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw== '!=' sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw==
+(hash.sh:46) try sha512 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ==
+(hash.sh:4) printf %s abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq
++(hash.sh:5) nix-hash --flat --sri --type sha512 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ==
+(hash.sh:6) (( ))
+(hash.sh:6) test sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== '!=' sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ==
++(hash.sh:10) nix hash file --sri --type sha512 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ==
+(hash.sh:11) (( ))
+(hash.sh:11) test sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== '!=' sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ==
+(hash.sh:47) try sha256 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq sha256-JI1qYdIGOLjlwCaTDD5gOaM85Flk/yFn9uzt1BnbBsE=
+(hash.sh:4) printf %s abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq
++(hash.sh:5) nix-hash --flat --sri --type sha256 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=sha256-JI1qYdIGOLjlwCaTDD5gOaM85Flk/yFn9uzt1BnbBsE=
+(hash.sh:6) (( ))
+(hash.sh:6) test sha256-JI1qYdIGOLjlwCaTDD5gOaM85Flk/yFn9uzt1BnbBsE= '!=' sha256-JI1qYdIGOLjlwCaTDD5gOaM85Flk/yFn9uzt1BnbBsE=
++(hash.sh:10) nix hash file --sri --type sha256 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=sha256-JI1qYdIGOLjlwCaTDD5gOaM85Flk/yFn9uzt1BnbBsE=
+(hash.sh:11) (( ))
+(hash.sh:11) test sha256-JI1qYdIGOLjlwCaTDD5gOaM85Flk/yFn9uzt1BnbBsE= '!=' sha256-JI1qYdIGOLjlwCaTDD5gOaM85Flk/yFn9uzt1BnbBsE=
+(hash.sh:48) unset FORMAT_FLAG
+(hash.sh:51) NO_TEST_NIX_COMMAND=1
+(hash.sh:51) try sha512 abc ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f
+(hash.sh:4) printf %s abc
++(hash.sh:5) nix-hash --flat --type sha512 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f
+(hash.sh:6) (( ))
+(hash.sh:6) test ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f '!=' ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f
++(hash.sh:10) nix hash file --type sha512 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw==
+(hash.sh:11) (( 1 ))
+(hash.sh:54) NO_TEST_CLASSIC=1
+(hash.sh:54) try sha512 abc sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw==
+(hash.sh:4) printf %s abc
++(hash.sh:5) nix-hash --flat --type sha512 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:5) hash=ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f
+(hash.sh:6) (( 1 ))
++(hash.sh:10) nix hash file --type sha512 /tmp/nix-shell.MrxVR3/nix-test/hash/vector
+(hash.sh:10) hash=sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw==
+(hash.sh:11) (( ))
+(hash.sh:11) test sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw== '!=' sha512-3a81oZNherrMQXNJriBBMRLm+k6JqX6iCp7u5ktV05ohkpkqJ0/BqDa6PCOj/uu9RU1EI2Q86A4qmslPpUyknw==
+(hash.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/hash/hash-path
+(hash.sh:65) mkdir /tmp/nix-shell.MrxVR3/nix-test/hash/hash-path
+(hash.sh:66) echo 'Hello World'
+(hash.sh:68) try2 md5 ea9b55537dd4c7e104515b2ccfaf4100
++(hash.sh:57) nix-hash --type md5 /tmp/nix-shell.MrxVR3/nix-test/hash/hash-path
+(hash.sh:57) hash=ea9b55537dd4c7e104515b2ccfaf4100
+(hash.sh:58) test ea9b55537dd4c7e104515b2ccfaf4100 '!=' ea9b55537dd4c7e104515b2ccfaf4100
+(hash.sh:71) chmod +x /tmp/nix-shell.MrxVR3/nix-test/hash/hash-path/hello
+(hash.sh:72) try2 md5 20f3ffe011d4cfa7d72bfabef7882836
++(hash.sh:57) nix-hash --type md5 /tmp/nix-shell.MrxVR3/nix-test/hash/hash-path
+(hash.sh:57) hash=20f3ffe011d4cfa7d72bfabef7882836
+(hash.sh:58) test 20f3ffe011d4cfa7d72bfabef7882836 '!=' 20f3ffe011d4cfa7d72bfabef7882836
+(hash.sh:75) touch -r . /tmp/nix-shell.MrxVR3/nix-test/hash/hash-path/hello
+(hash.sh:76) chmod 744 /tmp/nix-shell.MrxVR3/nix-test/hash/hash-path/hello
+(hash.sh:77) try2 md5 20f3ffe011d4cfa7d72bfabef7882836
++(hash.sh:57) nix-hash --type md5 /tmp/nix-shell.MrxVR3/nix-test/hash/hash-path
+(hash.sh:57) hash=20f3ffe011d4cfa7d72bfabef7882836
+(hash.sh:58) test 20f3ffe011d4cfa7d72bfabef7882836 '!=' 20f3ffe011d4cfa7d72bfabef7882836
+(hash.sh:80) rm /tmp/nix-shell.MrxVR3/nix-test/hash/hash-path/hello
+(hash.sh:81) ln -s x /tmp/nix-shell.MrxVR3/nix-test/hash/hash-path/hello
+(hash.sh:82) try2 md5 f78b733a68f5edbdf9413899339eaa4a
++(hash.sh:57) nix-hash --type md5 /tmp/nix-shell.MrxVR3/nix-test/hash/hash-path
+(hash.sh:57) hash=f78b733a68f5edbdf9413899339eaa4a
+(hash.sh:58) test f78b733a68f5edbdf9413899339eaa4a '!=' f78b733a68f5edbdf9413899339eaa4a
+(hash.sh:105) try3 sha1 800d59cfcd3c05e900cb4e214be48f6b886a08df vw46m23bizj4n8afrc0fj19wrp7mj3c0 gA1Zz808BekAy04hS+SPa4hqCN8=
++(hash.sh:86) nix-hash --type sha1 --to-base64 800d59cfcd3c05e900cb4e214be48f6b886a08df
+(hash.sh:86) h64=gA1Zz808BekAy04hS+SPa4hqCN8=
+(hash.sh:87) '[' gA1Zz808BekAy04hS+SPa4hqCN8= = gA1Zz808BekAy04hS+SPa4hqCN8= ']'
++(hash.sh:88) nix hash to-base64 --type sha1 800d59cfcd3c05e900cb4e214be48f6b886a08df
+(hash.sh:88) h64=gA1Zz808BekAy04hS+SPa4hqCN8=
+(hash.sh:89) '[' gA1Zz808BekAy04hS+SPa4hqCN8= = gA1Zz808BekAy04hS+SPa4hqCN8= ']'
++(hash.sh:90) nix-hash --type sha1 --to-sri 800d59cfcd3c05e900cb4e214be48f6b886a08df
+(hash.sh:90) sri=sha1-gA1Zz808BekAy04hS+SPa4hqCN8=
+(hash.sh:91) '[' sha1-gA1Zz808BekAy04hS+SPa4hqCN8= = sha1-gA1Zz808BekAy04hS+SPa4hqCN8= ']'
++(hash.sh:92) nix hash to-sri --type sha1 800d59cfcd3c05e900cb4e214be48f6b886a08df
+(hash.sh:92) sri=sha1-gA1Zz808BekAy04hS+SPa4hqCN8=
+(hash.sh:93) '[' sha1-gA1Zz808BekAy04hS+SPa4hqCN8= = sha1-gA1Zz808BekAy04hS+SPa4hqCN8= ']'
++(hash.sh:94) nix-hash --type sha1 --to-base32 800d59cfcd3c05e900cb4e214be48f6b886a08df
+(hash.sh:94) h32=vw46m23bizj4n8afrc0fj19wrp7mj3c0
+(hash.sh:95) '[' vw46m23bizj4n8afrc0fj19wrp7mj3c0 = vw46m23bizj4n8afrc0fj19wrp7mj3c0 ']'
++(hash.sh:96) nix hash to-base32 --type sha1 800d59cfcd3c05e900cb4e214be48f6b886a08df
+(hash.sh:96) h32=vw46m23bizj4n8afrc0fj19wrp7mj3c0
+(hash.sh:97) '[' vw46m23bizj4n8afrc0fj19wrp7mj3c0 = vw46m23bizj4n8afrc0fj19wrp7mj3c0 ']'
++(hash.sh:98) nix-hash --type sha1 --to-base16 vw46m23bizj4n8afrc0fj19wrp7mj3c0
+(hash.sh:98) h16=800d59cfcd3c05e900cb4e214be48f6b886a08df
+(hash.sh:99) '[' 800d59cfcd3c05e900cb4e214be48f6b886a08df = 800d59cfcd3c05e900cb4e214be48f6b886a08df ']'
++(hash.sh:100) nix hash to-base16 --type sha1 gA1Zz808BekAy04hS+SPa4hqCN8=
+(hash.sh:100) h16=800d59cfcd3c05e900cb4e214be48f6b886a08df
+(hash.sh:101) '[' 800d59cfcd3c05e900cb4e214be48f6b886a08df = 800d59cfcd3c05e900cb4e214be48f6b886a08df ']'
++(hash.sh:102) nix hash to-base16 sha1-gA1Zz808BekAy04hS+SPa4hqCN8=
+(hash.sh:102) h16=800d59cfcd3c05e900cb4e214be48f6b886a08df
+(hash.sh:103) '[' 800d59cfcd3c05e900cb4e214be48f6b886a08df = 800d59cfcd3c05e900cb4e214be48f6b886a08df ']'
+(hash.sh:106) try3 sha256 ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0=
++(hash.sh:86) nix-hash --type sha256 --to-base64 ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
+(hash.sh:86) h64=ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0=
+(hash.sh:87) '[' ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= = ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= ']'
++(hash.sh:88) nix hash to-base64 --type sha256 ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
+(hash.sh:88) h64=ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0=
+(hash.sh:89) '[' ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= = ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= ']'
++(hash.sh:90) nix-hash --type sha256 --to-sri ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
+(hash.sh:90) sri=sha256-ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0=
+(hash.sh:91) '[' sha256-ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= = sha256-ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= ']'
++(hash.sh:92) nix hash to-sri --type sha256 ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
+(hash.sh:92) sri=sha256-ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0=
+(hash.sh:93) '[' sha256-ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= = sha256-ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= ']'
++(hash.sh:94) nix-hash --type sha256 --to-base32 ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
+(hash.sh:94) h32=1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s
+(hash.sh:95) '[' 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s = 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s ']'
++(hash.sh:96) nix hash to-base32 --type sha256 ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
+(hash.sh:96) h32=1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s
+(hash.sh:97) '[' 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s = 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s ']'
++(hash.sh:98) nix-hash --type sha256 --to-base16 1b8m03r63zqhnjf7l5wnldhh7c134ap5vpj0850ymkq1iyzicy5s
+(hash.sh:98) h16=ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
+(hash.sh:99) '[' ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad = ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad ']'
++(hash.sh:100) nix hash to-base16 --type sha256 ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0=
+(hash.sh:100) h16=ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
+(hash.sh:101) '[' ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad = ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad ']'
++(hash.sh:102) nix hash to-base16 sha256-ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0=
+(hash.sh:102) h16=ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
+(hash.sh:103) '[' ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad = ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad ']'
+(hash.sh:107) try3 sha512 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 12k9jiq29iyqm03swfsgiw5mlqs173qazm3n7daz43infy12pyrcdf30fkk3qwv4yl2ick8yipc2mqnlh48xsvvxl60lbx8vp38yji0 IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ==
++(hash.sh:86) nix-hash --type sha512 --to-base64 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445
+(hash.sh:86) h64=IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ==
+(hash.sh:87) '[' IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== = IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== ']'
++(hash.sh:88) nix hash to-base64 --type sha512 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445
+(hash.sh:88) h64=IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ==
+(hash.sh:89) '[' IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== = IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== ']'
++(hash.sh:90) nix-hash --type sha512 --to-sri 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445
+(hash.sh:90) sri=sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ==
+(hash.sh:91) '[' sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== = sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== ']'
++(hash.sh:92) nix hash to-sri --type sha512 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445
+(hash.sh:92) sri=sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ==
+(hash.sh:93) '[' sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== = sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ== ']'
++(hash.sh:94) nix-hash --type sha512 --to-base32 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445
+(hash.sh:94) h32=12k9jiq29iyqm03swfsgiw5mlqs173qazm3n7daz43infy12pyrcdf30fkk3qwv4yl2ick8yipc2mqnlh48xsvvxl60lbx8vp38yji0
+(hash.sh:95) '[' 12k9jiq29iyqm03swfsgiw5mlqs173qazm3n7daz43infy12pyrcdf30fkk3qwv4yl2ick8yipc2mqnlh48xsvvxl60lbx8vp38yji0 = 12k9jiq29iyqm03swfsgiw5mlqs173qazm3n7daz43infy12pyrcdf30fkk3qwv4yl2ick8yipc2mqnlh48xsvvxl60lbx8vp38yji0 ']'
++(hash.sh:96) nix hash to-base32 --type sha512 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445
+(hash.sh:96) h32=12k9jiq29iyqm03swfsgiw5mlqs173qazm3n7daz43infy12pyrcdf30fkk3qwv4yl2ick8yipc2mqnlh48xsvvxl60lbx8vp38yji0
+(hash.sh:97) '[' 12k9jiq29iyqm03swfsgiw5mlqs173qazm3n7daz43infy12pyrcdf30fkk3qwv4yl2ick8yipc2mqnlh48xsvvxl60lbx8vp38yji0 = 12k9jiq29iyqm03swfsgiw5mlqs173qazm3n7daz43infy12pyrcdf30fkk3qwv4yl2ick8yipc2mqnlh48xsvvxl60lbx8vp38yji0 ']'
++(hash.sh:98) nix-hash --type sha512 --to-base16 12k9jiq29iyqm03swfsgiw5mlqs173qazm3n7daz43infy12pyrcdf30fkk3qwv4yl2ick8yipc2mqnlh48xsvvxl60lbx8vp38yji0
+(hash.sh:98) h16=204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445
+(hash.sh:99) '[' 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 = 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 ']'
++(hash.sh:100) nix hash to-base16 --type sha512 IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ==
+(hash.sh:100) h16=204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445
+(hash.sh:101) '[' 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 = 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 ']'
++(hash.sh:102) nix hash to-base16 sha512-IEqPxt2oLwoM7XvrjgikFlfBbvRosiioJ5vjMacDwzWW/RXBOxsH+aodO+pXeJygMa2Fx6cd1wNU7GMSOMo0RQ==
+(hash.sh:102) h16=204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445
+(hash.sh:103) '[' 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 = 204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445 ']'clearing store...
7 store paths deleted, 0.00 MiB freed
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/readfile-context
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/readfile-context
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/readfile-context
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/readfile-context
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/readfile-context
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/readfile-context/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/readfile-context/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/readfile-context/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/readfile-context/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/readfile-context/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/readfile-context/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(readfile-context.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/readfile-context/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/readfile-context/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/readfile-context/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/readfile-context/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/readfile-context/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/readfile-context/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/readfile-context/test-home/.local/state/nix/profiles
++(readfile-context.sh:5) nix-build --no-out-link readfile-context.nix
building '/tmp/nix-shell.MrxVR3/nix-test/readfile-context/store/6c8ql8aa6z74z19885iygcgrrjf9afkc-simple.drv'...
PATH=
building '/tmp/nix-shell.MrxVR3/nix-test/readfile-context/store/0fphs0wns5qyma1l4i79nq8jnf5rjjmf-dependent.drv'...
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/readfile-context/store/w8ni3miqhr727k5zw4lb5pzrp7vb4rh2-hello.drv
building '/tmp/nix-shell.MrxVR3/nix-test/readfile-context/store/w8ni3miqhr727k5zw4lb5pzrp7vb4rh2-hello.drv'...
+(readfile-context.sh:5) outPath=/tmp/nix-shell.MrxVR3/nix-test/readfile-context/store/80hqfxmmhl7w607q4ic3b9sq1w3sf435-hello
+(readfile-context.sh:8) ln -s /tmp/nix-shell.MrxVR3/nix-test/readfile-context/store/80hqfxmmhl7w607q4ic3b9sq1w3sf435-hello /tmp/nix-shell.MrxVR3/nix-test/readfile-context/var/nix/gcroots/foo
+++(readfile-context.sh:11) cat /tmp/nix-shell.MrxVR3/nix-test/readfile-context/store/80hqfxmmhl7w607q4ic3b9sq1w3sf435-hello
++(readfile-context.sh:11) cat /tmp/nix-shell.MrxVR3/nix-test/readfile-context/store/7k6jwvws93kx2wffa86v9lar6jjabysc-simple/hello
+(readfile-context.sh:11) '[' 'Hello World!' = 'Hello World!' ']'
+(readfile-context.sh:13) nix-collect-garbage
finding garbage collector roots...
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/readfile-context/var/nix/gcroots/auto/v5fia6hcd1x7x6y6lfhdfvcldxhmfa1y' to '/tmp/nix-shell.MrxVR3/nix-build-32915-0/result'
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/readfile-context/store/w8ni3miqhr727k5zw4lb5pzrp7vb4rh2-hello.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/readfile-context/store/0fphs0wns5qyma1l4i79nq8jnf5rjjmf-dependent.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/readfile-context/store/6c8ql8aa6z74z19885iygcgrrjf9afkc-simple.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/readfile-context/store/51dmffqrkv8i23a06fi2zv58iaz0z7k1-builder-dependent.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/readfile-context/store/8822clkscsx1fi0l9m4vmgy9k7gc42p6-simple.builder.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/readfile-context/store/nqrdpdgiyafkwd1w6y7h72whxpykgzki-dependent'
deleting '/tmp/nix-shell.MrxVR3/nix-test/readfile-context/store/z4bwx1nfl1yh658jlb8ls6r1a9rb81l4-builder-hello.sh'
deleting unused links...
note: currently hard linking saves -0.00 MiB
+++(readfile-context.sh:16) cat /tmp/nix-shell.MrxVR3/nix-test/readfile-context/store/80hqfxmmhl7w607q4ic3b9sq1w3sf435-hello
++(readfile-context.sh:16) cat /tmp/nix-shell.MrxVR3/nix-test/readfile-context/store/7k6jwvws93kx2wffa86v9lar6jjabysc-simple/hello
+(readfile-context.sh:16) '[' 'Hello World!' = 'Hello World!' ']'clearing store...
~/subdir ~
~
~/subdir ~
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir/.git/
~
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) registry=/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/registry.json
+(search-root.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/.local/state/nix/profiles
+(search-root.sh:5) writeSimpleFlake /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home
+(common.sh:6) local flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home
+(common.sh:7) cat
+(common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/
+(search-root.sh:6) cd /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home
+(search-root.sh:7) mkdir -p foo/subdir
+(search-root.sh:9) echo '{ outputs = _: {}; }'
+(search-root.sh:10) cat
+(search-root.sh:21) mkdir subdir
+(search-root.sh:22) pushd subdir
+(search-root.sh:24) success=("" . .# .#test ../subdir ../subdir#test "$PWD")
+(search-root.sh:25) failure=("path:$PWD")
+(search-root.sh:27) for i in "${success[@]}"
+(search-root.sh:28) nix build
path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up
warning: creating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/flake.lock':
• Added input 'foo':
'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/foo?lastModified=1716682870&narHash=sha256-/i7P3mVhc49nAmAG35Hz96bsWzKMzIN2TRYGf7hCLsc%3D' (2024-05-26)
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/store/rksa35m1mby2sjfkdvl0xi1pz502221j-simple.drv
building '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/store/rksa35m1mby2sjfkdvl0xi1pz502221j-simple.drv'...
+(search-root.sh:27) for i in "${success[@]}"
+(search-root.sh:28) nix build .
path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up
+(search-root.sh:27) for i in "${success[@]}"
+(search-root.sh:28) nix build .#
path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up
+(search-root.sh:27) for i in "${success[@]}"
+(search-root.sh:28) nix build .#test
path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up
+(search-root.sh:27) for i in "${success[@]}"
+(search-root.sh:28) nix build ../subdir
path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up
+(search-root.sh:27) for i in "${success[@]}"
+(search-root.sh:28) nix build ../subdir#test
path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up
+(search-root.sh:27) for i in "${success[@]}"
+(search-root.sh:28) nix build /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir
path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up
+(search-root.sh:31) for i in "${failure[@]}"
+(search-root.sh:32) nix build path:/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir
error: source tree referenced by 'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir?lastModified=1716682871&narHash=sha256-iMHxdmayaQ/lspK92DKIFhwkhNPrseMD1eKBd8PAu28%3D' does not contain a '/flake.nix' file
+(search-root.sh:35) popd
+(search-root.sh:37) nix build --override-input foo .
warning: not writing modified lock file of flake 'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home':
• Updated input 'foo':
'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/foo?lastModified=1716682870&narHash=sha256-/i7P3mVhc49nAmAG35Hz96bsWzKMzIN2TRYGf7hCLsc%3D' (2024-05-26)
→ 'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home?lastModified=1716682871&narHash=sha256-gxpwj4wCXEYc%2Bd5fHZGmFJJriuWYfRUMsYOvqMPkIfI%3D' (2024-05-26)
• Added input 'foo/foo':
'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/foo?lastModified=1716682870&narHash=sha256-/i7P3mVhc49nAmAG35Hz96bsWzKMzIN2TRYGf7hCLsc%3D' (2024-05-26)
+(search-root.sh:39) sed s,/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/foo,/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/foo/subdir,g -i flake.nix
+(search-root.sh:40) nix build
error:
… while updating the lock file of flake 'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home?lastModified=1716682871&narHash=sha256-x/ZhuK0o2Zjgz4TpSEi0ZsrBvDFl0qRWI5O3f/p7RIQ%3D'
… while updating the flake input 'foo'
error: source tree referenced by 'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/foo/subdir?lastModified=1716682870&narHash=sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo%3D' does not contain a '/flake.nix' file
++(search-root.sh:42) type -p git
+(search-root.sh:42) [[ -n /nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin/git ]]
+(search-root.sh:43) pushd subdir
+(search-root.sh:44) git init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(search-root.sh:45) for i in "${success[@]}" "${failure[@]}"
+(search-root.sh:46) nix build
path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up
error: path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' is not part of a flake (neither it nor its parent directories contain a 'flake.nix' file)
+(search-root.sh:45) for i in "${success[@]}" "${failure[@]}"
+(search-root.sh:46) nix build .
path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up
error: path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' is not part of a flake (neither it nor its parent directories contain a 'flake.nix' file)
+(search-root.sh:45) for i in "${success[@]}" "${failure[@]}"
+(search-root.sh:46) nix build .#
path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up
error: path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' is not part of a flake (neither it nor its parent directories contain a 'flake.nix' file)
+(search-root.sh:45) for i in "${success[@]}" "${failure[@]}"
+(search-root.sh:46) nix build .#test
path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up
error: path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' is not part of a flake (neither it nor its parent directories contain a 'flake.nix' file)
+(search-root.sh:45) for i in "${success[@]}" "${failure[@]}"
+(search-root.sh:46) nix build ../subdir
path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up
error: path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' is not part of a flake (neither it nor its parent directories contain a 'flake.nix' file)
+(search-root.sh:45) for i in "${success[@]}" "${failure[@]}"
+(search-root.sh:46) nix build ../subdir#test
path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up
error: path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' is not part of a flake (neither it nor its parent directories contain a 'flake.nix' file)
+(search-root.sh:45) for i in "${success[@]}" "${failure[@]}"
+(search-root.sh:46) nix build /tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir
path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' does not contain a 'flake.nix', searching up
error: path '/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir' is not part of a flake (neither it nor its parent directories contain a 'flake.nix' file)
+(search-root.sh:45) for i in "${success[@]}" "${failure[@]}"
+(search-root.sh:46) nix build path:/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir
error: source tree referenced by 'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/search-root/test-home/subdir?lastModified=1716682871&narHash=sha256-edgxghcXPhOEfxWt2bVMjxHbyDiZLNu7ig07n8I%2Be7Q%3D' does not contain a '/flake.nix' file
+(search-root.sh:48) rm -rf .git
+(search-root.sh:49) popdclearing store...
3
/tmp/nix-shell.MrxVR3/nix-test/restricted/store/6vw7gf43sd8hivcwsdwbs9bprmqaxpz5-simple.drv
/tmp/nix-shell.MrxVR3/nix-test/restricted/store/6vw7gf43sd8hivcwsdwbs9bprmqaxpz5-simple.drv
"with import ./config.nix;\n\nmkDerivation {\n name = \"simple\";\n builder = ./simple.builder.sh;\n PATH = \"\";\n goodPath = path;\n}\n"
{ "unpack-channel.nix" = "regular"; }
/lix-src/build/tests/functional
/tmp/nix-shell.MrxVR3/nix-test/restricted/store/zdcdq86n0j5kp2g43wmqw30mm4703lds-restricted.sh3
error: access to absolute path '/lix-src/build/tests/functional/restricted-innocent' is forbidden in pure eval mode (use '--impure' to override)
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/restricted
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/restricted
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/restricted
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/restricted
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/restricted
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/restricted/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/restricted/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/restricted/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/restricted/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/restricted/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/restricted/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(restricted.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/restricted/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/restricted/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/restricted/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/restricted/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/restricted/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/restricted/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/restricted/test-home/.local/state/nix/profiles
+(restricted.sh:5) nix-instantiate --restrict-eval --eval -E '1 + 2'
+(restricted.sh:6) nix-instantiate --eval --restrict-eval ./restricted.nix
error: access to absolute path '/lix-src/build/tests/functional/restricted.nix' is forbidden in restricted mode
+(restricted.sh:7) nix-instantiate --eval --restrict-eval /dev/fd/63
++(restricted.sh:7) echo '1 + 2'
error: access to absolute path '/dev/fd/63' is forbidden in restricted mode
+(restricted.sh:8) nix-instantiate --restrict-eval ./simple.nix -I src=.
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(restricted.sh:9) nix-instantiate --restrict-eval ./simple.nix -I src1=simple.nix -I src2=config.nix -I src3=./simple.builder.sh
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(restricted.sh:11) nix-instantiate --restrict-eval --eval -E 'builtins.readFile ./simple.nix'
error:
… while calling the 'readFile' builtin
at «string»:1:1:
1| builtins.readFile ./simple.nix
| ^
… while realising the context of path '/lix-src/build/tests/functional/simple.nix'
error: access to absolute path '/lix-src/build/tests/functional/simple.nix' is forbidden in restricted mode
+(restricted.sh:12) nix-instantiate --restrict-eval --eval -E 'builtins.readFile ./simple.nix' -I src=../..
+(restricted.sh:14) nix-instantiate --restrict-eval --eval -E 'builtins.readDir ../../src/nix-channel'
error:
… while calling the 'readDir' builtin
at «string»:1:1:
1| builtins.readDir ../../src/nix-channel
| ^
… while realising the context of path '/lix-src/build/src/nix-channel'
error: access to absolute path '/lix-src/build/src/nix-channel' is forbidden in restricted mode
+(restricted.sh:15) nix-instantiate --restrict-eval --eval -E 'builtins.readDir ../../src/nix-channel' -I src=../../src
+(restricted.sh:17) nix-instantiate --restrict-eval --eval -E 'let __nixPath = [ { prefix = "foo"; path = ./.; } ]; in <foo>'
error:
… while calling the 'findFile' builtin
at «string»:1:57:
1| let __nixPath = [ { prefix = "foo"; path = ./.; } ]; in <foo>
| ^
error: access to absolute path '/lix-src/build/tests/functional' is forbidden in restricted mode
+(restricted.sh:18) nix-instantiate --restrict-eval --eval -E 'let __nixPath = [ { prefix = "foo"; path = ./.; } ]; in <foo>' -I src=.
+++(restricted.sh:20) pwd
+++(restricted.sh:20) pwd
++(restricted.sh:20) nix eval --raw --expr 'builtins.fetchurl file:///lix-src/build/tests/functional/restricted.sh' --impure --restrict-eval --allowed-uris file:///lix-src/build/tests/functional
+(restricted.sh:20) p=/tmp/nix-shell.MrxVR3/nix-test/restricted/store/zdcdq86n0j5kp2g43wmqw30mm4703lds-restricted.sh
+(restricted.sh:21) cmp /tmp/nix-shell.MrxVR3/nix-test/restricted/store/zdcdq86n0j5kp2g43wmqw30mm4703lds-restricted.sh restricted.sh
++(restricted.sh:23) pwd
+(restricted.sh:23) nix eval --raw --expr 'builtins.fetchurl file:///lix-src/build/tests/functional/restricted.sh' --impure --restrict-eval
error:
… while calling the 'fetchurl' builtin
at «string»:1:1:
1| builtins.fetchurl file:///lix-src/build/tests/functional/restricted.sh
| ^
error: access to absolute path '/lix-src/build/tests/functional/restricted.sh' is forbidden in restricted mode
++(restricted.sh:25) pwd
++(restricted.sh:25) pwd
+(restricted.sh:25) nix eval --raw --expr 'builtins.fetchurl file:///lix-src/build/tests/functional/restricted.sh' --impure --restrict-eval --allowed-uris file:///lix-src/build/tests/functional/restricted.sh/
error:
… while calling the 'fetchurl' builtin
at «string»:1:1:
1| builtins.fetchurl file:///lix-src/build/tests/functional/restricted.sh
| ^
error: access to absolute path '/lix-src/build/tests/functional/restricted.sh' is forbidden in restricted mode
++(restricted.sh:27) pwd
++(restricted.sh:27) pwd
+(restricted.sh:27) nix eval --raw --expr 'builtins.fetchurl file:///lix-src/build/tests/functional/restricted.sh' --impure --restrict-eval --allowed-uris file:///lix-src/build/tests/functional/restricted.sh
+(restricted.sh:29) nix eval --raw --expr 'builtins.fetchurl https://github.com/NixOS/patchelf/archive/master.tar.gz' --impure --restrict-eval
error:
… while calling the 'fetchurl' builtin
at «string»:1:1:
1| builtins.fetchurl https://github.com/NixOS/patchelf/archive/master.tar.gz
| ^
error: access to URI 'https://github.com/NixOS/patchelf/archive/master.tar.gz' is forbidden in restricted mode
+(restricted.sh:30) nix eval --raw --expr 'builtins.fetchTarball https://github.com/NixOS/patchelf/archive/master.tar.gz' --impure --restrict-eval
error:
… while calling the 'fetchTarball' builtin
at «string»:1:1:
1| builtins.fetchTarball https://github.com/NixOS/patchelf/archive/master.tar.gz
| ^
error: access to URI 'https://github.com/NixOS/patchelf/archive/master.tar.gz' is forbidden in restricted mode
+(restricted.sh:31) nix eval --raw --expr 'fetchGit git://github.com/NixOS/patchelf.git' --impure --restrict-eval
error:
… while calling the 'fetchGit' builtin
at «string»:1:1:
1| fetchGit git://github.com/NixOS/patchelf.git
| ^
error: access to URI 'git://github.com/NixOS/patchelf.git' is forbidden in restricted mode
++(restricted.sh:33) pwd
+(restricted.sh:33) ln -sfn /lix-src/build/tests/functional/restricted.nix /tmp/nix-shell.MrxVR3/nix-test/restricted/restricted.nix
++(restricted.sh:34) nix-instantiate --eval /tmp/nix-shell.MrxVR3/nix-test/restricted/restricted.nix
+(restricted.sh:34) [[ 3 == 3 ]]
+(restricted.sh:35) nix-instantiate --eval --restrict-eval /tmp/nix-shell.MrxVR3/nix-test/restricted/restricted.nix
error: access to absolute path '/tmp/nix-shell.MrxVR3/nix-test/restricted/restricted.nix' is forbidden in restricted mode
+(restricted.sh:36) nix-instantiate --eval --restrict-eval /tmp/nix-shell.MrxVR3/nix-test/restricted/restricted.nix -I /tmp/nix-shell.MrxVR3/nix-test/restricted
error: access to canonical path '/lix-src/build/tests/functional/restricted.nix' is forbidden in restricted mode
+(restricted.sh:37) nix-instantiate --eval --restrict-eval /tmp/nix-shell.MrxVR3/nix-test/restricted/restricted.nix -I .
error: access to absolute path '/tmp/nix-shell.MrxVR3/nix-test/restricted/restricted.nix' is forbidden in restricted mode
+(restricted.sh:38) nix-instantiate --eval --restrict-eval /tmp/nix-shell.MrxVR3/nix-test/restricted/restricted.nix -I /tmp/nix-shell.MrxVR3/nix-test/restricted -I .
++(restricted.sh:40) nix eval --raw --impure --restrict-eval -I . --expr 'builtins.readFile "${import ./simple.nix}/hello"'
building '/tmp/nix-shell.MrxVR3/nix-test/restricted/store/6vw7gf43sd8hivcwsdwbs9bprmqaxpz5-simple.drv'...
+(restricted.sh:40) [[ Hello World! == \H\e\l\l\o\ \W\o\r\l\d\! ]]
++(restricted.sh:43) pwd
+(restricted.sh:43) traverseDir=/lix-src/build/tests/functional/restricted-traverse-me
++(restricted.sh:44) pwd
++(restricted.sh:44) pwd
+(restricted.sh:44) ln -sfn /lix-src/build/tests/functional/restricted-secret /lix-src/build/tests/functional/restricted-innocent
+(restricted.sh:45) mkdir -p /lix-src/build/tests/functional/restricted-traverse-me
++(restricted.sh:46) echo /lix-src/build/tests/functional/restricted-traverse-me
++(restricted.sh:46) sed -e 's,[^/]\+,..,g'
+(restricted.sh:46) goUp=../../../../../..
+++(restricted.sh:49) pwd
++(restricted.sh:49) nix eval --raw --restrict-eval -I /lix-src/build/tests/functional/restricted-traverse-me --expr 'builtins.readFile "/lix-src/build/tests/functional/restricted-traverse-me/../../../../../../lix-src/build/tests/functional/restricted-innocent"'
++(restricted.sh:49) :
+(restricted.sh:49) output='error:
… while calling the '\''readFile'\'' builtin
at «string»:1:1:
1| builtins.readFile "/lix-src/build/tests/functional/restricted-traverse-me/../../../../../../lix-src/build/tests/functional/restricted-innocent"
| ^
… while realising the context of path '\''/lix-src/build/tests/functional/restricted-innocent'\''
error: access to absolute path '\''/lix-src/build/tests/functional/restricted-innocent'\'' is forbidden in pure eval mode (use '\''--impure'\'' to override)'
+(restricted.sh:50) echo 'error:
… while calling the '\''readFile'\'' builtin
at «string»:1:1:
1| builtins.readFile "/lix-src/build/tests/functional/restricted-traverse-me/../../../../../../lix-src/build/tests/functional/restricted-innocent"
| ^
… while realising the context of path '\''/lix-src/build/tests/functional/restricted-innocent'\''
error: access to absolute path '\''/lix-src/build/tests/functional/restricted-innocent'\'' is forbidden in pure eval mode (use '\''--impure'\'' to override)'
+(restricted.sh:50) grep 'is forbidden'
+(restricted.sh:51) echo 'error:
… while calling the '\''readFile'\'' builtin
at «string»:1:1:
1| builtins.readFile "/lix-src/build/tests/functional/restricted-traverse-me/../../../../../../lix-src/build/tests/functional/restricted-innocent"
| ^
… while realising the context of path '\''/lix-src/build/tests/functional/restricted-innocent'\''
error: access to absolute path '\''/lix-src/build/tests/functional/restricted-innocent'\'' is forbidden in pure eval mode (use '\''--impure'\'' to override)'
+(restricted.sh:51) grepInverse -F restricted-secret
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:249) grep -F restricted-secret
+(restricted.sh:53) expectStderr 1 nix-instantiate --restrict-eval true ./dependencies.nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(restricted.sh:53) grepQuiet 'forbidden in restricted mode'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix-instantiate --restrict-eval true ./dependencies.nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'forbidden in restricted mode'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0clearing store...
testing bad...
[{"ca":"fixed:md5:2qk15sxzzjlnpjk9brn7j8ppcd","deriver":"/tmp/nix-shell.MrxVR3/nix-test/fixed/store/l0lhckw7b81wrsm94769nrmw1850k8jr-fixed.drv","narHash":"sha256-O10uvOJfh8DTewsEX93TDfkI6iCt6ohRNx8wITd0Lq8=","narSize":128,"path":"/tmp/nix-shell.MrxVR3/nix-test/fixed/store/zrlw3jvm6ag0hvvqip7p8s33m1ysrdnp-fixed","references":[],"registrationTime":1716682865,"ultimate":true,"valid":true}]
testing good...
/tmp/nix-shell.MrxVR3/nix-test/fixed/store/zrlw3jvm6ag0hvvqip7p8s33m1ysrdnp-fixed
/tmp/nix-shell.MrxVR3/nix-test/fixed/store/cg136imv5dvcyzj7fi3j93m7di5s0pcr-fixed
/tmp/nix-shell.MrxVR3/nix-test/fixed/store/5l6879jvsc13c4c89h2p0rk9d93c2mrb-fixed
/tmp/nix-shell.MrxVR3/nix-test/fixed/store/6h4h28l3i8jib5g90wzaj17idpp1rwsd-fixed
testing --check...
testing good2...
/tmp/nix-shell.MrxVR3/nix-test/fixed/store/zrlw3jvm6ag0hvvqip7p8s33m1ysrdnp-fixed
testing reallyBad...
testing fixed with references...
testing attribute selection...
testing parallelSame...
clearing store...
/tmp/nix-shell.MrxVR3/nix-test/fixed/store/5l6879jvsc13c4c89h2p0rk9d93c2mrb-fixed
/tmp/nix-shell.MrxVR3/nix-test/fixed/store/5l6879jvsc13c4c89h2p0rk9d93c2mrb-fixed
testing sameAsAdd...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/fixed
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/fixed
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/fixed
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fixed
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/fixed
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/fixed/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/fixed/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/fixed/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/fixed/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/fixed/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/fixed/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(fixed.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/fixed/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fixed/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/fixed/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fixed/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fixed/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/fixed/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fixed/test-home/.local/state/nix/profiles
+++(fixed.sh:5) nix-instantiate fixed.nix -A good.0
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
++(fixed.sh:5) nix-store -q /tmp/nix-shell.MrxVR3/nix-test/fixed/store/7r0ni6w3wdknyd4p272y3kin1r3a8r7r-fixed.drv
+(fixed.sh:5) path=/tmp/nix-shell.MrxVR3/nix-test/fixed/store/zrlw3jvm6ag0hvvqip7p8s33m1ysrdnp-fixed
+(fixed.sh:7) echo 'testing bad...'
+(fixed.sh:8) nix-build fixed.nix -A bad --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/fixed/store/l0lhckw7b81wrsm94769nrmw1850k8jr-fixed.drv
building '/tmp/nix-shell.MrxVR3/nix-test/fixed/store/l0lhckw7b81wrsm94769nrmw1850k8jr-fixed.drv'...
error: hash mismatch in fixed-output derivation '/tmp/nix-shell.MrxVR3/nix-test/fixed/store/l0lhckw7b81wrsm94769nrmw1850k8jr-fixed.drv':
specified: md5-Dd2L5LF5pSmvpfL/rkuYWA==
got: md5-jd2L5LF5pSmvpfL/rkuYWA==
+(fixed.sh:12) [[ -e /tmp/nix-shell.MrxVR3/nix-test/fixed/store/zrlw3jvm6ag0hvvqip7p8s33m1ysrdnp-fixed ]]
+(fixed.sh:13) grep fixed:md5:2qk15sxzzjlnpjk9brn7j8ppcd
+(fixed.sh:13) nix path-info --json /tmp/nix-shell.MrxVR3/nix-test/fixed/store/zrlw3jvm6ag0hvvqip7p8s33m1ysrdnp-fixed
+(fixed.sh:15) echo 'testing good...'
+(fixed.sh:16) nix-build fixed.nix -A good --no-out-link
these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/fixed/store/l35m3q81ssxcxz1gj6b4k36ycraa1sl1-fixed.drv
/tmp/nix-shell.MrxVR3/nix-test/fixed/store/qi5bknq8i4660f9ny6gag5hvwxjs1cf2-fixed.drv
/tmp/nix-shell.MrxVR3/nix-test/fixed/store/w1qr7bdibhxrkqkq479p5b4vv1w40pj5-fixed.drv
building '/tmp/nix-shell.MrxVR3/nix-test/fixed/store/l35m3q81ssxcxz1gj6b4k36ycraa1sl1-fixed.drv'...
dummy:
building '/tmp/nix-shell.MrxVR3/nix-test/fixed/store/qi5bknq8i4660f9ny6gag5hvwxjs1cf2-fixed.drv'...
dummy:
building '/tmp/nix-shell.MrxVR3/nix-test/fixed/store/w1qr7bdibhxrkqkq479p5b4vv1w40pj5-fixed.drv'...
+(fixed.sh:18) isDaemonNewer 2.4pre20210927
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
+(fixed.sh:19) echo 'testing --check...'
+(fixed.sh:20) nix-build fixed.nix -A check --check
checking outputs of '/tmp/nix-shell.MrxVR3/nix-test/fixed/store/3ibb92892hmnwf50zrhsjm168ccmcjnd-fixed.drv'...
error: hash mismatch in fixed-output derivation '/tmp/nix-shell.MrxVR3/nix-test/fixed/store/3ibb92892hmnwf50zrhsjm168ccmcjnd-fixed.drv':
specified: md5-NnCvcwcPoUB3rXTg9epOQg==
got: md5-BAidZ0nqkQnX88vHB6/uwQ==
+(fixed.sh:23) echo 'testing good2...'
+(fixed.sh:24) nix-build fixed.nix -A good2 --no-out-link
+(fixed.sh:26) echo 'testing reallyBad...'
+(fixed.sh:27) nix-instantiate fixed.nix -A reallyBad
error:
… while calling the 'derivationStrict' builtin
at /builtin/derivation.nix:1:208:
… while evaluating derivation 'fixed'
whose name attribute is located at /lix-src/build/tests/functional/fixed.nix:6:5
error: hash 'ddd8be4b179a529afa5f2ffae4b9858' has wrong length for hash type 'md5'
+(fixed.sh:29) isDaemonNewer 2.20pre20240108
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
+(fixed.sh:30) echo 'testing fixed with references...'
+(fixed.sh:31) expectStderr 1 nix-build fixed.nix -A badReferences
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(fixed.sh:31) grepQuiet 'not allowed to refer to other store paths'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix-build fixed.nix -A badReferences
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'not allowed to refer to other store paths'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(fixed.sh:35) echo 'testing attribute selection...'
++(fixed.sh:36) wc -l
++(fixed.sh:36) nix-instantiate fixed.nix -A good.1
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(fixed.sh:36) test 1 = 1
+(fixed.sh:40) echo 'testing parallelSame...'
+(fixed.sh:41) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/fixed/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fixed/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/fixed/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fixed/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fixed/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/fixed/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fixed/test-home/.local/state/nix/profiles
+(fixed.sh:42) nix-build fixed.nix -A parallelSame --no-out-link -j2
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/fixed/store/5k117xfg0ra1bi21fg3sf4lif8dy79qq-fixed.drv
/tmp/nix-shell.MrxVR3/nix-test/fixed/store/kshsjh5rd7nxy97sknq7indxsnwc5m8b-fixed.drv
waiting for lock on '/tmp/nix-shell.MrxVR3/nix-test/fixed/store/5l6879jvsc13c4c89h2p0rk9d93c2mrb-fixed'...
building '/tmp/nix-shell.MrxVR3/nix-test/fixed/store/5k117xfg0ra1bi21fg3sf4lif8dy79qq-fixed.drv'...
dummy: foo
+(fixed.sh:46) echo 'testing sameAsAdd...'
++(fixed.sh:47) nix-build fixed.nix -A sameAsAdd --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/fixed/store/wwxpyidk7zwljb1pkni9dh96b5s9kmyn-fixed.drv
building '/tmp/nix-shell.MrxVR3/nix-test/fixed/store/wwxpyidk7zwljb1pkni9dh96b5s9kmyn-fixed.drv'...
dummy:
+(fixed.sh:47) out=/tmp/nix-shell.MrxVR3/nix-test/fixed/store/z73s6bkfgfrlgrsx7v5d3iq7a40c26mx-fixed
+(fixed.sh:50) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fixed/fixed
+(fixed.sh:51) mkdir /tmp/nix-shell.MrxVR3/nix-test/fixed/fixed
+(fixed.sh:52) mkdir /tmp/nix-shell.MrxVR3/nix-test/fixed/fixed/bla
+(fixed.sh:53) echo 'Hello World!'
+(fixed.sh:54) ln -s foo /tmp/nix-shell.MrxVR3/nix-test/fixed/fixed/bar
++(fixed.sh:56) nix-store --add /tmp/nix-shell.MrxVR3/nix-test/fixed/fixed
+(fixed.sh:56) out2=/tmp/nix-shell.MrxVR3/nix-test/fixed/store/z73s6bkfgfrlgrsx7v5d3iq7a40c26mx-fixed
+(fixed.sh:57) '[' /tmp/nix-shell.MrxVR3/nix-test/fixed/store/z73s6bkfgfrlgrsx7v5d3iq7a40c26mx-fixed = /tmp/nix-shell.MrxVR3/nix-test/fixed/store/z73s6bkfgfrlgrsx7v5d3iq7a40c26mx-fixed ']'
++(fixed.sh:59) nix-store --add-fixed --recursive sha256 /tmp/nix-shell.MrxVR3/nix-test/fixed/fixed
+(fixed.sh:59) out3=/tmp/nix-shell.MrxVR3/nix-test/fixed/store/z73s6bkfgfrlgrsx7v5d3iq7a40c26mx-fixed
+(fixed.sh:60) '[' /tmp/nix-shell.MrxVR3/nix-test/fixed/store/z73s6bkfgfrlgrsx7v5d3iq7a40c26mx-fixed = /tmp/nix-shell.MrxVR3/nix-test/fixed/store/z73s6bkfgfrlgrsx7v5d3iq7a40c26mx-fixed ']'
++(fixed.sh:62) nix-store --print-fixed-path --recursive sha256 1ixr6yd3297ciyp9im522dfxpqbkhcw0pylkb2aab915278fqaik fixed
+(fixed.sh:62) out4=/tmp/nix-shell.MrxVR3/nix-test/fixed/store/z73s6bkfgfrlgrsx7v5d3iq7a40c26mx-fixed
+(fixed.sh:63) '[' /tmp/nix-shell.MrxVR3/nix-test/fixed/store/z73s6bkfgfrlgrsx7v5d3iq7a40c26mx-fixed = /tmp/nix-shell.MrxVR3/nix-test/fixed/store/z73s6bkfgfrlgrsx7v5d3iq7a40c26mx-fixed ']'[FAIL]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(build-remote-content-addressed-fixed.sh:3) file=build-hook-ca-fixed.nix
+(build-remote-content-addressed-fixed.sh:5) source build-remote.sh
++(build-remote.sh:1) requireSandboxSupport
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:167) canUseSandbox
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:163) [[ -n 1 ]]
++(build-remote.sh:2) [[ /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]]
++(build-remote.sh:5) unset NIX_STORE_DIR
++(build-remote.sh:6) unset NIX_STATE_DIR
++(build-remote.sh:10) EXTRA_SYSTEM_FEATURES=()
++(build-remote.sh:11) [[ -n '' ]]
++(build-remote.sh:21) builders=("ssh://localhost?remote-store=$TEST_ROOT/machine1?system-features=$(join_by "%20" foo ${EXTRA_SYSTEM_FEATURES[@]}) - - 1 1 $(join_by "," foo ${EXTRA_SYSTEM_FEATURES[@]})" "$TEST_ROOT/machine2 - - 1 1 $(join_by "," bar ${EXTRA_SYSTEM_FEATURES[@]})" "ssh-ng://localhost?remote-store=$TEST_ROOT/machine3?system-features=$(join_by "%20" baz ${EXTRA_SYSTEM_FEATURES[@]}) - - 1 1 $(join_by "," baz ${EXTRA_SYSTEM_FEATURES[@]})")
+++(build-remote.sh:21) join_by %20 foo
+++(build-remote.sh:8) local d=%20
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) echo -n foo
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) printf %s
+++(build-remote.sh:21) join_by , foo
+++(build-remote.sh:8) local d=,
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) echo -n foo
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) printf %s
+++(build-remote.sh:21) join_by , bar
+++(build-remote.sh:8) local d=,
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) echo -n bar
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) printf %s
+++(build-remote.sh:21) join_by %20 baz
+++(build-remote.sh:8) local d=%20
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) echo -n baz
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) printf %s
+++(build-remote.sh:21) join_by , baz
+++(build-remote.sh:8) local d=,
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) echo -n baz
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) printf %s
++(build-remote.sh:23) chmod -R +w '/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine*'
chmod: cannot access '/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine*': No such file or directory
++(build-remote.sh:23) true
++(build-remote.sh:24) rm -rf '/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine*'
+++(build-remote.sh:29) join_by '; ' 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine1?system-features=foo - - 1 1 foo' '/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine2 - - 1 1 bar' 'ssh-ng://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine3?system-features=baz - - 1 1 baz'
+++(build-remote.sh:8) local 'd=; '
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) echo -n 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine1?system-features=foo - - 1 1 foo'
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) printf %s '; /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine2 - - 1 1 bar' '; ssh-ng://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine3?system-features=baz - - 1 1 baz'
++(build-remote.sh:29) nix build -L -v -f build-hook-ca-fixed.nix -o /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/result --max-jobs 0 --arg busybox /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine0 --builders 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine1?system-features=foo - - 1 1 foo; /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine2 - - 1 1 bar; ssh-ng://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine3?system-features=baz - - 1 1 baz'
these 4 derivations will be built:
/nix/store/i08ckdkbg496j375qdn4f1qph16lfzrw-build-remote-input-2.drv
/nix/store/1krxcb2i7nhxf8xkq91bxw4zr0sk58cm-build-remote-input-3.drv
/nix/store/xxigv7q0k5j65zijz99k7idgwydbbkcg-build-remote-input-1.drv
/nix/store/78l4a7kpb7js2r97kk6an0j5js8pjsci-build-remote.drv
connecting to 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine1?system-features=foo'...
building '/nix/store/xxigv7q0k5j65zijz99k7idgwydbbkcg-build-remote-input-1.drv' on 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine1?system-features=foo'...
connecting to '/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine2'...
building '/nix/store/i08ckdkbg496j375qdn4f1qph16lfzrw-build-remote-input-2.drv' on '/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine2'...
waiting for the upload lock to 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine1?system-features=foo'...
copying dependencies to 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine1?system-features=foo'...
copying 2 paths...
copying path '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh' to 'ssh://localhost'...
copying path '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox' to 'ssh://localhost'...
build-remote-input> error: executing '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox': No such file or directory
waiting for the upload lock to '/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine2'...
copying dependencies to '/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine2'...
copying 2 paths...
copying path '/nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' to 'local'...
copying path '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox' to 'local'...
error: build of '/nix/store/xxigv7q0k5j65zijz99k7idgwydbbkcg-build-remote-input-1.drv' on 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-fixed/machine1?system-features=foo' failed: builder for '/nix/store/xxigv7q0k5j65zijz99k7idgwydbbkcg-build-remote-input-1.drv' failed with exit code 1
error: builder for '/nix/store/xxigv7q0k5j65zijz99k7idgwydbbkcg-build-remote-input-1.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/78l4a7kpb7js2r97kk6an0j5js8pjsci-build-remote.drv' failed to build
+++(build-remote.sh:29) onError
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
build-remote-content-addressed-fixed.sh: test failed at:
source in build-remote.sh:29
main in build-remote-content-addressed-fixed.sh:5clearing store...
/tmp/nix-shell.MrxVR3/nix-test/recursive/store/83rj9wzk5pa2n1m3jw430w54wf1y7z7w-foobar
/tmp/nix-shell.MrxVR3/nix-test/recursive/store/8aa6djy45l5zjfl2abjiscjr3dkfbzzx-fnord
/tmp/nix-shell.MrxVR3/nix-test/recursive/store/a4mm1ikzgmvghaxvlrlf92lxbhakjd5v-inner1
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/recursive
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/recursive
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/recursive
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/recursive
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/recursive
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/recursive/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/recursive/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/recursive/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/recursive/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/recursive/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/recursive/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(recursive.sh:3) enableFeatures recursive-nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=recursive-nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& recursive-nix/' /tmp/nix-shell.MrxVR3/nix-test/recursive/etc/nix.conf
+(recursive.sh:4) restartDaemon
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(recursive.sh:6) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/recursive/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/recursive/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/recursive/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/recursive/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/recursive/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/recursive/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/recursive/test-home/.local/state/nix/profiles
+(recursive.sh:8) rm -f /tmp/nix-shell.MrxVR3/nix-test/recursive/result
++(recursive.sh:10) nix store add-path ./recursive.sh
+(recursive.sh:10) export unreachable=/tmp/nix-shell.MrxVR3/nix-test/recursive/store/xixr1mylk3dndd93fpjvhmnldl8vfl1s-recursive.sh
+(recursive.sh:10) unreachable=/tmp/nix-shell.MrxVR3/nix-test/recursive/store/xixr1mylk3dndd93fpjvhmnldl8vfl1s-recursive.sh
+++(recursive.sh:12) type -p nix
++(recursive.sh:12) dirname /lix-src/outputs/out/bin/nix
+(recursive.sh:12) NIX_BIN_DIR=/lix-src/outputs/out/bin
+(recursive.sh:12) nix --extra-experimental-features 'nix-command recursive-nix' build -o /tmp/nix-shell.MrxVR3/nix-test/recursive/result -L --impure --file ./recursive.nix
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/recursive/store/izf0rvlmb3p1yn5wqwr7a54py0vj2yxn-recursive.drv
building '/tmp/nix-shell.MrxVR3/nix-test/recursive/store/izf0rvlmb3p1yn5wqwr7a54py0vj2yxn-recursive.drv'...
recursive> /tmp/nix-shell.MrxVR3/nix-test/recursive/store/aa44fq552vhaxn5i74dyni3h658j3rxa-dummy
recursive> don't know how to build these paths:
recursive> /tmp/nix-shell.MrxVR3/nix-test/recursive/store/xixr1mylk3dndd93fpjvhmnldl8vfl1s-recursive.sh
recursive> error: path '/tmp/nix-shell.MrxVR3/nix-test/recursive/store/xixr1mylk3dndd93fpjvhmnldl8vfl1s-recursive.sh' is not valid
recursive> error: cannot build '/tmp/nix-shell.MrxVR3/nix-test/recursive/store/xixr1mylk3dndd93fpjvhmnldl8vfl1s-recursive.sh' in recursive Nix because path is unknown
recursive> /tmp/nix-shell.MrxVR3/nix-test/recursive/store/83rj9wzk5pa2n1m3jw430w54wf1y7z7w-foobar
building '/tmp/nix-shell.MrxVR3/nix-test/recursive/store/pad579p9zs605m9d92ard0i5dcxclq7n-inner1.drv'...
recursive> m
++(recursive.sh:14) cat /tmp/nix-shell.MrxVR3/nix-test/recursive/result/inner1
+(recursive.sh:14) [[ /tmp/nix-shell.MrxVR3/nix-test/recursive/store/8aa6djy45l5zjfl2abjiscjr3dkfbzzx-fnord blaat =~ blaat ]]
+(recursive.sh:17) nix path-info -r /tmp/nix-shell.MrxVR3/nix-test/recursive/result
+(recursive.sh:17) grep foobar
+(recursive.sh:18) nix path-info -r /tmp/nix-shell.MrxVR3/nix-test/recursive/result
+(recursive.sh:18) grep fnord
+(recursive.sh:19) nix path-info -r /tmp/nix-shell.MrxVR3/nix-test/recursive/result
+(recursive.sh:19) grep inner1[FAIL]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(build-remote-content-addressed-floating.sh:3) file=build-hook-ca-floating.nix
+(build-remote-content-addressed-floating.sh:5) enableFeatures ca-derivations
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/etc/nix.conf
+(build-remote-content-addressed-floating.sh:7) CONTENT_ADDRESSED=true
+(build-remote-content-addressed-floating.sh:9) source build-remote.sh
++(build-remote.sh:1) requireSandboxSupport
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:167) canUseSandbox
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:163) [[ -n 1 ]]
++(build-remote.sh:2) [[ /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]]
++(build-remote.sh:5) unset NIX_STORE_DIR
++(build-remote.sh:6) unset NIX_STATE_DIR
++(build-remote.sh:10) EXTRA_SYSTEM_FEATURES=()
++(build-remote.sh:11) [[ -n true ]]
++(build-remote.sh:12) EXTRA_SYSTEM_FEATURES=("ca-derivations")
++(build-remote.sh:21) builders=("ssh://localhost?remote-store=$TEST_ROOT/machine1?system-features=$(join_by "%20" foo ${EXTRA_SYSTEM_FEATURES[@]}) - - 1 1 $(join_by "," foo ${EXTRA_SYSTEM_FEATURES[@]})" "$TEST_ROOT/machine2 - - 1 1 $(join_by "," bar ${EXTRA_SYSTEM_FEATURES[@]})" "ssh-ng://localhost?remote-store=$TEST_ROOT/machine3?system-features=$(join_by "%20" baz ${EXTRA_SYSTEM_FEATURES[@]}) - - 1 1 $(join_by "," baz ${EXTRA_SYSTEM_FEATURES[@]})")
+++(build-remote.sh:21) join_by %20 foo ca-derivations
+++(build-remote.sh:8) local d=%20
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) echo -n foo
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) printf %s %20ca-derivations
+++(build-remote.sh:21) join_by , foo ca-derivations
+++(build-remote.sh:8) local d=,
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) echo -n foo
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) printf %s ,ca-derivations
+++(build-remote.sh:21) join_by , bar ca-derivations
+++(build-remote.sh:8) local d=,
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) echo -n bar
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) printf %s ,ca-derivations
+++(build-remote.sh:21) join_by %20 baz ca-derivations
+++(build-remote.sh:8) local d=%20
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) echo -n baz
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) printf %s %20ca-derivations
+++(build-remote.sh:21) join_by , baz ca-derivations
+++(build-remote.sh:8) local d=,
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) echo -n baz
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) printf %s ,ca-derivations
++(build-remote.sh:23) chmod -R +w '/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine*'
chmod: cannot access '/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine*': No such file or directory
++(build-remote.sh:23) true
++(build-remote.sh:24) rm -rf '/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine*'
+++(build-remote.sh:29) join_by '; ' 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations - - 1 1 foo,ca-derivations' '/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine2 - - 1 1 bar,ca-derivations' 'ssh-ng://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine3?system-features=baz%20ca-derivations - - 1 1 baz,ca-derivations'
+++(build-remote.sh:8) local 'd=; '
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) echo -n 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations - - 1 1 foo,ca-derivations'
+++(build-remote.sh:8) shift
+++(build-remote.sh:8) printf %s '; /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine2 - - 1 1 bar,ca-derivations' '; ssh-ng://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine3?system-features=baz%20ca-derivations - - 1 1 baz,ca-derivations'
++(build-remote.sh:29) nix build -L -v -f build-hook-ca-floating.nix -o /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/result --max-jobs 0 --arg busybox /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine0 --builders 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations - - 1 1 foo,ca-derivations; /tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine2 - - 1 1 bar,ca-derivations; ssh-ng://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine3?system-features=baz%20ca-derivations - - 1 1 baz,ca-derivations'
these 4 derivations will be built:
/nix/store/32pbzk8zj9nq6q7yj4h18hqwwv9gxpr1-build-remote-input-1.drv
/nix/store/x33cwb9dr40b734sf4c0ylsqsr61dk0i-build-remote-input-2.drv
/nix/store/nhxgrrp7lnlwz2bf6ffag174lzz672jw-build-remote-input-3.drv
/nix/store/fzlybi1582lhaf5ymgh5x17wj9yc5x7w-build-remote.drv
connecting to 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations'...
building '/nix/store/32pbzk8zj9nq6q7yj4h18hqwwv9gxpr1-build-remote-input-1.drv' on 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations'...
connecting to '/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine2'...
building '/nix/store/x33cwb9dr40b734sf4c0ylsqsr61dk0i-build-remote-input-2.drv' on '/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine2'...
waiting for the upload lock to 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations'...
copying dependencies to 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations'...
copying 2 paths...
copying path '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh' to 'ssh://localhost'...
copying path '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox' to 'ssh://localhost'...
build-remote-input> error: executing '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox': No such file or directory
waiting for the upload lock to '/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine2'...
copying dependencies to '/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine2'...
copying 2 paths...
copying path '/nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' to 'local'...
copying path '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox' to 'local'...
error: build of '/nix/store/32pbzk8zj9nq6q7yj4h18hqwwv9gxpr1-build-remote-input-1.drv' on 'ssh://localhost?remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-content-addressed-floating/machine1?system-features=foo%20ca-derivations' failed: builder for '/nix/store/32pbzk8zj9nq6q7yj4h18hqwwv9gxpr1-build-remote-input-1.drv' failed with exit code 1
error: builder for '/nix/store/32pbzk8zj9nq6q7yj4h18hqwwv9gxpr1-build-remote-input-1.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/fzlybi1582lhaf5ymgh5x17wj9yc5x7w-build-remote.drv' failed to build
+++(build-remote.sh:29) onError
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
build-remote-content-addressed-floating.sh: test failed at:
source in build-remote.sh:29
main in build-remote-content-addressed-floating.sh:9clearing store...
1 store paths deleted, 0.00 MiB freed
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(gc-non-blocking.sh:5) needLocalStore 'the GC test needs a synchronisation point'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:217) [[ '' == \d\a\e\m\o\n ]]
+(gc-non-blocking.sh:7) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/test-home/.local/state/nix/profiles
+(gc-non-blocking.sh:11) fifo1=/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/test2.fifo
+(gc-non-blocking.sh:12) mkfifo /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/test2.fifo
+(gc-non-blocking.sh:16) fifo2=/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/test.fifo
+(gc-non-blocking.sh:17) mkfifo /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/test.fifo
++(gc-non-blocking.sh:19) nix store add-path ./simple.nix
+(gc-non-blocking.sh:19) dummy=/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/rsgqd9j7dmlazfxysy9g865ni7az3w88-simple.nix
+(gc-non-blocking.sh:21) running=/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/running
+(gc-non-blocking.sh:22) touch /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/running
+(gc-non-blocking.sh:26) pid=30327
+(gc-non-blocking.sh:28) sleep 2
+(gc-non-blocking.sh:25) _NIX_TEST_GC_SYNC_1=/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/test2.fifo
+(gc-non-blocking.sh:25) _NIX_TEST_GC_SYNC_2=/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/test.fifo
+(gc-non-blocking.sh:25) nix-store --gc -vvvvv
+(gc-non-blocking.sh:33) pid2=32773
+(gc-non-blocking.sh:32) sleep 1
++(gc-non-blocking.sh:41) nix-build --max-silent-time 60 -o /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/result -E '
with import ./config.nix;
mkDerivation {
name = "non-blocking";
buildCommand = "set -x; test -e /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/running; mkdir $out; echo > /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/test.fifo";
}'
+(gc-non-blocking.sh:32) echo
finding garbage collector roots...
GC roots server accepted new client
got new GC root '/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/wfx9sywh2mlmn43g6590l37iy7bsfilz-builder-non-blocking.sh'
got new GC root '/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/jla5l6kd71x222lh5b4w76n58z81gqxj-non-blocking.drv'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/jla5l6kd71x222lh5b4w76n58z81gqxj-non-blocking.drv
got new GC root '/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/jla5l6kd71x222lh5b4w76n58z81gqxj-non-blocking.drv'
got new GC root '/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/dkvpsscgb4md6gr2h36jzb4vpx64vg91-non-blocking'
got new GC root '/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/dkvpsscgb4md6gr2h36jzb4vpx64vg91-non-blocking'
building '/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/jla5l6kd71x222lh5b4w76n58z81gqxj-non-blocking.drv'...
++ test -e /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/running
++ mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/dkvpsscgb4md6gr2h36jzb4vpx64vg91-non-blocking
++ echo
reading temporary root file '/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/var/nix/temproots/32774'
got temporary root '/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/wfx9sywh2mlmn43g6590l37iy7bsfilz-builder-non-blocking.sh'
got temporary root '/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/jla5l6kd71x222lh5b4w76n58z81gqxj-non-blocking.drv'
got temporary root '/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/jla5l6kd71x222lh5b4w76n58z81gqxj-non-blocking.drv'
got temporary root '/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/dkvpsscgb4md6gr2h36jzb4vpx64vg91-non-blocking'
got temporary root '/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/dkvpsscgb4md6gr2h36jzb4vpx64vg91-non-blocking'
deleting garbage...
cannot delete '/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/dkvpsscgb4md6gr2h36jzb4vpx64vg91-non-blocking.lock' because it's a temporary root
cannot delete '/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/dkvpsscgb4md6gr2h36jzb4vpx64vg91-non-blocking' because it's a root
invalidating path '/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/rsgqd9j7dmlazfxysy9g865ni7az3w88-simple.nix'
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/rsgqd9j7dmlazfxysy9g865ni7az3w88-simple.nix'
cannot delete '/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/wfx9sywh2mlmn43g6590l37iy7bsfilz-builder-non-blocking.sh' because it's a root
cannot delete '/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/jla5l6kd71x222lh5b4w76n58z81gqxj-non-blocking.drv' because it's a root
deleting unused links...
note: currently hard linking saves -0.00 MiB
GC roots server shutting down
reading GC root from client: error: unexpected EOF reading a line
+(gc-non-blocking.sh:25) rm /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/running
+(gc-non-blocking.sh:41) outPath=/tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/dkvpsscgb4md6gr2h36jzb4vpx64vg91-non-blocking
+(gc-non-blocking.sh:43) wait 30327
+(gc-non-blocking.sh:44) wait 32773
+(gc-non-blocking.sh:46) test -e /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/running
+(gc-non-blocking.sh:47) test -e /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/rsgqd9j7dmlazfxysy9g865ni7az3w88-simple.nix
+(gc-non-blocking.sh:48) test -e /tmp/nix-shell.MrxVR3/nix-test/gc-non-blocking/store/dkvpsscgb4md6gr2h36jzb4vpx64vg91-non-blocking[FAIL]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-0
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-0
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-0
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-0
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-0
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-0/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-0/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-0/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-0/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-0/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-0/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(build-remote-trustless-should-pass-0.sh:4) file=build-hook.nix
+(build-remote-trustless-should-pass-0.sh:5) prog=nix-store
+(build-remote-trustless-should-pass-0.sh:6) proto=ssh
+(build-remote-trustless-should-pass-0.sh:8) source build-remote-trustless.sh
++(build-remote-trustless.sh:1) requireSandboxSupport
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:167) canUseSandbox
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:163) [[ -n 1 ]]
++(build-remote-trustless.sh:2) [[ /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]]
++(build-remote-trustless.sh:4) unset NIX_STORE_DIR
++(build-remote-trustless.sh:5) unset NIX_STATE_DIR
++(build-remote-trustless.sh:7) remoteDir=/tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-0/remote
++(build-remote-trustless.sh:11) nix-build build-hook.nix -o /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-0/result --max-jobs 0 --arg busybox /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-0/local --builders 'ssh://localhost?remote-program=nix-store&remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-0/remote%3Fsystem-features=foo%20bar%20baz - - 1 1 foo,bar,baz'
these 4 derivations will be built:
/nix/store/35alvhx3jbr9j6bm9wdhzk7kvbgyzack-build-remote-input-2.drv
/nix/store/bh0lskx0g2qd88l2fsjvy85dc2lrwr0s-build-remote-input-3.drv
/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv
/nix/store/yfcf7n7nv6ayfrvs6w002v9fpjxblshj-build-remote.drv
building '/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv' on 'ssh://localhost?remote-program=nix-store&remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-0/remote%3Fsystem-features=foo%20bar%20baz'...
building '/nix/store/35alvhx3jbr9j6bm9wdhzk7kvbgyzack-build-remote-input-2.drv' on 'ssh://localhost?remote-program=nix-store&remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-0/remote%3Fsystem-features=foo%20bar%20baz'...
copying 2 paths...
copying path '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh' to 'ssh://localhost'...
copying path '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox' to 'ssh://localhost'...
error: executing '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox': No such file or directory
copying 1 paths...
copying path '/nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' to 'ssh://localhost'...
error: build of '/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv' on 'ssh://localhost?remote-program=nix-store&remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-0/remote%3Fsystem-features=foo%20bar%20baz' failed: builder for '/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv' failed with exit code 1
error: builder for '/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/yfcf7n7nv6ayfrvs6w002v9fpjxblshj-build-remote.drv' failed to build
+++(build-remote-trustless.sh:11) onError
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
build-remote-trustless-should-pass-0.sh: test failed at:
source in build-remote-trustless.sh:11
main in build-remote-trustless-should-pass-0.sh:8[FAIL]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-1
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-1
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-1
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-1
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-1
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-1/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-1/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-1/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-1/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-1/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-1/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(build-remote-trustless-should-pass-1.sh:4) file=build-hook.nix
+(build-remote-trustless-should-pass-1.sh:5) prog=nix-daemon
+(build-remote-trustless-should-pass-1.sh:6) proto=ssh-ng
+(build-remote-trustless-should-pass-1.sh:8) source build-remote-trustless.sh
++(build-remote-trustless.sh:1) requireSandboxSupport
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:167) canUseSandbox
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:163) [[ -n 1 ]]
++(build-remote-trustless.sh:2) [[ /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]]
++(build-remote-trustless.sh:4) unset NIX_STORE_DIR
++(build-remote-trustless.sh:5) unset NIX_STATE_DIR
++(build-remote-trustless.sh:7) remoteDir=/tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-1/remote
++(build-remote-trustless.sh:11) nix-build build-hook.nix -o /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-1/result --max-jobs 0 --arg busybox /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-1/local --builders 'ssh-ng://localhost?remote-program=nix-daemon&remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-1/remote%3Fsystem-features=foo%20bar%20baz - - 1 1 foo,bar,baz'
these 4 derivations will be built:
/nix/store/35alvhx3jbr9j6bm9wdhzk7kvbgyzack-build-remote-input-2.drv
/nix/store/bh0lskx0g2qd88l2fsjvy85dc2lrwr0s-build-remote-input-3.drv
/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv
/nix/store/yfcf7n7nv6ayfrvs6w002v9fpjxblshj-build-remote.drv
building '/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv' on 'ssh-ng://localhost?remote-program=nix-daemon&remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-1/remote%3Fsystem-features=foo%20bar%20baz'...
building '/nix/store/35alvhx3jbr9j6bm9wdhzk7kvbgyzack-build-remote-input-2.drv' on 'ssh-ng://localhost?remote-program=nix-daemon&remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-1/remote%3Fsystem-features=foo%20bar%20baz'...
copying 2 paths...
copying path '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh' to 'ssh-ng://localhost'...
copying path '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox' to 'ssh-ng://localhost'...
copying 1 paths...
copying path '/nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' to 'ssh-ng://localhost'...
building '/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv'...
error: executing '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox': No such file or directory
error: build of '/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv' on 'ssh-ng://localhost?remote-program=nix-daemon&remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-1/remote%3Fsystem-features=foo%20bar%20baz' failed: builder for '/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv' failed with exit code 1;
last 1 log lines:
> error: executing '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox': No such file or directory
For full logs, run 'nix log /nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv'.
error: builder for '/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/yfcf7n7nv6ayfrvs6w002v9fpjxblshj-build-remote.drv' failed to build
+++(build-remote-trustless.sh:11) onError
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
build-remote-trustless-should-pass-1.sh: test failed at:
source in build-remote-trustless.sh:11
main in build-remote-trustless-should-pass-1.sh:8[FAIL]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-fail-0
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-fail-0
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-fail-0
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-fail-0
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-fail-0
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-fail-0/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-fail-0/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-fail-0/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-fail-0/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-fail-0/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-fail-0/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(build-remote-trustless-should-fail-0.sh:3) enableFeatures daemon-trust-override
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=daemon-trust-override
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& daemon-trust-override/' /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-fail-0/etc/nix.conf
+(build-remote-trustless-should-fail-0.sh:5) restartDaemon
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(build-remote-trustless-should-fail-0.sh:7) requireSandboxSupport
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:167) canUseSandbox
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:163) [[ -n 1 ]]
+(build-remote-trustless-should-fail-0.sh:8) [[ /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]]
+(build-remote-trustless-should-fail-0.sh:10) unset NIX_STORE_DIR
+(build-remote-trustless-should-fail-0.sh:11) unset NIX_STATE_DIR
+(build-remote-trustless-should-fail-0.sh:15) nix-build build-hook.nix -A passthru.input2 -o /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-fail-0/input2 --arg busybox /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-fail-0/local --option system-features bar
this derivation will be built:
/nix/store/35alvhx3jbr9j6bm9wdhzk7kvbgyzack-build-remote-input-2.drv
building '/nix/store/35alvhx3jbr9j6bm9wdhzk7kvbgyzack-build-remote-input-2.drv'...
error: executing '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox': No such file or directory
error: builder for '/nix/store/35alvhx3jbr9j6bm9wdhzk7kvbgyzack-build-remote-input-2.drv' failed with exit code 1
++(build-remote-trustless-should-fail-0.sh:15) onError
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
build-remote-trustless-should-fail-0.sh: test failed at:
main in build-remote-trustless-should-fail-0.sh:15[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/timeout
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/timeout
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/timeout
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/timeout
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/timeout
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/timeout/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/timeout/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/timeout/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/timeout/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/timeout/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/timeout/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(timeout.sh:6) needLocalStore 'see #4813'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:217) [[ '' == \d\a\e\m\o\n ]]
++(timeout.sh:8) nix-build -Q timeout.nix -A infiniteLoop --timeout 2
+(timeout.sh:8) messages='this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/timeout/store/7aa560bv1lhv4kfv86z550nqrlcj53yd-timeout.drv
building '\''/tmp/nix-shell.MrxVR3/nix-test/timeout/store/7aa560bv1lhv4kfv86z550nqrlcj53yd-timeout.drv'\''...
error: building of '\''/tmp/nix-shell.MrxVR3/nix-test/timeout/store/7aa560bv1lhv4kfv86z550nqrlcj53yd-timeout.drv^out'\'' from .drv file timed out after 2 seconds'
+(timeout.sh:8) status=101
+(timeout.sh:10) '[' 101 -ne 101 ']'
+(timeout.sh:15) echo 'this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/timeout/store/7aa560bv1lhv4kfv86z550nqrlcj53yd-timeout.drv
building '\''/tmp/nix-shell.MrxVR3/nix-test/timeout/store/7aa560bv1lhv4kfv86z550nqrlcj53yd-timeout.drv'\''...
error: building of '\''/tmp/nix-shell.MrxVR3/nix-test/timeout/store/7aa560bv1lhv4kfv86z550nqrlcj53yd-timeout.drv^out'\'' from .drv file timed out after 2 seconds'
+(timeout.sh:15) grepQuietInvert 'timed out'
timeout.sh: line 15: grepQuietInvert: command not found
+(timeout.sh:21) nix-build -Q timeout.nix -A infiniteLoop --max-build-log-size 100
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/timeout/store/7aa560bv1lhv4kfv86z550nqrlcj53yd-timeout.drv
building '/tmp/nix-shell.MrxVR3/nix-test/timeout/store/7aa560bv1lhv4kfv86z550nqrlcj53yd-timeout.drv'...
error: building of '/tmp/nix-shell.MrxVR3/nix-test/timeout/store/7aa560bv1lhv4kfv86z550nqrlcj53yd-timeout.drv^out' from .drv file killed after writing more than 100 bytes of log output
+(timeout.sh:26) nix-build timeout.nix -A silent --max-silent-time 2
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/timeout/store/7ax5njc80h2xafh75bnlcz190j3v1p4p-silent.drv
building '/tmp/nix-shell.MrxVR3/nix-test/timeout/store/7ax5njc80h2xafh75bnlcz190j3v1p4p-silent.drv'...
error: building of '/tmp/nix-shell.MrxVR3/nix-test/timeout/store/7ax5njc80h2xafh75bnlcz190j3v1p4p-silent.drv^out' from .drv file timed out after 2 seconds of silence
+(timeout.sh:31) nix-build timeout.nix -A closeLog
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/timeout/store/aavw5p566kd6wb4r3gkv19cbwcbbjyyv-silent.drv
building '/tmp/nix-shell.MrxVR3/nix-test/timeout/store/aavw5p566kd6wb4r3gkv19cbwcbbjyyv-silent.drv'...
error: builder for '/tmp/nix-shell.MrxVR3/nix-test/timeout/store/aavw5p566kd6wb4r3gkv19cbwcbbjyyv-silent.drv' failed due to signal 9 (Killed)
+(timeout.sh:36) nix build -f timeout.nix silent --max-silent-time 2
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/timeout/store/7ax5njc80h2xafh75bnlcz190j3v1p4p-silent.drv
building '/tmp/nix-shell.MrxVR3/nix-test/timeout/store/7ax5njc80h2xafh75bnlcz190j3v1p4p-silent.drv'...
error: building of '/tmp/nix-shell.MrxVR3/nix-test/timeout/store/7ax5njc80h2xafh75bnlcz190j3v1p4p-silent.drv^out' from .drv file timed out after 2 seconds of silence[FAIL]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-2
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-2
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-2
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-2
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-2
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-2/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-2/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-2/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-2/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-2/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-2/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(build-remote-trustless-should-pass-2.sh:3) enableFeatures daemon-trust-override
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=daemon-trust-override
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& daemon-trust-override/' /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-2/etc/nix.conf
+(build-remote-trustless-should-pass-2.sh:5) restartDaemon
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(build-remote-trustless-should-pass-2.sh:8) file=build-hook.nix
++(build-remote-trustless-should-pass-2.sh:9) readlink -e ./nix-daemon-untrusting.sh
+(build-remote-trustless-should-pass-2.sh:9) prog=/lix-src/build/tests/functional/nix-daemon-untrusting.sh
+(build-remote-trustless-should-pass-2.sh:10) proto=ssh-ng
+(build-remote-trustless-should-pass-2.sh:12) source build-remote-trustless.sh
++(build-remote-trustless.sh:1) requireSandboxSupport
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:167) canUseSandbox
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:163) [[ -n 1 ]]
++(build-remote-trustless.sh:2) [[ /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]]
++(build-remote-trustless.sh:4) unset NIX_STORE_DIR
++(build-remote-trustless.sh:5) unset NIX_STATE_DIR
++(build-remote-trustless.sh:7) remoteDir=/tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-2/remote
++(build-remote-trustless.sh:11) nix-build build-hook.nix -o /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-2/result --max-jobs 0 --arg busybox /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-2/local --builders 'ssh-ng://localhost?remote-program=/lix-src/build/tests/functional/nix-daemon-untrusting.sh&remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-2/remote%3Fsystem-features=foo%20bar%20baz - - 1 1 foo,bar,baz'
these 4 derivations will be built:
/nix/store/35alvhx3jbr9j6bm9wdhzk7kvbgyzack-build-remote-input-2.drv
/nix/store/bh0lskx0g2qd88l2fsjvy85dc2lrwr0s-build-remote-input-3.drv
/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv
/nix/store/yfcf7n7nv6ayfrvs6w002v9fpjxblshj-build-remote.drv
building '/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv' on 'ssh-ng://localhost?remote-program=/lix-src/build/tests/functional/nix-daemon-untrusting.sh&remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-2/remote%3Fsystem-features=foo%20bar%20baz'...
waiting for a machine to build '/nix/store/35alvhx3jbr9j6bm9wdhzk7kvbgyzack-build-remote-input-2.drv'...
copying 2 paths...
copying path '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh' to 'ssh-ng://localhost'...
copying path '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox' to 'ssh-ng://localhost'...
copying 1 paths...
copying path '/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv' to 'ssh-ng://localhost'...
building '/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv'...
error: executing '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox': No such file or directory
copying 1 paths...
error: path '/nix/store/vgvxbdr21z0w5xcqm9hmksa07w987wbw-build-remote-input-1' is not valid
error: builder for '/nix/store/dl7xsh6s6a96z1cvpx4n10wxjfmrif1s-build-remote-input-1.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/yfcf7n7nv6ayfrvs6w002v9fpjxblshj-build-remote.drv' failed to build
+++(build-remote-trustless.sh:11) onError
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
build-remote-trustless-should-pass-2.sh: test failed at:
source in build-remote-trustless.sh:11
main in build-remote-trustless-should-pass-2.sh:12[FAIL]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-3
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-3
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-3
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-3
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-3
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-3/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-3/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-3/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-3/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-3/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-3/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(build-remote-trustless-should-pass-3.sh:3) enableFeatures daemon-trust-override
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=daemon-trust-override
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& daemon-trust-override/' /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-3/etc/nix.conf
+(build-remote-trustless-should-pass-3.sh:5) restartDaemon
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(build-remote-trustless-should-pass-3.sh:9) file=build-hook-ca-fixed.nix
++(build-remote-trustless-should-pass-3.sh:10) readlink -e ./nix-daemon-untrusting.sh
+(build-remote-trustless-should-pass-3.sh:10) prog=/lix-src/build/tests/functional/nix-daemon-untrusting.sh
+(build-remote-trustless-should-pass-3.sh:11) proto=ssh-ng
+(build-remote-trustless-should-pass-3.sh:13) source build-remote-trustless.sh
++(build-remote-trustless.sh:1) requireSandboxSupport
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:167) canUseSandbox
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:163) [[ -n 1 ]]
++(build-remote-trustless.sh:2) [[ /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]]
++(build-remote-trustless.sh:4) unset NIX_STORE_DIR
++(build-remote-trustless.sh:5) unset NIX_STATE_DIR
++(build-remote-trustless.sh:7) remoteDir=/tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-3/remote
++(build-remote-trustless.sh:11) nix-build build-hook-ca-fixed.nix -o /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-3/result --max-jobs 0 --arg busybox /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --store /tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-3/local --builders 'ssh-ng://localhost?remote-program=/lix-src/build/tests/functional/nix-daemon-untrusting.sh&remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-3/remote%3Fsystem-features=foo%20bar%20baz - - 1 1 foo,bar,baz'
these 4 derivations will be built:
/nix/store/i08ckdkbg496j375qdn4f1qph16lfzrw-build-remote-input-2.drv
/nix/store/1krxcb2i7nhxf8xkq91bxw4zr0sk58cm-build-remote-input-3.drv
/nix/store/xxigv7q0k5j65zijz99k7idgwydbbkcg-build-remote-input-1.drv
/nix/store/78l4a7kpb7js2r97kk6an0j5js8pjsci-build-remote.drv
building '/nix/store/xxigv7q0k5j65zijz99k7idgwydbbkcg-build-remote-input-1.drv' on 'ssh-ng://localhost?remote-program=/lix-src/build/tests/functional/nix-daemon-untrusting.sh&remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-3/remote%3Fsystem-features=foo%20bar%20baz'...
building '/nix/store/i08ckdkbg496j375qdn4f1qph16lfzrw-build-remote-input-2.drv' on 'ssh-ng://localhost?remote-program=/lix-src/build/tests/functional/nix-daemon-untrusting.sh&remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-3/remote%3Fsystem-features=foo%20bar%20baz'...
copying 2 paths...
copying path '/nix/store/11l9njk76s2ik9gshysii1n9ipqc8867-builder-build-remote-input-1.sh' to 'ssh-ng://localhost'...
copying path '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox' to 'ssh-ng://localhost'...
copying 1 paths...
copying path '/nix/store/kx7ynipj2vbncrl11gimy0b2hdr0g2xy-builder-build-remote-input-2.sh' to 'ssh-ng://localhost'...
building '/nix/store/xxigv7q0k5j65zijz99k7idgwydbbkcg-build-remote-input-1.drv'...
error: executing '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox': No such file or directory
error: build of '/nix/store/xxigv7q0k5j65zijz99k7idgwydbbkcg-build-remote-input-1.drv' on 'ssh-ng://localhost?remote-program=/lix-src/build/tests/functional/nix-daemon-untrusting.sh&remote-store=/tmp/nix-shell.MrxVR3/nix-test/build-remote-trustless-should-pass-3/remote%3Fsystem-features=foo%20bar%20baz' failed: builder for '/nix/store/xxigv7q0k5j65zijz99k7idgwydbbkcg-build-remote-input-1.drv' failed with exit code 1;
last 1 log lines:
> error: executing '/nix/store/l85ia9bwz4v0k09v716sx2f2cjar3jvp-busybox': No such file or directory
For full logs, run 'nix log /nix/store/xxigv7q0k5j65zijz99k7idgwydbbkcg-build-remote-input-1.drv'.
error: builder for '/nix/store/xxigv7q0k5j65zijz99k7idgwydbbkcg-build-remote-input-1.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/78l4a7kpb7js2r97kk6an0j5js8pjsci-build-remote.drv' failed to build
+++(build-remote-trustless.sh:11) onError
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
build-remote-trustless-should-pass-3.sh: test failed at:
source in build-remote-trustless.sh:11
main in build-remote-trustless-should-pass-3.sh:13clearing store...
/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/g81js1krkyhb2q847w07zz9wvmpaw2dc-check-reqs-1
/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/20hn6wgry1xxhivr15kqfnkqk2kb3zhz-check-reqs
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/check-reqs
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/check-reqs
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/check-reqs
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/check-reqs
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/check-reqs
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/check-reqs/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/check-reqs/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/check-reqs/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/check-reqs/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/check-reqs/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/check-reqs/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(check-reqs.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/check-reqs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/check-reqs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/check-reqs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/check-reqs/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/check-reqs/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/check-reqs/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/check-reqs/test-home/.local/state/nix/profiles
+(check-reqs.sh:5) RESULT=/tmp/nix-shell.MrxVR3/nix-test/check-reqs/result
+(check-reqs.sh:7) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/check-reqs/result check-reqs.nix -A test1
these 4 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/d5fgg6psk3kvd6nzh3yc4i7ck3n22amp-check-reqs-dep1.drv
/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/ifs6l34igmyfdmw0zi597nrq3q4smv83-check-reqs-dep2.drv
/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/0416dff1hqcy3ychqs0lyvp7w3dhqwj8-check-reqs-deps.drv
/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/5ih22cq7k28gb4w6s8lvxklsy3pwd6mk-check-reqs-1.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/d5fgg6psk3kvd6nzh3yc4i7ck3n22amp-check-reqs-dep1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/ifs6l34igmyfdmw0zi597nrq3q4smv83-check-reqs-dep2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/0416dff1hqcy3ychqs0lyvp7w3dhqwj8-check-reqs-deps.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/5ih22cq7k28gb4w6s8lvxklsy3pwd6mk-check-reqs-1.drv'...
+(check-reqs.sh:9) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/check-reqs/result check-reqs.nix -A test2
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/babvahhhcmrshzgzxzfjymxpx3k7w1ml-check-reqs-2.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/babvahhhcmrshzgzxzfjymxpx3k7w1ml-check-reqs-2.drv'...
error: output '/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/z8qr85hp5z9av3j4xs21az93s5vvf2gq-check-reqs-2' is not allowed to refer to the following paths:
/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/ygb3iwg4yc72hyzm03gnnhhf94cqajm8-check-reqs-dep1
+(check-reqs.sh:10) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/check-reqs/result check-reqs.nix -A test3
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/2xm6dcvc724wdbvvsxcaq9j7z3jshjpg-check-reqs-3.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/2xm6dcvc724wdbvvsxcaq9j7z3jshjpg-check-reqs-3.drv'...
error: output '/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/wb60rmix6mlqaja6slhvvnjs3q3xj6k8-check-reqs-3' is not allowed to refer to the following paths:
/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/pw6xswgy1hd2v3dl9ahb5zbjkbw8xrbc-check-reqs-dep2
+(check-reqs.sh:11) grepQuiet check-reqs-dep1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep check-reqs-dep1
+(check-reqs.sh:12) grepQuiet check-reqs-dep2
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep check-reqs-dep2
+(check-reqs.sh:13) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/check-reqs/result check-reqs.nix -A test5
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/na8yiq1gz7vljqk843yj9byiply36y66-check-reqs-5.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/na8yiq1gz7vljqk843yj9byiply36y66-check-reqs-5.drv'...
error: output '/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/arblabqgflwxjvvq9fvssk8zbzh5grka-check-reqs-5' is not allowed to refer to the following paths:
/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/m46550a6b5ynvcx7ck9b38cih3gqdvfp-check-reqs-deps
/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/pw6xswgy1hd2v3dl9ahb5zbjkbw8xrbc-check-reqs-dep2
/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/ygb3iwg4yc72hyzm03gnnhhf94cqajm8-check-reqs-dep1
+(check-reqs.sh:14) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/check-reqs/result check-reqs.nix -A test6
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/hhhzsymg5mqrhgvn5n2zaym66djwp5r4-check-reqs.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/hhhzsymg5mqrhgvn5n2zaym66djwp5r4-check-reqs.drv'...
error: output '/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/wa8ig75g5kf7q53vkq92wk6xfav3zyk5-check-reqs' is not allowed to refer to the following paths:
/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/ygb3iwg4yc72hyzm03gnnhhf94cqajm8-check-reqs-dep1
+(check-reqs.sh:16) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/check-reqs/result check-reqs.nix -A test7
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/6k60k3drk83ra8ayx3n6jg5p9r2ccr5n-check-reqs.drv
building '/tmp/nix-shell.MrxVR3/nix-test/check-reqs/store/6k60k3drk83ra8ayx3n6jg5p9r2ccr5n-check-reqs.drv'...[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/nix-channel
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/nix-channel
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/nix-channel
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-channel
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-channel
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-channel/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-channel/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/nix-channel/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-channel/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-channel/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/nix-channel/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(nix-channel.sh:3) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/nix-channel/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-channel/test-home/.local/state/nix/profiles
+(nix-channel.sh:5) rm -f /tmp/nix-shell.MrxVR3/nix-test/nix-channel/test-home/.nix-channels /tmp/nix-shell.MrxVR3/nix-test/nix-channel/test-home/.nix-profile
+(nix-channel.sh:8) nix-channel --add http://foo/bar xyzzy
+(nix-channel.sh:9) nix-channel --list
+(nix-channel.sh:9) grepQuiet http://foo/bar
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep http://foo/bar
+(nix-channel.sh:10) nix-channel --remove xyzzy
warning: selector 'xyzzy' matched no installed derivations
building '/tmp/nix-shell.MrxVR3/nix-test/nix-channel/store/hbd3c59p6md6bwnl5206g9a5apf9if2s-user-environment.drv'...
++(nix-channel.sh:11) wc -l
++(nix-channel.sh:11) nix-channel --list-generations
+(nix-channel.sh:11) [[ 1 == 1 ]]
+(nix-channel.sh:13) '[' -e /tmp/nix-shell.MrxVR3/nix-test/nix-channel/test-home/.nix-channels ']'
++(nix-channel.sh:14) cat /tmp/nix-shell.MrxVR3/nix-test/nix-channel/test-home/.nix-channels
+(nix-channel.sh:14) '[' '' = '' ']'
+(nix-channel.sh:18) export 'NIX_CONFIG=use-xdg-base-directories = true'
+(nix-channel.sh:18) NIX_CONFIG='use-xdg-base-directories = true'
+(nix-channel.sh:20) nix-channel --add http://foo/bar xyzzy
+(nix-channel.sh:21) nix-channel --list
+(nix-channel.sh:21) grepQuiet http://foo/bar
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep http://foo/bar
+(nix-channel.sh:22) nix-channel --remove xyzzy
warning: selector 'xyzzy' matched no installed derivations
+(nix-channel.sh:24) unset NIX_CONFIG
+(nix-channel.sh:26) '[' -e /tmp/nix-shell.MrxVR3/nix-test/nix-channel/test-home/.local/state/nix/channels ']'
++(nix-channel.sh:27) cat /tmp/nix-shell.MrxVR3/nix-test/nix-channel/test-home/.local/state/nix/channels
+(nix-channel.sh:27) '[' '' = '' ']'
+(nix-channel.sh:30) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-channel/foo
+(nix-channel.sh:31) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/nix-channel/foo
+++(nix-channel.sh:32) nix-instantiate dependencies.nix
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
++(nix-channel.sh:32) nix-store -r /tmp/nix-shell.MrxVR3/nix-test/nix-channel/store/5845bqypd1k2jh59z0cspc1g2pfyny8x-dependencies-top.drv
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-channel/store/ddsajkbzyylw3r0i2v7cj65vk4indkgy-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-channel/store/dkbkcxkvvlzgj9ndr0pfimp05rxnmkak-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-channel/store/f2i8vwily9nc2gx7p0ikpl59c8qpkl3k-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-channel/store/yxax5d1ki4lfjn9smnaq7kfhzw9zphv6-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-channel/store/5845bqypd1k2jh59z0cspc1g2pfyny8x-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-channel/store/ddsajkbzyylw3r0i2v7cj65vk4indkgy-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-channel/store/f2i8vwily9nc2gx7p0ikpl59c8qpkl3k-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-channel/store/yxax5d1ki4lfjn9smnaq7kfhzw9zphv6-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-channel/store/dkbkcxkvvlzgj9ndr0pfimp05rxnmkak-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-channel/store/5845bqypd1k2jh59z0cspc1g2pfyny8x-dependencies-top.drv'...
FOO
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(nix-channel.sh:32) nix copy --to 'file:///tmp/nix-shell.MrxVR3/nix-test/nix-channel/foo?compression=bzip2' /tmp/nix-shell.MrxVR3/nix-test/nix-channel/store/0gqz6kkfflylf25lykk40cn8jxljj07f-dependencies-top
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-channel/store/h2nkjrw693bp106dby1z7yqnska7f8ai-dependencies-input-0' to 'file:///tmp/nix-shell.MrxVR3/nix-test/nix-channel/foo'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-channel/store/r8w0q67b56v1xzbsvi7r6yc60q3lngkf-dependencies-input-2' to 'file:///tmp/nix-shell.MrxVR3/nix-test/nix-channel/foo'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-channel/store/0gqz6kkfflylf25lykk40cn8jxljj07f-dependencies-top' to 'file:///tmp/nix-shell.MrxVR3/nix-test/nix-channel/foo'...
+(nix-channel.sh:33) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-channel/nixexprs
+(nix-channel.sh:34) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/nix-channel/nixexprs
+(nix-channel.sh:35) cp config.nix dependencies.nix dependencies.builder0.sh /tmp/nix-shell.MrxVR3/nix-test/nix-channel/nixexprs/
+(nix-channel.sh:36) ln -s dependencies.nix /tmp/nix-shell.MrxVR3/nix-test/nix-channel/nixexprs/default.nix
+(nix-channel.sh:37) cd /tmp/nix-shell.MrxVR3/nix-test/nix-channel
+(nix-channel.sh:37) tar cvf - nixexprs
+(nix-channel.sh:37) bzip2
nixexprs/
nixexprs/config.nix
nixexprs/dependencies.builder0.sh
nixexprs/default.nix
nixexprs/dependencies.nix
+(nix-channel.sh:40) nix-channel --add file:///tmp/nix-shell.MrxVR3/nix-test/nix-channel/foo
+(nix-channel.sh:41) nix-channel --update
unpacking 1 channels...
++(nix-channel.sh:42) nix-channel --list-generations
++(nix-channel.sh:42) wc -l
+(nix-channel.sh:42) [[ 2 == 2 ]]
+(nix-channel.sh:45) nix-env -qa '*' --meta --xml --out-path
+(nix-channel.sh:46) grepQuiet 'meta.*description.*Random test package' /tmp/nix-shell.MrxVR3/nix-test/nix-channel/meta.xml
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'meta.*description.*Random test package' /tmp/nix-shell.MrxVR3/nix-test/nix-channel/meta.xml
+(nix-channel.sh:47) grepQuiet 'item.*attrPath="foo".*name="dependencies-top"' /tmp/nix-shell.MrxVR3/nix-test/nix-channel/meta.xml
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'item.*attrPath="foo".*name="dependencies-top"' /tmp/nix-shell.MrxVR3/nix-test/nix-channel/meta.xml
+(nix-channel.sh:50) nix-env -i dependencies-top
installing 'dependencies-top'
building '/tmp/nix-shell.MrxVR3/nix-test/nix-channel/store/nw6ryqqbih21wsbyalq887qkrmr00138-user-environment.drv'...
+(nix-channel.sh:51) '[' -e /tmp/nix-shell.MrxVR3/nix-test/nix-channel/test-home/.nix-profile/foobar ']'
+(nix-channel.sh:54) nix-channel --add file:///tmp/nix-shell.MrxVR3/nix-test/nix-channel/foo/nixexprs.tar.bz2 bar
+(nix-channel.sh:55) nix-channel --update
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-channel/store/d7jwlchpp7m8w2cazyvl5wwa8gda00b7-bar.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-channel/store/d7jwlchpp7m8w2cazyvl5wwa8gda00b7-bar.drv'...
unpacking 2 channels...
+(nix-channel.sh:58) nix-env -qa '*' --meta --xml --out-path
+(nix-channel.sh:59) grepQuiet 'meta.*description.*Random test package' /tmp/nix-shell.MrxVR3/nix-test/nix-channel/meta.xml
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'meta.*description.*Random test package' /tmp/nix-shell.MrxVR3/nix-test/nix-channel/meta.xml
+(nix-channel.sh:60) grepQuiet 'item.*attrPath="bar".*name="dependencies-top"' /tmp/nix-shell.MrxVR3/nix-test/nix-channel/meta.xml
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'item.*attrPath="bar".*name="dependencies-top"' /tmp/nix-shell.MrxVR3/nix-test/nix-channel/meta.xml
+(nix-channel.sh:61) grepQuiet 'item.*attrPath="foo".*name="dependencies-top"' /tmp/nix-shell.MrxVR3/nix-test/nix-channel/meta.xml
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'item.*attrPath="foo".*name="dependencies-top"' /tmp/nix-shell.MrxVR3/nix-test/nix-channel/meta.xml
+(nix-channel.sh:64) nix-env -i dependencies-top
warning: there are multiple derivations named 'dependencies-top'; using the first one
replacing old 'dependencies-top'
installing 'dependencies-top'
+(nix-channel.sh:65) '[' -e /tmp/nix-shell.MrxVR3/nix-test/nix-channel/test-home/.nix-profile/foobar ']'clearing store...
derivation is /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/zkd65sfcn8z5qzxcgi8sv8l5pffyrda1-dependencies-top.drv
│ └───/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/kqd315hpzhhf53pr2f699v5vimb255a9-builder-dependencies-input-1.sh
├───/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/8n6cyfhm92v5mpnwrp160jbccfj25gz0-dependencies-input-2
output path is /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top
output closure contains /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/yq7g7laj7isd58knqp0fyf5qh3y780gf-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/8n6cyfhm92v5mpnwrp160jbccfj25gz0-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top
1 store paths deleted, 0.00 MiB freed
1 store paths deleted, 0.00 MiB freed
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/dependencies
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/dependencies
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/dependencies
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dependencies
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/dependencies
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/dependencies/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/dependencies/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/dependencies/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/dependencies/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/dependencies/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/dependencies/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(dependencies.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/dependencies/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dependencies/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/dependencies/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dependencies/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/dependencies/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/dependencies/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dependencies/test-home/.local/state/nix/profiles
++(dependencies.sh:5) nix-instantiate dependencies.nix
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(dependencies.sh:5) drvPath=/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/zkd65sfcn8z5qzxcgi8sv8l5pffyrda1-dependencies-top.drv
+(dependencies.sh:7) echo 'derivation is /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/zkd65sfcn8z5qzxcgi8sv8l5pffyrda1-dependencies-top.drv'
+(dependencies.sh:9) nix-store -q --tree /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/zkd65sfcn8z5qzxcgi8sv8l5pffyrda1-dependencies-top.drv
+(dependencies.sh:9) grep '───.*builder-dependencies-input-1.sh'
+(dependencies.sh:12) nix-store -q --graph /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/zkd65sfcn8z5qzxcgi8sv8l5pffyrda1-dependencies-top.drv
+(dependencies.sh:13) test -n ''
+(dependencies.sh:19) nix-store -q --graphml /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/zkd65sfcn8z5qzxcgi8sv8l5pffyrda1-dependencies-top.drv
++(dependencies.sh:21) nix-store -rvv /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/zkd65sfcn8z5qzxcgi8sv8l5pffyrda1-dependencies-top.drv
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/92qy4y3bksjzbk04r3gw6kifys31k1qg-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/6f1ib9ds3ahpg4vydbd53x38dy51q34j-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/q5v704xp94b0d8gqviin17yik6jby4xf-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/ra4z3kf3i85ah6izgj819xfgy2l7vik5-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/zkd65sfcn8z5qzxcgi8sv8l5pffyrda1-dependencies-top.drv
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/qwad3insmqc74v01zanbm055dlz14jif-builder-dependencies-input-0.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/92qy4y3bksjzbk04r3gw6kifys31k1qg-dependencies-input-0.drv'...
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/kqd315hpzhhf53pr2f699v5vimb255a9-builder-dependencies-input-1.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/ra4z3kf3i85ah6izgj819xfgy2l7vik5-dependencies-input-1.drv'...
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/w8qca3jbl4h3xfz28xzldrv9i0c4z88r-builder-dependencies-input-2.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/6f1ib9ds3ahpg4vydbd53x38dy51q34j-dependencies-input-2.drv'...
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/67p24ybakmg1xa5x0xl884ng43p175xj-builder-fod-input.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/q5v704xp94b0d8gqviin17yik6jby4xf-fod-input.drv'...
executing builder '/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'
using builder args '-e /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/yg52z2blcfrbj9jmd6d9djvkdkfmbamc-dependencies.builder0.sh'
building '/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/zkd65sfcn8z5qzxcgi8sv8l5pffyrda1-dependencies-top.drv'...
FOO
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(dependencies.sh:21) outPath=/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top
+(dependencies.sh:24) nix-store -q --graph /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top
+(dependencies.sh:25) test -n ''
+(dependencies.sh:30) nix-store -q --tree /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top
+(dependencies.sh:30) grep '───.*dependencies-input-2'
+(dependencies.sh:32) echo 'output path is /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top'
++(dependencies.sh:34) cat /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top/foobar
+(dependencies.sh:34) text=FOOBAR
+(dependencies.sh:35) test FOOBAR '!=' FOOBAR
++(dependencies.sh:37) nix-store -quR /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/zkd65sfcn8z5qzxcgi8sv8l5pffyrda1-dependencies-top.drv
+(dependencies.sh:37) deps='/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/yq7g7laj7isd58knqp0fyf5qh3y780gf-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/8n6cyfhm92v5mpnwrp160jbccfj25gz0-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top'
+(dependencies.sh:39) echo 'output closure contains /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/yq7g7laj7isd58knqp0fyf5qh3y780gf-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/8n6cyfhm92v5mpnwrp160jbccfj25gz0-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top'
+(dependencies.sh:42) grepQuiet /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top
+(dependencies.sh:42) echo '/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/yq7g7laj7isd58knqp0fyf5qh3y780gf-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/8n6cyfhm92v5mpnwrp160jbccfj25gz0-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top
+(dependencies.sh:45) echo '/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/yq7g7laj7isd58knqp0fyf5qh3y780gf-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/8n6cyfhm92v5mpnwrp160jbccfj25gz0-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top'
+(dependencies.sh:45) grepQuiet dependencies-input-1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep dependencies-input-1
++(dependencies.sh:48) echo '/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/yq7g7laj7isd58knqp0fyf5qh3y780gf-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/8n6cyfhm92v5mpnwrp160jbccfj25gz0-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top'
++(dependencies.sh:48) grep dependencies-input-2
+(dependencies.sh:48) input2OutPath=/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/8n6cyfhm92v5mpnwrp160jbccfj25gz0-dependencies-input-2
+(dependencies.sh:51) nix-store -q --referrers-closure /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/8n6cyfhm92v5mpnwrp160jbccfj25gz0-dependencies-input-2
+(dependencies.sh:51) grep /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top
++(dependencies.sh:54) nix-store -q --deriver /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top
+(dependencies.sh:54) test /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/zkd65sfcn8z5qzxcgi8sv8l5pffyrda1-dependencies-top.drv = /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/zkd65sfcn8z5qzxcgi8sv8l5pffyrda1-dependencies-top.drv
+(dependencies.sh:55) nix-store -q --deriver /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/8n6cyfhm92v5mpnwrp160jbccfj25gz0-dependencies-input-2
+(dependencies.sh:55) grepQuiet -- -input-2.drv
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -- -input-2.drv
++(dependencies.sh:58) nix-store -q --valid-derivers /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top
+(dependencies.sh:58) test /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/zkd65sfcn8z5qzxcgi8sv8l5pffyrda1-dependencies-top.drv = /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/zkd65sfcn8z5qzxcgi8sv8l5pffyrda1-dependencies-top.drv
++(dependencies.sh:61) nix-instantiate dependencies.nix --argstr hashInvalidator yay
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(dependencies.sh:61) drvPath2=/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/xgaxh2kmfxzcynh2r4p4ld7mciwmnvam-dependencies-top.drv
++(dependencies.sh:64) nix-store -q --valid-derivers /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top
++(dependencies.sh:64) sort
++(dependencies.sh:64) sort
+(dependencies.sh:64) test '/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/xgaxh2kmfxzcynh2r4p4ld7mciwmnvam-dependencies-top.drv
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/zkd65sfcn8z5qzxcgi8sv8l5pffyrda1-dependencies-top.drv' = '/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/xgaxh2kmfxzcynh2r4p4ld7mciwmnvam-dependencies-top.drv
/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/zkd65sfcn8z5qzxcgi8sv8l5pffyrda1-dependencies-top.drv'
+(dependencies.sh:67) nix-store --delete /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/zkd65sfcn8z5qzxcgi8sv8l5pffyrda1-dependencies-top.drv
finding garbage collector roots...
deleting '/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/zkd65sfcn8z5qzxcgi8sv8l5pffyrda1-dependencies-top.drv'
deleting unused links...
note: currently hard linking saves -0.00 MiB
++(dependencies.sh:68) nix-store -q --valid-derivers /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top
+(dependencies.sh:68) test /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/xgaxh2kmfxzcynh2r4p4ld7mciwmnvam-dependencies-top.drv = /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/xgaxh2kmfxzcynh2r4p4ld7mciwmnvam-dependencies-top.drv
+(dependencies.sh:71) nix-store --delete /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/xgaxh2kmfxzcynh2r4p4ld7mciwmnvam-dependencies-top.drv
finding garbage collector roots...
deleting '/tmp/nix-shell.MrxVR3/nix-test/dependencies/store/xgaxh2kmfxzcynh2r4p4ld7mciwmnvam-dependencies-top.drv'
deleting unused links...
note: currently hard linking saves -0.00 MiB
++(dependencies.sh:72) nix-store -q --valid-derivers /tmp/nix-shell.MrxVR3/nix-test/dependencies/store/dbj21zvpfxfj8k7kk3sasgfgjg4yiiwk-dependencies-top
+(dependencies.sh:72) test -z ''[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/impure-eval
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/impure-eval
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/impure-eval
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/impure-eval
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/impure-eval
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/impure-eval/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/impure-eval/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/impure-eval/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/impure-eval/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/impure-eval/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/impure-eval/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(impure-eval.sh:3) export REMOTE_STORE=dummy://
+(impure-eval.sh:3) REMOTE_STORE=dummy://
+(impure-eval.sh:16) simpleTest builtins.storeDir /foo --store 'dummy://?store=/foo'
+(impure-eval.sh:6) local expr=builtins.storeDir
+(impure-eval.sh:6) shift
+(impure-eval.sh:7) local result=/foo
+(impure-eval.sh:7) shift
++(impure-eval.sh:10) nix eval --impure --raw --store 'dummy://?store=/foo' --expr builtins.storeDir
+(impure-eval.sh:10) [[ /foo == \/\f\o\o ]]
+(impure-eval.sh:17) simpleTest builtins.storeDir /bar --store 'dummy://?store=/bar'
+(impure-eval.sh:6) local expr=builtins.storeDir
+(impure-eval.sh:6) shift
+(impure-eval.sh:7) local result=/bar
+(impure-eval.sh:7) shift
++(impure-eval.sh:10) nix eval --impure --raw --store 'dummy://?store=/bar' --expr builtins.storeDir
+(impure-eval.sh:10) [[ /bar == \/\b\a\r ]]
+(impure-eval.sh:22) simpleTest builtins.currentSystem foo --system foo
+(impure-eval.sh:6) local expr=builtins.currentSystem
+(impure-eval.sh:6) shift
+(impure-eval.sh:7) local result=foo
+(impure-eval.sh:7) shift
++(impure-eval.sh:10) nix eval --impure --raw --system foo --expr builtins.currentSystem
+(impure-eval.sh:10) [[ foo == \f\o\o ]]
+(impure-eval.sh:23) simpleTest builtins.currentSystem bar --system bar
+(impure-eval.sh:6) local expr=builtins.currentSystem
+(impure-eval.sh:6) shift
+(impure-eval.sh:7) local result=bar
+(impure-eval.sh:7) shift
++(impure-eval.sh:10) nix eval --impure --raw --system bar --expr builtins.currentSystem
+(impure-eval.sh:10) [[ bar == \b\a\r ]]
+(impure-eval.sh:26) simpleTest builtins.currentSystem foo --system foo --eval-system ''
+(impure-eval.sh:6) local expr=builtins.currentSystem
+(impure-eval.sh:6) shift
+(impure-eval.sh:7) local result=foo
+(impure-eval.sh:7) shift
++(impure-eval.sh:10) nix eval --impure --raw --system foo --eval-system '' --expr builtins.currentSystem
+(impure-eval.sh:10) [[ foo == \f\o\o ]]
+(impure-eval.sh:27) simpleTest builtins.currentSystem bar --system bar --eval-system ''
+(impure-eval.sh:6) local expr=builtins.currentSystem
+(impure-eval.sh:6) shift
+(impure-eval.sh:7) local result=bar
+(impure-eval.sh:7) shift
++(impure-eval.sh:10) nix eval --impure --raw --system bar --eval-system '' --expr builtins.currentSystem
+(impure-eval.sh:10) [[ bar == \b\a\r ]]
+(impure-eval.sh:30) simpleTest builtins.currentSystem foo --eval-system foo
+(impure-eval.sh:6) local expr=builtins.currentSystem
+(impure-eval.sh:6) shift
+(impure-eval.sh:7) local result=foo
+(impure-eval.sh:7) shift
++(impure-eval.sh:10) nix eval --impure --raw --eval-system foo --expr builtins.currentSystem
+(impure-eval.sh:10) [[ foo == \f\o\o ]]
+(impure-eval.sh:31) simpleTest builtins.currentSystem bar --eval-system bar
+(impure-eval.sh:6) local expr=builtins.currentSystem
+(impure-eval.sh:6) shift
+(impure-eval.sh:7) local result=bar
+(impure-eval.sh:7) shift
++(impure-eval.sh:10) nix eval --impure --raw --eval-system bar --expr builtins.currentSystem
+(impure-eval.sh:10) [[ bar == \b\a\r ]]
+(impure-eval.sh:34) simpleTest builtins.currentSystem bar --system foo --eval-system bar
+(impure-eval.sh:6) local expr=builtins.currentSystem
+(impure-eval.sh:6) shift
+(impure-eval.sh:7) local result=bar
+(impure-eval.sh:7) shift
++(impure-eval.sh:10) nix eval --impure --raw --system foo --eval-system bar --expr builtins.currentSystem
+(impure-eval.sh:10) [[ bar == \b\a\r ]]
+(impure-eval.sh:35) simpleTest builtins.currentSystem baz --system foo --eval-system baz
+(impure-eval.sh:6) local expr=builtins.currentSystem
+(impure-eval.sh:6) shift
+(impure-eval.sh:7) local result=baz
+(impure-eval.sh:7) shift
++(impure-eval.sh:10) nix eval --impure --raw --system foo --eval-system baz --expr builtins.currentSystem
+(impure-eval.sh:10) [[ baz == \b\a\z ]]clearing store...
true
123
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/pure-eval
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/pure-eval
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/pure-eval
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/pure-eval
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/pure-eval
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/pure-eval/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/pure-eval/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/pure-eval/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/pure-eval/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/pure-eval/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/pure-eval/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(pure-eval.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/pure-eval/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/pure-eval/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/pure-eval/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/pure-eval/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/pure-eval/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/pure-eval/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/pure-eval/test-home/.local/state/nix/profiles
+(pure-eval.sh:5) nix eval --expr 'assert 1 + 2 == 3; true'
++(pure-eval.sh:7) nix eval --impure --expr 'builtins.readFile ./pure-eval.sh'
+(pure-eval.sh:7) [[ "source common.sh\n\nclearStore\n\nnix eval --expr 'assert 1 + 2 == 3; true'\n\n[[ $(nix eval --impure --expr 'builtins.readFile ./pure-eval.sh') =~ clearStore ]]\n\nmissingImpureErrorMsg=$(! nix eval --expr 'builtins.readFile ./pure-eval.sh' 2>&1)\n\necho \"$missingImpureErrorMsg\" | grepQuiet -- --impure || \\\n fail \"The error message should mention the “--impure” flag to unblock users\"\n\n[[ $(nix eval --expr 'builtins.pathExists ./pure-eval.sh') == false ]] || \\\n fail \"Calling 'pathExists' on a non-authorised path should return false\"\n\n(! nix eval --expr builtins.currentTime)\n(! nix eval --expr builtins.currentSystem)\n\n(! nix-instantiate --pure-eval ./simple.nix)\n\n[[ $(nix eval --impure --expr \"(import (builtins.fetchurl { url = file://$(pwd)/pure-eval.nix; })).x\") == 123 ]]\n(! nix eval --expr \"(import (builtins.fetchurl { url = file://$(pwd)/pure-eval.nix; })).x\")\nnix eval --expr \"(import (builtins.fetchurl { url = file://$(pwd)/pure-eval.nix; sha256 = \\\"$(nix hash file pure-eval.nix --type sha256)\\\"; })).x\"\n\nrm -rf $TEST_ROOT/eval-out\nnix eval --store dummy:// --write-to $TEST_ROOT/eval-out --expr '{ x = \"foo\" + \"bar\"; y = { z = \"bla\"; }; }'\n[[ $(cat $TEST_ROOT/eval-out/x) = foobar ]]\n[[ $(cat $TEST_ROOT/eval-out/y/z) = bla ]]\n\nrm -rf $TEST_ROOT/eval-out\n(! nix eval --store dummy:// --write-to $TEST_ROOT/eval-out --expr '{ \".\" = \"bla\"; }')\n\n(! nix eval --expr '~/foo')\n" =~ clearStore ]]
++(pure-eval.sh:9) nix eval --expr 'builtins.readFile ./pure-eval.sh'
+(pure-eval.sh:9) missingImpureErrorMsg='error:
… while calling the '\''readFile'\'' builtin
at «string»:1:1:
1| builtins.readFile ./pure-eval.sh
| ^
… while realising the context of path '\''/lix-src/build/tests/functional/pure-eval.sh'\''
error: access to absolute path '\''/lix-src/build/tests/functional/pure-eval.sh'\'' is forbidden in pure eval mode (use '\''--impure'\'' to override)'
+(pure-eval.sh:11) echo 'error:
… while calling the '\''readFile'\'' builtin
at «string»:1:1:
1| builtins.readFile ./pure-eval.sh
| ^
… while realising the context of path '\''/lix-src/build/tests/functional/pure-eval.sh'\''
error: access to absolute path '\''/lix-src/build/tests/functional/pure-eval.sh'\'' is forbidden in pure eval mode (use '\''--impure'\'' to override)'
+(pure-eval.sh:11) grepQuiet -- --impure
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -- --impure
++(pure-eval.sh:14) nix eval --expr 'builtins.pathExists ./pure-eval.sh'
+(pure-eval.sh:14) [[ false == false ]]
+(pure-eval.sh:17) nix eval --expr builtins.currentTime
error: attribute 'currentTime' missing
at «string»:1:1:
1| builtins.currentTime
| ^
+(pure-eval.sh:18) nix eval --expr builtins.currentSystem
error: attribute 'currentSystem' missing
at «string»:1:1:
1| builtins.currentSystem
| ^
+(pure-eval.sh:20) nix-instantiate --pure-eval ./simple.nix
error: access to absolute path '/lix-src/build/tests/functional/simple.nix' is forbidden in pure eval mode (use '--impure' to override)
+++(pure-eval.sh:22) pwd
++(pure-eval.sh:22) nix eval --impure --expr '(import (builtins.fetchurl { url = file:///lix-src/build/tests/functional/pure-eval.nix; })).x'
+(pure-eval.sh:22) [[ 123 == 123 ]]
++(pure-eval.sh:23) pwd
+(pure-eval.sh:23) nix eval --expr '(import (builtins.fetchurl { url = file:///lix-src/build/tests/functional/pure-eval.nix; })).x'
error:
… while calling the 'import' builtin
at «string»:1:2:
1| (import (builtins.fetchurl { url = file:///lix-src/build/tests/functional/pure-eval.nix; })).x
| ^
… while calling the 'fetchurl' builtin
at «string»:1:10:
1| (import (builtins.fetchurl { url = file:///lix-src/build/tests/functional/pure-eval.nix; })).x
| ^
error: in pure evaluation mode, 'fetchurl' requires a 'sha256' argument
++(pure-eval.sh:24) pwd
++(pure-eval.sh:24) nix hash file pure-eval.nix --type sha256
+(pure-eval.sh:24) nix eval --expr '(import (builtins.fetchurl { url = file:///lix-src/build/tests/functional/pure-eval.nix; sha256 = "sha256-YXhmEC+QvjpS/+wE8kE0hqpu5w+A7jhIfqCLpRVpw8w="; })).x'
+(pure-eval.sh:26) rm -rf /tmp/nix-shell.MrxVR3/nix-test/pure-eval/eval-out
+(pure-eval.sh:27) nix eval --store dummy:// --write-to /tmp/nix-shell.MrxVR3/nix-test/pure-eval/eval-out --expr '{ x = "foo" + "bar"; y = { z = "bla"; }; }'
++(pure-eval.sh:28) cat /tmp/nix-shell.MrxVR3/nix-test/pure-eval/eval-out/x
+(pure-eval.sh:28) [[ foobar = foobar ]]
++(pure-eval.sh:29) cat /tmp/nix-shell.MrxVR3/nix-test/pure-eval/eval-out/y/z
+(pure-eval.sh:29) [[ bla = bla ]]
+(pure-eval.sh:31) rm -rf /tmp/nix-shell.MrxVR3/nix-test/pure-eval/eval-out
+(pure-eval.sh:32) nix eval --store dummy:// --write-to /tmp/nix-shell.MrxVR3/nix-test/pure-eval/eval-out --expr '{ "." = "bla"; }'
error:
… while evaluating the attribute '.'
at «string»:1:3:
1| { "." = "bla"; }
| ^
error: invalid file name '.'
+(pure-eval.sh:34) nix eval --expr '~/foo'
error: the path '~/foo' can not be resolved in pure modebuilding test path
error: path '/tmp/nix-shell.MrxVR3/nix-test/nar-access/store/hfdgqmjcr1lhywz1bl3bz3kda4dj80m9-nar-index-a/xyzzy' does not exist in NAR
error: path '/tmp/nix-shell.MrxVR3/nix-test/nar-access/store/hfdgqmjcr1lhywz1bl3bz3kda4dj80m9-nar-index-a/xyzzy' does not exist
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/nar-access
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/nar-access
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/nar-access
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nar-access
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/nar-access
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/nar-access/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/nar-access/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/nar-access/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/nar-access/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/nar-access/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/nar-access/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(nar-access.sh:3) echo 'building test path'
++(nar-access.sh:4) nix-build nar-access.nix -A a --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/nar-access/store/9m8dhaqw597kvbs1713rkmralb532lwh-nar-index-a.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nar-access/store/9m8dhaqw597kvbs1713rkmralb532lwh-nar-index-a.drv'...
+(nar-access.sh:4) storePath=/tmp/nix-shell.MrxVR3/nix-test/nar-access/store/hfdgqmjcr1lhywz1bl3bz3kda4dj80m9-nar-index-a
+(nar-access.sh:6) cd /tmp/nix-shell.MrxVR3/nix-test/nar-access
+(nar-access.sh:9) narFile=/tmp/nix-shell.MrxVR3/nix-test/nar-access/path.nar
+(nar-access.sh:10) nix-store --dump /tmp/nix-shell.MrxVR3/nix-test/nar-access/store/hfdgqmjcr1lhywz1bl3bz3kda4dj80m9-nar-index-a
+(nar-access.sh:13) cd /tmp/nix-shell.MrxVR3/nix-test/nar-access/store/hfdgqmjcr1lhywz1bl3bz3kda4dj80m9-nar-index-a
+(nar-access.sh:13) find .
+(nar-access.sh:13) sort
+(nar-access.sh:14) nix nar ls -R -d /tmp/nix-shell.MrxVR3/nix-test/nar-access/path.nar ''
+(nar-access.sh:14) sort
+(nar-access.sh:15) diff -u files.find files.ls-nar
+(nar-access.sh:18) nix nar cat /tmp/nix-shell.MrxVR3/nix-test/nar-access/path.nar /foo/data
+(nar-access.sh:19) diff -u data.cat-nar /tmp/nix-shell.MrxVR3/nix-test/nar-access/store/hfdgqmjcr1lhywz1bl3bz3kda4dj80m9-nar-index-a/foo/data
+(nar-access.sh:22) nix nar cat /tmp/nix-shell.MrxVR3/nix-test/nar-access/path.nar /foo/baz
+(nar-access.sh:23) diff -u baz.cat-nar /tmp/nix-shell.MrxVR3/nix-test/nar-access/store/hfdgqmjcr1lhywz1bl3bz3kda4dj80m9-nar-index-a/foo/baz
+(nar-access.sh:25) nix store cat /tmp/nix-shell.MrxVR3/nix-test/nar-access/store/hfdgqmjcr1lhywz1bl3bz3kda4dj80m9-nar-index-a/foo/baz
+(nar-access.sh:26) diff -u baz.cat-nar /tmp/nix-shell.MrxVR3/nix-test/nar-access/store/hfdgqmjcr1lhywz1bl3bz3kda4dj80m9-nar-index-a/foo/baz
++(nar-access.sh:29) dirname /tmp/nix-shell.MrxVR3/nix-test/nar-access/store/hfdgqmjcr1lhywz1bl3bz3kda4dj80m9-nar-index-a
+(nar-access.sh:29) invalidPath=/tmp/nix-shell.MrxVR3/nix-test/nar-access/store/99999999999999999999999999999999-foo
+(nar-access.sh:30) cp -r /tmp/nix-shell.MrxVR3/nix-test/nar-access/store/hfdgqmjcr1lhywz1bl3bz3kda4dj80m9-nar-index-a /tmp/nix-shell.MrxVR3/nix-test/nar-access/store/99999999999999999999999999999999-foo
+(nar-access.sh:31) expect 1 nix store cat /tmp/nix-shell.MrxVR3/nix-test/nar-access/store/99999999999999999999999999999999-foo/foo/baz
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) nix store cat /tmp/nix-shell.MrxVR3/nix-test/nar-access/store/99999999999999999999999999999999-foo/foo/baz
error: path '/tmp/nix-shell.MrxVR3/nix-test/nar-access/store/99999999999999999999999999999999-foo' is not a valid store path
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(nar-access.sh:34) diff -u /dev/fd/63 /dev/fd/62
++(nar-access.sh:34) nix nar ls --json /tmp/nix-shell.MrxVR3/nix-test/nar-access/path.nar /
++(nar-access.sh:34) echo '{"type":"directory","entries":{"foo":{},"foo-x":{},"qux":{},"zyx":{}}}'
++(nar-access.sh:34) jq -S
++(nar-access.sh:34) jq -S
+(nar-access.sh:37) diff -u /dev/fd/63 /dev/fd/62
++(nar-access.sh:37) nix nar ls --json -R /tmp/nix-shell.MrxVR3/nix-test/nar-access/path.nar /foo
++(nar-access.sh:37) echo '{"type":"directory","entries":{"bar":{"type":"regular","size":0,"narOffset":368},"baz":{"type":"regular","size":0,"narOffset":552},"data":{"type":"regular","size":58,"narOffset":736}}}'
++(nar-access.sh:37) jq -S
++(nar-access.sh:37) jq -S
+(nar-access.sh:40) diff -u /dev/fd/63 /dev/fd/62
++(nar-access.sh:40) nix nar ls --json -R /tmp/nix-shell.MrxVR3/nix-test/nar-access/path.nar /foo/bar
++(nar-access.sh:40) echo '{"type":"regular","size":0,"narOffset":368}'
++(nar-access.sh:40) jq -S
++(nar-access.sh:40) jq -S
+(nar-access.sh:43) diff -u /dev/fd/63 /dev/fd/62
++(nar-access.sh:43) nix store ls --json /tmp/nix-shell.MrxVR3/nix-test/nar-access/store/hfdgqmjcr1lhywz1bl3bz3kda4dj80m9-nar-index-a
++(nar-access.sh:43) jq -S
++(nar-access.sh:43) echo '{"type":"directory","entries":{"foo":{},"foo-x":{},"qux":{},"zyx":{}}}'
++(nar-access.sh:43) jq -S
+(nar-access.sh:46) diff -u /dev/fd/63 /dev/fd/62
++(nar-access.sh:46) nix store ls --json -R /tmp/nix-shell.MrxVR3/nix-test/nar-access/store/hfdgqmjcr1lhywz1bl3bz3kda4dj80m9-nar-index-a/foo
++(nar-access.sh:46) jq -S
++(nar-access.sh:46) echo '{"type":"directory","entries":{"bar":{"type":"regular","size":0},"baz":{"type":"regular","size":0},"data":{"type":"regular","size":58}}}'
++(nar-access.sh:46) jq -S
+(nar-access.sh:49) diff -u /dev/fd/63 /dev/fd/62
++(nar-access.sh:49) nix store ls --json -R /tmp/nix-shell.MrxVR3/nix-test/nar-access/store/hfdgqmjcr1lhywz1bl3bz3kda4dj80m9-nar-index-a/foo/bar
++(nar-access.sh:49) jq -S
++(nar-access.sh:49) jq -S
++(nar-access.sh:49) echo '{"type":"regular","size":0}'
+(nar-access.sh:54) expect 1 nix store ls --json -R /tmp/nix-shell.MrxVR3/nix-test/nar-access/store/hfdgqmjcr1lhywz1bl3bz3kda4dj80m9-nar-index-a/xyzzy
+(nar-access.sh:54) grep 'does not exist in NAR'
+(nar-access.sh:55) expect 1 nix store ls /tmp/nix-shell.MrxVR3/nix-test/nar-access/store/hfdgqmjcr1lhywz1bl3bz3kda4dj80m9-nar-index-a/xyzzy
+(nar-access.sh:55) grep 'does not exist'
+(nar-access.sh:58) nix-store --dump /tmp/nix-shell.MrxVR3/nix-test/nar-access/store/hfdgqmjcr1lhywz1bl3bz3kda4dj80m9-nar-index-a
error: writing to file: No space left on device[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/config
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/config
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/config
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/config
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/config
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/config/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/config/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/config/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/config/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/config/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/config/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(config.sh:5) export HOME=/tmp/nix-shell.MrxVR3/nix-test/config/userhome
+(config.sh:5) HOME=/tmp/nix-shell.MrxVR3/nix-test/config/userhome
+(config.sh:9) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/config/userhome/.config ']'
+(config.sh:11) unset XDG_CONFIG_HOME
+(config.sh:14) nix registry remove userhome-without-xdg
+(config.sh:16) '[' -e /tmp/nix-shell.MrxVR3/nix-test/config/userhome/.config ']'
+(config.sh:18) rm -rf /tmp/nix-shell.MrxVR3/nix-test/config/userhome/.config
+(config.sh:20) export XDG_CONFIG_HOME=/tmp/nix-shell.MrxVR3/nix-test/config/confighome
+(config.sh:20) XDG_CONFIG_HOME=/tmp/nix-shell.MrxVR3/nix-test/config/confighome
+(config.sh:22) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/config/confighome/nix ']'
+(config.sh:23) nix registry remove userhome-with-xdg
+(config.sh:25) '[' -e /tmp/nix-shell.MrxVR3/nix-test/config/confighome/nix ']'
+(config.sh:27) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/config/userhome/.config ']'
+(config.sh:30) export XDG_CONFIG_HOME=/tmp/nix-shell.MrxVR3/nix-test/config/confighome
+(config.sh:30) XDG_CONFIG_HOME=/tmp/nix-shell.MrxVR3/nix-test/config/confighome
+(config.sh:31) export XDG_CONFIG_DIRS=/tmp/nix-shell.MrxVR3/nix-test/config/dir1:/tmp/nix-shell.MrxVR3/nix-test/config/dir2
+(config.sh:31) XDG_CONFIG_DIRS=/tmp/nix-shell.MrxVR3/nix-test/config/dir1:/tmp/nix-shell.MrxVR3/nix-test/config/dir2
++(config.sh:32) nix-build --verbose --version
++(config.sh:32) grep 'User config'
++(config.sh:32) cut -d : -f2-
++(config.sh:32) xargs
+(config.sh:32) files=/tmp/nix-shell.MrxVR3/nix-test/config/confighome/nix/nix.conf:/tmp/nix-shell.MrxVR3/nix-test/config/dir1/nix/nix.conf:/tmp/nix-shell.MrxVR3/nix-test/config/dir2/nix/nix.conf
+(config.sh:33) [[ /tmp/nix-shell.MrxVR3/nix-test/config/confighome/nix/nix.conf:/tmp/nix-shell.MrxVR3/nix-test/config/dir1/nix/nix.conf:/tmp/nix-shell.MrxVR3/nix-test/config/dir2/nix/nix.conf == \/\t\m\p\/\n\i\x\-\s\h\e\l\l\.\M\r\x\V\R\3\/\n\i\x\-\t\e\s\t\/\c\o\n\f\i\g\/\c\o\n\f\i\g\h\o\m\e\/\n\i\x\/\n\i\x\.\c\o\n\f\:\/\t\m\p\/\n\i\x\-\s\h\e\l\l\.\M\r\x\V\R\3\/\n\i\x\-\t\e\s\t\/\c\o\n\f\i\g\/\d\i\r\1\/\n\i\x\/\n\i\x\.\c\o\n\f\:\/\t\m\p\/\n\i\x\-\s\h\e\l\l\.\M\r\x\V\R\3\/\n\i\x\-\t\e\s\t\/\c\o\n\f\i\g\/\d\i\r\2\/\n\i\x\/\n\i\x\.\c\o\n\f ]]
+(config.sh:36) export NIX_USER_CONF_FILES=/tmp/nix-shell.MrxVR3/nix-test/config/file1.conf:/tmp/nix-shell.MrxVR3/nix-test/config/file2.conf
+(config.sh:36) NIX_USER_CONF_FILES=/tmp/nix-shell.MrxVR3/nix-test/config/file1.conf:/tmp/nix-shell.MrxVR3/nix-test/config/file2.conf
++(config.sh:37) nix-build --verbose --version
++(config.sh:37) xargs
++(config.sh:37) cut -d : -f2-
++(config.sh:37) grep 'User config'
+(config.sh:37) files=/tmp/nix-shell.MrxVR3/nix-test/config/file1.conf:/tmp/nix-shell.MrxVR3/nix-test/config/file2.conf
+(config.sh:38) [[ /tmp/nix-shell.MrxVR3/nix-test/config/file1.conf:/tmp/nix-shell.MrxVR3/nix-test/config/file2.conf == \/\t\m\p\/\n\i\x\-\s\h\e\l\l\.\M\r\x\V\R\3\/\n\i\x\-\t\e\s\t\/\c\o\n\f\i\g\/\f\i\l\e\1\.\c\o\n\f\:\/\t\m\p\/\n\i\x\-\s\h\e\l\l\.\M\r\x\V\R\3\/\n\i\x\-\t\e\s\t\/\c\o\n\f\i\g\/\f\i\l\e\2\.\c\o\n\f ]]
+++(config.sh:41) dirname config.sh
++(config.sh:41) readlink -f .
+(config.sh:41) here=/lix-src/build/tests/functional
+(config.sh:42) export NIX_USER_CONF_FILES=/lix-src/build/tests/functional/config/nix-with-substituters.conf
+(config.sh:42) NIX_USER_CONF_FILES=/lix-src/build/tests/functional/config/nix-with-substituters.conf
++(config.sh:43) cut -d = -f 2
++(config.sh:43) nix config show
++(config.sh:43) grep '^substituters ='
++(config.sh:43) xargs
+(config.sh:43) var=https://example.com
+(config.sh:44) [[ https://example.com == https://example.com ]]
++(config.sh:47) nix config show
++(config.sh:47) grep '^cores'
++(config.sh:47) cut -d = -f 2
++(config.sh:47) xargs
+(config.sh:47) prev=16
+(config.sh:48) export 'NIX_CONFIG=cores = 4242
experimental-features = nix-command flakes'
+(config.sh:48) NIX_CONFIG='cores = 4242
experimental-features = nix-command flakes'
++(config.sh:49) nix config show
++(config.sh:49) grep '^cores'
++(config.sh:49) cut -d = -f 2
++(config.sh:49) xargs
+(config.sh:49) exp_cores=4242
++(config.sh:50) nix config show
++(config.sh:50) grep '^experimental-features'
++(config.sh:50) cut -d = -f 2
++(config.sh:50) xargs
+(config.sh:50) exp_features='flakes nix-command'
+(config.sh:51) [[ 16 != 4242 ]]
+(config.sh:52) [[ 4242 == \4\2\4\2 ]]
+(config.sh:53) [[ flakes nix-command == \f\l\a\k\e\s\ \n\i\x\-\c\o\m\m\a\n\d ]]
++(config.sh:56) nix config show
++(config.sh:56) grep '^warn-dirty'
++(config.sh:56) cut -d = -f 2
++(config.sh:56) xargs
+(config.sh:56) val=true
++(config.sh:57) nix config show warn-dirty
+(config.sh:57) val2=true
+(config.sh:58) [[ true == true ]]/tmp/nix-shell.MrxVR3/nix-test/add/store/nxp3x9kvx0i58rqfngw4glcw2hcch3hw-dummy
/tmp/nix-shell.MrxVR3/nix-test/add/store/nxp3x9kvx0i58rqfngw4glcw2hcch3hw-dummy
/tmp/nix-shell.MrxVR3/nix-test/add/store/71nmbkpvwp5mzm32631vv9j2q14lg73q-dummy
/tmp/nix-shell.MrxVR3/nix-test/add/store/80y99y17i4nb33g75gn68ij6lhp3r9gz-dummy
sha256:0lc8c8k1yc8m563wxg9ikalz4q9f56gc667qnnsjiwgiv7ya8xbw
0lc8c8k1yc8m563wxg9ikalz4q9f56gc667qnnsjiwgiv7ya8xbw
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/add
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/add
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/add
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/add
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/add
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/add/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/add/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/add/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/add/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/add/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/add/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
++(add.sh:3) nix-store --add ./dummy
+(add.sh:3) path1=/tmp/nix-shell.MrxVR3/nix-test/add/store/nxp3x9kvx0i58rqfngw4glcw2hcch3hw-dummy
+(add.sh:4) echo /tmp/nix-shell.MrxVR3/nix-test/add/store/nxp3x9kvx0i58rqfngw4glcw2hcch3hw-dummy
++(add.sh:6) nix-store --add-fixed sha256 --recursive ./dummy
+(add.sh:6) path2=/tmp/nix-shell.MrxVR3/nix-test/add/store/nxp3x9kvx0i58rqfngw4glcw2hcch3hw-dummy
+(add.sh:7) echo /tmp/nix-shell.MrxVR3/nix-test/add/store/nxp3x9kvx0i58rqfngw4glcw2hcch3hw-dummy
+(add.sh:9) test /tmp/nix-shell.MrxVR3/nix-test/add/store/nxp3x9kvx0i58rqfngw4glcw2hcch3hw-dummy '!=' /tmp/nix-shell.MrxVR3/nix-test/add/store/nxp3x9kvx0i58rqfngw4glcw2hcch3hw-dummy
++(add.sh:14) nix-store --add-fixed sha256 ./dummy
+(add.sh:14) path3=/tmp/nix-shell.MrxVR3/nix-test/add/store/71nmbkpvwp5mzm32631vv9j2q14lg73q-dummy
+(add.sh:15) echo /tmp/nix-shell.MrxVR3/nix-test/add/store/71nmbkpvwp5mzm32631vv9j2q14lg73q-dummy
+(add.sh:16) test /tmp/nix-shell.MrxVR3/nix-test/add/store/nxp3x9kvx0i58rqfngw4glcw2hcch3hw-dummy '!=' /tmp/nix-shell.MrxVR3/nix-test/add/store/71nmbkpvwp5mzm32631vv9j2q14lg73q-dummy
++(add.sh:18) nix-store --add-fixed sha1 --recursive ./dummy
+(add.sh:18) path4=/tmp/nix-shell.MrxVR3/nix-test/add/store/80y99y17i4nb33g75gn68ij6lhp3r9gz-dummy
+(add.sh:19) echo /tmp/nix-shell.MrxVR3/nix-test/add/store/80y99y17i4nb33g75gn68ij6lhp3r9gz-dummy
+(add.sh:20) test /tmp/nix-shell.MrxVR3/nix-test/add/store/nxp3x9kvx0i58rqfngw4glcw2hcch3hw-dummy '!=' /tmp/nix-shell.MrxVR3/nix-test/add/store/80y99y17i4nb33g75gn68ij6lhp3r9gz-dummy
++(add.sh:22) nix-store -q --hash /tmp/nix-shell.MrxVR3/nix-test/add/store/nxp3x9kvx0i58rqfngw4glcw2hcch3hw-dummy
+(add.sh:22) hash1=sha256:0lc8c8k1yc8m563wxg9ikalz4q9f56gc667qnnsjiwgiv7ya8xbw
+(add.sh:23) echo sha256:0lc8c8k1yc8m563wxg9ikalz4q9f56gc667qnnsjiwgiv7ya8xbw
++(add.sh:25) nix-hash --type sha256 --base32 ./dummy
+(add.sh:25) hash2=0lc8c8k1yc8m563wxg9ikalz4q9f56gc667qnnsjiwgiv7ya8xbw
+(add.sh:26) echo 0lc8c8k1yc8m563wxg9ikalz4q9f56gc667qnnsjiwgiv7ya8xbw
+(add.sh:28) test sha256:0lc8c8k1yc8m563wxg9ikalz4q9f56gc667qnnsjiwgiv7ya8xbw = sha256:0lc8c8k1yc8m563wxg9ikalz4q9f56gc667qnnsjiwgiv7ya8xbwclearing store...
clearing store...
clearing store...
/tmp/nix-shell.MrxVR3/nix-test/export/store/kf55pqrlykrb2jvnm65dma3cd7w91528-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/export/store/hnsvizh5wx6xfnlfp0r76j5ydz2j7bk2-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/export/store/amf76c2c5am1ri4qas7bram6cx5szzd5-dependencies-top
clearing store...
/tmp/nix-shell.MrxVR3/nix-test/export/store/kf55pqrlykrb2jvnm65dma3cd7w91528-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/export/store/hnsvizh5wx6xfnlfp0r76j5ydz2j7bk2-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/export/store/amf76c2c5am1ri4qas7bram6cx5szzd5-dependencies-top
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/export
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/export
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/export
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/export
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/export
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/export/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/export/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/export/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/export/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/export/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/export/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(export.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/export/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/export/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/export/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/export/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/export/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/export/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/export/test-home/.local/state/nix/profiles
++(export.sh:5) nix-build dependencies.nix --no-out-link
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/export/store/76lva29lsqnk9fi0nz937zga131di8x6-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/export/store/f2q6w8qq4fys1mmip51qdvmhrg8c3wcc-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/export/store/hjzkr8h855zv0c7c6n3m1sdg6ysxqg3k-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/export/store/xx1w91izq9ch6vxk5xnpqgkp75as98wd-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/export/store/vbxq1jirf3vr8adv61hxfgbbqwls5wfz-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/export/store/f2q6w8qq4fys1mmip51qdvmhrg8c3wcc-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/export/store/xx1w91izq9ch6vxk5xnpqgkp75as98wd-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/export/store/hjzkr8h855zv0c7c6n3m1sdg6ysxqg3k-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/export/store/76lva29lsqnk9fi0nz937zga131di8x6-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/export/store/vbxq1jirf3vr8adv61hxfgbbqwls5wfz-dependencies-top.drv'...
FOO
+(export.sh:5) outPath=/tmp/nix-shell.MrxVR3/nix-test/export/store/amf76c2c5am1ri4qas7bram6cx5szzd5-dependencies-top
+(export.sh:7) nix-store --export /tmp/nix-shell.MrxVR3/nix-test/export/store/amf76c2c5am1ri4qas7bram6cx5szzd5-dependencies-top
++(export.sh:9) nix-store -qR /tmp/nix-shell.MrxVR3/nix-test/export/store/amf76c2c5am1ri4qas7bram6cx5szzd5-dependencies-top
+(export.sh:9) nix-store --export /tmp/nix-shell.MrxVR3/nix-test/export/store/kf55pqrlykrb2jvnm65dma3cd7w91528-dependencies-input-0 /tmp/nix-shell.MrxVR3/nix-test/export/store/hnsvizh5wx6xfnlfp0r76j5ydz2j7bk2-dependencies-input-2 /tmp/nix-shell.MrxVR3/nix-test/export/store/amf76c2c5am1ri4qas7bram6cx5szzd5-dependencies-top
+(export.sh:11) nix-store --export /tmp/nix-shell.MrxVR3/nix-test/export/store/amf76c2c5am1ri4qas7bram6cx5szzd5-dependencies-top
error: writing to file: No space left on device
+(export.sh:17) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/export/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/export/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/export/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/export/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/export/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/export/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/export/test-home/.local/state/nix/profiles
+(export.sh:19) nix-store --import
error: path '/tmp/nix-shell.MrxVR3/nix-test/export/store/hnsvizh5wx6xfnlfp0r76j5ydz2j7bk2-dependencies-input-2' is not valid
+(export.sh:25) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/export/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/export/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/export/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/export/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/export/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/export/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/export/test-home/.local/state/nix/profiles
+(export.sh:27) nix-store --import
++(export.sh:29) nix-store -qR /tmp/nix-shell.MrxVR3/nix-test/export/store/amf76c2c5am1ri4qas7bram6cx5szzd5-dependencies-top
+(export.sh:29) nix-store --export /tmp/nix-shell.MrxVR3/nix-test/export/store/kf55pqrlykrb2jvnm65dma3cd7w91528-dependencies-input-0 /tmp/nix-shell.MrxVR3/nix-test/export/store/hnsvizh5wx6xfnlfp0r76j5ydz2j7bk2-dependencies-input-2 /tmp/nix-shell.MrxVR3/nix-test/export/store/amf76c2c5am1ri4qas7bram6cx5szzd5-dependencies-top
+(export.sh:32) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/export/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/export/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/export/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/export/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/export/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/export/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/export/test-home/.local/state/nix/profiles
+(export.sh:36) nix-store --importclearing store...
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesSub/.git/
[master (root-commit) 4165bde] Initial commit
1 file changed, 1 insertion(+)
create mode 100644 content
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot/.git/
[master (root-commit) 0b1888c] Add submodule
2 files changed, 4 insertions(+)
create mode 100644 .gitmodules
create mode 160000 sub
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot/.git/
[master (root-commit) d7c762b] Add submodule
2 files changed, 4 insertions(+)
create mode 100644 .gitmodules
create mode 160000 sub
Submodule path 'sub': checked out '4165bde985d5bc60641a38f0b8d506ac41448a43'
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(fetchGitSubmodules.sh:3) set -u
+(fetchGitSubmodules.sh:5) requireGit
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) type -p git
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) [[ -n /nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin/git ]]
+(fetchGitSubmodules.sh:7) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/test-home/.local/state/nix/profiles
+(fetchGitSubmodules.sh:9) rootRepo=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot
+(fetchGitSubmodules.sh:10) subRepo=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesSub
+(fetchGitSubmodules.sh:12) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesSub /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/test-home/.cache/nix
+(fetchGitSubmodules.sh:20) export XDG_CONFIG_HOME=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/test-home/.config
+(fetchGitSubmodules.sh:20) XDG_CONFIG_HOME=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/test-home/.config
+(fetchGitSubmodules.sh:21) git config --global protocol.file.allow always
+(fetchGitSubmodules.sh:35) initGitRepo /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesSub
+(fetchGitSubmodules.sh:24) git init /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesSub
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(fetchGitSubmodules.sh:25) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesSub config user.email foobar@example.com
+(fetchGitSubmodules.sh:26) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesSub config user.name Foobar
+(fetchGitSubmodules.sh:36) addGitContent /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesSub
+(fetchGitSubmodules.sh:30) echo 'lorem ipsum'
+(fetchGitSubmodules.sh:31) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesSub add content
+(fetchGitSubmodules.sh:32) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesSub commit -m 'Initial commit'
+(fetchGitSubmodules.sh:38) initGitRepo /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot
+(fetchGitSubmodules.sh:24) git init /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(fetchGitSubmodules.sh:25) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot config user.email foobar@example.com
+(fetchGitSubmodules.sh:26) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot config user.name Foobar
+(fetchGitSubmodules.sh:40) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot submodule init
+(fetchGitSubmodules.sh:41) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot submodule add /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesSub sub
Cloning into '/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot/sub'...
done.
+(fetchGitSubmodules.sh:42) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot add sub
+(fetchGitSubmodules.sh:43) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot commit -m 'Add submodule'
++(fetchGitSubmodules.sh:45) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot rev-parse HEAD
+(fetchGitSubmodules.sh:45) rev=0b1888caf440d777c52b64e96fec2018e0d813a4
++(fetchGitSubmodules.sh:47) nix eval --raw --expr '(builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "0b1888caf440d777c52b64e96fec2018e0d813a4"; }).outPath'
\x1b[K
\x1b[K+(fetchGitSubmodules.sh:47) r1=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/wp73mfdr8frn1kh0vijy728nhvr17qg1-source
++(fetchGitSubmodules.sh:48) nix eval --raw --expr '(builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "0b1888caf440d777c52b64e96fec2018e0d813a4"; submodules = false; }).outPath'
+(fetchGitSubmodules.sh:48) r2=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/wp73mfdr8frn1kh0vijy728nhvr17qg1-source
++(fetchGitSubmodules.sh:49) nix eval --raw --expr '(builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "0b1888caf440d777c52b64e96fec2018e0d813a4"; submodules = true; }).outPath'
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[K+(fetchGitSubmodules.sh:49) r3=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source
+(fetchGitSubmodules.sh:51) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/wp73mfdr8frn1kh0vijy728nhvr17qg1-source == /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/wp73mfdr8frn1kh0vijy728nhvr17qg1-source ]]
+(fetchGitSubmodules.sh:52) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/wp73mfdr8frn1kh0vijy728nhvr17qg1-source != /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source ]]
++(fetchGitSubmodules.sh:54) nix eval --raw --expr '(builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot; ref = "master"; rev = "0b1888caf440d777c52b64e96fec2018e0d813a4"; }).outPath'
+(fetchGitSubmodules.sh:54) r4=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/wp73mfdr8frn1kh0vijy728nhvr17qg1-source
++(fetchGitSubmodules.sh:55) nix eval --raw --expr '(builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot; ref = "master"; rev = "0b1888caf440d777c52b64e96fec2018e0d813a4"; submodules = false; }).outPath'
+(fetchGitSubmodules.sh:55) r5=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/wp73mfdr8frn1kh0vijy728nhvr17qg1-source
++(fetchGitSubmodules.sh:56) nix eval --raw --expr '(builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot; ref = "master"; rev = "0b1888caf440d777c52b64e96fec2018e0d813a4"; submodules = true; }).outPath'
+(fetchGitSubmodules.sh:56) r6=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source
++(fetchGitSubmodules.sh:57) nix eval --raw --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot; ref = "master"; rev = "0b1888caf440d777c52b64e96fec2018e0d813a4"; submodules = true; }).outPath'
+(fetchGitSubmodules.sh:57) r7=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source
++(fetchGitSubmodules.sh:58) nix eval --raw --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "0b1888caf440d777c52b64e96fec2018e0d813a4"; submodules = true; }).outPath'
+(fetchGitSubmodules.sh:58) r8=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source
+(fetchGitSubmodules.sh:60) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/wp73mfdr8frn1kh0vijy728nhvr17qg1-source == /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/wp73mfdr8frn1kh0vijy728nhvr17qg1-source ]]
+(fetchGitSubmodules.sh:61) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/wp73mfdr8frn1kh0vijy728nhvr17qg1-source == /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/wp73mfdr8frn1kh0vijy728nhvr17qg1-source ]]
+(fetchGitSubmodules.sh:62) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source == /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source ]]
+(fetchGitSubmodules.sh:63) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source == /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source ]]
+(fetchGitSubmodules.sh:64) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source == /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source ]]
++(fetchGitSubmodules.sh:66) nix eval --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "0b1888caf440d777c52b64e96fec2018e0d813a4"; }).submodules'
+(fetchGitSubmodules.sh:66) have_submodules=false
+(fetchGitSubmodules.sh:67) [[ false == false ]]
++(fetchGitSubmodules.sh:69) nix eval --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "0b1888caf440d777c52b64e96fec2018e0d813a4"; submodules = false; }).submodules'
+(fetchGitSubmodules.sh:69) have_submodules=false
+(fetchGitSubmodules.sh:70) [[ false == false ]]
++(fetchGitSubmodules.sh:72) nix eval --expr '(builtins.fetchGit { url = /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "0b1888caf440d777c52b64e96fec2018e0d813a4"; submodules = true; }).submodules'
+(fetchGitSubmodules.sh:72) have_submodules=true
+(fetchGitSubmodules.sh:73) [[ true == true ]]
++(fetchGitSubmodules.sh:75) nix eval --raw --expr '(builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "0b1888caf440d777c52b64e96fec2018e0d813a4"; }).outPath'
+(fetchGitSubmodules.sh:75) pathWithoutSubmodules=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/wp73mfdr8frn1kh0vijy728nhvr17qg1-source
++(fetchGitSubmodules.sh:76) nix eval --raw --expr '(builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "0b1888caf440d777c52b64e96fec2018e0d813a4"; submodules = true; }).outPath'
+(fetchGitSubmodules.sh:76) pathWithSubmodules=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source
++(fetchGitSubmodules.sh:77) nix eval --raw --expr '(builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "0b1888caf440d777c52b64e96fec2018e0d813a4"; submodules = true; }).outPath'
+(fetchGitSubmodules.sh:77) pathWithSubmodulesAgain=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source
++(fetchGitSubmodules.sh:78) nix eval --raw --expr '(builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot; ref = "master"; rev = "0b1888caf440d777c52b64e96fec2018e0d813a4"; submodules = true; }).outPath'
+(fetchGitSubmodules.sh:78) pathWithSubmodulesAgainWithRef=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source
+(fetchGitSubmodules.sh:81) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/wp73mfdr8frn1kh0vijy728nhvr17qg1-source != /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source ]]
+(fetchGitSubmodules.sh:84) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source == /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source ]]
+(fetchGitSubmodules.sh:87) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source == /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source ]]
+(fetchGitSubmodules.sh:90) [[ ! -e /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/wp73mfdr8frn1kh0vijy728nhvr17qg1-source/sub/content ]]
+(fetchGitSubmodules.sh:91) [[ -e /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source/sub/content ]]
+(fetchGitSubmodules.sh:93) [[ -e /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source/sub/content ]]
++(fetchGitSubmodules.sh:96) find /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source -name .git
+(fetchGitSubmodules.sh:96) test '' = ''
++(fetchGitSubmodules.sh:99) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesSub rev-parse HEAD
+(fetchGitSubmodules.sh:99) subRev=4165bde985d5bc60641a38f0b8d506ac41448a43
++(fetchGitSubmodules.sh:100) nix eval --raw --expr '(builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesSub; rev = "4165bde985d5bc60641a38f0b8d506ac41448a43"; }).outPath'
\x1b[K
\x1b[K+(fetchGitSubmodules.sh:100) noSubmoduleRepoBaseline=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/sa77r21xd7v3gmqrnrdkiryrn1fg1g3a-source
++(fetchGitSubmodules.sh:101) nix eval --raw --expr '(builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesSub; rev = "4165bde985d5bc60641a38f0b8d506ac41448a43"; submodules = true; }).outPath'
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[K+(fetchGitSubmodules.sh:101) noSubmoduleRepo=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/sa77r21xd7v3gmqrnrdkiryrn1fg1g3a-source
+(fetchGitSubmodules.sh:103) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/sa77r21xd7v3gmqrnrdkiryrn1fg1g3a-source == /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/sa77r21xd7v3gmqrnrdkiryrn1fg1g3a-source ]]
+(fetchGitSubmodules.sh:106) rm /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/test-home/.cache/nix/fetcher-cache-v1.sqlite /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/test-home/.cache/nix/fetcher-cache-v1.sqlite-journal
+(fetchGitSubmodules.sh:107) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot/.git /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot/.gitmodules /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot/sub
+(fetchGitSubmodules.sh:108) initGitRepo /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot
+(fetchGitSubmodules.sh:24) git init /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(fetchGitSubmodules.sh:25) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot config user.email foobar@example.com
+(fetchGitSubmodules.sh:26) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot config user.name Foobar
+(fetchGitSubmodules.sh:109) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot submodule add ../gitSubmodulesSub sub
Cloning into '/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot/sub'...
done.
+(fetchGitSubmodules.sh:110) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot commit -m 'Add submodule'
++(fetchGitSubmodules.sh:111) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot rev-parse HEAD
+(fetchGitSubmodules.sh:111) rev2=d7c762bd0529bb54e3266b4c1183a73d114bd030
++(fetchGitSubmodules.sh:112) nix eval --raw --expr '(builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot; rev = "d7c762bd0529bb54e3266b4c1183a73d114bd030"; submodules = true; }).outPath'
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[K+(fetchGitSubmodules.sh:112) pathWithRelative=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/ywr3vlm57s086j4x5ik7fia76c0a24bq-source
+(fetchGitSubmodules.sh:113) diff -r -x .gitmodules /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/l6s8pp4v6brisbca59j7kpnnc7i3rnwx-source /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/ywr3vlm57s086j4x5ik7fia76c0a24bq-source
+(fetchGitSubmodules.sh:116) rm /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/test-home/.cache/nix/fetcher-cache-v1.sqlite /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/test-home/.cache/nix/fetcher-cache-v1.sqlite-journal
+(fetchGitSubmodules.sh:117) cloneRepo=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/a/b/gitSubmodulesClone
+(fetchGitSubmodules.sh:118) git clone /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesRoot /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/a/b/gitSubmodulesClone
Cloning into '/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/a/b/gitSubmodulesClone'...
done.
++(fetchGitSubmodules.sh:119) nix eval --raw --expr '(builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/a/b/gitSubmodulesClone; rev = "d7c762bd0529bb54e3266b4c1183a73d114bd030"; submodules = true; }).outPath'
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[K+(fetchGitSubmodules.sh:119) pathIndirect=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/ywr3vlm57s086j4x5ik7fia76c0a24bq-source
+(fetchGitSubmodules.sh:120) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/ywr3vlm57s086j4x5ik7fia76c0a24bq-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/ywr3vlm57s086j4x5ik7fia76c0a24bq-source ]]
+(fetchGitSubmodules.sh:124) git -C /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/a/b/gitSubmodulesClone submodule update --init
Submodule 'sub' (/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesSub) registered for path 'sub'
Cloning into '/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/a/b/gitSubmodulesClone/sub'...
done.
+(fetchGitSubmodules.sh:125) rm /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/test-home/.cache/nix/fetcher-cache-v1.sqlite /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/test-home/.cache/nix/fetcher-cache-v1.sqlite-journal
+(fetchGitSubmodules.sh:126) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/gitSubmodulesSub
++(fetchGitSubmodules.sh:127) nix eval --raw --expr '(builtins.fetchGit { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/a/b/gitSubmodulesClone; rev = "d7c762bd0529bb54e3266b4c1183a73d114bd030"; submodules = true; }).outPath'
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[K+(fetchGitSubmodules.sh:127) pathSubmoduleGone=/tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/ywr3vlm57s086j4x5ik7fia76c0a24bq-source
+(fetchGitSubmodules.sh:128) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/ywr3vlm57s086j4x5ik7fia76c0a24bq-source = /tmp/nix-shell.MrxVR3/nix-test/fetchGitSubmodules/store/ywr3vlm57s086j4x5ik7fia76c0a24bq-source ]]clearing store...
clearing store...
/tmp/nix-shell.MrxVR3/nix-test/logging/store/ng5xkg59njpy1523adswzp03paiq3b1z-dependencies-top
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/logging
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/logging
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/logging
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/logging
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/logging
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/logging/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/logging/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/logging/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/logging/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/logging/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/logging/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(logging.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/logging/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/logging/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/logging/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/logging/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/logging/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/logging/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/logging/test-home/.local/state/nix/profiles
++(logging.sh:5) nix-build dependencies.nix --no-out-link
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/logging/store/c6i40fsvighw7vks0ajsav5qrykv14gw-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/logging/store/s6s7g7zd6mkd73biy6820k8fyi4hzck4-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/logging/store/l5vfiap65w11k0wjcr1j6p5hr83aj0p5-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/logging/store/wj99kkcwzrrk3679v5xyqhp81vwrvamx-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/logging/store/3bsd0cxc1v6i59hnkfc32lbpx1dwyrdd-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/logging/store/s6s7g7zd6mkd73biy6820k8fyi4hzck4-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/logging/store/wj99kkcwzrrk3679v5xyqhp81vwrvamx-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/logging/store/l5vfiap65w11k0wjcr1j6p5hr83aj0p5-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/logging/store/c6i40fsvighw7vks0ajsav5qrykv14gw-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/logging/store/3bsd0cxc1v6i59hnkfc32lbpx1dwyrdd-dependencies-top.drv'...
FOO
+(logging.sh:5) path=/tmp/nix-shell.MrxVR3/nix-test/logging/store/ng5xkg59njpy1523adswzp03paiq3b1z-dependencies-top
++(logging.sh:8) nix-store -l /tmp/nix-shell.MrxVR3/nix-test/logging/store/ng5xkg59njpy1523adswzp03paiq3b1z-dependencies-top
+(logging.sh:8) '[' FOO = FOO ']'
+(logging.sh:11) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/logging/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/logging/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/logging/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/logging/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/logging/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/logging/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/logging/test-home/.local/state/nix/profiles
+(logging.sh:12) rm -rf /tmp/nix-shell.MrxVR3/nix-test/logging/var/log/nix
+(logging.sh:13) nix-store -l /tmp/nix-shell.MrxVR3/nix-test/logging/store/ng5xkg59njpy1523adswzp03paiq3b1z-dependencies-top
error: build log of derivation '/tmp/nix-shell.MrxVR3/nix-test/logging/store/ng5xkg59njpy1523adswzp03paiq3b1z-dependencies-top' is not available
+(logging.sh:14) nix-build dependencies.nix --no-out-link --compress-build-log
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/logging/store/c6i40fsvighw7vks0ajsav5qrykv14gw-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/logging/store/s6s7g7zd6mkd73biy6820k8fyi4hzck4-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/logging/store/l5vfiap65w11k0wjcr1j6p5hr83aj0p5-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/logging/store/wj99kkcwzrrk3679v5xyqhp81vwrvamx-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/logging/store/3bsd0cxc1v6i59hnkfc32lbpx1dwyrdd-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/logging/store/s6s7g7zd6mkd73biy6820k8fyi4hzck4-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/logging/store/wj99kkcwzrrk3679v5xyqhp81vwrvamx-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/logging/store/l5vfiap65w11k0wjcr1j6p5hr83aj0p5-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/logging/store/c6i40fsvighw7vks0ajsav5qrykv14gw-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/logging/store/3bsd0cxc1v6i59hnkfc32lbpx1dwyrdd-dependencies-top.drv'...
FOO
++(logging.sh:15) nix-store -l /tmp/nix-shell.MrxVR3/nix-test/logging/store/ng5xkg59njpy1523adswzp03paiq3b1z-dependencies-top
+(logging.sh:15) '[' FOO = FOO ']'
+++(logging.sh:18) mktemp
++(logging.sh:18) realpath /tmp/nix-shell.MrxVR3/tmp.CLctJHnkEN
+(logging.sh:18) builder=/tmp/nix-shell.MrxVR3/tmp.CLctJHnkEN
+(logging.sh:19) echo -e '#!/bin/sh\nmkdir $out'
+++(logging.sh:22) mktemp -d
++(logging.sh:22) nix-build -E 'with import ./config.nix; mkDerivation { name = "fnord"; builder = /tmp/nix-shell.MrxVR3/tmp.CLctJHnkEN; }' --out-link /tmp/nix-shell.MrxVR3/tmp.4LvyKW2Oku/result
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/logging/store/i08mrb8al0w5vc2rx3w5c4lp5s8wmy4r-fnord.drv
building '/tmp/nix-shell.MrxVR3/nix-test/logging/store/i08mrb8al0w5vc2rx3w5c4lp5s8wmy4r-fnord.drv'...
+(logging.sh:22) outp=/tmp/nix-shell.MrxVR3/nix-test/logging/store/sc3w4002viz78xwyaxqq92h9w0kahk8c-fnord
+(logging.sh:24) test -d /tmp/nix-shell.MrxVR3/nix-test/logging/store/sc3w4002viz78xwyaxqq92h9w0kahk8c-fnord
+(logging.sh:26) nix log /tmp/nix-shell.MrxVR3/nix-test/logging/store/sc3w4002viz78xwyaxqq92h9w0kahk8c-fnord
got build log for '/tmp/nix-shell.MrxVR3/nix-test/logging/store/sc3w4002viz78xwyaxqq92h9w0kahk8c-fnord' from 'local'clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/search
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/search
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/search
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/search
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/search
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/search/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/search/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/search/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/search/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/search/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/search/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(search.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/search/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/search/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/search/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/search/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/search/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/search/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/search/test-home/.local/state/nix/profiles
+(search.sh:4) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/search/binary-cache
++(search.sh:6) nix search -f search.nix '' hello
++(search.sh:6) wc -l
evaluating ''...
evaluating 'bar'...
evaluating 'foo'...
evaluating 'hello'...
+(search.sh:6) (( 2 > 0 ))
++(search.sh:9) nix search -f search.nix '' broken
++(search.sh:9) wc -l
evaluating ''...
evaluating 'bar'...
evaluating 'foo'...
evaluating 'hello'...
+(search.sh:9) (( 2 > 0 ))
++(search.sh:12) nix search -f search.nix '' nosuchpackageexists
++(search.sh:12) wc -l
evaluating ''...
evaluating 'bar'...
evaluating 'foo'...
evaluating 'hello'...
error: no results for the given search term(s)!
+(search.sh:12) (( 0 == 0 ))
++(search.sh:15) wc -l
++(search.sh:15) nix search -f search.nix '' hello empty
evaluating ''...
evaluating 'bar'...
evaluating 'foo'...
evaluating 'hello'...
+(search.sh:15) (( 2 == 2 ))
++(search.sh:18) nix search -f search.nix '' hello broken
++(search.sh:18) wc -l
evaluating ''...
evaluating 'bar'...
evaluating 'foo'...
evaluating 'hello'...
error: no results for the given search term(s)!
+(search.sh:18) (( 0 == 0 ))
++(search.sh:21) nix search -f search.nix ''
++(search.sh:21) wc -l
error: Must provide at least one regex! To match all packages, use 'nix search <installable> ^'.
Try 'nix --help' for more information.
+(search.sh:21) (( 0 == 0 ))
+(search.sh:26) nix search -f search.nix '' '^'
+(search.sh:26) grepQuiet foo
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep foo
evaluating ''...
evaluating 'bar'...
evaluating 'foo'...
evaluating 'hello'...
+(search.sh:27) nix search -f search.nix '' '^'
+(search.sh:27) grepQuiet bar
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep bar
evaluating ''...
evaluating 'bar'...
evaluating 'foo'...
evaluating 'hello'...
+(search.sh:28) grepQuiet hello
+(search.sh:28) nix search -f search.nix '' '^'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep hello
evaluating ''...
evaluating 'bar'...
evaluating 'foo'...
evaluating 'hello'...
+(search.sh:32) e=$'\E'
++(search.sh:34) nix search -f search.nix '' oo foo oo
++(search.sh:34) grep -c '\x1b\[32;1mfoo\x1b\[0;1m'
evaluating ''...
evaluating 'bar'...
evaluating 'foo'...
evaluating 'hello'...
+(search.sh:34) (( 1 == 1 ))
++(search.sh:35) nix search -f search.nix '' 'broken b' 'en bar'
++(search.sh:35) grep -c '\x1b\[32;1mbroken bar\x1b\[0m'
evaluating ''...
evaluating 'bar'...
evaluating 'foo'...
evaluating 'hello'...
+(search.sh:35) (( 1 == 1 ))
++(search.sh:39) nix search -f search.nix '' o
++(search.sh:39) grep -Eoc '\x1b\[32;1mo{1,2}\x1b\[(0|0;1)m'
evaluating ''...
evaluating 'bar'...
evaluating 'foo'...
evaluating 'hello'...
+(search.sh:39) (( 3 == 3 ))
++(search.sh:42) nix search -f search.nix '' b
++(search.sh:42) grep -Eo '\x1b\[32;1mb\x1b\[(0|0;1)m'
++(search.sh:42) wc -l
evaluating ''...
evaluating 'bar'...
evaluating 'foo'...
evaluating 'hello'...
+(search.sh:42) (( 3 == 3 ))
++(search.sh:45) nix search -f search.nix '^' -e hello
++(search.sh:45) grep -c hello
error: invalid extended outputs specifier '^'
+(search.sh:45) (( 0 == 0 ))
++(search.sh:47) nix search -f search.nix foo '^' --exclude 'foo|bar'
++(search.sh:47) grep -Ec 'foo|bar'
evaluating ''...
error: no results for the given search term(s)!
+(search.sh:47) (( 0 == 0 ))
++(search.sh:48) grep -Ec 'foo|bar'
++(search.sh:48) nix search -f search.nix foo '^' -e foo --exclude bar
evaluating ''...
error: no results for the given search term(s)!
+(search.sh:48) (( 0 == 0 ))
++(search.sh:49) nix search -f search.nix '' '^' -e bar --json
++(search.sh:49) jq -c keys
evaluating ''...
evaluating 'bar'...
evaluating 'foo'...
evaluating 'hello'...
+(search.sh:49) [[ ["foo","hello"] == \[\"\f\o\o\"\,\"\h\e\l\l\o\"\] ]]/tmp/nix-shell.MrxVR3/nix-test/filter-source/store/yzgp4az5a7xhzvy3zxsxkpq846narg7z-filter
/tmp/nix-shell.MrxVR3/nix-test/filter-source/store/yzgp4az5a7xhzvy3zxsxkpq846narg7z-filter
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/filter-source
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/filter-source
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/filter-source
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/filter-source
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/filter-source
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/filter-source/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/filter-source/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/filter-source/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/filter-source/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/filter-source/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/filter-source/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(filter-source.sh:3) rm -rf /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterin
+(filter-source.sh:4) mkdir /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterin
+(filter-source.sh:5) mkdir /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterin/foo
+(filter-source.sh:6) touch /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterin/foo/bar
+(filter-source.sh:7) touch /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterin/xyzzy
+(filter-source.sh:8) touch /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterin/b
+(filter-source.sh:9) touch /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterin/bak
+(filter-source.sh:10) touch /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterin/bla.c.bak
+(filter-source.sh:11) ln -s xyzzy /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterin/link
+(filter-source.sh:21) nix-build ./filter-source.nix -o /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterout1
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/filter-source/store/f6lclnszib3xad7wg9maxxhq748q6xsi-filter.drv
building '/tmp/nix-shell.MrxVR3/nix-test/filter-source/store/f6lclnszib3xad7wg9maxxhq748q6xsi-filter.drv'...
+(filter-source.sh:22) checkFilter /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterout1
+(filter-source.sh:14) test '!' -e /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterout1/foo/bar
+(filter-source.sh:15) test -e /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterout1/xyzzy
+(filter-source.sh:16) test -e /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterout1/bak
+(filter-source.sh:17) test '!' -e /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterout1/bla.c.bak
+(filter-source.sh:18) test '!' -L /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterout1/link
+(filter-source.sh:24) nix-build ./path.nix -o /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterout2
+(filter-source.sh:25) checkFilter /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterout2
+(filter-source.sh:14) test '!' -e /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterout2/foo/bar
+(filter-source.sh:15) test -e /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterout2/xyzzy
+(filter-source.sh:16) test -e /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterout2/bak
+(filter-source.sh:17) test '!' -e /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterout2/bla.c.bak
+(filter-source.sh:18) test '!' -L /tmp/nix-shell.MrxVR3/nix-test/filter-source/filterout2/link1
[INFO] You are trusted by store uri: local
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/local-store
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/local-store
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/local-store
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/local-store
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/local-store
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/local-store/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/local-store/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/local-store/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/local-store/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/local-store/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/local-store/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(local-store.sh:3) cd /tmp/nix-shell.MrxVR3/nix-test/local-store
+(local-store.sh:5) echo example
+(local-store.sh:6) mkdir -p ./x
+(local-store.sh:8) NIX_STORE_DIR=/tmp/nix-shell.MrxVR3/nix-test/local-store/x
++(local-store.sh:10) nix-store --store ./x --add example.txt
+(local-store.sh:10) CORRECT_PATH=/tmp/nix-shell.MrxVR3/nix-test/local-store/x/rmqxfnzxs1ghp2drakwl0knwhhk8111b-example.txt
++(local-store.sh:12) nix path-info --store ./x /tmp/nix-shell.MrxVR3/nix-test/local-store/x/rmqxfnzxs1ghp2drakwl0knwhhk8111b-example.txt
+(local-store.sh:12) PATH1=/tmp/nix-shell.MrxVR3/nix-test/local-store/x/rmqxfnzxs1ghp2drakwl0knwhhk8111b-example.txt
+(local-store.sh:13) '[' /tmp/nix-shell.MrxVR3/nix-test/local-store/x/rmqxfnzxs1ghp2drakwl0knwhhk8111b-example.txt == /tmp/nix-shell.MrxVR3/nix-test/local-store/x/rmqxfnzxs1ghp2drakwl0knwhhk8111b-example.txt ']'
++(local-store.sh:15) nix path-info --store /tmp/nix-shell.MrxVR3/nix-test/local-store/x /tmp/nix-shell.MrxVR3/nix-test/local-store/x/rmqxfnzxs1ghp2drakwl0knwhhk8111b-example.txt
+(local-store.sh:15) PATH2=/tmp/nix-shell.MrxVR3/nix-test/local-store/x/rmqxfnzxs1ghp2drakwl0knwhhk8111b-example.txt
+(local-store.sh:16) '[' /tmp/nix-shell.MrxVR3/nix-test/local-store/x/rmqxfnzxs1ghp2drakwl0knwhhk8111b-example.txt == /tmp/nix-shell.MrxVR3/nix-test/local-store/x/rmqxfnzxs1ghp2drakwl0knwhhk8111b-example.txt ']'
++(local-store.sh:18) nix path-info --store 'local?root=/tmp/nix-shell.MrxVR3/nix-test/local-store/x' /tmp/nix-shell.MrxVR3/nix-test/local-store/x/rmqxfnzxs1ghp2drakwl0knwhhk8111b-example.txt
+(local-store.sh:18) PATH3=/tmp/nix-shell.MrxVR3/nix-test/local-store/x/rmqxfnzxs1ghp2drakwl0knwhhk8111b-example.txt
+(local-store.sh:19) '[' /tmp/nix-shell.MrxVR3/nix-test/local-store/x/rmqxfnzxs1ghp2drakwl0knwhhk8111b-example.txt == /tmp/nix-shell.MrxVR3/nix-test/local-store/x/rmqxfnzxs1ghp2drakwl0knwhhk8111b-example.txt ']'
+(local-store.sh:22) nix --store ./x store ping --json
+(local-store.sh:22) jq -e .trusted
+(local-store.sh:25) grep 'You are trusted by'clearing store...
true
true
true
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/eval
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/eval
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/eval
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/eval/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/eval/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(eval.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/eval/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/eval/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval/test-home/.local/state/nix/profiles
++(eval.sh:11) nix eval -f -
+(eval.sh:11) testStdinHeredoc='{ bar = 4; foo = 4; }'
+(eval.sh:12) [[ { bar = 4; foo = 4; } == \{\ \b\a\r\ \=\ \4\;\ \f\o\o\ \=\ \4\;\ \} ]]
+(eval.sh:14) nix eval --expr 'assert 1 + 2 == 3; true'
+(eval.sh:15) nix eval -E 'assert 1 + 2 == 3; true'
++(eval.sh:17) nix eval int -f ./eval.nix
+(eval.sh:17) [[ 123 == 123 ]]
++(eval.sh:18) nix eval str -f ./eval.nix
+(eval.sh:18) [[ "foo" == \"\f\o\o\" ]]
++(eval.sh:19) nix eval str --raw -f ./eval.nix
+(eval.sh:19) [[ foo == \f\o\o ]]
++(eval.sh:20) nix eval attr -f ./eval.nix
+(eval.sh:20) [[ { foo = "bar"; } == \{\ \f\o\o\ \=\ \"\b\a\r\"\;\ \} ]]
++(eval.sh:21) nix eval attr --json -f ./eval.nix
+(eval.sh:21) [[ {"foo":"bar"} == \{\"\f\o\o\"\:\"\b\a\r\"\} ]]
++(eval.sh:22) nix eval int -f -
+(eval.sh:22) [[ 123 == 123 ]]
++(eval.sh:23) nix eval --expr '{"assert"=1;bar=2;}'
+(eval.sh:23) [[ { "assert" = 1; bar = 2; } == \{\ \"\a\s\s\e\r\t\"\ \=\ \1\;\ \b\a\r\ \=\ \2\;\ \} ]]
++(eval.sh:26) expectStderr 1 nix eval --expr 'throw "a sample throw message"'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix eval --expr 'throw "a sample throw message"'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(eval.sh:26) topLevelThrow='error:
… while calling the '\''throw'\'' builtin
at «string»:1:1:
1| throw "a sample throw message"
| ^
error: a sample throw message'
+(eval.sh:27) [[ error:
… while calling the 'throw' builtin
at «string»:1:1:
1| throw "a sample throw message"
| ^
error: a sample throw message =~ a sample throw message ]]
+(eval.sh:28) [[ error:
… while calling the 'throw' builtin
at «string»:1:1:
1| throw "a sample throw message"
| ^
error: a sample throw message =~ while calling the 'throw' builtin ]]
++(eval.sh:31) nix eval --expr '{ throws = throw "a sample throw message"; }'
+(eval.sh:31) outputOfNestedThrow='{ throws = «error: a sample throw message»; }'
+(eval.sh:32) [[ { throws = «error: a sample throw message»; } == \{\ \t\h\r\o\w\s\ \=\ \«\e\r\r\o\r\:\ \a\ \s\a\m\p\l\e\ \t\h\r\o\w\ \m\e\s\s\a\g\e\»\;\ \} ]]
++(eval.sh:35) nix eval --restrict-eval --expr 'import (builtins.toFile "source" "42")'
+(eval.sh:35) [[ 42 == 42 ]]
+(eval.sh:37) nix-instantiate --eval -E 'assert 1 + 2 == 3; true'
++(eval.sh:38) nix-instantiate -A int --eval ./eval.nix
+(eval.sh:38) [[ 123 == 123 ]]
++(eval.sh:39) nix-instantiate -A str --eval ./eval.nix
+(eval.sh:39) [[ "foo" == \"\f\o\o\" ]]
++(eval.sh:40) nix-instantiate -A attr --eval ./eval.nix
+(eval.sh:40) [[ { foo = "bar"; } == \{\ \f\o\o\ \=\ \"\b\a\r\"\;\ \} ]]
++(eval.sh:41) nix-instantiate -A attr --eval --json ./eval.nix
+(eval.sh:41) [[ {"foo":"bar"} == \{\"\f\o\o\"\:\"\b\a\r\"\} ]]
++(eval.sh:42) nix-instantiate -A int --eval -
+(eval.sh:42) [[ 123 == 123 ]]
++(eval.sh:43) nix-instantiate --eval -E '{"assert"=1;bar=2;}'
+(eval.sh:43) [[ { "assert" = 1; bar = 2; } == \{\ \"\a\s\s\e\r\t\"\ \=\ \1\;\ \b\a\r\ \=\ \2\;\ \} ]]
+(eval.sh:46) ln -sfn cycle.nix /tmp/nix-shell.MrxVR3/nix-test/eval/cycle.nix
+(eval.sh:47) nix eval --file /tmp/nix-shell.MrxVR3/nix-test/eval/cycle.nix
error: too many symbolic links encountered while traversing the path '/tmp/nix-shell.MrxVR3/nix-test/eval/cycle.nix'
+(eval.sh:50) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/eval/xyzzy /tmp/nix-shell.MrxVR3/nix-test/eval/foo
+(eval.sh:51) ln -sfn ../xyzzy /tmp/nix-shell.MrxVR3/nix-test/eval/foo/bar
+(eval.sh:52) printf 123
++(eval.sh:53) nix eval --impure --expr 'import /tmp/nix-shell.MrxVR3/nix-test/eval/foo/bar'
+(eval.sh:53) [[ 123 = 123 ]]clearing store...
[FAIL]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/linux-sandbox
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/linux-sandbox
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/linux-sandbox
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/linux-sandbox
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/linux-sandbox
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/linux-sandbox/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/linux-sandbox/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/linux-sandbox/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/linux-sandbox/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/linux-sandbox/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/linux-sandbox/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(linux-sandbox.sh:3) needLocalStore 'the sandbox only runs on the builder side, so it makes no sense to test it with the daemon'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:217) [[ '' == \d\a\e\m\o\n ]]
+(linux-sandbox.sh:5) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/linux-sandbox/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/linux-sandbox/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/linux-sandbox/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/linux-sandbox/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/linux-sandbox/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/linux-sandbox/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/linux-sandbox/test-home/.local/state/nix/profiles
+(linux-sandbox.sh:7) requireSandboxSupport
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:167) canUseSandbox
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:163) [[ -n 1 ]]
+(linux-sandbox.sh:13) [[ ! /nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash =~ /nix/store ]]
+(linux-sandbox.sh:17) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/linux-sandbox/store0
chmod: cannot access '/tmp/nix-shell.MrxVR3/nix-test/linux-sandbox/store0': No such file or directory
+(linux-sandbox.sh:17) true
+(linux-sandbox.sh:18) rm -rf /tmp/nix-shell.MrxVR3/nix-test/linux-sandbox/store0
+(linux-sandbox.sh:20) export NIX_STORE_DIR=/my/store
+(linux-sandbox.sh:20) NIX_STORE_DIR=/my/store
+(linux-sandbox.sh:21) export NIX_REMOTE=/tmp/nix-shell.MrxVR3/nix-test/linux-sandbox/store0
+(linux-sandbox.sh:21) NIX_REMOTE=/tmp/nix-shell.MrxVR3/nix-test/linux-sandbox/store0
++(linux-sandbox.sh:23) nix-sandbox-build dependencies.nix
++(linux-sandbox.sh:15) nix-build --no-out-link --sandbox-paths /nix/store dependencies.nix
these 5 derivations will be built:
/my/store/0gm7myrpr2685jmc78qn9ch3znzfd6z1-dependencies-input-1.drv
/my/store/4qf82k1v9qinxgmdxwvhw5z93fciq2gx-fod-input.drv
/my/store/nc47szm67nvsg6c6gyh7j9dxpgq4pilw-dependencies-input-0.drv
/my/store/c4x4dk4ij5zd319i6wji6dy2l22lybay-dependencies-input-2.drv
/my/store/3005gvqqwj944b0dma59wcijkwgz9g7w-dependencies-top.drv
building '/my/store/nc47szm67nvsg6c6gyh7j9dxpgq4pilw-dependencies-input-0.drv'...
bash: /my/store/vhqdxd1k8dkl811by92gldrcs83d92wk-builder-dependencies-input-0.sh: No such file or directory
error: builder for '/my/store/nc47szm67nvsg6c6gyh7j9dxpgq4pilw-dependencies-input-0.drv' failed with exit code 1
error: 1 dependencies of derivation '/my/store/3005gvqqwj944b0dma59wcijkwgz9g7w-dependencies-top.drv' failed to build
+(linux-sandbox.sh:23) outPath=
++(linux-sandbox.sh:23) onError
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
linux-sandbox.sh: test failed at:
main in linux-sandbox.sh:23/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin/unshare
[FAIL]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/supplementary-groups
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/supplementary-groups
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/supplementary-groups
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/supplementary-groups
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/supplementary-groups
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/supplementary-groups/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/supplementary-groups/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/supplementary-groups/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/supplementary-groups/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/supplementary-groups/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/supplementary-groups/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(supplementary-groups.sh:3) requireSandboxSupport
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:167) canUseSandbox
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:163) [[ -n 1 ]]
+(supplementary-groups.sh:4) [[ /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox =~ busybox ]]
+(supplementary-groups.sh:5) command -p -v unshare
+(supplementary-groups.sh:6) needLocalStore 'The test uses --store always so we would just be bypassing the daemon'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:217) [[ '' == \d\a\e\m\o\n ]]
+(supplementary-groups.sh:8) unshare --mount --map-root-user bash
++(supplementary-groups.sh:8) require-drop-supplementary-groups
supplementary-groups.sh: line 8: require-drop-supplementary-groups: command not found
++(supplementary-groups.sh:8) require-drop-supplementary-groups
supplementary-groups.sh: line 8: require-drop-supplementary-groups: command not found
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(bash:4) unset NIX_STORE_DIR
+(bash:5) unset NIX_STATE_DIR
+(bash:12) cmd=(nix-build ./hermetic.nix --arg busybox "/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox" --arg seed 1 --no-out-link)
+(bash:16) setLocalStore store1
+(main:8) export NIX_REMOTE=/tmp/nix-shell.MrxVR3/nix-test/supplementary-groups/store1
+(main:8) NIX_REMOTE=/tmp/nix-shell.MrxVR3/nix-test/supplementary-groups/store1
+(main:9) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/supplementary-groups/store1
+(bash:17) expectStderr 1 nix-build ./hermetic.nix --arg busybox /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --arg seed 1 --no-out-link
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix-build ./hermetic.nix --arg busybox /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox --arg seed 1 --no-out-link
+(bash:17) grepQuiet 'unable to start build process'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'unable to start build process'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=100
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 100 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:210) echo 'Expected exit code '\''1'\'' but got '\''100'\'' from command '\''nix-build'\'' '\''./hermetic.nix'\'' '\''--arg'\'' '\''busybox'\'' '\''/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox'\'' '\''--arg'\'' '\''seed'\'' '\''1'\'' '\''--no-out-link'\'''
Expected exit code '1' but got '100' from command 'nix-build' './hermetic.nix' '--arg' 'busybox' '/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox' '--arg' 'seed' '1' '--no-out-link'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:211) return 1
++(bash:17) onError
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
bash: test failed at:
++(supplementary-groups.sh:8) onError
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
supplementary-groups.sh: test failed at:
main in supplementary-groups.sh:8nix-env (Lix, like Nix) 2.90.0
error: no operation specified
error: unknown flag '--foo'
error: … in the right operand of the update (//) operator at «string»:1:12: 1| let a = {} // a; in a.foo | ^ error: infinite recursion encountered at «string»:1:15: 1| let a = {} // a; in a.foo | ^
error: … in the right operand of the update (//) operator at «string»:1:12: 1| let a = {} // a; in a.foo | ^ error: infinite recursion encountered at «string»:1:15: 1| let a = {} // a; in a.foo | ^
error: … in the right operand of the update (//) operator at «stdin»:1:12: 1| let a = {} // a; in a.foo | ^ 2| error: infinite recursion encountered at «stdin»:1:15: 1| let a = {} // a; in a.foo | ^ 2|
error: … in the right operand of the update (//) operator at «stdin»:1:12: 1| let a = {} // a; in a.foo | ^ 2| error: infinite recursion encountered at «stdin»:1:15: 1| let a = {} // a; in a.foo | ^ 2|
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/misc
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/misc
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/misc
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/misc
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/misc
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/misc/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/misc/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/misc/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/misc/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/misc/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/misc/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(misc.sh:12) nix-env --version
+(misc.sh:12) grep 2.90.0
+(misc.sh:15) expect 1 nix-env --foo
+(misc.sh:15) grep 'no operation'
+(misc.sh:16) expect 1 nix-env -q --foo
+(misc.sh:16) grep 'unknown flag'
++(misc.sh:19) nix-instantiate --eval -E 'let a = {} // a; in a.foo'
++(misc.sh:19) true
+(misc.sh:19) eval_arg_res='error:
… in the right operand of the update (//) operator
at «string»:1:12:
1| let a = {} // a; in a.foo
| ^
error: infinite recursion encountered
at «string»:1:15:
1| let a = {} // a; in a.foo
| ^'
+(misc.sh:20) echo error: … in the right operand of the update '(//)' operator at «string»:1:12: '1|' let a = '{}' // 'a;' in a.foo '|' '^' error: infinite recursion encountered at «string»:1:15: '1|' let a = '{}' // 'a;' in a.foo '|' '^'
+(misc.sh:20) grep 'at «string»:1:15:'
+(misc.sh:21) echo error: … in the right operand of the update '(//)' operator at «string»:1:12: '1|' let a = '{}' // 'a;' in a.foo '|' '^' error: infinite recursion encountered at «string»:1:15: '1|' let a = '{}' // 'a;' in a.foo '|' '^'
+(misc.sh:21) grep 'infinite recursion encountered'
++(misc.sh:23) echo 'let a = {} // a; in a.foo'
++(misc.sh:23) nix-instantiate --eval -E -
++(misc.sh:23) true
+(misc.sh:23) eval_stdin_res='error:
… in the right operand of the update (//) operator
at «stdin»:1:12:
1| let a = {} // a; in a.foo
| ^
2|
error: infinite recursion encountered
at «stdin»:1:15:
1| let a = {} // a; in a.foo
| ^
2|'
+(misc.sh:24) echo error: … in the right operand of the update '(//)' operator at «stdin»:1:12: '1|' let a = '{}' // 'a;' in a.foo '|' '^' '2|' error: infinite recursion encountered at «stdin»:1:15: '1|' let a = '{}' // 'a;' in a.foo '|' '^' '2|'
+(misc.sh:24) grep 'at «stdin»:1:15:'
+(misc.sh:25) echo error: … in the right operand of the update '(//)' operator at «stdin»:1:12: '1|' let a = '{}' // 'a;' in a.foo '|' '^' '2|' error: infinite recursion encountered at «stdin»:1:15: '1|' let a = '{}' // 'a;' in a.foo '|' '^' '2|'
+(misc.sh:25) grep 'infinite recursion encountered'
+(misc.sh:28) expectStderr 1 nix-instantiate --eval -E '{}' -A '"x'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix-instantiate --eval -E '{}' -A '"x'
+(misc.sh:28) grepQuiet 'missing closing quote in selection path'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'missing closing quote in selection path'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(misc.sh:29) expectStderr 1 nix-instantiate --eval -E '[]' -A x
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix-instantiate --eval -E '[]' -A x
+(misc.sh:29) grepQuiet 'should be a set'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'should be a set'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(misc.sh:30) expectStderr 1 nix-instantiate --eval -E '{}' -A 1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(misc.sh:30) grepQuiet 'should be a list'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix-instantiate --eval -E '{}' -A 1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'should be a list'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(misc.sh:31) expectStderr 1 nix-instantiate --eval -E '{}' -A .
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(misc.sh:31) grepQuiet 'empty attribute name'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix-instantiate --eval -E '{}' -A .
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'empty attribute name'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(misc.sh:32) expectStderr 1 nix-instantiate --eval -E '[]' -A 1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix-instantiate --eval -E '[]' -A 1
+(misc.sh:32) grepQuiet 'out of range'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'out of range'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/dump-db
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/dump-db
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/dump-db
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dump-db
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/dump-db
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/dump-db/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/dump-db/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/dump-db/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/dump-db/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/dump-db/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/dump-db/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(dump-db.sh:3) needLocalStore '--dump-db requires a local store'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:217) [[ '' == \d\a\e\m\o\n ]]
+(dump-db.sh:5) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/dump-db/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dump-db/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/dump-db/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dump-db/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/dump-db/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/dump-db/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dump-db/test-home/.local/state/nix/profiles
++(dump-db.sh:7) nix-build dependencies.nix -o /tmp/nix-shell.MrxVR3/nix-test/dump-db/result
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/q0qnbhm390s23cvvhc6ip3ldk3bly0rb-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/ww7lr48lkcv3zph0i7izjps4nlrf7nrk-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/x18q6cdgdcvlmby5m9pbmsh9js7nnvar-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/ynvgdi1s9841dvg9ddln4vvhj138ny65-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/gp2jc0smiqn86c7gpgk7zgr6vmbds7m1-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/q0qnbhm390s23cvvhc6ip3ldk3bly0rb-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/ynvgdi1s9841dvg9ddln4vvhj138ny65-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/x18q6cdgdcvlmby5m9pbmsh9js7nnvar-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/ww7lr48lkcv3zph0i7izjps4nlrf7nrk-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/gp2jc0smiqn86c7gpgk7zgr6vmbds7m1-dependencies-top.drv'...
FOO
+(dump-db.sh:7) path=/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/0qsh59j929v9fmavnhp4rcigz20dj45y-dependencies-top
++(dump-db.sh:9) nix-store -qR /tmp/nix-shell.MrxVR3/nix-test/dump-db/result
+(dump-db.sh:9) deps='/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/0r44a0gjv0hszh3dj3lb3xymwlx9vz2v-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/ymvxvsn36y1129scg81y8a6haf5cb9lz-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/0qsh59j929v9fmavnhp4rcigz20dj45y-dependencies-top'
+(dump-db.sh:11) nix-store --dump-db
+(dump-db.sh:13) rm -rf /tmp/nix-shell.MrxVR3/nix-test/dump-db/var/nix/db
+(dump-db.sh:15) nix-store --load-db
++(dump-db.sh:17) nix-store -qR /tmp/nix-shell.MrxVR3/nix-test/dump-db/result
+(dump-db.sh:17) deps2='/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/0r44a0gjv0hszh3dj3lb3xymwlx9vz2v-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/ymvxvsn36y1129scg81y8a6haf5cb9lz-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/0qsh59j929v9fmavnhp4rcigz20dj45y-dependencies-top'
+(dump-db.sh:19) '[' '/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/0r44a0gjv0hszh3dj3lb3xymwlx9vz2v-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/ymvxvsn36y1129scg81y8a6haf5cb9lz-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/0qsh59j929v9fmavnhp4rcigz20dj45y-dependencies-top' = '/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/0r44a0gjv0hszh3dj3lb3xymwlx9vz2v-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/ymvxvsn36y1129scg81y8a6haf5cb9lz-dependencies-input-2
/tmp/nix-shell.MrxVR3/nix-test/dump-db/store/0qsh59j929v9fmavnhp4rcigz20dj45y-dependencies-top' ']'
+(dump-db.sh:21) nix-store --dump-db
+(dump-db.sh:22) cmp /tmp/nix-shell.MrxVR3/nix-test/dump-db/dump /tmp/nix-shell.MrxVR3/nix-test/dump-db/dump2123
parsing lang/parse-fail-dup-attrs-1.nix (should fail)
parsing lang/parse-fail-dup-attrs-2.nix (should fail)
parsing lang/parse-fail-dup-attrs-3.nix (should fail)
parsing lang/parse-fail-dup-attrs-4.nix (should fail)
parsing lang/parse-fail-dup-attrs-7.nix (should fail)
parsing lang/parse-fail-dup-formals.nix (should fail)
parsing lang/parse-fail-eof-in-string.nix (should fail)
parsing lang/parse-fail-eof-pos.nix (should fail)
parsing lang/parse-fail-eol-1.nix (should fail)
parsing lang/parse-fail-eol-2.nix (should fail)
parsing lang/parse-fail-eol-3.nix (should fail)
parsing lang/parse-fail-mixed-nested-attrs1.nix (should fail)
parsing lang/parse-fail-mixed-nested-attrs2.nix (should fail)
parsing lang/parse-fail-path-slash.nix (should fail)
parsing lang/parse-fail-patterns-1.nix (should fail)
parsing lang/parse-fail-regression-20060610.nix (should fail)
parsing lang/parse-fail-set.nix (should fail)
parsing lang/parse-fail-undef-var-2.nix (should fail)
parsing lang/parse-fail-undef-var.nix (should fail)
parsing lang/parse-fail-utf8.nix (should fail)
parsing lang/parse-okay-1.nix (should succeed)
({ x, y, z }: ((x + y) + z))
parsing lang/parse-okay-crlf.nix (should succeed)
rec { foo = "multi\nline\n string\n test\r"; x = y; y = 123; z = 456; }
parsing lang/parse-okay-dup-attrs-5.nix (should succeed)
{ services = { ssh = { enable = true; port = 23; }; }; }
parsing lang/parse-okay-dup-attrs-6.nix (should succeed)
{ services = { ssh = { enable = true; port = 23; }; }; }
parsing lang/parse-okay-inherits.nix (should succeed)
(let b = 2; c = { }; in { inherit b; inherit (c) d e; a = 1; f = 3; })
parsing lang/parse-okay-mixed-nested-attrs-1.nix (should succeed)
{ x = { q = 3; y = 3; z = 3; }; }
parsing lang/parse-okay-mixed-nested-attrs-2.nix (should succeed)
{ x = { q = 3; y = 3; z = 3; }; }
parsing lang/parse-okay-mixed-nested-attrs-3.nix (should succeed)
{ services = { httpd = { enable = true; }; ssh = { enable = true; port = 123; }; }; }
parsing lang/parse-okay-regression-20041027.nix (should succeed)
({ fetchurl, stdenv }: ((stdenv).mkDerivation { name = "libXi-6.0.1"; src = (fetchurl { md5 = "7e935a42428d63a387b3c048be0f2756"; url = "http://freedesktop.org/~xlibs/release/libXi-6.0.1.tar.bz2"; }); }))
parsing lang/parse-okay-regression-751.nix (should succeed)
(let const = (a: "const"); in ((const { x = "q"; })))
parsing lang/parse-okay-subversion.nix (should succeed)
({ db4 ? null, expat, fetchurl, httpServer ? false, httpd ? null, j2sdk ? null, javaSwigBindings ? false, javahlBindings ? false, localServer ? false, openssl ? null, pythonBindings ? false, sslSupport ? false, stdenv, swig ? null }: assert (expat != null); assert (localServer -> (db4 != null)); assert (httpServer -> ((httpd != null) && ((httpd).expat == expat))); assert (sslSupport -> ((openssl != null) && (httpServer -> ((httpd).openssl == openssl)))); assert (pythonBindings -> ((swig != null) && (swig).pythonSupport)); assert (javaSwigBindings -> ((swig != null) && (swig).javaSupport)); assert (javahlBindings -> (j2sdk != null)); ((stdenv).mkDerivation { inherit expat httpServer javaSwigBindings javahlBindings localServer pythonBindings sslSupport; builder = /foo/bar; db4 = (if localServer then db4 else null); httpd = (if httpServer then httpd else null); j2sdk = (if javaSwigBindings then (swig).j2sdk else (if javahlBindings then j2sdk else null)); name = "subversion-1.1.1"; openssl = (if sslSupport then openssl else null); patches = (if javahlBindings then [ (/javahl.patch) ] else [ ]); python = (if pythonBindings then (swig).python else null); src = (fetchurl { md5 = "a180c3fe91680389c210c99def54d9e0"; url = "http://subversion.tigris.org/tarballs/subversion-1.1.1.tar.bz2"; }); swig = (if (pythonBindings || javaSwigBindings) then swig else null); }))
parsing lang/parse-okay-url.nix (should succeed)
[ ("x:x") ("https://svn.cs.uu.nl:12443/repos/trace/trunk") ("http://www2.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2") ("http://losser.st-lab.cs.uu.nl/~armijn/.nix/gcc-3.3.4-static-nix.tar.gz") ("http://fpdownload.macromedia.com/get/shockwave/flash/english/linux/7.0r25/install_flash_player_7_linux.tar.gz") ("https://ftp5.gwdg.de/pub/linux/archlinux/extra/os/x86_64/unzip-6.0-14-x86_64.pkg.tar.zst") ("ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-1.2.10.tar.gz") ]
evaluating lang/eval-fail-abort.nix (should fail)
evaluating lang/eval-fail-addDrvOutputDependencies-empty-context.nix (should fail)
evaluating lang/eval-fail-addDrvOutputDependencies-multi-elem-context.nix (should fail)
evaluating lang/eval-fail-addDrvOutputDependencies-wrong-element-kind.nix (should fail)
evaluating lang/eval-fail-assert.nix (should fail)
evaluating lang/eval-fail-attr-name-type.nix (should fail)
evaluating lang/eval-fail-bad-string-interpolation-1.nix (should fail)
evaluating lang/eval-fail-bad-string-interpolation-2.nix (should fail)
evaluating lang/eval-fail-bad-string-interpolation-3.nix (should fail)
evaluating lang/eval-fail-bad-string-interpolation-4.nix (should fail)
evaluating lang/eval-fail-blackhole.nix (should fail)
evaluating lang/eval-fail-call-primop.nix (should fail)
evaluating lang/eval-fail-deepseq.nix (should fail)
evaluating lang/eval-fail-dup-dynamic-attrs.nix (should fail)
evaluating lang/eval-fail-dupAttr-deep.nix (should fail)
evaluating lang/eval-fail-dupAttr-inherit.nix (should fail)
evaluating lang/eval-fail-dupAttr.nix (should fail)
evaluating lang/eval-fail-duplicate-traces.nix (should fail)
evaluating lang/eval-fail-foldlStrict-strict-op-application.nix (should fail)
evaluating lang/eval-fail-fromTOML-timestamps.nix (should fail)
evaluating lang/eval-fail-hashfile-missing.nix (should fail)
evaluating lang/eval-fail-infinite-recursion-lambda.nix (should fail)
evaluating lang/eval-fail-list.nix (should fail)
evaluating lang/eval-fail-missing-arg.nix (should fail)
evaluating lang/eval-fail-mutual-recursion.nix (should fail)
evaluating lang/eval-fail-nonexist-path.nix (should fail)
evaluating lang/eval-fail-not-throws.nix (should fail)
evaluating lang/eval-fail-print-limit-list.nix (should fail)
evaluating lang/eval-fail-print-limit-set.nix (should fail)
evaluating lang/eval-fail-recursion.nix (should fail)
evaluating lang/eval-fail-remove.nix (should fail)
evaluating lang/eval-fail-scope-5.nix (should fail)
evaluating lang/eval-fail-seq.nix (should fail)
evaluating lang/eval-fail-set-override.nix (should fail)
evaluating lang/eval-fail-substring.nix (should fail)
evaluating lang/eval-fail-to-path.nix (should fail)
evaluating lang/eval-fail-toJSON.nix (should fail)
evaluating lang/eval-fail-undeclared-arg.nix (should fail)
evaluating lang/eval-fail-using-set-as-attr-name.nix (should fail)
evaluating lang/eval-okay-any-all.nix (should succeed)
evaluating lang/eval-okay-arithmetic.nix (should succeed)
evaluating lang/eval-okay-attrnames.nix (should succeed)
evaluating lang/eval-okay-attrs.nix (should succeed)
evaluating lang/eval-okay-attrs2.nix (should succeed)
evaluating lang/eval-okay-attrs3.nix (should succeed)
evaluating lang/eval-okay-attrs4.nix (should succeed)
evaluating lang/eval-okay-attrs5.nix (should succeed)
evaluating lang/eval-okay-attrs6.nix (should succeed)
evaluating lang/eval-okay-autoargs.nix (should succeed)
evaluating lang/eval-okay-backslash-newline-1.nix (should succeed)
evaluating lang/eval-okay-backslash-newline-2.nix (should succeed)
evaluating lang/eval-okay-builtins-add.nix (should succeed)
evaluating lang/eval-okay-builtins.nix (should succeed)
evaluating lang/eval-okay-callable-attrs.nix (should succeed)
evaluating lang/eval-okay-catattrs.nix (should succeed)
evaluating lang/eval-okay-closure.nix (should succeed)
evaluating lang/eval-okay-comments.nix (should succeed)
evaluating lang/eval-okay-concat.nix (should succeed)
evaluating lang/eval-okay-concatmap.nix (should succeed)
evaluating lang/eval-okay-concatstringssep.nix (should succeed)
evaluating lang/eval-okay-context-introspection.nix (should succeed)
evaluating lang/eval-okay-context.nix (should succeed)
evaluating lang/eval-okay-curpos.nix (should succeed)
evaluating lang/eval-okay-deepseq.nix (should succeed)
evaluating lang/eval-okay-delayed-with-inherit.nix (should succeed)
evaluating lang/eval-okay-delayed-with.nix (should succeed)
evaluating lang/eval-okay-dynamic-attrs-2.nix (should succeed)
evaluating lang/eval-okay-dynamic-attrs-bare.nix (should succeed)
evaluating lang/eval-okay-dynamic-attrs.nix (should succeed)
evaluating lang/eval-okay-elem.nix (should succeed)
evaluating lang/eval-okay-empty-args.nix (should succeed)
evaluating lang/eval-okay-eq-derivations.nix (should succeed)
evaluating lang/eval-okay-eq.nix (should succeed)
evaluating lang/eval-okay-filter.nix (should succeed)
evaluating lang/eval-okay-flake-ref-to-string.nix (should succeed)
evaluating lang/eval-okay-flatten.nix (should succeed)
evaluating lang/eval-okay-float.nix (should succeed)
evaluating lang/eval-okay-floor-ceil.nix (should succeed)
evaluating lang/eval-okay-foldlStrict-lazy-elements.nix (should succeed)
evaluating lang/eval-okay-foldlStrict-lazy-initial-accumulator.nix (should succeed)
evaluating lang/eval-okay-foldlStrict.nix (should succeed)
evaluating lang/eval-okay-fromTOML-timestamps.nix (should succeed)
evaluating lang/eval-okay-fromTOML.nix (should succeed)
evaluating lang/eval-okay-fromjson-escapes.nix (should succeed)
evaluating lang/eval-okay-fromjson.nix (should succeed)
evaluating lang/eval-okay-functionargs.nix (should succeed)
evaluating lang/eval-okay-getattrpos-functionargs.nix (should succeed)
evaluating lang/eval-okay-getattrpos-undefined.nix (should succeed)
evaluating lang/eval-okay-getattrpos.nix (should succeed)
evaluating lang/eval-okay-getenv.nix (should succeed)
evaluating lang/eval-okay-groupBy.nix (should succeed)
evaluating lang/eval-okay-hashfile.nix (should succeed)
evaluating lang/eval-okay-hashstring.nix (should succeed)
evaluating lang/eval-okay-if.nix (should succeed)
evaluating lang/eval-okay-import.nix (should succeed)
evaluating lang/eval-okay-ind-string.nix (should succeed)
evaluating lang/eval-okay-inherit-attr-pos.nix (should succeed)
evaluating lang/eval-okay-inherit-from.nix (should succeed)
evaluating lang/eval-okay-intersectAttrs.nix (should succeed)
evaluating lang/eval-okay-let.nix (should succeed)
evaluating lang/eval-okay-list.nix (should succeed)
evaluating lang/eval-okay-listtoattrs.nix (should succeed)
evaluating lang/eval-okay-logic.nix (should succeed)
evaluating lang/eval-okay-map.nix (should succeed)
evaluating lang/eval-okay-mapattrs.nix (should succeed)
evaluating lang/eval-okay-merge-dynamic-attrs.nix (should succeed)
evaluating lang/eval-okay-nested-with.nix (should succeed)
evaluating lang/eval-okay-new-let.nix (should succeed)
evaluating lang/eval-okay-null-dynamic-attrs.nix (should succeed)
evaluating lang/eval-okay-overrides.nix (should succeed)
evaluating lang/eval-okay-parse-flake-ref.nix (should succeed)
evaluating lang/eval-okay-partition.nix (should succeed)
evaluating lang/eval-okay-path-string-interpolation.nix (should succeed)
evaluating lang/eval-okay-path.nix (should succeed)
evaluating lang/eval-okay-pathexists.nix (should succeed)
evaluating lang/eval-okay-patterns.nix (should succeed)
evaluating lang/eval-okay-print.nix (should succeed)
evaluating lang/eval-okay-readDir.nix (should succeed)
evaluating lang/eval-okay-readFileType.nix (should succeed)
evaluating lang/eval-okay-readfile.nix (should succeed)
evaluating lang/eval-okay-redefine-builtin.nix (should succeed)
evaluating lang/eval-okay-regex-match.nix (should succeed)
evaluating lang/eval-okay-regex-split.nix (should succeed)
evaluating lang/eval-okay-regression-20220122.nix (should succeed)
evaluating lang/eval-okay-regression-20220125.nix (should succeed)
evaluating lang/eval-okay-remove.nix (should succeed)
evaluating lang/eval-okay-repeated-empty-attrs.nix (should succeed)
evaluating lang/eval-okay-repeated-empty-list.nix (should succeed)
evaluating lang/eval-okay-replacestrings.nix (should succeed)
evaluating lang/eval-okay-scope-1.nix (should succeed)
evaluating lang/eval-okay-scope-2.nix (should succeed)
evaluating lang/eval-okay-scope-3.nix (should succeed)
evaluating lang/eval-okay-scope-4.nix (should succeed)
evaluating lang/eval-okay-scope-6.nix (should succeed)
evaluating lang/eval-okay-scope-7.nix (should succeed)
evaluating lang/eval-okay-search-path.nix (should succeed)
evaluating lang/eval-okay-seq.nix (should succeed)
evaluating lang/eval-okay-sort.nix (should succeed)
evaluating lang/eval-okay-splitversion.nix (should succeed)
evaluating lang/eval-okay-string.nix (should succeed)
evaluating lang/eval-okay-strings-as-attrs-names.nix (should succeed)
evaluating lang/eval-okay-substring-context.nix (should succeed)
evaluating lang/eval-okay-substring.nix (should succeed)
evaluating lang/eval-okay-symlink-resolution.nix (should succeed)
evaluating lang/eval-okay-tail-call-1.nix (should succeed)
evaluating lang/eval-okay-tojson.nix (should succeed)
evaluating lang/eval-okay-toxml.nix (should succeed)
evaluating lang/eval-okay-toxml2.nix (should succeed)
evaluating lang/eval-okay-tryeval.nix (should succeed)
evaluating lang/eval-okay-types.nix (should succeed)
evaluating lang/eval-okay-unsafeGetAttrPos.nix (should succeed)
evaluating lang/eval-okay-versions.nix (should succeed)
evaluating lang/eval-okay-with.nix (should succeed)
evaluating lang/eval-okay-xml.nix (should succeed)
evaluating lang/eval-okay-zipAttrsWith.nix (should succeed)
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/lang
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/lang
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/lang
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/lang
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/lang
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/lang/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/lang/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/lang/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/lang/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/lang/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/lang/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(lang.sh:5) set -o pipefail
+(lang.sh:7) source lang/framework.sh
+(lang.sh:17) export TEST_VAR=foo
+(lang.sh:17) TEST_VAR=foo
+(lang.sh:18) export NIX_REMOTE=dummy://
+(lang.sh:18) NIX_REMOTE=dummy://
+(lang.sh:19) export NIX_STORE_DIR=/nix/store
+(lang.sh:19) NIX_STORE_DIR=/nix/store
+(lang.sh:21) grepQuiet Hello
+(lang.sh:21) nix-instantiate --eval -E 'builtins.trace "Hello" 123'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep Hello
+(lang.sh:22) nix-instantiate --eval -E 'builtins.trace "Hello" 123'
+(lang.sh:22) grepQuiet 123
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 123
+(lang.sh:23) nix-instantiate --eval -E 'builtins.addErrorContext "Hello" 123'
+(lang.sh:24) grepQuiet Hello
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep Hello
+(lang.sh:24) nix-instantiate --trace-verbose --eval -E 'builtins.traceVerbose "Hello" 123'
+(lang.sh:25) nix-instantiate --eval -E 'builtins.traceVerbose "Hello" 123'
+(lang.sh:25) grepQuietInverse Hello
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:269) grep Hello
+(lang.sh:26) nix-instantiate --show-trace --eval -E 'builtins.addErrorContext "Hello" 123'
+(lang.sh:26) grepQuietInverse Hello
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:269) grep Hello
+(lang.sh:27) expectStderr 1 nix-instantiate --show-trace --eval -E 'builtins.addErrorContext "Hello" (throw "Foo")'
+(lang.sh:27) grepQuiet Hello
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep Hello
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix-instantiate --show-trace --eval -E 'builtins.addErrorContext "Hello" (throw "Foo")'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(lang.sh:28) expectStderr 1 nix-instantiate --show-trace --eval -E 'builtins.addErrorContext "Hello %" (throw "Foo")'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix-instantiate --show-trace --eval -E 'builtins.addErrorContext "Hello %" (throw "Foo")'
+(lang.sh:28) grepQuiet 'Hello %'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'Hello %'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(lang.sh:30) nix-instantiate --eval -E 'let x = builtins.trace { x = x; } true; in x'
+(lang.sh:31) grepQuiet -E 'trace: { x = «potential infinite recursion»; }'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'trace: { x = «potential infinite recursion»; }'
+(lang.sh:33) nix-instantiate --eval -E 'let x = { repeating = x; tracing = builtins.trace x true; }; in x.tracing'
+(lang.sh:34) grepQuiet -F 'trace: { repeating = «repeated»; tracing = «potential infinite recursion»; }'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -F 'trace: { repeating = «repeated»; tracing = «potential infinite recursion»; }'
+(lang.sh:36) set +xclearing store...
clearing store...
files do exist
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/zstd
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/zstd
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/zstd
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/zstd
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/zstd
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/zstd/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/zstd/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/zstd/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/zstd/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/zstd/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/zstd/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(zstd.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/zstd/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/zstd/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/zstd/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/zstd/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/zstd/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/zstd/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/zstd/test-home/.local/state/nix/profiles
+(zstd.sh:4) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/zstd/binary-cache
+(zstd.sh:6) cacheURI='file:///tmp/nix-shell.MrxVR3/nix-test/zstd/binary-cache?compression=zstd'
++(zstd.sh:8) nix-build dependencies.nix --no-out-link
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/zstd/store/nl4rn06dxwwamzrb9w5l6635f8dh7l63-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/zstd/store/lqh7igyc5q3905spyh7rr0hql1hlsg51-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/zstd/store/y8w78giw76ya9z25l95m0myf6h5bl6n5-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/zstd/store/z838bmjsaw3bfrc042a0032xxfmln1bz-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/zstd/store/pd6i4ngg8ma52mnn8km3lr8y2rqipl37-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/zstd/store/nl4rn06dxwwamzrb9w5l6635f8dh7l63-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/zstd/store/y8w78giw76ya9z25l95m0myf6h5bl6n5-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/zstd/store/lqh7igyc5q3905spyh7rr0hql1hlsg51-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/zstd/store/z838bmjsaw3bfrc042a0032xxfmln1bz-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/zstd/store/pd6i4ngg8ma52mnn8km3lr8y2rqipl37-dependencies-top.drv'...
FOO
+(zstd.sh:8) outPath=/tmp/nix-shell.MrxVR3/nix-test/zstd/store/2k1mcxzf89rl8a884i7maq7pidn5jma0-dependencies-top
+(zstd.sh:10) nix copy --to 'file:///tmp/nix-shell.MrxVR3/nix-test/zstd/binary-cache?compression=zstd' /tmp/nix-shell.MrxVR3/nix-test/zstd/store/2k1mcxzf89rl8a884i7maq7pidn5jma0-dependencies-top
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/zstd/store/9qxxh4lv83mii9697gp69nk8qjja5k2f-dependencies-input-0' to 'file:///tmp/nix-shell.MrxVR3/nix-test/zstd/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/zstd/store/vwdwrgw7qh625idklvs5x82xlg5xp3vi-dependencies-input-2' to 'file:///tmp/nix-shell.MrxVR3/nix-test/zstd/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/zstd/store/2k1mcxzf89rl8a884i7maq7pidn5jma0-dependencies-top' to 'file:///tmp/nix-shell.MrxVR3/nix-test/zstd/binary-cache'...
++(zstd.sh:12) nix hash path /tmp/nix-shell.MrxVR3/nix-test/zstd/store/2k1mcxzf89rl8a884i7maq7pidn5jma0-dependencies-top
+(zstd.sh:12) HASH=sha256-6Uf9yEja+gO/5s5A4xciNAFZy6Ow3ZQF3RQklgWAubY=
+(zstd.sh:14) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/zstd/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/zstd/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/zstd/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/zstd/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/zstd/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/zstd/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/zstd/test-home/.local/state/nix/profiles
+(zstd.sh:15) clearCacheCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:86) rm -f '/tmp/nix-shell.MrxVR3/nix-test/zstd/test-home/.cache/nix/binary-cache*'
+(zstd.sh:17) nix copy --from 'file:///tmp/nix-shell.MrxVR3/nix-test/zstd/binary-cache?compression=zstd' /tmp/nix-shell.MrxVR3/nix-test/zstd/store/2k1mcxzf89rl8a884i7maq7pidn5jma0-dependencies-top --no-check-sigs
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/zstd/store/9qxxh4lv83mii9697gp69nk8qjja5k2f-dependencies-input-0' from 'file:///tmp/nix-shell.MrxVR3/nix-test/zstd/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/zstd/store/vwdwrgw7qh625idklvs5x82xlg5xp3vi-dependencies-input-2' from 'file:///tmp/nix-shell.MrxVR3/nix-test/zstd/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/zstd/store/2k1mcxzf89rl8a884i7maq7pidn5jma0-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/zstd/binary-cache'...
+(zstd.sh:19) ls /tmp/nix-shell.MrxVR3/nix-test/zstd/binary-cache/nar/1f9j47r293vdskmjv94m5kbvdmhnc1v7knk4h9haa2w8vp5l0hdr.nar.zst /tmp/nix-shell.MrxVR3/nix-test/zstd/binary-cache/nar/1frlhqr9kf3xr5ksvlx9may6q898z9sjn1ja7g98hyi0sjrphwm7.nar.zst /tmp/nix-shell.MrxVR3/nix-test/zstd/binary-cache/nar/1ndwgl3zqz4vk5vikpyj82rz7mkw5nfnx2fvpa6dvx5hzg5lx210.nar.zst
+(zstd.sh:20) echo 'files do exist'
++(zstd.sh:26) nix hash path /tmp/nix-shell.MrxVR3/nix-test/zstd/store/2k1mcxzf89rl8a884i7maq7pidn5jma0-dependencies-top
+(zstd.sh:26) HASH2=sha256-6Uf9yEja+gO/5s5A4xciNAFZy6Ow3ZQF3RQklgWAubY=
+(zstd.sh:28) [[ sha256-6Uf9yEja+gO/5s5A4xciNAFZy6Ow3ZQF3RQklgWAubY= = sha256-6Uf9yEja+gO/5s5A4xciNAFZy6Ow3ZQF3RQklgWAubY= ]]clearing store...
clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/brotli
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/brotli
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/brotli
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/brotli
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/brotli
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/brotli/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/brotli/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/brotli/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/brotli/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/brotli/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/brotli/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(brotli.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/brotli/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/brotli/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/brotli/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/brotli/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/brotli/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/brotli/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/brotli/test-home/.local/state/nix/profiles
+(brotli.sh:4) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/brotli/binary-cache
+(brotli.sh:6) cacheURI='file:///tmp/nix-shell.MrxVR3/nix-test/brotli/binary-cache?compression=br'
++(brotli.sh:8) nix-build dependencies.nix --no-out-link
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/brotli/store/4757pmzhxadhw4y7q76455yqivsqv89h-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/brotli/store/8j0vmczxdh6yafv125nq8pmhz816baib-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/brotli/store/fqip8x93d635nxaxzjchyap45ydgiwkh-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/brotli/store/s5rs69x3j3w63ibf4rpz4rg9cn8p085v-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/brotli/store/picawd1l9hy2q5x5ackkrd4c12qdk7m3-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/brotli/store/fqip8x93d635nxaxzjchyap45ydgiwkh-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/brotli/store/4757pmzhxadhw4y7q76455yqivsqv89h-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/brotli/store/s5rs69x3j3w63ibf4rpz4rg9cn8p085v-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/brotli/store/8j0vmczxdh6yafv125nq8pmhz816baib-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/brotli/store/picawd1l9hy2q5x5ackkrd4c12qdk7m3-dependencies-top.drv'...
FOO
+(brotli.sh:8) outPath=/tmp/nix-shell.MrxVR3/nix-test/brotli/store/50vavh9isjfaa2n4w2zg5b5glz0fm0iv-dependencies-top
+(brotli.sh:10) nix copy --to 'file:///tmp/nix-shell.MrxVR3/nix-test/brotli/binary-cache?compression=br' /tmp/nix-shell.MrxVR3/nix-test/brotli/store/50vavh9isjfaa2n4w2zg5b5glz0fm0iv-dependencies-top
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/brotli/store/8qacj7kqgpqakmzbddr7g5xiwzn1nn3x-dependencies-input-0' to 'file:///tmp/nix-shell.MrxVR3/nix-test/brotli/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/brotli/store/f89x539ilfw5ni514nnw5yg4y1s3g1h8-dependencies-input-2' to 'file:///tmp/nix-shell.MrxVR3/nix-test/brotli/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/brotli/store/50vavh9isjfaa2n4w2zg5b5glz0fm0iv-dependencies-top' to 'file:///tmp/nix-shell.MrxVR3/nix-test/brotli/binary-cache'...
++(brotli.sh:12) nix hash path /tmp/nix-shell.MrxVR3/nix-test/brotli/store/50vavh9isjfaa2n4w2zg5b5glz0fm0iv-dependencies-top
+(brotli.sh:12) HASH=sha256-6stAJ5z5OrbPsgXLbdVeU017cIbj32M4h0dRtjPP4O4=
+(brotli.sh:14) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/brotli/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/brotli/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/brotli/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/brotli/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/brotli/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/brotli/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/brotli/test-home/.local/state/nix/profiles
+(brotli.sh:15) clearCacheCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:86) rm -f '/tmp/nix-shell.MrxVR3/nix-test/brotli/test-home/.cache/nix/binary-cache*'
+(brotli.sh:17) nix copy --from 'file:///tmp/nix-shell.MrxVR3/nix-test/brotli/binary-cache?compression=br' /tmp/nix-shell.MrxVR3/nix-test/brotli/store/50vavh9isjfaa2n4w2zg5b5glz0fm0iv-dependencies-top --no-check-sigs
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/brotli/store/8qacj7kqgpqakmzbddr7g5xiwzn1nn3x-dependencies-input-0' from 'file:///tmp/nix-shell.MrxVR3/nix-test/brotli/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/brotli/store/f89x539ilfw5ni514nnw5yg4y1s3g1h8-dependencies-input-2' from 'file:///tmp/nix-shell.MrxVR3/nix-test/brotli/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/brotli/store/50vavh9isjfaa2n4w2zg5b5glz0fm0iv-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/brotli/binary-cache'...
++(brotli.sh:19) nix hash path /tmp/nix-shell.MrxVR3/nix-test/brotli/store/50vavh9isjfaa2n4w2zg5b5glz0fm0iv-dependencies-top
+(brotli.sh:19) HASH2=sha256-6stAJ5z5OrbPsgXLbdVeU017cIbj32M4h0dRtjPP4O4=
+(brotli.sh:21) [[ sha256-6stAJ5z5OrbPsgXLbdVeU017cIbj32M4h0dRtjPP4O4= = sha256-6stAJ5z5OrbPsgXLbdVeU017cIbj32M4h0dRtjPP4O4= ]]clearing store...
Hello World from /tmp/nix-shell.MrxVR3/nix-test/shell/store/8xp8yyqaas7alq8pdi4m31bn1h1k9zws-hello/bin/hello
Hello NixOS from /tmp/nix-shell.MrxVR3/nix-test/shell/store/8xp8yyqaas7alq8pdi4m31bn1h1k9zws-hello/bin/hello
Hello2
Hello2
Hello World from /tmp/nix-shell.MrxVR3/nix-test/shell/store/8xp8yyqaas7alq8pdi4m31bn1h1k9zws-hello/bin/hello
Salve Mundi from /tmp/nix-shell.MrxVR3/nix-test/shell/store/7f4l8zp8w4x3pvrg128blgyc1x2r560b-salve-mundi/bin/hello
clearing store...
[FAIL]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/shell
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/shell
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/shell
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/shell
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/shell
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/shell/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/shell/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/shell/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/shell/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/shell/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/shell/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(shell.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/shell/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/shell/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/shell/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/shell/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/shell/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/shell/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/shell/test-home/.local/state/nix/profiles
+(shell.sh:4) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/shell/binary-cache
+(shell.sh:6) nix shell -f shell-hello.nix hello -c hello
+(shell.sh:6) grep 'Hello World'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/shell/store/94472hvml4zlc88gac8lziq0gs013asb-hello.drv
building '/tmp/nix-shell.MrxVR3/nix-test/shell/store/94472hvml4zlc88gac8lziq0gs013asb-hello.drv'...
+(shell.sh:7) nix shell -f shell-hello.nix hello -c hello NixOS
+(shell.sh:7) grep 'Hello NixOS'
+(shell.sh:10) nix shell -f shell-hello.nix 'hello^dev' -c hello2
+(shell.sh:10) grep Hello2
+(shell.sh:11) nix shell -f shell-hello.nix 'hello^*' -c hello2
+(shell.sh:11) grep Hello2
+(shell.sh:14) isDaemonNewer 2.20.0pre20231220
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
+(shell.sh:17) nix shell -f shell-hello.nix hello salve-mundi -c hello
+(shell.sh:17) grep 'Hello World'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/shell/store/zs0jwmqa25jkydyrr80qp2w5jp924kqh-salve-mundi.drv
building '/tmp/nix-shell.MrxVR3/nix-test/shell/store/zs0jwmqa25jkydyrr80qp2w5jp924kqh-salve-mundi.drv'...
+(shell.sh:18) nix shell -f shell-hello.nix salve-mundi hello -c hello
+(shell.sh:18) grep 'Salve Mundi'
+(shell.sh:21) requireSandboxSupport
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:167) canUseSandbox
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:163) [[ -n 1 ]]
+(shell.sh:23) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/shell/store0
chmod: cannot access '/tmp/nix-shell.MrxVR3/nix-test/shell/store0': No such file or directory
+(shell.sh:23) true
+(shell.sh:24) rm -rf /tmp/nix-shell.MrxVR3/nix-test/shell/store0
+(shell.sh:26) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/shell/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/shell/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/shell/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/shell/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/shell/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/shell/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/shell/test-home/.local/state/nix/profiles
++(shell.sh:28) nix eval --raw -f shell-hello.nix hello
+(shell.sh:28) path=/tmp/nix-shell.MrxVR3/nix-test/shell/store/8xp8yyqaas7alq8pdi4m31bn1h1k9zws-hello
+(shell.sh:32) nix shell --sandbox-build-dir /build-tmp --sandbox-paths '/nix? /bin? /lib? /lib64? /usr?' --store /tmp/nix-shell.MrxVR3/nix-test/shell/store0 -f shell-hello.nix hello -c hello
+(shell.sh:34) grep 'Hello World'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/shell/store/94472hvml4zlc88gac8lziq0gs013asb-hello.drv
building '/tmp/nix-shell.MrxVR3/nix-test/shell/store/94472hvml4zlc88gac8lziq0gs013asb-hello.drv'...
error: builder for '/tmp/nix-shell.MrxVR3/nix-test/shell/store/94472hvml4zlc88gac8lziq0gs013asb-hello.drv' failed to produce output path for output 'dev' at '/tmp/nix-shell.MrxVR3/nix-test/shell/store0/nix/store/4a42mlim9dp0ic485jk1y6yx7aim8p74-hello-dev'
++(shell.sh:34) onError
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
shell.sh: test failed at:
main in shell.sh:34Tracing expression 'builtins.tryEval (throw "example")' ok.
Tracing expression '({ x }: x) { }' ok.
Tracing expression '({ x }: x) { x = "x"; y = "y"; }' ok.
Tracing expression '(x: y: x + y) 1' ok.
Tracing expression '(x: x) 1 2' ok.
Tracing expression '1 2' ok.
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/function-trace
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/function-trace
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/function-trace
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/function-trace
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/function-trace
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/function-trace/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/function-trace/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/function-trace/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/function-trace/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/function-trace/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/function-trace/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(function-trace.sh:5) set +xclearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/compression-levels
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/compression-levels
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/compression-levels
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/compression-levels
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/compression-levels
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/compression-levels/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/compression-levels/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/compression-levels/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/compression-levels/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/compression-levels/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/compression-levels/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(compression-levels.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/compression-levels/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/compression-levels/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/compression-levels/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/compression-levels/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/compression-levels/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/compression-levels/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/compression-levels/test-home/.local/state/nix/profiles
+(compression-levels.sh:4) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/compression-levels/binary-cache
++(compression-levels.sh:6) nix-build dependencies.nix --no-out-link
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/compression-levels/store/0vsyia976jhp2kr163sphrxdmxgn3nm9-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/compression-levels/store/fskr6yi1yd7dxdawcg9wyz5lwgr77ngf-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/compression-levels/store/i8vd6rkki2w1wd4va4wpxm6vg9cxahyl-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/compression-levels/store/jzdjybrp317d9hbj02j0wsbbgmyd7fpv-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/compression-levels/store/whgipqdgxhkikq7xyxxvav2m3khingxa-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/compression-levels/store/fskr6yi1yd7dxdawcg9wyz5lwgr77ngf-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/compression-levels/store/i8vd6rkki2w1wd4va4wpxm6vg9cxahyl-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/compression-levels/store/jzdjybrp317d9hbj02j0wsbbgmyd7fpv-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/compression-levels/store/0vsyia976jhp2kr163sphrxdmxgn3nm9-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/compression-levels/store/whgipqdgxhkikq7xyxxvav2m3khingxa-dependencies-top.drv'...
FOO
+(compression-levels.sh:6) outPath=/tmp/nix-shell.MrxVR3/nix-test/compression-levels/store/m1zrps60isdagl36r4183wn50nfr4yi2-dependencies-top
+(compression-levels.sh:8) cacheURI='file:///tmp/nix-shell.MrxVR3/nix-test/compression-levels/binary-cache?compression=xz&compression-level=0'
+(compression-levels.sh:10) nix copy --to 'file:///tmp/nix-shell.MrxVR3/nix-test/compression-levels/binary-cache?compression=xz&compression-level=0' /tmp/nix-shell.MrxVR3/nix-test/compression-levels/store/m1zrps60isdagl36r4183wn50nfr4yi2-dependencies-top
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/compression-levels/store/rabmwk6nhv2anpxir0k4zkgpzx3m67mv-dependencies-input-0' to 'file:///tmp/nix-shell.MrxVR3/nix-test/compression-levels/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/compression-levels/store/8m9s2r5zharrn3q16p5ij0623rv2h3ih-dependencies-input-2' to 'file:///tmp/nix-shell.MrxVR3/nix-test/compression-levels/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/compression-levels/store/m1zrps60isdagl36r4183wn50nfr4yi2-dependencies-top' to 'file:///tmp/nix-shell.MrxVR3/nix-test/compression-levels/binary-cache'...
++(compression-levels.sh:12) cat /tmp/nix-shell.MrxVR3/nix-test/compression-levels/binary-cache/8m9s2r5zharrn3q16p5ij0623rv2h3ih.narinfo /tmp/nix-shell.MrxVR3/nix-test/compression-levels/binary-cache/m1zrps60isdagl36r4183wn50nfr4yi2.narinfo /tmp/nix-shell.MrxVR3/nix-test/compression-levels/binary-cache/rabmwk6nhv2anpxir0k4zkgpzx3m67mv.narinfo
++(compression-levels.sh:12) awk '/FileSize: /{sum+=$2}END{print sum}'
+(compression-levels.sh:12) FILESIZES=868
+(compression-levels.sh:14) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/compression-levels/binary-cache
+(compression-levels.sh:16) cacheURI='file:///tmp/nix-shell.MrxVR3/nix-test/compression-levels/binary-cache?compression=xz&compression-level=5'
+(compression-levels.sh:18) nix copy --to 'file:///tmp/nix-shell.MrxVR3/nix-test/compression-levels/binary-cache?compression=xz&compression-level=5' /tmp/nix-shell.MrxVR3/nix-test/compression-levels/store/m1zrps60isdagl36r4183wn50nfr4yi2-dependencies-top
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/compression-levels/store/rabmwk6nhv2anpxir0k4zkgpzx3m67mv-dependencies-input-0' to 'file:///tmp/nix-shell.MrxVR3/nix-test/compression-levels/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/compression-levels/store/8m9s2r5zharrn3q16p5ij0623rv2h3ih-dependencies-input-2' to 'file:///tmp/nix-shell.MrxVR3/nix-test/compression-levels/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/compression-levels/store/m1zrps60isdagl36r4183wn50nfr4yi2-dependencies-top' to 'file:///tmp/nix-shell.MrxVR3/nix-test/compression-levels/binary-cache'...
++(compression-levels.sh:20) awk '/FileSize: /{sum+=$2}END{print sum}'
++(compression-levels.sh:20) cat /tmp/nix-shell.MrxVR3/nix-test/compression-levels/binary-cache/8m9s2r5zharrn3q16p5ij0623rv2h3ih.narinfo /tmp/nix-shell.MrxVR3/nix-test/compression-levels/binary-cache/m1zrps60isdagl36r4183wn50nfr4yi2.narinfo /tmp/nix-shell.MrxVR3/nix-test/compression-levels/binary-cache/rabmwk6nhv2anpxir0k4zkgpzx3m67mv.narinfo
+(compression-levels.sh:20) FILESIZES2=820
+(compression-levels.sh:22) [[ 868 -gt 820 ]]clearing store...
/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/88a6fcrn3f50871z4hjd0ac69qr04vjg-structured
/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/jgh7y99nmsjwm2nf0w704k5c383j0889-structured-dev
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/structured-attrs
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/structured-attrs
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/structured-attrs
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/structured-attrs
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/structured-attrs
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(structured-attrs.sh:5) requireDaemonNewerThan 2.4pre20210712
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:159) isDaemonNewer 2.4pre20210712
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
+(structured-attrs.sh:7) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/test-home/.local/state/nix/profiles
+(structured-attrs.sh:9) rm -f /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/result
+(structured-attrs.sh:11) nix-build structured-attrs.nix -A all -o /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/result
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/kd7kmhz5jgadv99xw4z9gsvd24fcsr5n-dep.drv
/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/fz2qn9b3bh8bgmkq31yqxbmpxb14a0dq-structured.drv
building '/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/kd7kmhz5jgadv99xw4z9gsvd24fcsr5n-dep.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/fz2qn9b3bh8bgmkq31yqxbmpxb14a0dq-structured.drv'...
++ [[ 123456789 = 123456789 ]]
++ [[ -z '' ]]
++ [[ -n 1 ]]
++ [[ -z '' ]]
++ [[ -n 1 ]]
++ [[ -z '' ]]
++ [[ 7 = 7 ]]
++ [[ c = c ]]
++ [[ -v nothing ]]
++ [[ -z '' ]]
++ mkdir /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/88a6fcrn3f50871z4hjd0ac69qr04vjg-structured /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/jgh7y99nmsjwm2nf0w704k5c383j0889-structured-dev
++ echo bar
++ echo foo
+++ cat /tmp/nix-shell.MrxVR3/nix-build-structured.drv-0/.attrs.json
++ json='{"1foobar":"BAD","PATH":"/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin","boolFalse":false,"boolTrue":true,"buildCommand":"set -x\n\n[[ $int = 123456789 ]]\n[[ -z $float ]]\n[[ -n $boolTrue ]]\n[[ -z $boolFalse ]]\n[[ -n ${hardening[format]} ]]\n[[ -z ${hardening[fortify]} ]]\n[[ ${#buildInputs[@]} = 7 ]]\n[[ ${buildInputs[2]} = c ]]\n[[ -v nothing ]]\n[[ -z $nothing ]]\n\nmkdir ${outputs[out]} ${outputs[dev]}\necho bar > $dest\necho foo > $dest2\n\njson=$(cat $NIX_ATTRS_JSON_FILE)\n[[ $json =~ '\''\"narHash\":\"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk\"'\'' ]]\n[[ $json =~ '\''\"narSize\":288'\'' ]]\n[[ $json =~ '\''\"closureSize\":288'\'' ]]\n[[ $json =~ '\''\"references\":[]'\'' ]]\n","buildInputs":["a","b","c",123,"'\''","\"",null],"builder":"/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash","dest":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/88a6fcrn3f50871z4hjd0ac69qr04vjg-structured/foo","dest2":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/jgh7y99nmsjwm2nf0w704k5c383j0889-structured-dev/foo","exportReferencesGraph":{"refs":["/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/bl3110l1l6r56fw1872vqg48mwwflnp4-dep"]},"float":123.456,"foo bar":"BAD","foo$":"BAD","hardening":{"format":true,"fortify":false},"int":123456789,"name":"structured","nothing":null,"outer":{"inner":[1,2,3]},"outputs":{"dev":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/jgh7y99nmsjwm2nf0w704k5c383j0889-structured-dev","out":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/88a6fcrn3f50871z4hjd0ac69qr04vjg-structured"},"refs":[{"closureSize":288,"narHash":"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk","narSize":288,"path":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/bl3110l1l6r56fw1872vqg48mwwflnp4-dep","references":[],"valid":true}],"system":"x86_64-linux"}'
++ [[ {"1foobar":"BAD","PATH":"/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin","boolFalse":false,"boolTrue":true,"buildCommand":"set -x\n\n[[ $int = 123456789 ]]\n[[ -z $float ]]\n[[ -n $boolTrue ]]\n[[ -z $boolFalse ]]\n[[ -n ${hardening[format]} ]]\n[[ -z ${hardening[fortify]} ]]\n[[ ${#buildInputs[@]} = 7 ]]\n[[ ${buildInputs[2]} = c ]]\n[[ -v nothing ]]\n[[ -z $nothing ]]\n\nmkdir ${outputs[out]} ${outputs[dev]}\necho bar > $dest\necho foo > $dest2\n\njson=$(cat $NIX_ATTRS_JSON_FILE)\n[[ $json =~ '\"narHash\":\"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk\"' ]]\n[[ $json =~ '\"narSize\":288' ]]\n[[ $json =~ '\"closureSize\":288' ]]\n[[ $json =~ '\"references\":[]' ]]\n","buildInputs":["a","b","c",123,"'","\"",null],"builder":"/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash","dest":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/88a6fcrn3f50871z4hjd0ac69qr04vjg-structured/foo","dest2":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/jgh7y99nmsjwm2nf0w704k5c383j0889-structured-dev/foo","exportReferencesGraph":{"refs":["/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/bl3110l1l6r56fw1872vqg48mwwflnp4-dep"]},"float":123.456,"foo bar":"BAD","foo$":"BAD","hardening":{"format":true,"fortify":false},"int":123456789,"name":"structured","nothing":null,"outer":{"inner":[1,2,3]},"outputs":{"dev":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/jgh7y99nmsjwm2nf0w704k5c383j0889-structured-dev","out":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/88a6fcrn3f50871z4hjd0ac69qr04vjg-structured"},"refs":[{"closureSize":288,"narHash":"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk","narSize":288,"path":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/bl3110l1l6r56fw1872vqg48mwwflnp4-dep","references":[],"valid":true}],"system":"x86_64-linux"} =~ "narHash":"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk" ]]
++ [[ {"1foobar":"BAD","PATH":"/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin","boolFalse":false,"boolTrue":true,"buildCommand":"set -x\n\n[[ $int = 123456789 ]]\n[[ -z $float ]]\n[[ -n $boolTrue ]]\n[[ -z $boolFalse ]]\n[[ -n ${hardening[format]} ]]\n[[ -z ${hardening[fortify]} ]]\n[[ ${#buildInputs[@]} = 7 ]]\n[[ ${buildInputs[2]} = c ]]\n[[ -v nothing ]]\n[[ -z $nothing ]]\n\nmkdir ${outputs[out]} ${outputs[dev]}\necho bar > $dest\necho foo > $dest2\n\njson=$(cat $NIX_ATTRS_JSON_FILE)\n[[ $json =~ '\"narHash\":\"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk\"' ]]\n[[ $json =~ '\"narSize\":288' ]]\n[[ $json =~ '\"closureSize\":288' ]]\n[[ $json =~ '\"references\":[]' ]]\n","buildInputs":["a","b","c",123,"'","\"",null],"builder":"/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash","dest":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/88a6fcrn3f50871z4hjd0ac69qr04vjg-structured/foo","dest2":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/jgh7y99nmsjwm2nf0w704k5c383j0889-structured-dev/foo","exportReferencesGraph":{"refs":["/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/bl3110l1l6r56fw1872vqg48mwwflnp4-dep"]},"float":123.456,"foo bar":"BAD","foo$":"BAD","hardening":{"format":true,"fortify":false},"int":123456789,"name":"structured","nothing":null,"outer":{"inner":[1,2,3]},"outputs":{"dev":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/jgh7y99nmsjwm2nf0w704k5c383j0889-structured-dev","out":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/88a6fcrn3f50871z4hjd0ac69qr04vjg-structured"},"refs":[{"closureSize":288,"narHash":"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk","narSize":288,"path":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/bl3110l1l6r56fw1872vqg48mwwflnp4-dep","references":[],"valid":true}],"system":"x86_64-linux"} =~ "narSize":288 ]]
++ [[ {"1foobar":"BAD","PATH":"/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin","boolFalse":false,"boolTrue":true,"buildCommand":"set -x\n\n[[ $int = 123456789 ]]\n[[ -z $float ]]\n[[ -n $boolTrue ]]\n[[ -z $boolFalse ]]\n[[ -n ${hardening[format]} ]]\n[[ -z ${hardening[fortify]} ]]\n[[ ${#buildInputs[@]} = 7 ]]\n[[ ${buildInputs[2]} = c ]]\n[[ -v nothing ]]\n[[ -z $nothing ]]\n\nmkdir ${outputs[out]} ${outputs[dev]}\necho bar > $dest\necho foo > $dest2\n\njson=$(cat $NIX_ATTRS_JSON_FILE)\n[[ $json =~ '\"narHash\":\"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk\"' ]]\n[[ $json =~ '\"narSize\":288' ]]\n[[ $json =~ '\"closureSize\":288' ]]\n[[ $json =~ '\"references\":[]' ]]\n","buildInputs":["a","b","c",123,"'","\"",null],"builder":"/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash","dest":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/88a6fcrn3f50871z4hjd0ac69qr04vjg-structured/foo","dest2":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/jgh7y99nmsjwm2nf0w704k5c383j0889-structured-dev/foo","exportReferencesGraph":{"refs":["/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/bl3110l1l6r56fw1872vqg48mwwflnp4-dep"]},"float":123.456,"foo bar":"BAD","foo$":"BAD","hardening":{"format":true,"fortify":false},"int":123456789,"name":"structured","nothing":null,"outer":{"inner":[1,2,3]},"outputs":{"dev":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/jgh7y99nmsjwm2nf0w704k5c383j0889-structured-dev","out":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/88a6fcrn3f50871z4hjd0ac69qr04vjg-structured"},"refs":[{"closureSize":288,"narHash":"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk","narSize":288,"path":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/bl3110l1l6r56fw1872vqg48mwwflnp4-dep","references":[],"valid":true}],"system":"x86_64-linux"} =~ "closureSize":288 ]]
++ [[ {"1foobar":"BAD","PATH":"/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin","boolFalse":false,"boolTrue":true,"buildCommand":"set -x\n\n[[ $int = 123456789 ]]\n[[ -z $float ]]\n[[ -n $boolTrue ]]\n[[ -z $boolFalse ]]\n[[ -n ${hardening[format]} ]]\n[[ -z ${hardening[fortify]} ]]\n[[ ${#buildInputs[@]} = 7 ]]\n[[ ${buildInputs[2]} = c ]]\n[[ -v nothing ]]\n[[ -z $nothing ]]\n\nmkdir ${outputs[out]} ${outputs[dev]}\necho bar > $dest\necho foo > $dest2\n\njson=$(cat $NIX_ATTRS_JSON_FILE)\n[[ $json =~ '\"narHash\":\"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk\"' ]]\n[[ $json =~ '\"narSize\":288' ]]\n[[ $json =~ '\"closureSize\":288' ]]\n[[ $json =~ '\"references\":[]' ]]\n","buildInputs":["a","b","c",123,"'","\"",null],"builder":"/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash","dest":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/88a6fcrn3f50871z4hjd0ac69qr04vjg-structured/foo","dest2":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/jgh7y99nmsjwm2nf0w704k5c383j0889-structured-dev/foo","exportReferencesGraph":{"refs":["/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/bl3110l1l6r56fw1872vqg48mwwflnp4-dep"]},"float":123.456,"foo bar":"BAD","foo$":"BAD","hardening":{"format":true,"fortify":false},"int":123456789,"name":"structured","nothing":null,"outer":{"inner":[1,2,3]},"outputs":{"dev":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/jgh7y99nmsjwm2nf0w704k5c383j0889-structured-dev","out":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/88a6fcrn3f50871z4hjd0ac69qr04vjg-structured"},"refs":[{"closureSize":288,"narHash":"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk","narSize":288,"path":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/bl3110l1l6r56fw1872vqg48mwwflnp4-dep","references":[],"valid":true}],"system":"x86_64-linux"} =~ "references":\[] ]]
++(structured-attrs.sh:13) cat /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/result/foo
+(structured-attrs.sh:13) [[ bar = bar ]]
++(structured-attrs.sh:14) cat /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/result-dev/foo
+(structured-attrs.sh:14) [[ foo = foo ]]
+(structured-attrs.sh:16) export NIX_BUILD_SHELL=/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash
+(structured-attrs.sh:16) NIX_BUILD_SHELL=/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash
+(structured-attrs.sh:17) env NIX_PATH=nixpkgs=shell.nix nix-shell structured-attrs-shell.nix --run 'test "3" = "$(jq ".my.list|length" < $NIX_ATTRS_JSON_FILE)"'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/8jp9ci3163hziqdn2qrs50n225iripkd-stdenv.drv
building '/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/8jp9ci3163hziqdn2qrs50n225iripkd-stdenv.drv'...
+(structured-attrs.sh:20) nix develop -f structured-attrs-shell.nix -c bash -c 'test "3" = "$(jq ".my.list|length" < $NIX_ATTRS_JSON_FILE)"'
building '/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/r26j3qw0ajsv1r2bqlym3gr3j8d1838l-structured2-env.drv'...
warning: cannot read flake registry '/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/registry.json': path does not exist
error (ignored): error: cannot find flake 'flake:nixpkgs' in the flake registries
+(structured-attrs.sh:25) nix develop -f structured-attrs-shell.nix -c bash -c 'test -n "$out"'
warning: cannot read flake registry '/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/registry.json': path does not exist
error (ignored): error: cannot find flake 'flake:nixpkgs' in the flake registries
+(structured-attrs.sh:27) nix print-dev-env -f structured-attrs-shell.nix
+(structured-attrs.sh:27) grepQuiet NIX_ATTRS_JSON_FILE=
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep NIX_ATTRS_JSON_FILE=
+(structured-attrs.sh:28) nix print-dev-env -f structured-attrs-shell.nix
+(structured-attrs.sh:28) grepQuiet NIX_ATTRS_SH_FILE=
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep NIX_ATTRS_SH_FILE=
+(structured-attrs.sh:29) nix print-dev-env -f shell.nix shellDrv
+(structured-attrs.sh:29) grepQuietInverse NIX_ATTRS_SH_FILE
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:269) grep NIX_ATTRS_SH_FILE
building '/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/1c9kkb1dzsgpkdj3d1ddjaz394f2yxrw-shellDrv-env.drv'...
++(structured-attrs.sh:31) nix print-dev-env -f structured-attrs-shell.nix --json
+(structured-attrs.sh:31) jsonOut='{"bashFunctions":{"fun":" \n echo blabla\n"},"structuredAttrs":{".attrs.json":"{\"PATH\":\"/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin\",\"buildCommand\":\"touch ${outputs[out]}; touch ${outputs[dev]}\\n\",\"builder\":\"/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash\",\"exportReferencesGraph\":{\"refs\":[\"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/bl3110l1l6r56fw1872vqg48mwwflnp4-dep\"]},\"my\":{\"list\":[\"a\",\"b\",\"c\"]},\"name\":\"structured2\",\"outputs\":{\"dev\":\"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/h42vcw6p88s7gxf1l0rw71vw5q7khn3j-structured2-env-dev\",\"out\":\"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/jfarxdhpm1nhhj74anxb27mjnac8zdn4-structured2-env\"},\"refs\":[{\"closureSize\":288,\"narHash\":\"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk\",\"narSize\":288,\"path\":\"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/bl3110l1l6r56fw1872vqg48mwwflnp4-dep\",\"references\":[],\"valid\":true}],\"stdenv\":\"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/j17jcir8c9mm76f9xc6lp1dcmhr5yqi3-stdenv\",\"system\":\"x86_64-linux\"}",".attrs.sh":"declare PATH='\''/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin'\''\ndeclare buildCommand='\''touch ${outputs[out]}; touch ${outputs[dev]}\n'\''\ndeclare builder='\''/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash'\''\ndeclare name='\''structured2'\''\ndeclare -A outputs=(['\''dev'\'']='\''/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/h42vcw6p88s7gxf1l0rw71vw5q7khn3j-structured2-env-dev'\'' ['\''out'\'']='\''/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/jfarxdhpm1nhhj74anxb27mjnac8zdn4-structured2-env'\'' )\ndeclare stdenv='\''/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/j17jcir8c9mm76f9xc6lp1dcmhr5yqi3-stdenv'\''\ndeclare system='\''x86_64-linux'\''"},"variables":{"BASH":{"type":"var","value":"/bin/bash"},"HOME":{"type":"exported","value":"/homeless-shelter"},"HOSTTYPE":{"type":"var","value":"x86_64"},"IFS":{"type":"var","value":" \t\n"},"IN_NIX_SHELL":{"type":"exported","value":"impure"},"LINENO":{"type":"var","value":"76"},"MACHTYPE":{"type":"var","value":"x86_64-pc-linux-gnu"},"NIX_ATTRS_JSON_FILE":{"type":"exported","value":"/tmp/nix-shell.MrxVR3/nix-build-structured2-env.drv-0/.attrs.json"},"NIX_ATTRS_SH_FILE":{"type":"exported","value":"/tmp/nix-shell.MrxVR3/nix-build-structured2-env.drv-0/.attrs.sh"},"NIX_BUILD_CORES":{"type":"exported","value":"16"},"NIX_BUILD_TOP":{"type":"exported","value":"/tmp/nix-shell.MrxVR3/nix-build-structured2-env.drv-0"},"NIX_LOG_FD":{"type":"exported","value":"2"},"NIX_STORE":{"type":"exported","value":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store"},"OLDPWD":{"type":"exported","value":""},"OPTERR":{"type":"var","value":"1"},"OSTYPE":{"type":"var","value":"linux-gnu"},"PATH":{"type":"exported","value":"/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin"},"PS4":{"type":"var","value":"+ "},"SHELL":{"type":"var","value":"/bin/bash"},"TEMP":{"type":"exported","value":"/tmp/nix-shell.MrxVR3/nix-build-structured2-env.drv-0"},"TEMPDIR":{"type":"exported","value":"/tmp/nix-shell.MrxVR3/nix-build-structured2-env.drv-0"},"TERM":{"type":"exported","value":"xterm-256color"},"TMP":{"type":"exported","value":"/tmp/nix-shell.MrxVR3/nix-build-structured2-env.drv-0"},"TMPDIR":{"type":"exported","value":"/tmp/nix-shell.MrxVR3/nix-build-structured2-env.drv-0"},"VAR_FROM_STDENV_SETUP":{"type":"exported","value":"foo"},"arr1":{"type":"array","value":["1","2","3 4","5"]},"arr2":{"type":"array","value":["x","\n","x\ny"]},"buildCommand":{"type":"var","value":"touch ${outputs[out]}; touch ${outputs[dev]}\n"},"builder":{"type":"var","value":"/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash"},"dev":{"type":"exported","value":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/h42vcw6p88s7gxf1l0rw71vw5q7khn3j-structured2-env-dev"},"dontAddDisableDepTrack":{"type":"exported","value":"1"},"name":{"type":"var","value":"structured2"},"o":{"type":"var","value":"out"},"out":{"type":"exported","value":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/jfarxdhpm1nhhj74anxb27mjnac8zdn4-structured2-env"},"outputs":{"type":"associative","value":{"dev":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/h42vcw6p88s7gxf1l0rw71vw5q7khn3j-structured2-env-dev","out":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/jfarxdhpm1nhhj74anxb27mjnac8zdn4-structured2-env"}},"stdenv":{"type":"var","value":"/tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/j17jcir8c9mm76f9xc6lp1dcmhr5yqi3-stdenv"},"system":{"type":"var","value":"x86_64-linux"}}}'
++(structured-attrs.sh:33) jq '.structuredAttrs|keys|.[]' -r
++(structured-attrs.sh:33) printf '.attrs.json\n.attrs.sh'
+(structured-attrs.sh:33) test '.attrs.json
.attrs.sh' = '.attrs.json
.attrs.sh'
++(structured-attrs.sh:35) jq .variables.out.value -r
++(structured-attrs.sh:35) jq '.structuredAttrs.".attrs.json"' -r
++(structured-attrs.sh:35) jq -r .outputs.out
+(structured-attrs.sh:35) test /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/jfarxdhpm1nhhj74anxb27mjnac8zdn4-structured2-env = /tmp/nix-shell.MrxVR3/nix-test/structured-attrs/store/jfarxdhpm1nhhj74anxb27mjnac8zdn4-structured2-envclearing store...
clearing store...
these 5 derivations will be built:
these 5 derivations will be built:
clearing store...
these 5 derivations will be built:
these 5 derivations will be built:
clearing store...
clearing store...
true
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/build-dry
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/build-dry
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/build-dry
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-dry
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-dry/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-dry/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/build-dry/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-dry/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-dry/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/build-dry/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(build-dry.sh:7) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/build-dry/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-dry/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-dry/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/build-dry/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/test-home/.local/state/nix/profiles
+(build-dry.sh:8) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/binary-cache
+(build-dry.sh:11) nix build --no-link -f dependencies.nix
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/1b2n1c4h39l5ymj284dy73drf1qdghqb-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/hmdc91x505arz6b9h8l33s8jzvyjn54s-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/vbnvzbgiknz7bpjcnmmf75mr9wa2bs3z-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/lvhg226lq5zavkbm1mjb8bhwhjwyklqd-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/y594fpirnl8nwajph90rzl23f9c3rmg9-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/vbnvzbgiknz7bpjcnmmf75mr9wa2bs3z-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/1b2n1c4h39l5ymj284dy73drf1qdghqb-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/lvhg226lq5zavkbm1mjb8bhwhjwyklqd-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/hmdc91x505arz6b9h8l33s8jzvyjn54s-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/y594fpirnl8nwajph90rzl23f9c3rmg9-dependencies-top.drv'...
+(build-dry.sh:13) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/build-dry/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-dry/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-dry/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/build-dry/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/test-home/.local/state/nix/profiles
+(build-dry.sh:14) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/binary-cache
+(build-dry.sh:17) nix-build --no-out-link dependencies.nix --dry-run
+(build-dry.sh:17) grep 'will be built'
+(build-dry.sh:19) nix build -f dependencies.nix --dry-run
+(build-dry.sh:19) grep 'will be built'
+(build-dry.sh:21) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/build-dry/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-dry/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-dry/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/build-dry/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/test-home/.local/state/nix/profiles
+(build-dry.sh:22) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/binary-cache
+(build-dry.sh:25) nix build -f dependencies.nix --dry-run
+(build-dry.sh:25) grep 'will be built'
+(build-dry.sh:27) nix-build --no-out-link dependencies.nix --dry-run
+(build-dry.sh:27) grep 'will be built'
+(build-dry.sh:32) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/build-dry/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-dry/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-dry/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/build-dry/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/test-home/.local/state/nix/profiles
+(build-dry.sh:33) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/binary-cache
+(build-dry.sh:35) RESULT=/tmp/nix-shell.MrxVR3/nix-test/build-dry/result-link
+(build-dry.sh:36) rm -f /tmp/nix-shell.MrxVR3/nix-test/build-dry/result-link
+(build-dry.sh:38) nix-build dependencies.nix -o /tmp/nix-shell.MrxVR3/nix-test/build-dry/result-link --dry-run
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/1b2n1c4h39l5ymj284dy73drf1qdghqb-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/hmdc91x505arz6b9h8l33s8jzvyjn54s-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/vbnvzbgiknz7bpjcnmmf75mr9wa2bs3z-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/lvhg226lq5zavkbm1mjb8bhwhjwyklqd-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/y594fpirnl8nwajph90rzl23f9c3rmg9-dependencies-top.drv
+(build-dry.sh:40) [[ ! -h /tmp/nix-shell.MrxVR3/nix-test/build-dry/result-link ]]
+(build-dry.sh:42) nix build -f dependencies.nix -o /tmp/nix-shell.MrxVR3/nix-test/build-dry/result-link --dry-run
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/1b2n1c4h39l5ymj284dy73drf1qdghqb-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/hmdc91x505arz6b9h8l33s8jzvyjn54s-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/vbnvzbgiknz7bpjcnmmf75mr9wa2bs3z-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/lvhg226lq5zavkbm1mjb8bhwhjwyklqd-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/y594fpirnl8nwajph90rzl23f9c3rmg9-dependencies-top.drv
+(build-dry.sh:44) [[ ! -h /tmp/nix-shell.MrxVR3/nix-test/build-dry/result-link ]]
+(build-dry.sh:46) nix build -f dependencies.nix -o /tmp/nix-shell.MrxVR3/nix-test/build-dry/result-link
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/1b2n1c4h39l5ymj284dy73drf1qdghqb-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/hmdc91x505arz6b9h8l33s8jzvyjn54s-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/vbnvzbgiknz7bpjcnmmf75mr9wa2bs3z-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/lvhg226lq5zavkbm1mjb8bhwhjwyklqd-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/y594fpirnl8nwajph90rzl23f9c3rmg9-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/vbnvzbgiknz7bpjcnmmf75mr9wa2bs3z-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/1b2n1c4h39l5ymj284dy73drf1qdghqb-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/lvhg226lq5zavkbm1mjb8bhwhjwyklqd-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/hmdc91x505arz6b9h8l33s8jzvyjn54s-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/y594fpirnl8nwajph90rzl23f9c3rmg9-dependencies-top.drv'...
+(build-dry.sh:48) [[ -h /tmp/nix-shell.MrxVR3/nix-test/build-dry/result-link ]]
+(build-dry.sh:52) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/build-dry/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-dry/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-dry/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/build-dry/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/test-home/.local/state/nix/profiles
+(build-dry.sh:53) clearCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-dry/binary-cache
++(build-dry.sh:55) nix build -f dependencies.nix --dry-run --json
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/1b2n1c4h39l5ymj284dy73drf1qdghqb-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/hmdc91x505arz6b9h8l33s8jzvyjn54s-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/vbnvzbgiknz7bpjcnmmf75mr9wa2bs3z-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/lvhg226lq5zavkbm1mjb8bhwhjwyklqd-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/y594fpirnl8nwajph90rzl23f9c3rmg9-dependencies-top.drv
+(build-dry.sh:55) RES='[{"drvPath":"/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/y594fpirnl8nwajph90rzl23f9c3rmg9-dependencies-top.drv","outputs":{"out":"/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/n3za90gvfdn1n247fkl3r4ng6a2sfp6m-dependencies-top"}}]'
+(build-dry.sh:57) [[ -z '' ]]
+(build-dry.sh:58) echo '[{"drvPath":"/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/y594fpirnl8nwajph90rzl23f9c3rmg9-dependencies-top.drv","outputs":{"out":"/tmp/nix-shell.MrxVR3/nix-test/build-dry/store/n3za90gvfdn1n247fkl3r4ng6a2sfp6m-dependencies-top"}}]'
+(build-dry.sh:61) jq '.[0] | [
(.drvPath | test("/tmp/nix-shell.MrxVR3/nix-test/build-dry/store.*\\.drv")),
(.outputs.out | test("/tmp/nix-shell.MrxVR3/nix-test/build-dry/store"))
] | all'clearing store...
clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(nix-copy-ssh.sh:3) source nix-copy-ssh-common.sh ssh
++(nix-copy-ssh-common.sh:1) proto=ssh
++(nix-copy-ssh-common.sh:2) shift
++(nix-copy-ssh-common.sh:3) (( 0 == 0 ))
++(nix-copy-ssh-common.sh:5) clearStore
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/test-home/.local/state/nix/profiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/test-home/.local/state/nix/profiles
++(nix-copy-ssh-common.sh:6) clearCache
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/binary-cache
++(nix-copy-ssh-common.sh:8) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores
+++(nix-copy-ssh-common.sh:11) nix-build --no-out-link dependencies.nix
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/jzzp6nf0qix6xsp4xqpb3kchj1jxp018-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/1j1d4wjqmplk76czfl1ad3j8q599zhpb-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/mjyl0v16kpnfjmwjsf1r41v231vaj93k-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/vi193548rvxa6mlafaww2b82pa8xjb7r-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/kcfdmwl7cwcyslrv4b94paz40218iznn-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/jzzp6nf0qix6xsp4xqpb3kchj1jxp018-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/mjyl0v16kpnfjmwjsf1r41v231vaj93k-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/1j1d4wjqmplk76czfl1ad3j8q599zhpb-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/vi193548rvxa6mlafaww2b82pa8xjb7r-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/kcfdmwl7cwcyslrv4b94paz40218iznn-dependencies-top.drv'...
FOO
++(nix-copy-ssh-common.sh:11) outPath=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/b3bpn99sn11v8lir1cwhkfw1bm5z9r0y-dependencies-top
++(nix-copy-ssh-common.sh:13) storeQueryParam=store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store
++(nix-copy-ssh-common.sh:19) remoteRoot=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/ssh
++(nix-copy-ssh-common.sh:26) clearRemoteStore
++(nix-copy-ssh-common.sh:22) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/ssh
chmod: cannot access '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/ssh': No such file or directory
++(nix-copy-ssh-common.sh:22) true
++(nix-copy-ssh-common.sh:23) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/ssh
+++(nix-copy-ssh-common.sh:28) realQueryParam /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/ssh
+++(nix-copy-ssh-common.sh:16) echo real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/ssh/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store
++(nix-copy-ssh-common.sh:28) remoteStore='ssh://localhost?store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store&remote-store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/ssh%3fstore=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store%26real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/ssh/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store'
++(nix-copy-ssh-common.sh:32) args=()
++(nix-copy-ssh-common.sh:33) [[ ssh == \s\s\h\-\n\g ]]
++(nix-copy-ssh-common.sh:38) '[' '!' -f /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/ssh/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/b3bpn99sn11v8lir1cwhkfw1bm5z9r0y-dependencies-top/foobar ']'
++(nix-copy-ssh-common.sh:39) nix copy --to 'ssh://localhost?store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store&remote-store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/ssh%3fstore=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store%26real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/ssh/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store' /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/b3bpn99sn11v8lir1cwhkfw1bm5z9r0y-dependencies-top
\x1b[Kcopying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/0a6hqqfy5jyf35jdh7aqf6vzlq3ay54r-dependencies-input-0' to 'ssh://localhost'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/gikdlbga7zdbsm22h3gr0a322rp7syk7-dependencies-input-2' to 'ssh://localhost'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/b3bpn99sn11v8lir1cwhkfw1bm5z9r0y-dependencies-top' to 'ssh://localhost'...
++(nix-copy-ssh-common.sh:40) '[' -f /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/ssh/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/b3bpn99sn11v8lir1cwhkfw1bm5z9r0y-dependencies-top/foobar ']'
++(nix-copy-ssh-common.sh:44) clearStore
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/test-home/.local/state/nix/profiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/test-home/.local/state/nix/profiles
++(nix-copy-ssh-common.sh:46) '[' '!' -f /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/b3bpn99sn11v8lir1cwhkfw1bm5z9r0y-dependencies-top/foobar ']'
++(nix-copy-ssh-common.sh:47) nix copy --no-check-sigs --from 'ssh://localhost?store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store&remote-store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/ssh%3fstore=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store%26real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/ssh/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store' /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/b3bpn99sn11v8lir1cwhkfw1bm5z9r0y-dependencies-top
\x1b[Kcopying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/0a6hqqfy5jyf35jdh7aqf6vzlq3ay54r-dependencies-input-0' from 'ssh://localhost'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/gikdlbga7zdbsm22h3gr0a322rp7syk7-dependencies-input-2' from 'ssh://localhost'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/b3bpn99sn11v8lir1cwhkfw1bm5z9r0y-dependencies-top' from 'ssh://localhost'...
++(nix-copy-ssh-common.sh:48) '[' -f /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/b3bpn99sn11v8lir1cwhkfw1bm5z9r0y-dependencies-top/foobar ']'
++(nix-copy-ssh-common.sh:52) clearRemoteStore
++(nix-copy-ssh-common.sh:22) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/ssh
++(nix-copy-ssh-common.sh:23) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/ssh
++(nix-copy-ssh-common.sh:54) corruptedRoot=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/corrupted
+++(nix-copy-ssh-common.sh:55) realQueryParam /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/corrupted
+++(nix-copy-ssh-common.sh:16) echo real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/corrupted/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store
++(nix-copy-ssh-common.sh:55) corruptedStore='/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/corrupted?store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store&real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/corrupted/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store'
++(nix-copy-ssh-common.sh:58) nix copy --no-check-sigs /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/b3bpn99sn11v8lir1cwhkfw1bm5z9r0y-dependencies-top --to '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/corrupted?store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store&real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/corrupted/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store'
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/0a6hqqfy5jyf35jdh7aqf6vzlq3ay54r-dependencies-input-0' to 'local'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/gikdlbga7zdbsm22h3gr0a322rp7syk7-dependencies-input-2' to 'local'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/b3bpn99sn11v8lir1cwhkfw1bm5z9r0y-dependencies-top' to 'local'...
++(nix-copy-ssh-common.sh:61) corruptPath=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/corrupted/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/b3bpn99sn11v8lir1cwhkfw1bm5z9r0y-dependencies-top
++(nix-copy-ssh-common.sh:62) chmod +w /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/corrupted/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/b3bpn99sn11v8lir1cwhkfw1bm5z9r0y-dependencies-top
++(nix-copy-ssh-common.sh:63) echo 'not supposed to be here'
++(nix-copy-ssh-common.sh:64) chmod -w /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/corrupted/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/b3bpn99sn11v8lir1cwhkfw1bm5z9r0y-dependencies-top
+++(nix-copy-ssh-common.sh:69) echo -e 'substituters = local\nrequire-sigs = false'
++(nix-copy-ssh-common.sh:69) NIX_CONFIG='substituters = local
require-sigs = false'
++(nix-copy-ssh-common.sh:69) nix copy --no-check-sigs --from '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/corrupted?store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store&real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/corrupted/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store' --to 'ssh://localhost?store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store&remote-store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/ssh%3fstore=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store%26real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/stores/ssh/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store' --substitute-on-destination /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/b3bpn99sn11v8lir1cwhkfw1bm5z9r0y-dependencies-top
\x1b[Kcopying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/0a6hqqfy5jyf35jdh7aqf6vzlq3ay54r-dependencies-input-0' to 'local'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/gikdlbga7zdbsm22h3gr0a322rp7syk7-dependencies-input-2' to 'local'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh/store/b3bpn99sn11v8lir1cwhkfw1bm5z9r0y-dependencies-top' to 'local'...
copying 0 paths...clearing store...
· Format the current flake: $ nix fmt
· Format a specific folder or file: $ nix fmt ./folder
· Format specific files: $ nix fmt ./file1.nix
· Format the current flake: $ nix fmt
· Format a specific folder or file: $ nix fmt ./folder
Formatting: ./file ./folder
\x1b[32;1m └───\x1b[0m\x1b[1mx86_64-linux\x1b[0m: package 'formatter'
clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/fmt
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/fmt
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/fmt
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fmt
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/fmt
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/fmt/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/fmt/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/fmt/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/fmt/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/fmt/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/fmt/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(fmt.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/fmt/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fmt/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/fmt/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fmt/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fmt/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/fmt/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fmt/test-home/.local/state/nix/profiles
+(fmt.sh:4) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fmt/test-home/.cache /tmp/nix-shell.MrxVR3/nix-test/fmt/test-home/.config /tmp/nix-shell.MrxVR3/nix-test/fmt/test-home/.local
+(fmt.sh:6) cp ./simple.nix ./simple.builder.sh ./fmt.simple.sh ./config.nix /tmp/nix-shell.MrxVR3/nix-test/fmt/test-home
+(fmt.sh:8) cd /tmp/nix-shell.MrxVR3/nix-test/fmt/test-home
+(fmt.sh:10) nix fmt --help
+(fmt.sh:10) grep Format
+(fmt.sh:12) cat
+(fmt.sh:29) nix fmt ./file ./folder
+(fmt.sh:29) grep 'Formatting: ./file ./folder'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/fmt/store/4cj9fbawdjxqp0p2n4snqi40lb8j5wxy-formatter.drv
building '/tmp/nix-shell.MrxVR3/nix-test/fmt/store/4cj9fbawdjxqp0p2n4snqi40lb8j5wxy-formatter.drv'...
+(fmt.sh:30) nix flake check
evaluating flake...
checking flake output 'formatter'...
+(fmt.sh:31) grep -P 'package '\''formatter'\'''
+(fmt.sh:31) nix flake show
evaluating ''...
evaluating 'formatter'...
evaluating 'formatter.x86_64-linux'...
+(fmt.sh:33) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/fmt/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fmt/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/fmt/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fmt/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fmt/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/fmt/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fmt/test-home/.local/state/nix/profilesclearing store...
clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/flakes/config
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/flakes/config
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/flakes/config
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/config
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/config
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/config/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/config/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/config/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/config/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/config/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/flakes/config/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(common.sh:3) registry=/tmp/nix-shell.MrxVR3/nix-test/flakes/config/registry.json
+(config.sh:3) cp ../simple.nix ../simple.builder.sh ../config.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/config/test-home
+(config.sh:5) cd /tmp/nix-shell.MrxVR3/nix-test/flakes/config/test-home
+(config.sh:7) rm -f post-hook-ran
+(config.sh:8) cat
+(config.sh:13) chmod +x echoing-post-hook.sh
+(config.sh:15) cat
+(config.sh:27) nix build
warning: ignoring untrusted flake configuration setting 'allow-dirty'.
Pass '--accept-flake-config' to trust it
warning: ignoring untrusted flake configuration setting 'post-build-hook'.
Pass '--accept-flake-config' to trust it
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/flakes/config/store/f40g7xiq6lbg23ilwdkrvl2bacvqlv2q-simple.drv
building '/tmp/nix-shell.MrxVR3/nix-test/flakes/config/store/f40g7xiq6lbg23ilwdkrvl2bacvqlv2q-simple.drv'...
+(config.sh:28) [[ -f post-hook-ran ]]
+(config.sh:29) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/flakes/config/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/config/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/config/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/config/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/config/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/flakes/config/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/config/test-home/.local/state/nix/profiles
+(config.sh:31) nix build --accept-flake-config
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/flakes/config/store/f40g7xiq6lbg23ilwdkrvl2bacvqlv2q-simple.drv
building '/tmp/nix-shell.MrxVR3/nix-test/flakes/config/store/f40g7xiq6lbg23ilwdkrvl2bacvqlv2q-simple.drv'...
+(config.sh:32) test -f post-hook-ran
+(config.sh:37) mv post-hook-ran previous-post-hook-run
+(config.sh:38) echo '# Dummy comment'
+(config.sh:39) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/flakes/config/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/config/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/config/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/config/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/config/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/flakes/config/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/config/test-home/.local/state/nix/profiles
+(config.sh:40) nix build --accept-flake-config
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/flakes/config/store/f40g7xiq6lbg23ilwdkrvl2bacvqlv2q-simple.drv
building '/tmp/nix-shell.MrxVR3/nix-test/flakes/config/store/f40g7xiq6lbg23ilwdkrvl2bacvqlv2q-simple.drv'...
+(config.sh:41) diff -q post-hook-ran previous-post-hook-run[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/derivation-json
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/derivation-json
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/derivation-json
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/derivation-json
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/derivation-json
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/derivation-json/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/derivation-json/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/derivation-json/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/derivation-json/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/derivation-json/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/derivation-json/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
++(derivation-json.sh:3) nix-instantiate simple.nix
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(derivation-json.sh:3) drvPath=/tmp/nix-shell.MrxVR3/nix-test/derivation-json/store/xd21n9m1dlfy8dh6alhcfmsjmwc2wgn4-simple.drv
+(derivation-json.sh:5) nix derivation show /tmp/nix-shell.MrxVR3/nix-test/derivation-json/store/xd21n9m1dlfy8dh6alhcfmsjmwc2wgn4-simple.drv
+(derivation-json.sh:5) jq '.[]'
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/tmp/nix-shell.MrxVR3/nix-test/derivation-json/store/xd21n9m1dlfy8dh6alhcfmsjmwc2wgn4-simple.drv^*'
++(derivation-json.sh:7) nix derivation add
+(derivation-json.sh:7) drvPath2=/tmp/nix-shell.MrxVR3/nix-test/derivation-json/store/xd21n9m1dlfy8dh6alhcfmsjmwc2wgn4-simple.drv
+(derivation-json.sh:9) [[ /tmp/nix-shell.MrxVR3/nix-test/derivation-json/store/xd21n9m1dlfy8dh6alhcfmsjmwc2wgn4-simple.drv = \/\t\m\p\/\n\i\x\-\s\h\e\l\l\.\M\r\x\V\R\3\/\n\i\x\-\t\e\s\t\/\d\e\r\i\v\a\t\i\o\n\-\j\s\o\n\/\s\t\o\r\e\/\x\d\2\1\n\9\m\1\d\l\f\y\8\d\h\6\a\l\h\c\f\m\s\j\m\w\c\2\w\g\n\4\-\s\i\m\p\l\e\.\d\r\v ]]
+(derivation-json.sh:12) jq '.name = "foo"'
+(derivation-json.sh:12) expectStderr 1 nix derivation add
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix derivation add
+(derivation-json.sh:12) grepQuiet 'has incorrect output'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'has incorrect output'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0/lix-src/build/tests/functional/simple.nix
/lix-src/build/tests/functional/simple.nix
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/nix_path
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/nix_path
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/nix_path
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix_path
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix_path
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix_path/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix_path/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/nix_path/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix_path/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix_path/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/nix_path/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(nix_path.sh:5) export NIX_PATH=non-existent=/non-existent/but-unused-anyways:by-absolute-path=/lix-src/build/tests/functional:by-relative-path=.
+(nix_path.sh:5) NIX_PATH=non-existent=/non-existent/but-unused-anyways:by-absolute-path=/lix-src/build/tests/functional:by-relative-path=.
+(nix_path.sh:7) nix-instantiate --eval -E '<by-absolute-path/simple.nix>' --restrict-eval
warning: Nix search path entry '/non-existent/but-unused-anyways' does not exist, ignoring
+(nix_path.sh:8) nix-instantiate --eval -E '<by-relative-path/simple.nix>' --restrict-eval
warning: Nix search path entry '/non-existent/but-unused-anyways' does not exist, ignoring
++(nix_path.sh:13) nix-instantiate --find-file by-absolute-path/simple.nix
+(nix_path.sh:13) [[ /lix-src/build/tests/functional/simple.nix = /lix-src/build/tests/functional/simple.nix ]]
++(nix_path.sh:14) nix-instantiate --find-file by-relative-path/simple.nix
+(nix_path.sh:14) [[ /lix-src/build/tests/functional/simple.nix = /lix-src/build/tests/functional/simple.nix ]]clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/import-derivation
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/import-derivation
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/import-derivation
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/import-derivation
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/import-derivation
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/import-derivation/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/import-derivation/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/import-derivation/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/import-derivation/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/import-derivation/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/import-derivation/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(import-derivation.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/import-derivation/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/import-derivation/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/import-derivation/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/import-derivation/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/import-derivation/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/import-derivation/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/import-derivation/test-home/.local/state/nix/profiles
+(import-derivation.sh:5) nix-instantiate --readonly-mode ./import-derivation.nix
error:
… while calling the 'derivationStrict' builtin
at /builtin/derivation.nix:1:208:
… while evaluating derivation 'foo'
whose name attribute is located at /lix-src/build/tests/functional/import-derivation.nix:21:3
… while evaluating attribute 'args' of derivation 'foo'
at /lix-src/build/tests/functional/config.nix:23:7:
22| builder = shell;
23| args = ["-e" args.builder or (builtins.toFile "builder-${args.name}.sh" ''
| ^
24| if [ -e "$NIX_ATTRS_SH_FILE" ]; then source $NIX_ATTRS_SH_FILE; fi;
… while evaluating the attribute 'builder'
at /lix-src/build/tests/functional/import-derivation.nix:22:3:
21| name = "foo";
22| builder = builtins.toFile "builder.sh"
| ^
23| ''
… while calling the 'toFile' builtin
at /lix-src/build/tests/functional/import-derivation.nix:22:13:
21| name = "foo";
22| builder = builtins.toFile "builder.sh"
| ^
23| ''
… while evaluating the second argument passed to builtins.toFile
… while calling the 'toString' builtin
at /lix-src/build/tests/functional/import-derivation.nix:24:20:
23| ''
24| echo -n FOO${toString value} > $out
| ^
25| '';
… in the condition of the assert statement
at /lix-src/build/tests/functional/import-derivation.nix:15:5:
14| # Test that pathExists can check the existence of /nix/store paths
15| assert builtins.pathExists bar;
| ^
16| import bar;
… while calling the 'pathExists' builtin
at /lix-src/build/tests/functional/import-derivation.nix:15:12:
14| # Test that pathExists can check the existence of /nix/store paths
15| assert builtins.pathExists bar;
| ^
16| import bar;
… while realising the context of path '/tmp/nix-shell.MrxVR3/nix-test/import-derivation/store/i4kyspg32z045liihmmgspfs561cwkpn-bar'
error: path '/tmp/nix-shell.MrxVR3/nix-test/import-derivation/store/jq20pas13zmvvi765bmjc0nk6g385dyj-bar.drv' is not valid
++(import-derivation.sh:10) nix-build ./import-derivation.nix --no-out-link
building '/tmp/nix-shell.MrxVR3/nix-test/import-derivation/store/jq20pas13zmvvi765bmjc0nk6g385dyj-bar.drv'...
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/import-derivation/store/yfbvaf3m78g1slf3na11z5an5zjs74bf-foo.drv
building '/tmp/nix-shell.MrxVR3/nix-test/import-derivation/store/yfbvaf3m78g1slf3na11z5an5zjs74bf-foo.drv'...
+(import-derivation.sh:10) outPath=/tmp/nix-shell.MrxVR3/nix-test/import-derivation/store/khf63r1b7ww77ksbcv60fizjwv5b7hhk-foo
++(import-derivation.sh:12) cat /tmp/nix-shell.MrxVR3/nix-test/import-derivation/store/khf63r1b7ww77ksbcv60fizjwv5b7hhk-foo
+(import-derivation.sh:12) '[' FOO579 = FOO579 ']'clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/case-hack
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/case-hack
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/case-hack
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/case-hack
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/case-hack
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/case-hack/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/case-hack/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/case-hack/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/case-hack/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/case-hack/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/case-hack/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(case-hack.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/case-hack/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/case-hack/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/case-hack/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/case-hack/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/case-hack/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/case-hack/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/case-hack/test-home/.local/state/nix/profiles
+(case-hack.sh:5) rm -rf /tmp/nix-shell.MrxVR3/nix-test/case-hack/case
+(case-hack.sh:7) opts='--option use-case-hack true'
+(case-hack.sh:11) nix-store --option use-case-hack true --restore /tmp/nix-shell.MrxVR3/nix-test/case-hack/case
+(case-hack.sh:12) nix-store --option use-case-hack true --dump /tmp/nix-shell.MrxVR3/nix-test/case-hack/case
+(case-hack.sh:13) cmp case.nar /tmp/nix-shell.MrxVR3/nix-test/case-hack/case.nar
++(case-hack.sh:14) nix-hash --option use-case-hack true --type sha256 /tmp/nix-shell.MrxVR3/nix-test/case-hack/case
++(case-hack.sh:14) nix-hash --flat --type sha256 case.nar
+(case-hack.sh:14) '[' ccd0c2353fbb6ff6853088e01f0557e8b9cbc9d11d2e1f8435175dc08091c2a3 = ccd0c2353fbb6ff6853088e01f0557e8b9cbc9d11d2e1f8435175dc08091c2a3 ']'
+(case-hack.sh:18) touch /tmp/nix-shell.MrxVR3/nix-test/case-hack/case/xt_CONNMARK.h~nix~case~hack~3
+(case-hack.sh:19) nix-store --option use-case-hack true --dump /tmp/nix-shell.MrxVR3/nix-test/case-hack/case
error: file name collision in between '/tmp/nix-shell.MrxVR3/nix-test/case-hack/case/xt_CONNMARK.h' and '/tmp/nix-shell.MrxVR3/nix-test/case-hack/case/xt_CONNMARK.h~nix~case~hack~3'clearing store...
/tmp/nix-shell.MrxVR3/nix-test/placeholders/store/8hl9grz5r0npb507pdhdwm47gbd22az3-placeholders
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/placeholders
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/placeholders
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/placeholders
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/placeholders
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/placeholders
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/placeholders/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/placeholders/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/placeholders/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/placeholders/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/placeholders/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/placeholders/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(placeholders.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/placeholders/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/placeholders/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/placeholders/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/placeholders/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/placeholders/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/placeholders/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/placeholders/test-home/.local/state/nix/profiles
+(placeholders.sh:5) nix-build --no-out-link -E '
with import ./config.nix;
mkDerivation {
name = "placeholders";
outputs = [ "out" "bin" "dev" ];
buildCommand = "
echo foo1 > $out
echo foo2 > $bin
echo foo3 > $dev
[[ $(cat ${placeholder "out"}) = foo1 ]]
[[ $(cat ${placeholder "bin"}) = foo2 ]]
[[ $(cat ${placeholder "dev"}) = foo3 ]]
";
}
'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/placeholders/store/3wcdi5x7q26v5ap18ml2acyp9hg9k5s5-placeholders.drv
building '/tmp/nix-shell.MrxVR3/nix-test/placeholders/store/3wcdi5x7q26v5ap18ml2acyp9hg9k5s5-placeholders.drv'...clearing store...
clearing store...
clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(nix-copy-ssh-ng.sh:3) source nix-copy-ssh-common.sh ssh-ng
++(nix-copy-ssh-common.sh:1) proto=ssh-ng
++(nix-copy-ssh-common.sh:2) shift
++(nix-copy-ssh-common.sh:3) (( 0 == 0 ))
++(nix-copy-ssh-common.sh:5) clearStore
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/test-home/.local/state/nix/profiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/test-home/.local/state/nix/profiles
++(nix-copy-ssh-common.sh:6) clearCache
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:82) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/binary-cache
++(nix-copy-ssh-common.sh:8) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores
+++(nix-copy-ssh-common.sh:11) nix-build --no-out-link dependencies.nix
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/s0lcvla0g445p1ksx13c3qm8p4xyk2kj-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/50ragn78nyxdkh3mx92i3fxky230x71a-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/8kh8yr7909m181cxdsvrgd9sy8qr6s84-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/v1mw2grafljsaniy1g010xk3b377jfi0-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/nr0nw0jk1mdixzby74vfdn3rh0d80qmf-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/s0lcvla0g445p1ksx13c3qm8p4xyk2kj-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/v1mw2grafljsaniy1g010xk3b377jfi0-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/50ragn78nyxdkh3mx92i3fxky230x71a-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/8kh8yr7909m181cxdsvrgd9sy8qr6s84-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/nr0nw0jk1mdixzby74vfdn3rh0d80qmf-dependencies-top.drv'...
FOO
++(nix-copy-ssh-common.sh:11) outPath=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top
++(nix-copy-ssh-common.sh:13) storeQueryParam=store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store
++(nix-copy-ssh-common.sh:19) remoteRoot=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng
++(nix-copy-ssh-common.sh:26) clearRemoteStore
++(nix-copy-ssh-common.sh:22) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng
chmod: cannot access '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng': No such file or directory
++(nix-copy-ssh-common.sh:22) true
++(nix-copy-ssh-common.sh:23) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng
+++(nix-copy-ssh-common.sh:28) realQueryParam /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng
+++(nix-copy-ssh-common.sh:16) echo real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store
++(nix-copy-ssh-common.sh:28) remoteStore='ssh-ng://localhost?store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store&remote-store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng%3fstore=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store%26real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store'
++(nix-copy-ssh-common.sh:32) args=()
++(nix-copy-ssh-common.sh:33) [[ ssh-ng == \s\s\h\-\n\g ]]
++(nix-copy-ssh-common.sh:35) args+=(--no-check-sigs)
++(nix-copy-ssh-common.sh:38) '[' '!' -f /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top/foobar ']'
++(nix-copy-ssh-common.sh:39) nix copy --no-check-sigs --to 'ssh-ng://localhost?store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store&remote-store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng%3fstore=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store%26real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store' /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top
\x1b[Kcopying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/agjq8vg2szgf8j9pr6lzp1j7i559bbjb-dependencies-input-0' to 'ssh-ng://localhost'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/qdgaljpb65qqka7s1ia3ds2yy0y9an4k-dependencies-input-2' to 'ssh-ng://localhost'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top' to 'ssh-ng://localhost'...
++(nix-copy-ssh-common.sh:40) '[' -f /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top/foobar ']'
++(nix-copy-ssh-common.sh:44) clearStore
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/var/nix
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/test-home/.local/state/nix/profiles
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/test-home/.local/state/nix/profiles
++(nix-copy-ssh-common.sh:46) '[' '!' -f /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top/foobar ']'
++(nix-copy-ssh-common.sh:47) nix copy --no-check-sigs --from 'ssh-ng://localhost?store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store&remote-store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng%3fstore=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store%26real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store' /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top
\x1b[Kcopying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/agjq8vg2szgf8j9pr6lzp1j7i559bbjb-dependencies-input-0' from 'ssh-ng://localhost'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/qdgaljpb65qqka7s1ia3ds2yy0y9an4k-dependencies-input-2' from 'ssh-ng://localhost'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top' from 'ssh-ng://localhost'...
++(nix-copy-ssh-common.sh:48) '[' -f /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top/foobar ']'
++(nix-copy-ssh-common.sh:52) clearRemoteStore
++(nix-copy-ssh-common.sh:22) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng
++(nix-copy-ssh-common.sh:23) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng
++(nix-copy-ssh-common.sh:54) corruptedRoot=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/corrupted
+++(nix-copy-ssh-common.sh:55) realQueryParam /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/corrupted
+++(nix-copy-ssh-common.sh:16) echo real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/corrupted/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store
++(nix-copy-ssh-common.sh:55) corruptedStore='/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/corrupted?store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store&real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/corrupted/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store'
++(nix-copy-ssh-common.sh:58) nix copy --no-check-sigs /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top --to '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/corrupted?store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store&real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/corrupted/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store'
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/agjq8vg2szgf8j9pr6lzp1j7i559bbjb-dependencies-input-0' to 'local'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/qdgaljpb65qqka7s1ia3ds2yy0y9an4k-dependencies-input-2' to 'local'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top' to 'local'...
++(nix-copy-ssh-common.sh:61) corruptPath=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/corrupted/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top
++(nix-copy-ssh-common.sh:62) chmod +w /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/corrupted/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top
++(nix-copy-ssh-common.sh:63) echo 'not supposed to be here'
++(nix-copy-ssh-common.sh:64) chmod -w /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/corrupted/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top
+++(nix-copy-ssh-common.sh:69) echo -e 'substituters = local\nrequire-sigs = false'
++(nix-copy-ssh-common.sh:69) NIX_CONFIG='substituters = local
require-sigs = false'
++(nix-copy-ssh-common.sh:69) nix copy --no-check-sigs --from '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/corrupted?store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store&real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/corrupted/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store' --to 'ssh-ng://localhost?store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store&remote-store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng%3fstore=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store%26real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store' --substitute-on-destination /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top
\x1b[Kcopying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/agjq8vg2szgf8j9pr6lzp1j7i559bbjb-dependencies-input-0' to 'local'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/qdgaljpb65qqka7s1ia3ds2yy0y9an4k-dependencies-input-2' to 'local'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top' to 'local'...
copying 0 paths...
+(nix-copy-ssh-ng.sh:5) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/test-home/.local/state/nix/profiles
+(nix-copy-ssh-ng.sh:6) clearRemoteStore
+(nix-copy-ssh-common.sh:22) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng
+(nix-copy-ssh-common.sh:23) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng
++(nix-copy-ssh-ng.sh:8) nix-build --no-out-link dependencies.nix
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/s0lcvla0g445p1ksx13c3qm8p4xyk2kj-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/50ragn78nyxdkh3mx92i3fxky230x71a-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/8kh8yr7909m181cxdsvrgd9sy8qr6s84-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/v1mw2grafljsaniy1g010xk3b377jfi0-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/nr0nw0jk1mdixzby74vfdn3rh0d80qmf-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/s0lcvla0g445p1ksx13c3qm8p4xyk2kj-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/v1mw2grafljsaniy1g010xk3b377jfi0-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/50ragn78nyxdkh3mx92i3fxky230x71a-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/8kh8yr7909m181cxdsvrgd9sy8qr6s84-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/nr0nw0jk1mdixzby74vfdn3rh0d80qmf-dependencies-top.drv'...
FOO
+(nix-copy-ssh-ng.sh:8) outPath=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top
+(nix-copy-ssh-ng.sh:10) nix store ping --store 'ssh-ng://localhost?store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store&remote-store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng%3fstore=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store%26real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store'
Store URL: ssh-ng://localhost
\x1b[KVersion: 2.90.0
Trusted: 1
+(nix-copy-ssh-ng.sh:14) nix copy --to 'ssh-ng://localhost?store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store&remote-store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng%3fstore=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store%26real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store' /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top --no-check-sigs
+(nix-copy-ssh-ng.sh:13) nix copy --to 'ssh-ng://localhost?store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store&remote-store=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng%3fstore=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store%26real=/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/stores/ssh-ng/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store' /tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top --no-check-sigs
\x1b[K
\x1b[Kcopying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/agjq8vg2szgf8j9pr6lzp1j7i559bbjb-dependencies-input-0' to 'ssh-ng://localhost'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/qdgaljpb65qqka7s1ia3ds2yy0y9an4k-dependencies-input-2' to 'ssh-ng://localhost'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/nix-copy-ssh-ng/store/18ar6zz0dz7h8fc83l45nkc0qx1h9v5i-dependencies-top' to 'ssh-ng://localhost'...
copying 0 paths...clearing store...
/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/hv5d136akbsdmjg7n8xl9abpra3cm1b1-dependencies-input-0
/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/wbn2yg1690z9ksl6shnkhd1c6ysqrdch-dependencies-top
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/why-depends
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/why-depends
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/why-depends
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/why-depends
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/why-depends
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/why-depends/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/why-depends/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/why-depends/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/why-depends/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/why-depends/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/why-depends/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(why-depends.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/why-depends/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/why-depends/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/why-depends/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/why-depends/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/why-depends/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/why-depends/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/why-depends/test-home/.local/state/nix/profiles
+(why-depends.sh:5) cp ./dependencies.nix ./dependencies.builder0.sh ./config.nix /tmp/nix-shell.MrxVR3/nix-test/why-depends/test-home
+(why-depends.sh:7) cd /tmp/nix-shell.MrxVR3/nix-test/why-depends/test-home
+(why-depends.sh:9) nix why-depends --derivation --file ./dependencies.nix input2_drv input1_drv
'input2_drv' does not depend on 'input1_drv'
+(why-depends.sh:10) nix why-depends --file ./dependencies.nix input2_drv input1_drv
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/czbk6818l7ka7h092impxbnkgw34qz3x-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/6iix00j6k1p5vjj9jkmv5g523aw4j9ra-dependencies-input-2.drv
building '/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/czbk6818l7ka7h092impxbnkgw34qz3x-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/6iix00j6k1p5vjj9jkmv5g523aw4j9ra-dependencies-input-2.drv'...
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/plzss74sr3bpzyk97814q9f3fkpjw1r7-dependencies-input-1.drv
'input2_drv' does not depend on 'input1_drv'
+(why-depends.sh:12) nix-build ./dependencies.nix -A input0_drv -o dep
+(why-depends.sh:13) nix-build ./dependencies.nix -o toplevel
these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/av3cy7vkm5w56z15l9v292x0y612pb7x-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/plzss74sr3bpzyk97814q9f3fkpjw1r7-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/g8bcwv6f5cmq42fsyqcsq87yc8xmzs7k-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/plzss74sr3bpzyk97814q9f3fkpjw1r7-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/av3cy7vkm5w56z15l9v292x0y612pb7x-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/g8bcwv6f5cmq42fsyqcsq87yc8xmzs7k-dependencies-top.drv'...
FOO
++(why-depends.sh:15) nix why-depends ./toplevel ./dep
+(why-depends.sh:15) FAST_WHY_DEPENDS_OUTPUT='/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/wbn2yg1690z9ksl6shnkhd1c6ysqrdch-dependencies-top
└───/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/wv0jfdr4492xzlmmmc7m0q68zrbc14pq-dependencies-input-2\x1b[0m
└───/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/hv5d136akbsdmjg7n8xl9abpra3cm1b1-dependencies-input-0\x1b[0m'
++(why-depends.sh:16) nix why-depends ./toplevel ./dep --precise
+(why-depends.sh:16) PRECISE_WHY_DEPENDS_OUTPUT='/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/wbn2yg1690z9ksl6shnkhd1c6ysqrdch-dependencies-top\x1b[0m
└───reference-to-input-2 -> /tmp/nix-shell.MrxVR3/nix-test/why-depends/store/\x1b[34;1mwv0jfdr4492xzlmmmc7m0q68zrbc14pq\x1b[0m-dependencies-input-2/.
→ /tmp/nix-shell.MrxVR3/nix-test/why-depends/store/wv0jfdr4492xzlmmmc7m0q68zrbc14pq-dependencies-input-2\x1b[0m
└───input0: …xVR3/nix-test/why-depends/store/\x1b[32;1mhv5d136akbsdmjg7n8xl9abpra3cm1b1\x1b[0m-dependencies-input-0.…
→ /tmp/nix-shell.MrxVR3/nix-test/why-depends/store/hv5d136akbsdmjg7n8xl9abpra3cm1b1-dependencies-input-0\x1b[0m'
+(why-depends.sh:19) echo '/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/wbn2yg1690z9ksl6shnkhd1c6ysqrdch-dependencies-top
└───/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/wv0jfdr4492xzlmmmc7m0q68zrbc14pq-dependencies-input-2\x1b[0m
└───/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/hv5d136akbsdmjg7n8xl9abpra3cm1b1-dependencies-input-0\x1b[0m'
+(why-depends.sh:19) grepQuiet input-2
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep input-2
+(why-depends.sh:20) echo '/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/wbn2yg1690z9ksl6shnkhd1c6ysqrdch-dependencies-top\x1b[0m
+(why-depends.sh:20) grepQuiet input-2
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep input-2
└───reference-to-input-2 -> /tmp/nix-shell.MrxVR3/nix-test/why-depends/store/\x1b[34;1mwv0jfdr4492xzlmmmc7m0q68zrbc14pq\x1b[0m-dependencies-input-2/.
→ /tmp/nix-shell.MrxVR3/nix-test/why-depends/store/wv0jfdr4492xzlmmmc7m0q68zrbc14pq-dependencies-input-2\x1b[0m
└───input0: …xVR3/nix-test/why-depends/store/\x1b[32;1mhv5d136akbsdmjg7n8xl9abpra3cm1b1\x1b[0m-dependencies-input-0.…
→ /tmp/nix-shell.MrxVR3/nix-test/why-depends/store/hv5d136akbsdmjg7n8xl9abpra3cm1b1-dependencies-input-0\x1b[0m'
+(why-depends.sh:23) echo '/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/wbn2yg1690z9ksl6shnkhd1c6ysqrdch-dependencies-top
└───/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/wv0jfdr4492xzlmmmc7m0q68zrbc14pq-dependencies-input-2\x1b[0m
└───/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/hv5d136akbsdmjg7n8xl9abpra3cm1b1-dependencies-input-0\x1b[0m'
+(why-depends.sh:23) grepQuietInverse reference-to-input-2
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:269) grep reference-to-input-2
+(why-depends.sh:24) echo '/tmp/nix-shell.MrxVR3/nix-test/why-depends/store/wbn2yg1690z9ksl6shnkhd1c6ysqrdch-dependencies-top\x1b[0m
└───reference-to-input-2 -> /tmp/nix-shell.MrxVR3/nix-test/why-depends/store/\x1b[34;1mwv0jfdr4492xzlmmmc7m0q68zrbc14pq\x1b[0m-dependencies-input-2/.
→ /tmp/nix-shell.MrxVR3/nix-test/why-depends/store/wv0jfdr4492xzlmmmc7m0q68zrbc14pq-dependencies-input-2\x1b[0m
└───input0: …xVR3/nix-test/why-depends/store/\x1b[32;1mhv5d136akbsdmjg7n8xl9abpra3cm1b1\x1b[0m-dependencies-input-0.…
→ /tmp/nix-shell.MrxVR3/nix-test/why-depends/store/hv5d136akbsdmjg7n8xl9abpra3cm1b1-dependencies-input-0\x1b[0m'
+(why-depends.sh:24) grepQuiet reference-to-input-2
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep reference-to-input-2
+(why-depends.sh:26) sed -n 2p
+(why-depends.sh:26) grepQuiet '└───reference-to-input-2 -> '
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '└───reference-to-input-2 -> '
+(why-depends.sh:27) sed -n 3p
+(why-depends.sh:27) grep ' →'
+(why-depends.sh:27) grepQuiet dependencies-input-2
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep dependencies-input-2
+(why-depends.sh:28) sed -n 4p
+(why-depends.sh:28) grepQuiet ' └───input0: …'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep ' └───input0: …'
+(why-depends.sh:29) sed -n 5p
+(why-depends.sh:29) grepQuiet dependencies-input-0
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep dependencies-input-0
+(why-depends.sh:29) grep ' →'[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/ssh-relay
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/ssh-relay
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/ssh-relay
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/ssh-relay
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/ssh-relay
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/ssh-relay/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/ssh-relay/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/ssh-relay/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/ssh-relay/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/ssh-relay/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/ssh-relay/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(ssh-relay.sh:3) echo foo
+(ssh-relay.sh:5) ssh_localhost=ssh://localhost
+(ssh-relay.sh:6) remote_store='?remote-store=ssh://localhost'
+(ssh-relay.sh:8) store=ssh://localhost
+(ssh-relay.sh:10) store+='?remote-store=ssh://localhost'
+(ssh-relay.sh:11) store+='?remote-store=ssh://localhost'
+(ssh-relay.sh:12) store+='?remote-store=ssh://localhost'
++(ssh-relay.sh:14) nix store add-path --store 'ssh://localhost?remote-store=ssh://localhost?remote-store=ssh://localhost?remote-store=ssh://localhost' /tmp/nix-shell.MrxVR3/nix-test/ssh-relay/hello.sh
\x1b[K+(ssh-relay.sh:14) out=/tmp/nix-shell.MrxVR3/nix-test/ssh-relay/store/qsgrcqji17191awmb8xqmhd13idr4ygd-hello.sh
+(ssh-relay.sh:16) '[' foo = foo ']'[SKIP]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/db-migration
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/db-migration
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/db-migration
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/db-migration
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/db-migration
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/db-migration/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/db-migration/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/db-migration/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/db-migration/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/db-migration/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/db-migration/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(db-migration.sh:7) [[ -z '' ]]
+(db-migration.sh:8) skipTest 'not using the Nix daemon'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:154) echo 'not using the Nix daemon, skipping this test...'
not using the Nix daemon, skipping this test...
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:155) exit 99clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/output-normalization
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/output-normalization
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/output-normalization
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/output-normalization
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/output-normalization
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/output-normalization/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/output-normalization/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/output-normalization/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/output-normalization/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/output-normalization/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/output-normalization/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(output-normalization.sh:9) testNormalization
+(output-normalization.sh:4) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/output-normalization/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/output-normalization/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/output-normalization/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/output-normalization/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/output-normalization/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/output-normalization/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/output-normalization/test-home/.local/state/nix/profiles
++(output-normalization.sh:5) nix-build ./simple.nix --no-out-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/output-normalization/store/bkna37ih8wbla08rm6ly68lw4cvibnik-simple.drv
building '/tmp/nix-shell.MrxVR3/nix-test/output-normalization/store/bkna37ih8wbla08rm6ly68lw4cvibnik-simple.drv'...
PATH=
+(output-normalization.sh:5) outPath=/tmp/nix-shell.MrxVR3/nix-test/output-normalization/store/pzh9qf81r8hknabvgiprjhjazhdsisni-simple
++(output-normalization.sh:6) stat -c %Y /tmp/nix-shell.MrxVR3/nix-test/output-normalization/store/pzh9qf81r8hknabvgiprjhjazhdsisni-simple
+(output-normalization.sh:6) test 1 -eq 1AR=ar
AS=as
BASH=/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash
BASHOPTS=checkwinsize:cmdhist:extquote:globasciiranges:globskipdots:interactive_comments:patsub_replacement:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=([0]="0")
BASH_ARGV=()
BASH_CMDS=()
BASH_EXECUTION_STRING='. /tmp/nix-shell.MrxVR3/nix-test/bash-profile/nix-profile.sh; set'
BASH_LINENO=()
BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:.
BASH_SOURCE=()
BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
BASH_VERSION='5.2.15(1)-release'
BOOST_INCLUDEDIR=/nix/store/644b90j1vms44nr18yw3520pzkrg4dd1-boost-1.81.0-dev/include
BOOST_LIBRARYDIR=/nix/store/qg7jwx1ihwr3r822jal8qmgwx7sz3qbj-boost-1.81.0/lib
CC=clang
CMAKE_INCLUDE_PATH=/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/include:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/include:/nix/store/4ri27bck8rh5r589x92982nr7qy41s5m-zlib-1.3-dev/include:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/include:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/include:/nix/store/ack833yak2zj90qma73swn76pwyc0q6v-gtest-1.12.1-dev/include:/nix/store/qj2076x57va9lh5z3b0ppk3lcym0dcky-rapidcheck-unstable-2023-12-14-dev/include:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/include:/nix/store/wsmis784qgfsb5amgj1grrnfs65hysv1-jq-1.7.1-dev/include:/nix/store/qi8i2r3g9idbz93477r4qnxiwxrcdjvs-util-linux-minimal-2.39.2-dev/include:/nix/store/4jsrz717k8f4d87j5s98qnkdmrrmi12m-compiler-rt-libc-16.0.6-dev/include:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/include:/nix/store/lmlbxlixfx2bnskdhamm2cjm6skmkfci-brotli-1.1.0-dev/include:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/include:/nix/store/gbjzl42ssv859gp5rjyahxk59mx3pbpr-nghttp2-1.57.0-dev/include:/nix/store/89xzi1k0xfh0nhbrzbhrzkrq9iww2nal-libidn2-2.3.4-dev/include:/nix/store/0miqcimcchp1wii109l2mppi30g4p529-openssl-3.0.13-dev/include:/nix/store/sxfj44gbdw2lq9vfvz125k2hp48180b4-libssh2-1.11.0-dev/include:/nix/store/4qln9xkgdwim355wsdlvyig68l9drvgq-zstd-1.5.5-dev/include:/nix/store/dhkhh3x9dril24li1av36j511ivpmg2k-bzip2-1.0.8-dev/include:/nix/store/322jpfv3b3jsvkl3xdgfp8rlg54dz0yf-xz-5.4.4-dev/include:/nix/store/nx2lqjms8xj0ywrgjgi3f6vc2wwbbz79-editline-1.17.1-dev/include:/nix/store/ry8943j0fnf1jzb0shrv45manlrgq6rh-sqlite-3.43.2-dev/include:/nix/store/mbq9bc32jd9n54h7v9p33l2inpzvpznk-libarchive-3.7.2-dev/include:/nix/store/sfgnsigmp2a7pqfncswqd1h8gj9pri5j-attr-2.5.1-dev/include:/nix/store/7y6adf37i8bmqlsvnhjg2qy6wyz119ql-acl-2.3.1-dev/include:/nix/store/644b90j1vms44nr18yw3520pzkrg4dd1-boost-1.81.0-dev/include:/nix/store/wf8szdyv1wnsbz3y0nmm6648x960z3sp-lowdown-1.0.2-dev/include:/nix/store/3z75acxkm1k94x38i92rzkawalbzvj3m-libsodium-1.0.18-dev/include:/nix/store/nbf535cddcnz0mjr3f4jcxqi32hzi7ja-toml11-3.7.1/include:/nix/store/cvyvw1v0n8nxm3jqfm5y7c2gwpp46zdr-libseccomp-2.5.5-dev/include:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/include:/nix/store/rgmlh76wdp98yjkwyz9c85sl18h1nrf3-aws-sdk-cpp-1.11.118-dev/include:/nix/store/qikfa3lqkfgdd87vp79vvn272bhn4yqp-aws-crt-cpp-0.20.3-dev/include:/nix/store/63jzrrzsjswkdqb0mw17dw8dqnika1ng-aws-c-auth-0.7.0/include:/nix/store/6j5rf26lh4zv005w1gk1rh9p0ydw8kfj-aws-c-sdkutils-0.1.12/include:/nix/store/ixmjzlx8hs2kvf2n0am1br0gkph1cgnp-aws-c-cal-0.6.0/include:/nix/store/ibndzqigb2fa5yyj43sfzm7i5l0hyi1k-aws-c-common-0.8.23/include:/nix/store/n19hab1rcllppqkqiql8hv5arz9k8691-aws-c-compression-0.2.17/include:/nix/store/jm7liign91ly9wmcwwxzidamcn7bc5yf-aws-c-event-stream-0.3.1/include:/nix/store/n5z9578qb090blcyd33pbml1kgjlwp9c-aws-c-http-0.7.11/include:/nix/store/zi7a0xdriszkl7bcrkajkbll5m066w80-aws-c-io-0.13.29/include:/nix/store/p1pzrj5ix136xjm1gkn1dxm2c6306lr4-aws-c-mqtt-0.8.14/include:/nix/store/al4p0cdw6al9v54hj4rk7g8aff5rfzza-aws-c-s3-0.3.13/include:/nix/store/g7wgk5lqmnsgs1cns9z88fgh88z5akr2-aws-checksums-0.1.17/include:/nix/store/gq7x6b3yprqnl0fwwam65s04ivww21iz-s2n-tls-1.3.56-dev/include:/nix/store/d5crrhppdnz7xm107xkh2cgp234032ck-aws-sdk-cpp-1.11.118/include:/nix/store/ry56yjm64dicf9f9wn8nphwxcw2prdnv-boehm-gc-8.2.2-dev/include:/nix/store/gnvv3ffifrsnjqcs7qlkji1dzc1k8jx3-nlohmann_json-3.11.2/include:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/include:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/include:/nix/store/4ri27bck8rh5r589x92982nr7qy41s5m-zlib-1.3-dev/include:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/include:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/include:/nix/store/ack833yak2zj90qma73swn76pwyc0q6v-gtest-1.12.1-dev/include:/nix/store/qj2076x57va9lh5z3b0ppk3lcym0dcky-rapidcheck-unstable-2023-12-14-dev/include:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/include:/nix/store/wsmis784qgfsb5amgj1grrnfs65hysv1-jq-1.7.1-dev/include:/nix/store/qi8i2r3g9idbz93477r4qnxiwxrcdjvs-util-linux-minimal-2.39.2-dev/include:/nix/store/4jsrz717k8f4d87j5s98qnkdmrrmi12m-compiler-rt-libc-16.0.6-dev/include:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/include:/nix/store/lmlbxlixfx2bnskdhamm2cjm6skmkfci-brotli-1.1.0-dev/include:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/include:/nix/store/gbjzl42ssv859gp5rjyahxk59mx3pbpr-nghttp2-1.57.0-dev/include:/nix/store/89xzi1k0xfh0nhbrzbhrzkrq9iww2nal-libidn2-2.3.4-dev/include:/nix/store/0miqcimcchp1wii109l2mppi30g4p529-openssl-3.0.13-dev/include:/nix/store/sxfj44gbdw2lq9vfvz125k2hp48180b4-libssh2-1.11.0-dev/include:/nix/store/4qln9xkgdwim355wsdlvyig68l9drvgq-zstd-1.5.5-dev/include:/nix/store/dhkhh3x9dril24li1av36j511ivpmg2k-bzip2-1.0.8-dev/include:/nix/store/322jpfv3b3jsvkl3xdgfp8rlg54dz0yf-xz-5.4.4-dev/include:/nix/store/nx2lqjms8xj0ywrgjgi3f6vc2wwbbz79-editline-1.17.1-dev/include:/nix/store/ry8943j0fnf1jzb0shrv45manlrgq6rh-sqlite-3.43.2-dev/include:/nix/store/mbq9bc32jd9n54h7v9p33l2inpzvpznk-libarchive-3.7.2-dev/include:/nix/store/sfgnsigmp2a7pqfncswqd1h8gj9pri5j-attr-2.5.1-dev/include:/nix/store/7y6adf37i8bmqlsvnhjg2qy6wyz119ql-acl-2.3.1-dev/include:/nix/store/644b90j1vms44nr18yw3520pzkrg4dd1-boost-1.81.0-dev/include:/nix/store/wf8szdyv1wnsbz3y0nmm6648x960z3sp-lowdown-1.0.2-dev/include:/nix/store/3z75acxkm1k94x38i92rzkawalbzvj3m-libsodium-1.0.18-dev/include:/nix/store/nbf535cddcnz0mjr3f4jcxqi32hzi7ja-toml11-3.7.1/include:/nix/store/cvyvw1v0n8nxm3jqfm5y7c2gwpp46zdr-libseccomp-2.5.5-dev/include:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/include:/nix/store/rgmlh76wdp98yjkwyz9c85sl18h1nrf3-aws-sdk-cpp-1.11.118-dev/include:/nix/store/qikfa3lqkfgdd87vp79vvn272bhn4yqp-aws-crt-cpp-0.20.3-dev/include:/nix/store/63jzrrzsjswkdqb0mw17dw8dqnika1ng-aws-c-auth-0.7.0/include:/nix/store/6j5rf26lh4zv005w1gk1rh9p0ydw8kfj-aws-c-sdkutils-0.1.12/include:/nix/store/ixmjzlx8hs2kvf2n0am1br0gkph1cgnp-aws-c-cal-0.6.0/include:/nix/store/ibndzqigb2fa5yyj43sfzm7i5l0hyi1k-aws-c-common-0.8.23/include:/nix/store/n19hab1rcllppqkqiql8hv5arz9k8691-aws-c-compression-0.2.17/include:/nix/store/jm7liign91ly9wmcwwxzidamcn7bc5yf-aws-c-event-stream-0.3.1/include:/nix/store/n5z9578qb090blcyd33pbml1kgjlwp9c-aws-c-http-0.7.11/include:/nix/store/zi7a0xdriszkl7bcrkajkbll5m066w80-aws-c-io-0.13.29/include:/nix/store/p1pzrj5ix136xjm1gkn1dxm2c6306lr4-aws-c-mqtt-0.8.14/include:/nix/store/al4p0cdw6al9v54hj4rk7g8aff5rfzza-aws-c-s3-0.3.13/include:/nix/store/g7wgk5lqmnsgs1cns9z88fgh88z5akr2-aws-checksums-0.1.17/include:/nix/store/gq7x6b3yprqnl0fwwam65s04ivww21iz-s2n-tls-1.3.56-dev/include:/nix/store/d5crrhppdnz7xm107xkh2cgp234032ck-aws-sdk-cpp-1.11.118/include:/nix/store/ry56yjm64dicf9f9wn8nphwxcw2prdnv-boehm-gc-8.2.2-dev/include:/nix/store/gnvv3ffifrsnjqcs7qlkji1dzc1k8jx3-nlohmann_json-3.11.2/include
CMAKE_LIBRARY_PATH=/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/lib:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/lib:/nix/store/n4bn6swasahjkqn95vhn6j9x3a959hq3-llvm-16.0.6-lib/lib:/nix/store/pchfh0dw180q4h2pyvg1vl3mal4xlydj-clang-16.0.6-lib/lib:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/lib:/nix/store/13vcljclc56lm92i1rcampb7i317sava-gtest-1.12.1/lib:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/lib:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/lib:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/lib:/nix/store/visqvlbsdmhn1857qy6sc4paraqhysjs-jq-1.7.1-lib/lib:/nix/store/gww80rxm1kjql49xmn30194i452bl3wi-util-linux-minimal-2.39.2-lib/lib:/nix/store/afzhbj67dlamdb09239fgpxvqpy6pmm5-brotli-1.1.0-lib/lib:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/lib:/nix/store/vgyi91qjhkwca1rk3p0hyjn58kn0pdbr-nghttp2-1.57.0-lib/lib:/nix/store/775mjzivsdn2vpfz0xhfvpwy0dr1q5j1-libidn2-2.3.4/lib:/nix/store/1kyrna2yvlnfkbnfhd9rwgwpg4l0fs29-openssl-3.0.13/lib:/nix/store/73dnrmhi1xcdkyfclbg39d2vk8av5jjg-libssh2-1.11.0/lib:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/lib:/nix/store/liil7bhd0i4sb2fsfkcxpka56778p48s-curl-8.4.0/lib:/nix/store/1a41kvz28yk0k5ry58x3lj0s1yd2yrgm-bzip2-1.0.8/lib:/nix/store/vb3zvymi8jvjh014i6jf1c2hqgafs84y-xz-5.4.4/lib:/nix/store/ihnfyvkqz7wasng5sjpcgx5h1nq8pdpl-editline-1.17.1/lib:/nix/store/q5ah72n4sz5fadsr883waga7bw94xvxd-sqlite-3.43.2/lib:/nix/store/gj40jan5r7y6gcrgpqkx4ds8ks2s5n5f-attr-2.5.1/lib:/nix/store/1pc7v2ly04xmwj7qf99v0sqr0a402yvw-acl-2.3.1/lib:/nix/store/q3bplzz552ws4ibbch2i2x0h4vc4556c-libarchive-3.7.2-lib/lib:/nix/store/qg7jwx1ihwr3r822jal8qmgwx7sz3qbj-boost-1.81.0/lib:/nix/store/nj83fxss8xh2v30mqj8j7kz7hj5md6ck-lowdown-1.0.2-lib/lib:/nix/store/pys64r0frcv23z0jvc4w75ql0pg7aipv-libsodium-1.0.18/lib:/nix/store/qjzc37g18vbmmp2k24rdd15ii6r5vf1r-lix-doc/lib:/nix/store/qvvbqshaq2r08hz0gf9apcli4040gqqf-libseccomp-2.5.5-lib/lib:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/lib:/nix/store/63jzrrzsjswkdqb0mw17dw8dqnika1ng-aws-c-auth-0.7.0/lib:/nix/store/6j5rf26lh4zv005w1gk1rh9p0ydw8kfj-aws-c-sdkutils-0.1.12/lib:/nix/store/ixmjzlx8hs2kvf2n0am1br0gkph1cgnp-aws-c-cal-0.6.0/lib:/nix/store/ibndzqigb2fa5yyj43sfzm7i5l0hyi1k-aws-c-common-0.8.23/lib:/nix/store/n19hab1rcllppqkqiql8hv5arz9k8691-aws-c-compression-0.2.17/lib:/nix/store/jm7liign91ly9wmcwwxzidamcn7bc5yf-aws-c-event-stream-0.3.1/lib:/nix/store/n5z9578qb090blcyd33pbml1kgjlwp9c-aws-c-http-0.7.11/lib:/nix/store/zi7a0xdriszkl7bcrkajkbll5m066w80-aws-c-io-0.13.29/lib:/nix/store/p1pzrj5ix136xjm1gkn1dxm2c6306lr4-aws-c-mqtt-0.8.14/lib:/nix/store/al4p0cdw6al9v54hj4rk7g8aff5rfzza-aws-c-s3-0.3.13/lib:/nix/store/g7wgk5lqmnsgs1cns9z88fgh88z5akr2-aws-checksums-0.1.17/lib:/nix/store/9pxvky66za4r749gbbpl86jl2gdc0ghb-s2n-tls-1.3.56/lib:/nix/store/y7dx8qay6q6pq16bwdr3hpyhvscgyxyx-aws-crt-cpp-0.20.3/lib:/nix/store/d5crrhppdnz7xm107xkh2cgp234032ck-aws-sdk-cpp-1.11.118/lib:/nix/store/5m8n8dlgg1vgfb5lhwn989n97j9qwkm3-boehm-gc-8.2.2/lib:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/lib:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/lib:/nix/store/n4bn6swasahjkqn95vhn6j9x3a959hq3-llvm-16.0.6-lib/lib:/nix/store/pchfh0dw180q4h2pyvg1vl3mal4xlydj-clang-16.0.6-lib/lib:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/lib:/nix/store/13vcljclc56lm92i1rcampb7i317sava-gtest-1.12.1/lib:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/lib:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/lib:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/lib:/nix/store/visqvlbsdmhn1857qy6sc4paraqhysjs-jq-1.7.1-lib/lib:/nix/store/gww80rxm1kjql49xmn30194i452bl3wi-util-linux-minimal-2.39.2-lib/lib:/nix/store/afzhbj67dlamdb09239fgpxvqpy6pmm5-brotli-1.1.0-lib/lib:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/lib:/nix/store/vgyi91qjhkwca1rk3p0hyjn58kn0pdbr-nghttp2-1.57.0-lib/lib:/nix/store/775mjzivsdn2vpfz0xhfvpwy0dr1q5j1-libidn2-2.3.4/lib:/nix/store/1kyrna2yvlnfkbnfhd9rwgwpg4l0fs29-openssl-3.0.13/lib:/nix/store/73dnrmhi1xcdkyfclbg39d2vk8av5jjg-libssh2-1.11.0/lib:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/lib:/nix/store/liil7bhd0i4sb2fsfkcxpka56778p48s-curl-8.4.0/lib:/nix/store/1a41kvz28yk0k5ry58x3lj0s1yd2yrgm-bzip2-1.0.8/lib:/nix/store/vb3zvymi8jvjh014i6jf1c2hqgafs84y-xz-5.4.4/lib:/nix/store/ihnfyvkqz7wasng5sjpcgx5h1nq8pdpl-editline-1.17.1/lib:/nix/store/q5ah72n4sz5fadsr883waga7bw94xvxd-sqlite-3.43.2/lib:/nix/store/gj40jan5r7y6gcrgpqkx4ds8ks2s5n5f-attr-2.5.1/lib:/nix/store/1pc7v2ly04xmwj7qf99v0sqr0a402yvw-acl-2.3.1/lib:/nix/store/q3bplzz552ws4ibbch2i2x0h4vc4556c-libarchive-3.7.2-lib/lib:/nix/store/qg7jwx1ihwr3r822jal8qmgwx7sz3qbj-boost-1.81.0/lib:/nix/store/nj83fxss8xh2v30mqj8j7kz7hj5md6ck-lowdown-1.0.2-lib/lib:/nix/store/pys64r0frcv23z0jvc4w75ql0pg7aipv-libsodium-1.0.18/lib:/nix/store/qjzc37g18vbmmp2k24rdd15ii6r5vf1r-lix-doc/lib:/nix/store/qvvbqshaq2r08hz0gf9apcli4040gqqf-libseccomp-2.5.5-lib/lib:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/lib:/nix/store/63jzrrzsjswkdqb0mw17dw8dqnika1ng-aws-c-auth-0.7.0/lib:/nix/store/6j5rf26lh4zv005w1gk1rh9p0ydw8kfj-aws-c-sdkutils-0.1.12/lib:/nix/store/ixmjzlx8hs2kvf2n0am1br0gkph1cgnp-aws-c-cal-0.6.0/lib:/nix/store/ibndzqigb2fa5yyj43sfzm7i5l0hyi1k-aws-c-common-0.8.23/lib:/nix/store/n19hab1rcllppqkqiql8hv5arz9k8691-aws-c-compression-0.2.17/lib:/nix/store/jm7liign91ly9wmcwwxzidamcn7bc5yf-aws-c-event-stream-0.3.1/lib:/nix/store/n5z9578qb090blcyd33pbml1kgjlwp9c-aws-c-http-0.7.11/lib:/nix/store/zi7a0xdriszkl7bcrkajkbll5m066w80-aws-c-io-0.13.29/lib:/nix/store/p1pzrj5ix136xjm1gkn1dxm2c6306lr4-aws-c-mqtt-0.8.14/lib:/nix/store/al4p0cdw6al9v54hj4rk7g8aff5rfzza-aws-c-s3-0.3.13/lib:/nix/store/g7wgk5lqmnsgs1cns9z88fgh88z5akr2-aws-checksums-0.1.17/lib:/nix/store/9pxvky66za4r749gbbpl86jl2gdc0ghb-s2n-tls-1.3.56/lib:/nix/store/y7dx8qay6q6pq16bwdr3hpyhvscgyxyx-aws-crt-cpp-0.20.3/lib:/nix/store/d5crrhppdnz7xm107xkh2cgp234032ck-aws-sdk-cpp-1.11.118/lib:/nix/store/5m8n8dlgg1vgfb5lhwn989n97j9qwkm3-boehm-gc-8.2.2/lib
CMAKE_PREFIX_PATH=/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4:/nix/store/4ri27bck8rh5r589x92982nr7qy41s5m-zlib-1.3-dev:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3:/nix/store/n4bn6swasahjkqn95vhn6j9x3a959hq3-llvm-16.0.6-lib:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev:/nix/store/pchfh0dw180q4h2pyvg1vl3mal4xlydj-clang-16.0.6-lib:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8:/nix/store/1idap285j3zd7xy2qbr7010k45qdgfmn-python3.11-pyyaml-6.0.1:/nix/store/jjjnfpm4iifgg7vnv8indfmbkjz34hy0-python3.11-tomlkit-0.12.1:/nix/store/m2v8lja4ivd5sv5dsjxrxfpp17g09h3s-python3.11-xmltodict-0.13.0:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0:/nix/store/3b4i2cim6n103f6az55qggf6i3pgrpdg-python3.11-ruamel-yaml-0.17.32:/nix/store/cwdr7qrrjkxpc97y198bhql76pw3gb9w-python3.11-ruamel-base-1.0.0:/nix/store/3b63wfhdv04hchbin3n74gzqnm5vs9a3-python3.11-ruamel-yaml-clib-0.2.7:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0:/nix/store/ack833yak2zj90qma73swn76pwyc0q6v-gtest-1.12.1-dev:/nix/store/13vcljclc56lm92i1rcampb7i317sava-gtest-1.12.1:/nix/store/qj2076x57va9lh5z3b0ppk3lcym0dcky-rapidcheck-unstable-2023-12-14-dev:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2:/nix/store/9qrhj748awxn54dghamw7ajn988nw9gj-python3.11-fb-re2-1.0.7:/nix/store/wsmis784qgfsb5amgj1grrnfs65hysv1-jq-1.7.1-dev:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin:/nix/store/visqvlbsdmhn1857qy6sc4paraqhysjs-jq-1.7.1-lib:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0:/nix/store/qi8i2r3g9idbz93477r4qnxiwxrcdjvs-util-linux-minimal-2.39.2-dev:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin:/nix/store/gww80rxm1kjql49xmn30194i452bl3wi-util-linux-minimal-2.39.2-lib:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0:/nix/store/v1z5idckqpjs263pxvxmhfx5wxyybhjq-update-autotools-gnu-config-scripts-hook:/nix/store/4jsrz717k8f4d87j5s98qnkdmrrmi12m-compiler-rt-libc-16.0.6-dev:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev:/nix/store/lmlbxlixfx2bnskdhamm2cjm6skmkfci-brotli-1.1.0-dev:/nix/store/afzhbj67dlamdb09239fgpxvqpy6pmm5-brotli-1.1.0-lib:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2:/nix/store/gbjzl42ssv859gp5rjyahxk59mx3pbpr-nghttp2-1.57.0-dev:/nix/store/vgyi91qjhkwca1rk3p0hyjn58kn0pdbr-nghttp2-1.57.0-lib:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0:/nix/store/89xzi1k0xfh0nhbrzbhrzkrq9iww2nal-libidn2-2.3.4-dev:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin:/nix/store/775mjzivsdn2vpfz0xhfvpwy0dr1q5j1-libidn2-2.3.4:/nix/store/0miqcimcchp1wii109l2mppi30g4p529-openssl-3.0.13-dev:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin:/nix/store/1kyrna2yvlnfkbnfhd9rwgwpg4l0fs29-openssl-3.0.13:/nix/store/sxfj44gbdw2lq9vfvz125k2hp48180b4-libssh2-1.11.0-dev:/nix/store/73dnrmhi1xcdkyfclbg39d2vk8av5jjg-libssh2-1.11.0:/nix/store/4qln9xkgdwim355wsdlvyig68l9drvgq-zstd-1.5.5-dev:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin:/nix/store/liil7bhd0i4sb2fsfkcxpka56778p48s-curl-8.4.0:/nix/store/dhkhh3x9dril24li1av36j511ivpmg2k-bzip2-1.0.8-dev:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin:/nix/store/1a41kvz28yk0k5ry58x3lj0s1yd2yrgm-bzip2-1.0.8:/nix/store/322jpfv3b3jsvkl3xdgfp8rlg54dz0yf-xz-5.4.4-dev:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin:/nix/store/vb3zvymi8jvjh014i6jf1c2hqgafs84y-xz-5.4.4:/nix/store/nx2lqjms8xj0ywrgjgi3f6vc2wwbbz79-editline-1.17.1-dev:/nix/store/ihnfyvkqz7wasng5sjpcgx5h1nq8pdpl-editline-1.17.1:/nix/store/ry8943j0fnf1jzb0shrv45manlrgq6rh-sqlite-3.43.2-dev:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin:/nix/store/q5ah72n4sz5fadsr883waga7bw94xvxd-sqlite-3.43.2:/nix/store/mbq9bc32jd9n54h7v9p33l2inpzvpznk-libarchive-3.7.2-dev:/nix/store/sfgnsigmp2a7pqfncswqd1h8gj9pri5j-attr-2.5.1-dev:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin:/nix/store/gj40jan5r7y6gcrgpqkx4ds8ks2s5n5f-attr-2.5.1:/nix/store/7y6adf37i8bmqlsvnhjg2qy6wyz119ql-acl-2.3.1-dev:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin:/nix/store/1pc7v2ly04xmwj7qf99v0sqr0a402yvw-acl-2.3.1:/nix/store/q3bplzz552ws4ibbch2i2x0h4vc4556c-libarchive-3.7.2-lib:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2:/nix/store/644b90j1vms44nr18yw3520pzkrg4dd1-boost-1.81.0-dev:/nix/store/qg7jwx1ihwr3r822jal8qmgwx7sz3qbj-boost-1.81.0:/nix/store/wf8szdyv1wnsbz3y0nmm6648x960z3sp-lowdown-1.0.2-dev:/nix/store/nj83fxss8xh2v30mqj8j7kz7hj5md6ck-lowdown-1.0.2-lib:/nix/store/3z75acxkm1k94x38i92rzkawalbzvj3m-libsodium-1.0.18-dev:/nix/store/pys64r0frcv23z0jvc4w75ql0pg7aipv-libsodium-1.0.18:/nix/store/nbf535cddcnz0mjr3f4jcxqi32hzi7ja-toml11-3.7.1:/nix/store/qjzc37g18vbmmp2k24rdd15ii6r5vf1r-lix-doc:/nix/store/cvyvw1v0n8nxm3jqfm5y7c2gwpp46zdr-libseccomp-2.5.5-dev:/nix/store/qvvbqshaq2r08hz0gf9apcli4040gqqf-libseccomp-2.5.5-lib:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4:/nix/store/rgmlh76wdp98yjkwyz9c85sl18h1nrf3-aws-sdk-cpp-1.11.118-dev:/nix/store/qikfa3lqkfgdd87vp79vvn272bhn4yqp-aws-crt-cpp-0.20.3-dev:/nix/store/63jzrrzsjswkdqb0mw17dw8dqnika1ng-aws-c-auth-0.7.0:/nix/store/6j5rf26lh4zv005w1gk1rh9p0ydw8kfj-aws-c-sdkutils-0.1.12:/nix/store/ixmjzlx8hs2kvf2n0am1br0gkph1cgnp-aws-c-cal-0.6.0:/nix/store/ibndzqigb2fa5yyj43sfzm7i5l0hyi1k-aws-c-common-0.8.23:/nix/store/n19hab1rcllppqkqiql8hv5arz9k8691-aws-c-compression-0.2.17:/nix/store/jm7liign91ly9wmcwwxzidamcn7bc5yf-aws-c-event-stream-0.3.1:/nix/store/n5z9578qb090blcyd33pbml1kgjlwp9c-aws-c-http-0.7.11:/nix/store/zi7a0xdriszkl7bcrkajkbll5m066w80-aws-c-io-0.13.29:/nix/store/p1pzrj5ix136xjm1gkn1dxm2c6306lr4-aws-c-mqtt-0.8.14:/nix/store/al4p0cdw6al9v54hj4rk7g8aff5rfzza-aws-c-s3-0.3.13:/nix/store/g7wgk5lqmnsgs1cns9z88fgh88z5akr2-aws-checksums-0.1.17:/nix/store/gq7x6b3yprqnl0fwwam65s04ivww21iz-s2n-tls-1.3.56-dev:/nix/store/9pxvky66za4r749gbbpl86jl2gdc0ghb-s2n-tls-1.3.56:/nix/store/y7dx8qay6q6pq16bwdr3hpyhvscgyxyx-aws-crt-cpp-0.20.3:/nix/store/d5crrhppdnz7xm107xkh2cgp234032ck-aws-sdk-cpp-1.11.118:/nix/store/ry56yjm64dicf9f9wn8nphwxcw2prdnv-boehm-gc-8.2.2-dev:/nix/store/5m8n8dlgg1vgfb5lhwn989n97j9qwkm3-boehm-gc-8.2.2:/nix/store/gnvv3ffifrsnjqcs7qlkji1dzc1k8jx3-nlohmann_json-3.11.2
CONFIG_SHELL=/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash
CXX=clang++
DETERMINISTIC_BUILD=1
DIRSTACK=()
EUID=0
GROUPS=()
HOME=/tmp/nix-shell.MrxVR3/nix-test/bash-profile/test-home
HOSTNAME=a8e5c3e6f712
HOSTTYPE=x86_64
HOST_PATH=/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin
IFS=$' \t\n'
IMPURE_VAR1=foo
IMPURE_VAR2=bar
IN_NIX_SHELL=impure
LC_CTYPE=C.UTF-8
LD=ld
LOCALE_ARCHIVE=/nix/store/rfvxv3hjd9k42sahbgkirkd81fzblc86-glibc-locales-2.38-66/lib/locale/locale-archive
MACHTYPE=x86_64-pc-linux-gnu
MALLOC_PERTURB_=152
MANPATH=/tmp/nix-shell.MrxVR3/nix-test/bash-profile/test-home/.nix-profile/share/man:/lix-src/outputs/out/share/man:
MESON_BUILD_ROOT=/lix-src/build
NIX_BINTOOLS=/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40
NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu=1
NIX_BUILD_CORES=16
NIX_BUILD_SHELL=/bin/bash
NIX_BUILD_TOP=/tmp/nix-shell.MrxVR3
NIX_CC=/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6
NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu=1
NIX_CFLAGS_COMPILE=' -frandom-seed=65qxc66if2 -isystem /nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/include -isystem /nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/include -isystem /nix/store/4ri27bck8rh5r589x92982nr7qy41s5m-zlib-1.3-dev/include -isystem /nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/include -isystem /nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/include -isystem /nix/store/ack833yak2zj90qma73swn76pwyc0q6v-gtest-1.12.1-dev/include -isystem /nix/store/qj2076x57va9lh5z3b0ppk3lcym0dcky-rapidcheck-unstable-2023-12-14-dev/include -isystem /nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/include -isystem /nix/store/wsmis784qgfsb5amgj1grrnfs65hysv1-jq-1.7.1-dev/include -isystem /nix/store/qi8i2r3g9idbz93477r4qnxiwxrcdjvs-util-linux-minimal-2.39.2-dev/include -isystem /nix/store/4jsrz717k8f4d87j5s98qnkdmrrmi12m-compiler-rt-libc-16.0.6-dev/include -isystem /nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/include -isystem /nix/store/lmlbxlixfx2bnskdhamm2cjm6skmkfci-brotli-1.1.0-dev/include -isystem /nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/include -isystem /nix/store/gbjzl42ssv859gp5rjyahxk59mx3pbpr-nghttp2-1.57.0-dev/include -isystem /nix/store/89xzi1k0xfh0nhbrzbhrzkrq9iww2nal-libidn2-2.3.4-dev/include -isystem /nix/store/0miqcimcchp1wii109l2mppi30g4p529-openssl-3.0.13-dev/include -isystem /nix/store/sxfj44gbdw2lq9vfvz125k2hp48180b4-libssh2-1.11.0-dev/include -isystem /nix/store/4qln9xkgdwim355wsdlvyig68l9drvgq-zstd-1.5.5-dev/include -isystem /nix/store/dhkhh3x9dril24li1av36j511ivpmg2k-bzip2-1.0.8-dev/include -isystem /nix/store/322jpfv3b3jsvkl3xdgfp8rlg54dz0yf-xz-5.4.4-dev/include -isystem /nix/store/nx2lqjms8xj0ywrgjgi3f6vc2wwbbz79-editline-1.17.1-dev/include -isystem /nix/store/ry8943j0fnf1jzb0shrv45manlrgq6rh-sqlite-3.43.2-dev/include -isystem /nix/store/mbq9bc32jd9n54h7v9p33l2inpzvpznk-libarchive-3.7.2-dev/include -isystem /nix/store/sfgnsigmp2a7pqfncswqd1h8gj9pri5j-attr-2.5.1-dev/include -isystem /nix/store/7y6adf37i8bmqlsvnhjg2qy6wyz119ql-acl-2.3.1-dev/include -isystem /nix/store/644b90j1vms44nr18yw3520pzkrg4dd1-boost-1.81.0-dev/include -isystem /nix/store/wf8szdyv1wnsbz3y0nmm6648x960z3sp-lowdown-1.0.2-dev/include -isystem /nix/store/3z75acxkm1k94x38i92rzkawalbzvj3m-libsodium-1.0.18-dev/include -isystem /nix/store/nbf535cddcnz0mjr3f4jcxqi32hzi7ja-toml11-3.7.1/include -isystem /nix/store/cvyvw1v0n8nxm3jqfm5y7c2gwpp46zdr-libseccomp-2.5.5-dev/include -isystem /nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/include -isystem /nix/store/rgmlh76wdp98yjkwyz9c85sl18h1nrf3-aws-sdk-cpp-1.11.118-dev/include -isystem /nix/store/qikfa3lqkfgdd87vp79vvn272bhn4yqp-aws-crt-cpp-0.20.3-dev/include -isystem /nix/store/63jzrrzsjswkdqb0mw17dw8dqnika1ng-aws-c-auth-0.7.0/include -isystem /nix/store/6j5rf26lh4zv005w1gk1rh9p0ydw8kfj-aws-c-sdkutils-0.1.12/include -isystem /nix/store/ixmjzlx8hs2kvf2n0am1br0gkph1cgnp-aws-c-cal-0.6.0/include -isystem /nix/store/ibndzqigb2fa5yyj43sfzm7i5l0hyi1k-aws-c-common-0.8.23/include -isystem /nix/store/n19hab1rcllppqkqiql8hv5arz9k8691-aws-c-compression-0.2.17/include -isystem /nix/store/jm7liign91ly9wmcwwxzidamcn7bc5yf-aws-c-event-stream-0.3.1/include -isystem /nix/store/n5z9578qb090blcyd33pbml1kgjlwp9c-aws-c-http-0.7.11/include -isystem /nix/store/zi7a0xdriszkl7bcrkajkbll5m066w80-aws-c-io-0.13.29/include -isystem /nix/store/p1pzrj5ix136xjm1gkn1dxm2c6306lr4-aws-c-mqtt-0.8.14/include -isystem /nix/store/al4p0cdw6al9v54hj4rk7g8aff5rfzza-aws-c-s3-0.3.13/include -isystem /nix/store/g7wgk5lqmnsgs1cns9z88fgh88z5akr2-aws-checksums-0.1.17/include -isystem /nix/store/gq7x6b3yprqnl0fwwam65s04ivww21iz-s2n-tls-1.3.56-dev/include -isystem /nix/store/d5crrhppdnz7xm107xkh2cgp234032ck-aws-sdk-cpp-1.11.118/include -isystem /nix/store/ry56yjm64dicf9f9wn8nphwxcw2prdnv-boehm-gc-8.2.2-dev/include -isystem /nix/store/gnvv3ffifrsnjqcs7qlkji1dzc1k8jx3-nlohmann_json-3.11.2/include -isystem /nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/include -isystem /nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/include -isystem /nix/store/4ri27bck8rh5r589x92982nr7qy41s5m-zlib-1.3-dev/include -isystem /nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/include -isystem /nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/include -isystem /nix/store/ack833yak2zj90qma73swn76pwyc0q6v-gtest-1.12.1-dev/include -isystem /nix/store/qj2076x57va9lh5z3b0ppk3lcym0dcky-rapidcheck-unstable-2023-12-14-dev/include -isystem /nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/include -isystem /nix/store/wsmis784qgfsb5amgj1grrnfs65hysv1-jq-1.7.1-dev/include -isystem /nix/store/qi8i2r3g9idbz93477r4qnxiwxrcdjvs-util-linux-minimal-2.39.2-dev/include -isystem /nix/store/4jsrz717k8f4d87j5s98qnkdmrrmi12m-compiler-rt-libc-16.0.6-dev/include -isystem /nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/include -isystem /nix/store/lmlbxlixfx2bnskdhamm2cjm6skmkfci-brotli-1.1.0-dev/include -isystem /nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/include -isystem /nix/store/gbjzl42ssv859gp5rjyahxk59mx3pbpr-nghttp2-1.57.0-dev/include -isystem /nix/store/89xzi1k0xfh0nhbrzbhrzkrq9iww2nal-libidn2-2.3.4-dev/include -isystem /nix/store/0miqcimcchp1wii109l2mppi30g4p529-openssl-3.0.13-dev/include -isystem /nix/store/sxfj44gbdw2lq9vfvz125k2hp48180b4-libssh2-1.11.0-dev/include -isystem /nix/store/4qln9xkgdwim355wsdlvyig68l9drvgq-zstd-1.5.5-dev/include -isystem /nix/store/dhkhh3x9dril24li1av36j511ivpmg2k-bzip2-1.0.8-dev/include -isystem /nix/store/322jpfv3b3jsvkl3xdgfp8rlg54dz0yf-xz-5.4.4-dev/include -isystem /nix/store/nx2lqjms8xj0ywrgjgi3f6vc2wwbbz79-editline-1.17.1-dev/include -isystem /nix/store/ry8943j0fnf1jzb0shrv45manlrgq6rh-sqlite-3.43.2-dev/include -isystem /nix/store/mbq9bc32jd9n54h7v9p33l2inpzvpznk-libarchive-3.7.2-dev/include -isystem /nix/store/sfgnsigmp2a7pqfncswqd1h8gj9pri5j-attr-2.5.1-dev/include -isystem /nix/store/7y6adf37i8bmqlsvnhjg2qy6wyz119ql-acl-2.3.1-dev/include -isystem /nix/store/644b90j1vms44nr18yw3520pzkrg4dd1-boost-1.81.0-dev/include -isystem /nix/store/wf8szdyv1wnsbz3y0nmm6648x960z3sp-lowdown-1.0.2-dev/include -isystem /nix/store/3z75acxkm1k94x38i92rzkawalbzvj3m-libsodium-1.0.18-dev/include -isystem /nix/store/nbf535cddcnz0mjr3f4jcxqi32hzi7ja-toml11-3.7.1/include -isystem /nix/store/cvyvw1v0n8nxm3jqfm5y7c2gwpp46zdr-libseccomp-2.5.5-dev/include -isystem /nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/include -isystem /nix/store/rgmlh76wdp98yjkwyz9c85sl18h1nrf3-aws-sdk-cpp-1.11.118-dev/include -isystem /nix/store/qikfa3lqkfgdd87vp79vvn272bhn4yqp-aws-crt-cpp-0.20.3-dev/include -isystem /nix/store/63jzrrzsjswkdqb0mw17dw8dqnika1ng-aws-c-auth-0.7.0/include -isystem /nix/store/6j5rf26lh4zv005w1gk1rh9p0ydw8kfj-aws-c-sdkutils-0.1.12/include -isystem /nix/store/ixmjzlx8hs2kvf2n0am1br0gkph1cgnp-aws-c-cal-0.6.0/include -isystem /nix/store/ibndzqigb2fa5yyj43sfzm7i5l0hyi1k-aws-c-common-0.8.23/include -isystem /nix/store/n19hab1rcllppqkqiql8hv5arz9k8691-aws-c-compression-0.2.17/include -isystem /nix/store/jm7liign91ly9wmcwwxzidamcn7bc5yf-aws-c-event-stream-0.3.1/include -isystem /nix/store/n5z9578qb090blcyd33pbml1kgjlwp9c-aws-c-http-0.7.11/include -isystem /nix/store/zi7a0xdriszkl7bcrkajkbll5m066w80-aws-c-io-0.13.29/include -isystem /nix/store/p1pzrj5ix136xjm1gkn1dxm2c6306lr4-aws-c-mqtt-0.8.14/include -isystem /nix/store/al4p0cdw6al9v54hj4rk7g8aff5rfzza-aws-c-s3-0.3.13/include -isystem /nix/store/g7wgk5lqmnsgs1cns9z88fgh88z5akr2-aws-checksums-0.1.17/include -isystem /nix/store/gq7x6b3yprqnl0fwwam65s04ivww21iz-s2n-tls-1.3.56-dev/include -isystem /nix/store/d5crrhppdnz7xm107xkh2cgp234032ck-aws-sdk-cpp-1.11.118/include -isystem /nix/store/ry56yjm64dicf9f9wn8nphwxcw2prdnv-boehm-gc-8.2.2-dev/include -isystem /nix/store/gnvv3ffifrsnjqcs7qlkji1dzc1k8jx3-nlohmann_json-3.11.2/include'
NIX_CONF_DIR=/tmp/nix-shell.MrxVR3/nix-test/bash-profile/etc
NIX_DAEMON_SOCKET_PATH=/tmp/nix-shell.MrxVR3/nix-test/bash-profile/dSocket
NIX_ENFORCE_NO_NATIVE=1
NIX_GCROOT=/nix/store/65qxc66if2pkyrw44ynfv7ajnd0448xz-nix-shell-env
NIX_HARDENING_ENABLE='fortify fortify3 stackprotector pic strictoverflow format relro bindnow'
NIX_LDFLAGS='-rpath /lix-src/outputs/out/lib -L/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/lib -L/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/lib -L/nix/store/n4bn6swasahjkqn95vhn6j9x3a959hq3-llvm-16.0.6-lib/lib -L/nix/store/pchfh0dw180q4h2pyvg1vl3mal4xlydj-clang-16.0.6-lib/lib -L/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/lib -L/nix/store/13vcljclc56lm92i1rcampb7i317sava-gtest-1.12.1/lib -L/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/lib -L/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/lib -L/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/lib -L/nix/store/visqvlbsdmhn1857qy6sc4paraqhysjs-jq-1.7.1-lib/lib -L/nix/store/gww80rxm1kjql49xmn30194i452bl3wi-util-linux-minimal-2.39.2-lib/lib -L/nix/store/afzhbj67dlamdb09239fgpxvqpy6pmm5-brotli-1.1.0-lib/lib -L/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/lib -L/nix/store/vgyi91qjhkwca1rk3p0hyjn58kn0pdbr-nghttp2-1.57.0-lib/lib -L/nix/store/775mjzivsdn2vpfz0xhfvpwy0dr1q5j1-libidn2-2.3.4/lib -L/nix/store/1kyrna2yvlnfkbnfhd9rwgwpg4l0fs29-openssl-3.0.13/lib -L/nix/store/73dnrmhi1xcdkyfclbg39d2vk8av5jjg-libssh2-1.11.0/lib -L/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/lib -L/nix/store/liil7bhd0i4sb2fsfkcxpka56778p48s-curl-8.4.0/lib -L/nix/store/1a41kvz28yk0k5ry58x3lj0s1yd2yrgm-bzip2-1.0.8/lib -L/nix/store/vb3zvymi8jvjh014i6jf1c2hqgafs84y-xz-5.4.4/lib -L/nix/store/ihnfyvkqz7wasng5sjpcgx5h1nq8pdpl-editline-1.17.1/lib -L/nix/store/q5ah72n4sz5fadsr883waga7bw94xvxd-sqlite-3.43.2/lib -L/nix/store/gj40jan5r7y6gcrgpqkx4ds8ks2s5n5f-attr-2.5.1/lib -L/nix/store/1pc7v2ly04xmwj7qf99v0sqr0a402yvw-acl-2.3.1/lib -L/nix/store/q3bplzz552ws4ibbch2i2x0h4vc4556c-libarchive-3.7.2-lib/lib -L/nix/store/qg7jwx1ihwr3r822jal8qmgwx7sz3qbj-boost-1.81.0/lib -L/nix/store/nj83fxss8xh2v30mqj8j7kz7hj5md6ck-lowdown-1.0.2-lib/lib -L/nix/store/pys64r0frcv23z0jvc4w75ql0pg7aipv-libsodium-1.0.18/lib -L/nix/store/qjzc37g18vbmmp2k24rdd15ii6r5vf1r-lix-doc/lib -L/nix/store/qvvbqshaq2r08hz0gf9apcli4040gqqf-libseccomp-2.5.5-lib/lib -L/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/lib -L/nix/store/63jzrrzsjswkdqb0mw17dw8dqnika1ng-aws-c-auth-0.7.0/lib -L/nix/store/6j5rf26lh4zv005w1gk1rh9p0ydw8kfj-aws-c-sdkutils-0.1.12/lib -L/nix/store/ixmjzlx8hs2kvf2n0am1br0gkph1cgnp-aws-c-cal-0.6.0/lib -L/nix/store/ibndzqigb2fa5yyj43sfzm7i5l0hyi1k-aws-c-common-0.8.23/lib -L/nix/store/n19hab1rcllppqkqiql8hv5arz9k8691-aws-c-compression-0.2.17/lib -L/nix/store/jm7liign91ly9wmcwwxzidamcn7bc5yf-aws-c-event-stream-0.3.1/lib -L/nix/store/n5z9578qb090blcyd33pbml1kgjlwp9c-aws-c-http-0.7.11/lib -L/nix/store/zi7a0xdriszkl7bcrkajkbll5m066w80-aws-c-io-0.13.29/lib -L/nix/store/p1pzrj5ix136xjm1gkn1dxm2c6306lr4-aws-c-mqtt-0.8.14/lib -L/nix/store/al4p0cdw6al9v54hj4rk7g8aff5rfzza-aws-c-s3-0.3.13/lib -L/nix/store/g7wgk5lqmnsgs1cns9z88fgh88z5akr2-aws-checksums-0.1.17/lib -L/nix/store/9pxvky66za4r749gbbpl86jl2gdc0ghb-s2n-tls-1.3.56/lib -L/nix/store/y7dx8qay6q6pq16bwdr3hpyhvscgyxyx-aws-crt-cpp-0.20.3/lib -L/nix/store/d5crrhppdnz7xm107xkh2cgp234032ck-aws-sdk-cpp-1.11.118/lib -L/nix/store/5m8n8dlgg1vgfb5lhwn989n97j9qwkm3-boehm-gc-8.2.2/lib -L/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/lib -L/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/lib -L/nix/store/n4bn6swasahjkqn95vhn6j9x3a959hq3-llvm-16.0.6-lib/lib -L/nix/store/pchfh0dw180q4h2pyvg1vl3mal4xlydj-clang-16.0.6-lib/lib -L/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/lib -L/nix/store/13vcljclc56lm92i1rcampb7i317sava-gtest-1.12.1/lib -L/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/lib -L/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/lib -L/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/lib -L/nix/store/visqvlbsdmhn1857qy6sc4paraqhysjs-jq-1.7.1-lib/lib -L/nix/store/gww80rxm1kjql49xmn30194i452bl3wi-util-linux-minimal-2.39.2-lib/lib -L/nix/store/afzhbj67dlamdb09239fgpxvqpy6pmm5-brotli-1.1.0-lib/lib -L/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/lib -L/nix/store/vgyi91qjhkwca1rk3p0hyjn58kn0pdbr-nghttp2-1.57.0-lib/lib -L/nix/store/775mjzivsdn2vpfz0xhfvpwy0dr1q5j1-libidn2-2.3.4/lib -L/nix/store/1kyrna2yvlnfkbnfhd9rwgwpg4l0fs29-openssl-3.0.13/lib -L/nix/store/73dnrmhi1xcdkyfclbg39d2vk8av5jjg-libssh2-1.11.0/lib -L/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/lib -L/nix/store/liil7bhd0i4sb2fsfkcxpka56778p48s-curl-8.4.0/lib -L/nix/store/1a41kvz28yk0k5ry58x3lj0s1yd2yrgm-bzip2-1.0.8/lib -L/nix/store/vb3zvymi8jvjh014i6jf1c2hqgafs84y-xz-5.4.4/lib -L/nix/store/ihnfyvkqz7wasng5sjpcgx5h1nq8pdpl-editline-1.17.1/lib -L/nix/store/q5ah72n4sz5fadsr883waga7bw94xvxd-sqlite-3.43.2/lib -L/nix/store/gj40jan5r7y6gcrgpqkx4ds8ks2s5n5f-attr-2.5.1/lib -L/nix/store/1pc7v2ly04xmwj7qf99v0sqr0a402yvw-acl-2.3.1/lib -L/nix/store/q3bplzz552ws4ibbch2i2x0h4vc4556c-libarchive-3.7.2-lib/lib -L/nix/store/qg7jwx1ihwr3r822jal8qmgwx7sz3qbj-boost-1.81.0/lib -L/nix/store/nj83fxss8xh2v30mqj8j7kz7hj5md6ck-lowdown-1.0.2-lib/lib -L/nix/store/pys64r0frcv23z0jvc4w75ql0pg7aipv-libsodium-1.0.18/lib -L/nix/store/qjzc37g18vbmmp2k24rdd15ii6r5vf1r-lix-doc/lib -L/nix/store/qvvbqshaq2r08hz0gf9apcli4040gqqf-libseccomp-2.5.5-lib/lib -L/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/lib -L/nix/store/63jzrrzsjswkdqb0mw17dw8dqnika1ng-aws-c-auth-0.7.0/lib -L/nix/store/6j5rf26lh4zv005w1gk1rh9p0ydw8kfj-aws-c-sdkutils-0.1.12/lib -L/nix/store/ixmjzlx8hs2kvf2n0am1br0gkph1cgnp-aws-c-cal-0.6.0/lib -L/nix/store/ibndzqigb2fa5yyj43sfzm7i5l0hyi1k-aws-c-common-0.8.23/lib -L/nix/store/n19hab1rcllppqkqiql8hv5arz9k8691-aws-c-compression-0.2.17/lib -L/nix/store/jm7liign91ly9wmcwwxzidamcn7bc5yf-aws-c-event-stream-0.3.1/lib -L/nix/store/n5z9578qb090blcyd33pbml1kgjlwp9c-aws-c-http-0.7.11/lib -L/nix/store/zi7a0xdriszkl7bcrkajkbll5m066w80-aws-c-io-0.13.29/lib -L/nix/store/p1pzrj5ix136xjm1gkn1dxm2c6306lr4-aws-c-mqtt-0.8.14/lib -L/nix/store/al4p0cdw6al9v54hj4rk7g8aff5rfzza-aws-c-s3-0.3.13/lib -L/nix/store/g7wgk5lqmnsgs1cns9z88fgh88z5akr2-aws-checksums-0.1.17/lib -L/nix/store/9pxvky66za4r749gbbpl86jl2gdc0ghb-s2n-tls-1.3.56/lib -L/nix/store/y7dx8qay6q6pq16bwdr3hpyhvscgyxyx-aws-crt-cpp-0.20.3/lib -L/nix/store/d5crrhppdnz7xm107xkh2cgp234032ck-aws-sdk-cpp-1.11.118/lib -L/nix/store/5m8n8dlgg1vgfb5lhwn989n97j9qwkm3-boehm-gc-8.2.2/lib'
NIX_LOCALSTATE_DIR=/tmp/nix-shell.MrxVR3/nix-test/bash-profile/var
NIX_LOG_DIR=/tmp/nix-shell.MrxVR3/nix-test/bash-profile/var/log/nix
NIX_PKG_CONFIG_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu=1
NIX_PROFILES='/tmp/nix-shell.MrxVR3/nix-test/bash-profile/profile-var/nix/profiles/default /tmp/nix-shell.MrxVR3/nix-test/bash-profile/test-home/.nix-profile'
NIX_REMOTE=
NIX_SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt
NIX_STATE_DIR=/tmp/nix-shell.MrxVR3/nix-test/bash-profile/var/nix
NIX_STORE=/nix/store
NIX_STORE_DIR=/tmp/nix-shell.MrxVR3/nix-test/bash-profile/store
NM=nm
OBJCOPY=objcopy
OBJDUMP=objdump
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PAGER=cat
PATH=/tmp/nix-shell.MrxVR3/nix-test/bash-profile/test-home/.nix-profile/bin:/lix-src/outputs/out/bin:/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:/lix-src/outputs/out/bin:/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6/bin:/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/bin:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/bin:/nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6/bin:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/bin:/nix/store/cww3k56xakjzf71wjc4jwcj7r95m97a1-glibc-2.38-66-bin/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/v63b9w52lgcmv6nf9yccamf8765b4wsg-binutils-wrapper-2.40/bin:/nix/store/01bi48ga8vzbz4zgh7g3bsl620cj27kj-binutils-2.40/bin:/nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev/bin:/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/bin:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/bin:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/bin:/nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev/bin:/nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3/bin:/nix/store/pkm98g8819cah3fi8g3vp3kib1hl6qcv-python3.11-argcomplete-3.1.6/bin:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/bin:/nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0/bin:/nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers/bin:/nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes/bin:/nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt/bin:/nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0/bin:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/bin:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/bin:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/bin:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/bin:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/bin:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/bin:/nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2/bin:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/bin:/nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7/bin:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/bin:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin:/nix/store/k6cz2bwbzkp73awma1cq0lmncj93970i-jq-1.7.1-bin/bin:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/bin:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/bin:/nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7/bin:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/bin:/nix/store/cz3zl197ab5mn448fhhmy58dml2adb57-compiler-rt-libc-16.0.6/bin:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/bin:/nix/store/khz7h5p6imh94p2fhaczjj4m5r4k6k0f-brotli-1.1.0/bin:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/bin:/nix/store/0lvxa4gry4s7mib83xxnw1pybczkh5yb-libkrb5-1.20.2/bin:/nix/store/myhj9piniirxa4fkbw9faxbz5vif2ld7-nghttp2-1.57.0/bin:/nix/store/xsf70lmbcmw2chap1k2xdkmygv6flkig-libidn2-2.3.4-bin/bin:/nix/store/6jy756l9kdz0ifdwnrhn50rbr2c3g08h-openssl-3.0.13-bin/bin:/nix/store/4pwf1390wk1h4hs7yck9z576kwqvimld-zstd-1.5.5-bin/bin:/nix/store/l2dx7ck8z5rbagzzac0h90srrm7gi1na-zstd-1.5.5/bin:/nix/store/0hhx1g2m9disccjzz1gyymn310zm1x8q-curl-8.4.0-bin/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/48x6bg04c5br5f12r4gh1vk82np859qx-sqlite-3.43.2-bin/bin:/nix/store/8prn6n4cmhcm03qk64v7kvahz3iqs8xi-attr-2.5.1-bin/bin:/nix/store/pxj0q8581qzhf2b4z9ih1fh83vaf0l5f-acl-2.3.1-bin/bin:/nix/store/30ggnhnl4y18xr9l3alzbc1b051ryv6h-libarchive-3.7.2/bin:/nix/store/k9g47b5d5nrvm7xrmcbyp4ii2fa9y0pf-libseccomp-2.5.5/bin:/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/bin:/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin:/nix/store/grxhyjp838kk88vx0bykqflq0sis6i17-findutils-4.9.0/bin:/nix/store/n7vyjacjcdnc6mqcfj2wdgq7ks65pbyc-diffutils-3.10/bin:/nix/store/w69q832hyxlriwa9vvcj076443yvpfwm-gnused-4.9/bin:/nix/store/xwl5rw38d5jf0qwgwiwz3whdb35ijcx2-gnugrep-3.11/bin:/nix/store/q82gsqwih1xj4mhgl2nkqr66x227gn6y-gawk-5.2.2/bin:/nix/store/3x3kvc7iiisi3zap4q2gwh3vplg897n1-gnutar-1.35/bin:/nix/store/yv73dcxw00dqrirwlnqdnyv47l46hbn1-gzip-1.13/bin:/nix/store/qa5d9czm469ci4416a9qhswfjp9cfa85-bzip2-1.0.8-bin/bin:/nix/store/wnyzkpp94dg9s4iky7pd5lrx5x4blq2s-gnumake-4.4.1/bin:/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin:/nix/store/5gk0b7j68pjh1m3xddkqy8a9v2ky8mcl-patch-2.7.6/bin:/nix/store/3vyv1www60lc5v0s2w0dni06y071bv62-xz-5.4.4-bin/bin:/nix/store/my4dqv1w8pd9nsibl2cz2dkqwpayy22l-file-5.45/bin:/tools:/bin
PIPESTATUS=([0]="0")
PKG_CONFIG=pkg-config
PKG_CONFIG_PATH=/nix/store/s5lxfiym8i8ab3br71g7ax58alv6phfk-ncurses-6.4-dev/lib/pkgconfig:/nix/store/4ri27bck8rh5r589x92982nr7qy41s5m-zlib-1.3-dev/lib/pkgconfig:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/lib/pkgconfig:/nix/store/ack833yak2zj90qma73swn76pwyc0q6v-gtest-1.12.1-dev/lib/pkgconfig:/nix/store/qj2076x57va9lh5z3b0ppk3lcym0dcky-rapidcheck-unstable-2023-12-14-dev/lib/pkgconfig:/nix/store/wsmis784qgfsb5amgj1grrnfs65hysv1-jq-1.7.1-dev/lib/pkgconfig:/nix/store/qi8i2r3g9idbz93477r4qnxiwxrcdjvs-util-linux-minimal-2.39.2-dev/lib/pkgconfig:/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev/lib/pkgconfig:/nix/store/lmlbxlixfx2bnskdhamm2cjm6skmkfci-brotli-1.1.0-dev/lib/pkgconfig:/nix/store/maxih00an4mr1qgymjbvz76jjx9aa3gh-libkrb5-1.20.2-dev/lib/pkgconfig:/nix/store/gbjzl42ssv859gp5rjyahxk59mx3pbpr-nghttp2-1.57.0-dev/lib/pkgconfig:/nix/store/89xzi1k0xfh0nhbrzbhrzkrq9iww2nal-libidn2-2.3.4-dev/lib/pkgconfig:/nix/store/0miqcimcchp1wii109l2mppi30g4p529-openssl-3.0.13-dev/lib/pkgconfig:/nix/store/sxfj44gbdw2lq9vfvz125k2hp48180b4-libssh2-1.11.0-dev/lib/pkgconfig:/nix/store/4qln9xkgdwim355wsdlvyig68l9drvgq-zstd-1.5.5-dev/lib/pkgconfig:/nix/store/dhkhh3x9dril24li1av36j511ivpmg2k-bzip2-1.0.8-dev/lib/pkgconfig:/nix/store/322jpfv3b3jsvkl3xdgfp8rlg54dz0yf-xz-5.4.4-dev/lib/pkgconfig:/nix/store/nx2lqjms8xj0ywrgjgi3f6vc2wwbbz79-editline-1.17.1-dev/lib/pkgconfig:/nix/store/ry8943j0fnf1jzb0shrv45manlrgq6rh-sqlite-3.43.2-dev/lib/pkgconfig:/nix/store/mbq9bc32jd9n54h7v9p33l2inpzvpznk-libarchive-3.7.2-dev/lib/pkgconfig:/nix/store/sfgnsigmp2a7pqfncswqd1h8gj9pri5j-attr-2.5.1-dev/lib/pkgconfig:/nix/store/7y6adf37i8bmqlsvnhjg2qy6wyz119ql-acl-2.3.1-dev/lib/pkgconfig:/nix/store/wf8szdyv1wnsbz3y0nmm6648x960z3sp-lowdown-1.0.2-dev/lib/pkgconfig:/nix/store/3z75acxkm1k94x38i92rzkawalbzvj3m-libsodium-1.0.18-dev/lib/pkgconfig:/nix/store/cvyvw1v0n8nxm3jqfm5y7c2gwpp46zdr-libseccomp-2.5.5-dev/lib/pkgconfig:/nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4/lib/pkgconfig:/nix/store/rgmlh76wdp98yjkwyz9c85sl18h1nrf3-aws-sdk-cpp-1.11.118-dev/lib/pkgconfig:/nix/store/ry56yjm64dicf9f9wn8nphwxcw2prdnv-boehm-gc-8.2.2-dev/lib/pkgconfig:/nix/store/gnvv3ffifrsnjqcs7qlkji1dzc1k8jx3-nlohmann_json-3.11.2/share/pkgconfig
PPID=39034
PS4='+ '
PWD=/lix-src/build/tests/functional
PYTHONHASHSEED=0
PYTHONNOUSERSITE=1
RANLIB=ranlib
READELF=readelf
SHELL=/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash
SHELLOPTS=braceexpand:errexit:hashall:interactive-comments
SHLVL=5
SIZE=size
SOURCE_DATE_EPOCH=315532800
SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt
STRINGS=strings
STRIP=strip
TEMP=/tmp/nix-shell.MrxVR3
TEMPDIR=/tmp/nix-shell.MrxVR3
TERM=xterm
TEST_HOME=/tmp/nix-shell.MrxVR3/nix-test/bash-profile/test-home
TEST_NAME=bash-profile
TEST_ROOT=/tmp/nix-shell.MrxVR3/nix-test/bash-profile
TMP=/tmp/nix-shell.MrxVR3
TMPDIR=/tmp/nix-shell.MrxVR3
UID=0
USER=root
XDG_DATA_DIRS=/nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2/share:/nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14/share:/nix/store/znz0yrnzmfz6can2kng3anp5gkjrwf0y-ncurses-6.4/share:/nix/store/iz05mrzi4g4kaml85lx6sp97f5fxd8fq-zlib-1.3/share:/nix/store/00wv74d8lwpyfglv7s2809ws13wm1dwa-llvm-16.0.6/share:/nix/store/4rq7fgd1qzpsc3r61kaaf802ai72fj2k-clang-16.0.6/share:/nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8/share:/nix/store/mdfh46rxan644ysplp306fz4ng7im99g-rapidcheck-unstable-2023-12-14/share:/nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2/share:/nix/store/acwkp9xiw3vb9l5rxdcfxizzj3a594js-gnum4-1.4.19/share:/nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4/share:/nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3/share:/nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1/share:/nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7/share:/nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37/share:/nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2/share:/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/share:/nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/share:/nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0/share:/nix/store/6qq435kk9hp9vmlv8qjbq8jy2qzm5m6d-util-linux-minimal-2.39.2-bin/share:/nix/store/556d870m1xjnym3jnsp9bvjgph4cclrj-patchelf-0.15.0/share:/lix-src/outputs/out/share:/tmp/nix-shell.MrxVR3/nix-test/bash-profile/test-home/.nix-profile/share:/nix/var/nix/profiles/default/share
_=/tmp/nix-shell.MrxVR3/nix-test/bash-profile/nix-profile.sh
_NIX_IN_TEST=/tmp/nix-shell.MrxVR3/nix-test/bash-profile/shared
_NIX_TEST_NO_SANDBOX=1
_NIX_TEST_SHARED=/tmp/nix-shell.MrxVR3/nix-test/bash-profile/shared
_PYTHON_HOST_PLATFORM=linux-x86_64
_PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__linux_x86_64-linux-gnu
__structuredAttrs=
buildInputs='/nix/store/9jl52cn6xfsry5984ny2p2h47ncksbj6-curl-8.4.0-dev /nix/store/dhkhh3x9dril24li1av36j511ivpmg2k-bzip2-1.0.8-dev /nix/store/322jpfv3b3jsvkl3xdgfp8rlg54dz0yf-xz-5.4.4-dev /nix/store/lmlbxlixfx2bnskdhamm2cjm6skmkfci-brotli-1.1.0-dev /nix/store/nx2lqjms8xj0ywrgjgi3f6vc2wwbbz79-editline-1.17.1-dev /nix/store/0miqcimcchp1wii109l2mppi30g4p529-openssl-3.0.13-dev /nix/store/ry8943j0fnf1jzb0shrv45manlrgq6rh-sqlite-3.43.2-dev /nix/store/mbq9bc32jd9n54h7v9p33l2inpzvpznk-libarchive-3.7.2-dev /nix/store/644b90j1vms44nr18yw3520pzkrg4dd1-boost-1.81.0-dev /nix/store/wf8szdyv1wnsbz3y0nmm6648x960z3sp-lowdown-1.0.2-dev /nix/store/3z75acxkm1k94x38i92rzkawalbzvj3m-libsodium-1.0.18-dev /nix/store/nbf535cddcnz0mjr3f4jcxqi32hzi7ja-toml11-3.7.1 /nix/store/qjzc37g18vbmmp2k24rdd15ii6r5vf1r-lix-doc /nix/store/cvyvw1v0n8nxm3jqfm5y7c2gwpp46zdr-libseccomp-2.5.5-dev /nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1 /nix/store/qj2076x57va9lh5z3b0ppk3lcym0dcky-rapidcheck-unstable-2023-12-14-dev /nix/store/0brl43yi3q2bpdslkx224acg7x4cl87p-libcpuid-0.6.4 /nix/store/rgmlh76wdp98yjkwyz9c85sl18h1nrf3-aws-sdk-cpp-1.11.118-dev'
buildPhase=$'{ echo "------------------------------------------------------------";\n echo " WARNING: the existence of this path is not guaranteed.";\n echo " It is an internal implementation detail for pkgs.mkShell.";\n echo "------------------------------------------------------------";\n echo;\n # Record all build inputs as runtime dependencies\n export;\n} >> "$out"\n'
builder=/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash
busybox=/nix/store/svsnsvyz3h7vxkcssalms7c5y4pq5n5h-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox
cmakeFlags='-DCMAKE_MODULE_PATH=/nix/store/ibndzqigb2fa5yyj43sfzm7i5l0hyi1k-aws-c-common-0.8.23/lib/cmake '
configureFlags=
container=podman
depsBuildBuild=
depsBuildBuildPropagated=
depsBuildTarget=
depsBuildTargetPropagated=
depsHostHost=
depsHostHostPropagated=
depsTargetTarget=
depsTargetTargetPropagated=
doCheck=
doInstallCheck=
dontAddDisableDepTrack=1
dot=
mesonFlags=
name=nix-shell-env
nativeBuildInputs='/nix/store/3w2r4wyxh0lyl45piba6jqilmz4psfpd-clang-tools-16.0.6 /nix/store/arjjwz9j8dq053p4qzmjj1vgxcbsn70v-just-1.25.2 /nix/store/skdgcbzf0dkld5zkwwz7xa1mqsvg7w8h-nixfmt-0.6.0-unstable-2024-03-14 /nix/store/ll53qmb213ixf5d7lyblqad5bwrxcwn5-clang-wrapper-16.0.6 /nix/store/xapfxcxxp5n0jjdl8ppnjiy951hdg7gh-llvm-16.0.6-dev /nix/store/lgqk7bxy2abfmlzawcvvcy30s313hz3i-clang-16.0.6-dev /nix/store/8n8xkd4ifckfdm7w3wgblggzbm1bsb9w-python3.11-yq-3.2.3 /nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0 /nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0 /nix/store/gh87rxjimlnf2101i4gy50fvd0r3cg18-check-headers /nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0 /nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0 /nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0 /nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0 /nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0 /nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0 /nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes /nix/store/swlvaw5mg23jx1rkik4rs9xz8d5ypf6a-treefmt /nix/store/rysdp00krvydn5zkmfdpw2xhjrscn8fc-python3.11-pre-commit-hooks-4.5.0 /nix/store/if54jj8zrmss5pw3cflqgxnfmsa24sw0-clangbuildanalyzer-1.5.0 /nix/store/ack833yak2zj90qma73swn76pwyc0q6v-gtest-1.12.1-dev /nix/store/qj2076x57va9lh5z3b0ppk3lcym0dcky-rapidcheck-unstable-2023-12-14-dev /nix/store/8gz0pq716bb8yyr4c40k4ny6cfbr0py5-bison-3.8.2 /nix/store/a87wmbz8bmy2s9a6yvfmryf9nhr0b2bv-flex-2.6.4 /nix/store/y0v7086iqc3gwir0vf67jwy31aqk3zpx-python3-3.11.8 /nix/store/nyjcsk1mgffdm5h5mwhyrxd63x0dps3q-meson-1.2.3 /nix/store/phs9ccplf5a6216cdh1827gvp2vrhrci-ninja-1.11.1 /nix/store/g84xzgbaf74alskp78qcf7ia32yvxhi8-cmake-3.27.7 /nix/store/km9zas6b5hjys7rdgnq5k5d5z45chxyb-lowdown-1.0.2 /nix/store/n5dyk4xn8rhaa1jryhqx62zvm6byxjqx-mdbook-0.4.37 /nix/store/3qvr1q1mw3g6p7z4b186953krbb44ykx-mdbook-linkcheck-0.7.7 /nix/store/hg335zwdngcmyndhkzk42aaj3s5dx5n5-pkg-config-wrapper-0.29.2 /nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0 /nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2 /nix/store/wsmis784qgfsb5amgj1grrnfs65hysv1-jq-1.7.1-dev /nix/store/7v4lirfarm845ggqfjs92jy5bn5gcnpf-lsof-4.98.0 /nix/store/qi8i2r3g9idbz93477r4qnxiwxrcdjvs-util-linux-minimal-2.39.2-dev /nix/store/ysslpa7nyi3lqqpa62x6jk5hw7iygwxw-build-release-notes /nix/store/y8xqrn0g3m8mgimhrxf30gxnq86g95n0-doxygen-1.9.7'
out=/lix-src/outputs/out
outputs=out
patches=
phases=buildPhase
preferLocalBuild=1
propagatedBuildInputs='/nix/store/ry56yjm64dicf9f9wn8nphwxcw2prdnv-boehm-gc-8.2.2-dev /nix/store/gnvv3ffifrsnjqcs7qlkji1dzc1k8jx3-nlohmann_json-3.11.2'
propagatedNativeBuildInputs=
shell=/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash
shellHook=$'PATH=$prefix/bin:$PATH\nunset PYTHONPATH\nexport MANPATH=$out/share/man:$MANPATH\n\n# Make bash completion work.\nXDG_DATA_DIRS+=:$out/share\n\nexport PATH=/nix/store/v1rn16ml2zikhxpd2yld8pdib362z1kr-pre-commit-3.3.3/bin:$PATH\nif ! type -t git >/dev/null; then\n # This happens in pure shells, including lorri\n echo 1>&2 "WARNING: pre-commit-hooks.nix: git command not found; skipping installation."\nelif ! /nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin/git rev-parse --git-dir &> /dev/null; then\n echo 1>&2 "WARNING: pre-commit-hooks.nix: .git not found; skipping installation."\nelse\n GIT_WC=`/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin/git rev-parse --show-toplevel`\n\n # These update procedures compare before they write, to avoid\n # filesystem churn. This improves performance with watch tools like lorri\n # and prevents installation loops by lorri.\n\n if ! readlink "${GIT_WC}/.pre-commit-config.yaml" >/dev/null \\\n || [[ $(readlink "${GIT_WC}/.pre-commit-config.yaml") != /nix/store/3kq4f79vvv1cdsy43xc0pcrp3n4m0bza-pre-commit-config.json ]]; then\n echo 1>&2 "pre-commit-hooks.nix: updating $PWD repo"\n [ -L .pre-commit-config.yaml ] && unlink .pre-commit-config.yaml\n\n if [ -e "${GIT_WC}/.pre-commit-config.yaml" ]; then\n echo 1>&2 "pre-commit-hooks.nix: WARNING: Refusing to install because of pre-existing .pre-commit-config.yaml"\n echo 1>&2 " 1. Translate .pre-commit-config.yaml contents to the new syntax in your Nix file"\n echo 1>&2 " see https://github.com/cachix/pre-commit-hooks.nix#getting-started"\n echo 1>&2 " 2. remove .pre-commit-config.yaml"\n echo 1>&2 " 3. add .pre-commit-config.yaml to .gitignore"\n else\n ln -fs /nix/store/3kq4f79vvv1cdsy43xc0pcrp3n4m0bza-pre-commit-config.json "${GIT_WC}/.pre-commit-config.yaml"\n # Remove any previously installed hooks (since pre-commit itself has no convergent design)\n hooks="commit-msg post-checkout post-commit post-merge post-rewrite pre-commit pre-merge-commit pre-push pre-rebase prepare-commit-msg"\n for hook in $hooks; do\n pre-commit uninstall -t $hook\n done\n /nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin/git config --local core.hooksPath ""\n # Add hooks for configured stages (only) ...\n if [ ! -z "commit" ]; then\n for stage in commit; do\n case $stage in\n manual)\n ;;\n # if you amend these switches please also review $hooks above\n commit | merge-commit | push)\n stage="pre-"$stage\n pre-commit install -t $stage\n ;;\n commit-msg|post-checkout|post-commit|post-merge|post-rewrite|pre-commit|pre-merge-commit|pre-push|pre-rebase|prepare-commit-msg|manual)\n pre-commit install -t $stage\n ;;\n *)\n echo 1>&2 "ERROR: pre-commit-hooks.nix: either $stage is not a valid stage or pre-commit-hooks.nix doesn\'t yet support it."\n exit 1\n ;;\n esac\n done\n # ... or default \'pre-commit\' hook\n else\n pre-commit install\n fi\n\n # Fetch the absolute path to the git common directory. This will normally point to $GIT_WC/.git.\n common_dir=$(/nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin/git rev-parse --path-format=absolute --git-common-dir)\n\n # Convert the absolute path to a path relative to the toplevel working directory.\n common_dir=${common_dir#$GIT_WC/}\n\n /nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin/git config --local core.hooksPath "$common_dir/hooks"\n fi\n fi\nfi\n\n# Allow `touch .nocontribmsg` to turn this notice off.\nif ! [[ -f .nocontribmsg ]]; then\n cat /nix/store/122q1mn52nvj2gh8radf9bylvz1vy6vy-lix-contrib-notice\nfi\n\n# Install the Gerrit commit-msg hook.\n# (git common dir is the main .git, including for worktrees)\nif gitcommondir=$(git rev-parse --git-common-dir 2>/dev/null) && [[ ! -f "$gitcommondir/hooks/commit-msg" ]]; then\n echo \'Installing Gerrit commit-msg hook (adds Change-Id to commit messages)\' >&2\n mkdir -p "$gitcommondir/hooks"\n curl -s -Lo "$gitcommondir/hooks/commit-msg" https://gerrit.lix.systems/tools/hooks/commit-msg\n chmod u+x "$gitcommondir/hooks/commit-msg"\nfi\nunset gitcommondir\n'
stdenv=/nix/store/q8z30cb361bln7iszzya1q5gvpsal08q-stdenv-linux
strictDeps=
system=x86_64-linux
version=2.90.0
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/bash-profile
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/bash-profile
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/bash-profile
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/bash-profile
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/bash-profile
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/bash-profile/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/bash-profile/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/bash-profile/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/bash-profile/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/bash-profile/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/bash-profile/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(bash-profile.sh:3) sed -e 's|@localstatedir@|/tmp/nix-shell.MrxVR3/nix-test/bash-profile/profile-var|g' -e 's|@coreutils@|/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin|g'
++(bash-profile.sh:5) whoami
+(bash-profile.sh:5) user=root
+(bash-profile.sh:6) rm -rf /tmp/nix-shell.MrxVR3/nix-test/bash-profile/test-home /tmp/nix-shell.MrxVR3/nix-test/bash-profile/profile-var
+(bash-profile.sh:7) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/bash-profile/test-home
+(bash-profile.sh:8) USER=root
+(bash-profile.sh:8) /nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash -e -c '. /tmp/nix-shell.MrxVR3/nix-test/bash-profile/nix-profile.sh; set'
+(bash-profile.sh:9) USER=root
+(bash-profile.sh:9) /nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash -e -c '. /tmp/nix-shell.MrxVR3/nix-test/bash-profile/nix-profile.sh'clearing store...
/tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/1i9xq9czrzikr41fn3rsdkxx4y2kb9hm-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/6faacxc7prnsngk6194vv3whbvgm7z41-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/ch9qqcr28wf54s58ny1x4kp2c5r6yp7v-dependencies-top.drv
/tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/p9frysw2rby8y7nrmh25a0ay34x1pazn-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/vkfr03b769rngqfmcvmcmc971ar3pfir-dependencies-input-1.drv
clearing store...
/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/ch9qqcr28wf54s58ny1x4kp2c5r6yp7v-dependencies-top.drv
/tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/1i9xq9czrzikr41fn3rsdkxx4y2kb9hm-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/6faacxc7prnsngk6194vv3whbvgm7z41-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/ch9qqcr28wf54s58ny1x4kp2c5r6yp7v-dependencies-top.drv
/tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/p9frysw2rby8y7nrmh25a0ay34x1pazn-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/vkfr03b769rngqfmcvmcmc971ar3pfir-dependencies-input-1.drv
clearing store...
/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/r4a7aan590qzacc17gcf2svg5vywrx9g-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/1i9xq9czrzikr41fn3rsdkxx4y2kb9hm-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/6faacxc7prnsngk6194vv3whbvgm7z41-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/ch9qqcr28wf54s58ny1x4kp2c5r6yp7v-dependencies-top.drv
/tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/p9frysw2rby8y7nrmh25a0ay34x1pazn-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/vkfr03b769rngqfmcvmcmc971ar3pfir-dependencies-input-1.drv
clearing store...
/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/r4a7aan590qzacc17gcf2svg5vywrx9g-dependencies-top/foobar
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/eval-store
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/eval-store
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/eval-store
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval-store
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval-store
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval-store/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval-store/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/eval-store/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval-store/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval-store/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/eval-store/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(eval-store.sh:5) needLocalStore '“--eval-store” doesn'\''t achieve much with the daemon'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:217) [[ '' == \d\a\e\m\o\n ]]
+(eval-store.sh:7) eval_store=/tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store
+(eval-store.sh:9) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/eval-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval-store/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval-store/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/eval-store/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval-store/test-home/.local/state/nix/profiles
+(eval-store.sh:10) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store
+(eval-store.sh:12) nix build -f dependencies.nix --eval-store /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store -o /tmp/nix-shell.MrxVR3/nix-test/eval-store/result
don't know how to build these paths:
/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/ch9qqcr28wf54s58ny1x4kp2c5r6yp7v-dependencies-top.drv
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/y2p70p9p8sb8b7yafypcw4rgchpfi30p-dependencies.builder0.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/8cdsia98bk9bjs41zjv15mm3rlj8zg2j-builder-dependencies-input-0.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/3fyxzx667abv9cmmdw7v083skjqfw52z-builder-dependencies-input-1.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/f04irj4j834sz83fb1lzdzirknlh8jbd-builder-dependencies-input-2.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/w6b60hzdcvp6biid40faf943z6a9kqh6-builder-fod-input.sh' to 'local'...
building '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/1i9xq9czrzikr41fn3rsdkxx4y2kb9hm-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/vkfr03b769rngqfmcvmcmc971ar3pfir-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/6faacxc7prnsngk6194vv3whbvgm7z41-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/p9frysw2rby8y7nrmh25a0ay34x1pazn-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/ch9qqcr28wf54s58ny1x4kp2c5r6yp7v-dependencies-top.drv'...
+(eval-store.sh:13) [[ -e /tmp/nix-shell.MrxVR3/nix-test/eval-store/result/foobar ]]
+(eval-store.sh:14) [[ ! -n '' ]]
+(eval-store.sh:22) ls '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/*.drv'
ls: cannot access '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/*.drv': No such file or directory
+(eval-store.sh:24) ls /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/1i9xq9czrzikr41fn3rsdkxx4y2kb9hm-dependencies-input-0.drv /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/6faacxc7prnsngk6194vv3whbvgm7z41-dependencies-input-2.drv /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/ch9qqcr28wf54s58ny1x4kp2c5r6yp7v-dependencies-top.drv /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/p9frysw2rby8y7nrmh25a0ay34x1pazn-fod-input.drv /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/vkfr03b769rngqfmcvmcmc971ar3pfir-dependencies-input-1.drv
+(eval-store.sh:26) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/eval-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval-store/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval-store/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/eval-store/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval-store/test-home/.local/state/nix/profiles
+(eval-store.sh:27) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store
+(eval-store.sh:29) nix-instantiate dependencies.nix --eval-store /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(eval-store.sh:30) ls '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/*.drv'
ls: cannot access '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/*.drv': No such file or directory
+(eval-store.sh:31) ls /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/1i9xq9czrzikr41fn3rsdkxx4y2kb9hm-dependencies-input-0.drv /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/6faacxc7prnsngk6194vv3whbvgm7z41-dependencies-input-2.drv /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/ch9qqcr28wf54s58ny1x4kp2c5r6yp7v-dependencies-top.drv /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/p9frysw2rby8y7nrmh25a0ay34x1pazn-fod-input.drv /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/vkfr03b769rngqfmcvmcmc971ar3pfir-dependencies-input-1.drv
+(eval-store.sh:33) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/eval-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval-store/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval-store/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/eval-store/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval-store/test-home/.local/state/nix/profiles
+(eval-store.sh:34) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store
+(eval-store.sh:36) nix-build dependencies.nix --eval-store /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store -o /tmp/nix-shell.MrxVR3/nix-test/eval-store/result
don't know how to build these paths:
/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/ch9qqcr28wf54s58ny1x4kp2c5r6yp7v-dependencies-top.drv
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/y2p70p9p8sb8b7yafypcw4rgchpfi30p-dependencies.builder0.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/8cdsia98bk9bjs41zjv15mm3rlj8zg2j-builder-dependencies-input-0.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/3fyxzx667abv9cmmdw7v083skjqfw52z-builder-dependencies-input-1.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/f04irj4j834sz83fb1lzdzirknlh8jbd-builder-dependencies-input-2.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/w6b60hzdcvp6biid40faf943z6a9kqh6-builder-fod-input.sh' to 'local'...
building '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/1i9xq9czrzikr41fn3rsdkxx4y2kb9hm-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/vkfr03b769rngqfmcvmcmc971ar3pfir-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/6faacxc7prnsngk6194vv3whbvgm7z41-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/p9frysw2rby8y7nrmh25a0ay34x1pazn-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/ch9qqcr28wf54s58ny1x4kp2c5r6yp7v-dependencies-top.drv'...
FOO
+(eval-store.sh:37) [[ -e /tmp/nix-shell.MrxVR3/nix-test/eval-store/result/foobar ]]
+(eval-store.sh:38) [[ ! -n '' ]]
+(eval-store.sh:40) ls '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/*.drv'
ls: cannot access '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/*.drv': No such file or directory
+(eval-store.sh:42) ls /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/1i9xq9czrzikr41fn3rsdkxx4y2kb9hm-dependencies-input-0.drv /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/6faacxc7prnsngk6194vv3whbvgm7z41-dependencies-input-2.drv /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/ch9qqcr28wf54s58ny1x4kp2c5r6yp7v-dependencies-top.drv /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/p9frysw2rby8y7nrmh25a0ay34x1pazn-fod-input.drv /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/vkfr03b769rngqfmcvmcmc971ar3pfir-dependencies-input-1.drv
+(eval-store.sh:44) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/eval-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval-store/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/eval-store/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/eval-store/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval-store/test-home/.local/state/nix/profiles
+(eval-store.sh:45) rm -rf /tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store
++(eval-store.sh:48) nix eval --eval-store '/tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store?require-sigs=false' --impure --raw --file ./ifd.nix
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/mz1rrkar9hrqhcanxdgqpy4y86y1qql0-builder-foo.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/y2p70p9p8sb8b7yafypcw4rgchpfi30p-dependencies.builder0.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/8cdsia98bk9bjs41zjv15mm3rlj8zg2j-builder-dependencies-input-0.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/3fyxzx667abv9cmmdw7v083skjqfw52z-builder-dependencies-input-1.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/f04irj4j834sz83fb1lzdzirknlh8jbd-builder-dependencies-input-2.sh' to 'local'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/w6b60hzdcvp6biid40faf943z6a9kqh6-builder-fod-input.sh' to 'local'...
building '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/1i9xq9czrzikr41fn3rsdkxx4y2kb9hm-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/vkfr03b769rngqfmcvmcmc971ar3pfir-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/6faacxc7prnsngk6194vv3whbvgm7z41-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/p9frysw2rby8y7nrmh25a0ay34x1pazn-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/ch9qqcr28wf54s58ny1x4kp2c5r6yp7v-dependencies-top.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/7gp342lwq7zn3xmp0ifzrk7zq5r6zzcj-foo.drv'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/eval-store/store/zfkpfvjc5i2pip3ikdsd7fir8f543yaa-foo' to 'local'...
+(eval-store.sh:48) [[ hi = hi ]]
+(eval-store.sh:49) ls /tmp/nix-shell.MrxVR3/nix-test/eval-store/store/r4a7aan590qzacc17gcf2svg5vywrx9g-dependencies-top/foobar
+(eval-store.sh:50) ls '/tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/*dependencies-top/foobar'
ls: cannot access '/tmp/nix-shell.MrxVR3/nix-test/eval-store/eval-store/nix/store/*dependencies-top/foobar': No such file or directory
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple
PATH=
/tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple
PATH=
Lix 2.90.0
Type :? for help.
building '/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'...
error: builder for '/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv' failed with exit code 1;
last 1 log lines:
> This should fail
For full logs, run 'nix log /tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'.
got build log for '/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv' from 'local'
This should fail
Lix 2.90.0
Type :? for help.
error:
… while calling the 'import' builtin
at «string»:1:1:
1| import /lix-src/build/tests/functional/undefined-variable.nix
| ^
… while evaluating the file '/lix-src/build/tests/functional/undefined-variable.nix':
… while calling the 'import' builtin
at /lix-src/build/tests/functional/undefined-variable.nix:1:51:
1| let f = builtins.toFile "test-file.nix" "asd"; in import f
| ^
2|
error: undefined variable 'asd'
at /tmp/nix-shell.MrxVR3/nix-test/repl/store/r821mvkc663cbkcrfv663a0xvd6fdl8h-test-file.nix:1:1:
1| asd
| ^
error: attribute 'currentSystem' missing
\x1b[35;1m"x86_64-linux"\x1b[0m
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple
PATH=
/tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple
PATH=
Lix 2.90.0
Type :? for help.
building '/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'...
error: builder for '/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv' failed with exit code 1;
last 1 log lines:
> This should fail
For full logs, run 'nix log /tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'.
got build log for '/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv' from 'local'
This should fail
Lix 2.90.0
Type :? for help.
error:
… while calling the 'import' builtin
at «string»:1:1:
1| import /lix-src/build/tests/functional/undefined-variable.nix
| ^
… while evaluating the file '/lix-src/build/tests/functional/undefined-variable.nix':
… while calling the 'import' builtin
at /lix-src/build/tests/functional/undefined-variable.nix:1:51:
1| let f = builtins.toFile "test-file.nix" "asd"; in import f
| ^
2|
error: undefined variable 'asd'
at /tmp/nix-shell.MrxVR3/nix-test/repl/store/r821mvkc663cbkcrfv663a0xvd6fdl8h-test-file.nix:1:1:
1| asd
| ^
error: attribute 'currentSystem' missing
\x1b[35;1m"x86_64-linux"\x1b[0m
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/repl
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/repl
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/repl
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/repl
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/repl
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/repl/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/repl/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/repl/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/repl/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/repl/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/repl/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(repl.sh:3) testDir=/lix-src/build/tests/functional
+(repl.sh:4) cd /tmp/nix-shell.MrxVR3/nix-test/repl
+(repl.sh:11) replCmds='
simple = 1
simple = import /lix-src/build/tests/functional/simple.nix
:bl simple
:log simple
'
+(repl.sh:17) replFailingCmds='
failing = import /lix-src/build/tests/functional/simple-failing.nix
:b failing
:log failing
'
+(repl.sh:21) replUndefinedVariable='
import /lix-src/build/tests/functional/undefined-variable.nix
'
+(repl.sh:53) testRepl
+(repl.sh:24) nixArgs=()
+(repl.sh:24) local nixArgs
+(repl.sh:25) rm -rf repl-result-out
++(repl.sh:26) nix repl
Lix 2.90.0
Type :? for help.
building '/tmp/nix-shell.MrxVR3/nix-test/repl/store/3m9k2zqqzlf0dm621qw0z5vb9f61ddjn-simple.drv'...
got build log for '/tmp/nix-shell.MrxVR3/nix-test/repl/store/3m9k2zqqzlf0dm621qw0z5vb9f61ddjn-simple.drv' from 'local'
+(repl.sh:26) local 'replOutput=
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple
PATH='
+(repl.sh:27) echo '
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple
PATH='
++(repl.sh:29) echo '
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple
PATH='
++(repl.sh:29) grep -o -E '/tmp/nix-shell.MrxVR3/nix-test/repl/store/\w*-simple'
+(repl.sh:29) local outPath=/tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple
+(repl.sh:30) nix path-info /tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple
++(repl.sh:31) realpath ./repl-result-out
+(repl.sh:31) '[' /tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple == /tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple ']'
+(repl.sh:33) nix repl
Lix 2.90.0
Type :? for help.
got build log for '/tmp/nix-shell.MrxVR3/nix-test/repl/store/3m9k2zqqzlf0dm621qw0z5vb9f61ddjn-simple.drv' from 'local'
+(repl.sh:36) echo '
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple
+(repl.sh:36) grepQuiet -s PATH=
PATH='
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -s PATH=
++(repl.sh:37) nix repl
+(repl.sh:37) local 'replOutput=Lix 2.90.0
Type :? for help.
building '\''/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\''...
error: builder for '\''/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\'' failed with exit code 1;
last 1 log lines:
> This should fail
For full logs, run '\''nix log /tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\''.
got build log for '\''/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\'' from '\''local'\''
This should fail'
+(repl.sh:38) echo 'Lix 2.90.0
Type :? for help.
building '\''/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\''...
error: builder for '\''/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\'' failed with exit code 1;
last 1 log lines:
> This should fail
For full logs, run '\''nix log /tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\''.
got build log for '\''/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\'' from '\''local'\''
This should fail'
+(repl.sh:39) echo 'Lix 2.90.0
Type :? for help.
building '\''/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\''...
error: builder for '\''/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\'' failed with exit code 1;
last 1 log lines:
> This should fail
For full logs, run '\''nix log /tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\''.
got build log for '\''/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\'' from '\''local'\''
This should fail'
+(repl.sh:39) grepQuiet -s 'This should fail'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -s 'This should fail'
++(repl.sh:41) nix repl --show-trace
+(repl.sh:41) local 'replOutput=Lix 2.90.0
Type :? for help.
error:
… while calling the '\''import'\'' builtin
at «string»:1:1:
1| import /lix-src/build/tests/functional/undefined-variable.nix
| ^
… while evaluating the file '\''/lix-src/build/tests/functional/undefined-variable.nix'\'':
… while calling the '\''import'\'' builtin
at /lix-src/build/tests/functional/undefined-variable.nix:1:51:
1| let f = builtins.toFile "test-file.nix" "asd"; in import f
| ^
2|
error: undefined variable '\''asd'\''
at /tmp/nix-shell.MrxVR3/nix-test/repl/store/r821mvkc663cbkcrfv663a0xvd6fdl8h-test-file.nix:1:1:
1| asd
| ^'
+(repl.sh:42) echo 'Lix 2.90.0
Type :? for help.
error:
… while calling the '\''import'\'' builtin
at «string»:1:1:
1| import /lix-src/build/tests/functional/undefined-variable.nix
| ^
… while evaluating the file '\''/lix-src/build/tests/functional/undefined-variable.nix'\'':
… while calling the '\''import'\'' builtin
at /lix-src/build/tests/functional/undefined-variable.nix:1:51:
1| let f = builtins.toFile "test-file.nix" "asd"; in import f
| ^
2|
error: undefined variable '\''asd'\''
at /tmp/nix-shell.MrxVR3/nix-test/repl/store/r821mvkc663cbkcrfv663a0xvd6fdl8h-test-file.nix:1:1:
1| asd
| ^'
+(repl.sh:43) echo 'Lix 2.90.0
Type :? for help.
error:
… while calling the '\''import'\'' builtin
at «string»:1:1:
1| import /lix-src/build/tests/functional/undefined-variable.nix
| ^
… while evaluating the file '\''/lix-src/build/tests/functional/undefined-variable.nix'\'':
… while calling the '\''import'\'' builtin
at /lix-src/build/tests/functional/undefined-variable.nix:1:51:
1| let f = builtins.toFile "test-file.nix" "asd"; in import f
| ^
2|
error: undefined variable '\''asd'\''
at /tmp/nix-shell.MrxVR3/nix-test/repl/store/r821mvkc663cbkcrfv663a0xvd6fdl8h-test-file.nix:1:1:
1| asd
| ^'
+(repl.sh:43) grepQuiet -s 'while evaluating the file'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -s 'while evaluating the file'
+(repl.sh:46) nix repl --option pure-eval true
+(repl.sh:47) grep 'attribute '\''currentSystem'\'' missing'
+(repl.sh:48) nix repl
++(repl.sh:49) nix-instantiate --eval -E builtins.currentSystem
+(repl.sh:49) grep '"x86_64-linux"'
+(repl.sh:55) testRepl --store '/tmp/nix-shell.MrxVR3/nix-test/repl/store?real=/tmp/nix-shell.MrxVR3/nix-test/repl/store'
+(repl.sh:24) nixArgs=('--store' '/tmp/nix-shell.MrxVR3/nix-test/repl/store?real=/tmp/nix-shell.MrxVR3/nix-test/repl/store')
+(repl.sh:24) local nixArgs
+(repl.sh:25) rm -rf repl-result-out
++(repl.sh:26) nix repl --store '/tmp/nix-shell.MrxVR3/nix-test/repl/store?real=/tmp/nix-shell.MrxVR3/nix-test/repl/store'
Lix 2.90.0
Type :? for help.
building '/tmp/nix-shell.MrxVR3/nix-test/repl/store/3m9k2zqqzlf0dm621qw0z5vb9f61ddjn-simple.drv'...
got build log for '/tmp/nix-shell.MrxVR3/nix-test/repl/store/3m9k2zqqzlf0dm621qw0z5vb9f61ddjn-simple.drv' from 'local'
+(repl.sh:26) local 'replOutput=
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple
PATH='
+(repl.sh:27) echo '
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple
PATH='
++(repl.sh:29) echo '
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple
PATH='
++(repl.sh:29) grep -o -E '/tmp/nix-shell.MrxVR3/nix-test/repl/store/\w*-simple'
+(repl.sh:29) local outPath=/tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple
+(repl.sh:30) nix path-info --store '/tmp/nix-shell.MrxVR3/nix-test/repl/store?real=/tmp/nix-shell.MrxVR3/nix-test/repl/store' /tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple
++(repl.sh:31) realpath ./repl-result-out
+(repl.sh:31) '[' /tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple == /tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple ']'
+(repl.sh:33) nix repl --store '/tmp/nix-shell.MrxVR3/nix-test/repl/store?real=/tmp/nix-shell.MrxVR3/nix-test/repl/store'
Lix 2.90.0
Type :? for help.
got build log for '/tmp/nix-shell.MrxVR3/nix-test/repl/store/3m9k2zqqzlf0dm621qw0z5vb9f61ddjn-simple.drv' from 'local'
+(repl.sh:36) echo '
This derivation produced the following outputs:
./repl-result-out -> /tmp/nix-shell.MrxVR3/nix-test/repl/store/6jb4khq6f35w2i3i35jsq6wyi2cal50y-simple
PATH='
+(repl.sh:36) grepQuiet -s PATH=
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -s PATH=
++(repl.sh:37) nix repl --store '/tmp/nix-shell.MrxVR3/nix-test/repl/store?real=/tmp/nix-shell.MrxVR3/nix-test/repl/store'
+(repl.sh:37) local 'replOutput=Lix 2.90.0
Type :? for help.
building '\''/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\''...
error: builder for '\''/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\'' failed with exit code 1;
last 1 log lines:
> This should fail
For full logs, run '\''nix log /tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\''.
got build log for '\''/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\'' from '\''local'\''
This should fail'
+(repl.sh:38) echo 'Lix 2.90.0
Type :? for help.
building '\''/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\''...
error: builder for '\''/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\'' failed with exit code 1;
last 1 log lines:
> This should fail
For full logs, run '\''nix log /tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\''.
got build log for '\''/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\'' from '\''local'\''
This should fail'
+(repl.sh:39) echo 'Lix 2.90.0
Type :? for help.
building '\''/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\''...
+(repl.sh:39) grepQuiet -s 'This should fail'
error: builder for '\''/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\'' failed with exit code 1;
last 1 log lines:
> This should fail
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -s 'This should fail'
For full logs, run '\''nix log /tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\''.
got build log for '\''/tmp/nix-shell.MrxVR3/nix-test/repl/store/w6wymllyq83c26sda04kmgrfx0nll348-simple-failing.drv'\'' from '\''local'\''
This should fail'
++(repl.sh:41) nix repl --show-trace --store '/tmp/nix-shell.MrxVR3/nix-test/repl/store?real=/tmp/nix-shell.MrxVR3/nix-test/repl/store'
+(repl.sh:41) local 'replOutput=Lix 2.90.0
Type :? for help.
error:
… while calling the '\''import'\'' builtin
at «string»:1:1:
1| import /lix-src/build/tests/functional/undefined-variable.nix
| ^
… while evaluating the file '\''/lix-src/build/tests/functional/undefined-variable.nix'\'':
… while calling the '\''import'\'' builtin
at /lix-src/build/tests/functional/undefined-variable.nix:1:51:
1| let f = builtins.toFile "test-file.nix" "asd"; in import f
| ^
2|
error: undefined variable '\''asd'\''
at /tmp/nix-shell.MrxVR3/nix-test/repl/store/r821mvkc663cbkcrfv663a0xvd6fdl8h-test-file.nix:1:1:
1| asd
| ^'
+(repl.sh:42) echo 'Lix 2.90.0
Type :? for help.
error:
… while calling the '\''import'\'' builtin
at «string»:1:1:
1| import /lix-src/build/tests/functional/undefined-variable.nix
| ^
… while evaluating the file '\''/lix-src/build/tests/functional/undefined-variable.nix'\'':
… while calling the '\''import'\'' builtin
at /lix-src/build/tests/functional/undefined-variable.nix:1:51:
1| let f = builtins.toFile "test-file.nix" "asd"; in import f
| ^
2|
error: undefined variable '\''asd'\''
at /tmp/nix-shell.MrxVR3/nix-test/repl/store/r821mvkc663cbkcrfv663a0xvd6fdl8h-test-file.nix:1:1:
1| asd
| ^'
+(repl.sh:43) echo 'Lix 2.90.0
Type :? for help.
error:
… while calling the '\''import'\'' builtin
at «string»:1:1:
1| import /lix-src/build/tests/functional/undefined-variable.nix
| ^
… while evaluating the file '\''/lix-src/build/tests/functional/undefined-variable.nix'\'':
… while calling the '\''import'\'' builtin
at /lix-src/build/tests/functional/undefined-variable.nix:1:51:
1| let f = builtins.toFile "test-file.nix" "asd"; in import f
| ^
2|
error: undefined variable '\''asd'\''
at /tmp/nix-shell.MrxVR3/nix-test/repl/store/r821mvkc663cbkcrfv663a0xvd6fdl8h-test-file.nix:1:1:
1| asd
| ^'
+(repl.sh:43) grepQuiet -s 'while evaluating the file'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -s 'while evaluating the file'
+(repl.sh:46) nix repl --store '/tmp/nix-shell.MrxVR3/nix-test/repl/store?real=/tmp/nix-shell.MrxVR3/nix-test/repl/store' --option pure-eval true
+(repl.sh:47) grep 'attribute '\''currentSystem'\'' missing'
+(repl.sh:48) nix repl --store '/tmp/nix-shell.MrxVR3/nix-test/repl/store?real=/tmp/nix-shell.MrxVR3/nix-test/repl/store'
++(repl.sh:49) nix-instantiate --eval -E builtins.currentSystem
+(repl.sh:49) grep '"x86_64-linux"'
+(repl.sh:95) testReplResponse '
:a { a = "1"; }
:a { a = "2"; }
"result: ${a}"
' 'result: 2'
+(repl.sh:83) testReplResponseGeneral --basic-regexp '
:a { a = "1"; }
:a { a = "2"; }
"result: ${a}"
' 'result: 2'
+(repl.sh:63) local grepMode=--basic-regexp
+(repl.sh:63) shift
+(repl.sh:64) local 'commands=
:a { a = "1"; }
:a { a = "2"; }
"result: ${a}"
'
+(repl.sh:64) shift
+(repl.sh:65) local 'expectedResponse=result: 2'
+(repl.sh:65) shift
++(repl.sh:66) nix repl
++(repl.sh:66) stripColors
++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
Added 1 variables.
Added 1 variables.
+(repl.sh:66) local 'response=
"result: 2"'
+(repl.sh:67) echo '
"result: 2"'
+(repl.sh:67) grepQuiet --basic-regexp -s 'result: 2'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --basic-regexp -s 'result: 2'
+(repl.sh:103) testReplResponseNoRegex '
"$" + "{hi}"
' '"\${hi}"'
+(repl.sh:87) testReplResponseGeneral --fixed-strings '
"$" + "{hi}"
' '"\${hi}"'
+(repl.sh:63) local grepMode=--fixed-strings
+(repl.sh:63) shift
+(repl.sh:64) local 'commands=
"$" + "{hi}"
'
+(repl.sh:64) shift
+(repl.sh:65) local 'expectedResponse="\${hi}"'
+(repl.sh:65) shift
++(repl.sh:66) nix repl
++(repl.sh:66) stripColors
++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
+(repl.sh:66) local 'response=
"\${hi}"'
+(repl.sh:67) echo '
"\${hi}"'
+(repl.sh:67) grepQuiet --fixed-strings -s '"\${hi}"'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --fixed-strings -s '"\${hi}"'
+(repl.sh:107) testReplResponse '
drvPath
' '".*-simple.drv"' /lix-src/build/tests/functional/simple.nix
+(repl.sh:83) testReplResponseGeneral --basic-regexp '
drvPath
' '".*-simple.drv"' /lix-src/build/tests/functional/simple.nix
+(repl.sh:63) local grepMode=--basic-regexp
+(repl.sh:63) shift
+(repl.sh:64) local 'commands=
drvPath
'
+(repl.sh:64) shift
+(repl.sh:65) local 'expectedResponse=".*-simple.drv"'
+(repl.sh:65) shift
++(repl.sh:66) nix repl /lix-src/build/tests/functional/simple.nix
++(repl.sh:66) stripColors
++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
warning: future versions of Nix will require using `--file` to load a file
Lix 2.90.0
Type :? for help.
Loading installable ''...
Added 14 variables.
+(repl.sh:66) local 'response=
"/tmp/nix-shell.MrxVR3/nix-test/repl/store/3m9k2zqqzlf0dm621qw0z5vb9f61ddjn-simple.drv"'
+(repl.sh:67) echo '
"/tmp/nix-shell.MrxVR3/nix-test/repl/store/3m9k2zqqzlf0dm621qw0z5vb9f61ddjn-simple.drv"'
+(repl.sh:67) grepQuiet --basic-regexp -s '".*-simple.drv"'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --basic-regexp -s '".*-simple.drv"'
+(repl.sh:112) testReplResponse '
drvPath
' '".*-simple.drv"' --file /lix-src/build/tests/functional/simple.nix --experimental-features ca-derivations
+(repl.sh:83) testReplResponseGeneral --basic-regexp '
drvPath
' '".*-simple.drv"' --file /lix-src/build/tests/functional/simple.nix --experimental-features ca-derivations
+(repl.sh:63) local grepMode=--basic-regexp
+(repl.sh:63) shift
+(repl.sh:64) local 'commands=
drvPath
'
+(repl.sh:64) shift
+(repl.sh:65) local 'expectedResponse=".*-simple.drv"'
+(repl.sh:65) shift
++(repl.sh:66) nix repl --file /lix-src/build/tests/functional/simple.nix --experimental-features ca-derivations
++(repl.sh:66) stripColors
++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
Loading installable ''...
Added 14 variables.
+(repl.sh:66) local 'response=
"/tmp/nix-shell.MrxVR3/nix-test/repl/store/3m9k2zqqzlf0dm621qw0z5vb9f61ddjn-simple.drv"'
+(repl.sh:67) echo '
"/tmp/nix-shell.MrxVR3/nix-test/repl/store/3m9k2zqqzlf0dm621qw0z5vb9f61ddjn-simple.drv"'
+(repl.sh:67) grepQuiet --basic-regexp -s '".*-simple.drv"'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --basic-regexp -s '".*-simple.drv"'
+(repl.sh:117) testReplResponse '
drvPath
' '".*-simple.drv"' --file /lix-src/build/tests/functional/simple.nix --extra-experimental-features 'repl-flake ca-derivations'
+(repl.sh:83) testReplResponseGeneral --basic-regexp '
drvPath
' '".*-simple.drv"' --file /lix-src/build/tests/functional/simple.nix --extra-experimental-features 'repl-flake ca-derivations'
+(repl.sh:63) local grepMode=--basic-regexp
+(repl.sh:63) shift
+(repl.sh:64) local 'commands=
drvPath
'
+(repl.sh:64) shift
+(repl.sh:65) local 'expectedResponse=".*-simple.drv"'
+(repl.sh:65) shift
++(repl.sh:66) nix repl --file /lix-src/build/tests/functional/simple.nix --extra-experimental-features 'repl-flake ca-derivations'
++(repl.sh:66) stripColors
++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
Loading installable ''...
Added 14 variables.
+(repl.sh:66) local 'response=
"/tmp/nix-shell.MrxVR3/nix-test/repl/store/3m9k2zqqzlf0dm621qw0z5vb9f61ddjn-simple.drv"'
+(repl.sh:67) echo '
"/tmp/nix-shell.MrxVR3/nix-test/repl/store/3m9k2zqqzlf0dm621qw0z5vb9f61ddjn-simple.drv"'
+(repl.sh:67) grepQuiet --basic-regexp -s '".*-simple.drv"'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --basic-regexp -s '".*-simple.drv"'
+(repl.sh:120) mkdir -p flake
+(repl.sh:120) cat
+(repl.sh:132) testReplResponse '
foo + baz
' 3 ./flake ./flake#bar --experimental-features 'flakes repl-flake'
+(repl.sh:83) testReplResponseGeneral --basic-regexp '
foo + baz
' 3 ./flake ./flake#bar --experimental-features 'flakes repl-flake'
+(repl.sh:63) local grepMode=--basic-regexp
+(repl.sh:63) shift
+(repl.sh:64) local 'commands=
foo + baz
'
+(repl.sh:64) shift
+(repl.sh:65) local expectedResponse=3
+(repl.sh:65) shift
++(repl.sh:66) nix repl ./flake ./flake#bar --experimental-features 'flakes repl-flake'
++(repl.sh:66) stripColors
++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
Loading installable 'path:/tmp/nix-shell.MrxVR3/nix-test/repl/flake#'...
Added 3 variables.
Loading installable 'path:/tmp/nix-shell.MrxVR3/nix-test/repl/flake#bar'...
Added 1 variables.
+(repl.sh:66) local 'response=
3'
+(repl.sh:67) echo '
3'
+(repl.sh:67) grepQuiet --basic-regexp -s 3
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --basic-regexp -s 3
++(repl.sh:146) echo changingThing
++(repl.sh:147) sleep 1
++(repl.sh:150) nix repl ./flake --experimental-features 'flakes repl-flake'
Lix 2.90.0
Type :? for help.
Loading installable 'path:/tmp/nix-shell.MrxVR3/nix-test/repl/flake#'...
Added 3 variables.
++(repl.sh:148) sed -i s/beforeChange/afterChange/ flake/flake.nix
++(repl.sh:149) echo :reload
++(repl.sh:150) echo changingThing
Loading installable 'path:/tmp/nix-shell.MrxVR3/nix-test/repl/flake#'...
Added 3 variables.
+(repl.sh:146) replResult='\x1b[35;1m"beforeChange"\x1b[0m
\x1b[35;1m"afterChange"\x1b[0m'
+(repl.sh:147) echo '\x1b[35;1m"beforeChange"\x1b[0m
\x1b[35;1m"afterChange"\x1b[0m'
+(repl.sh:147) grepQuiet -s beforeChange
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -s beforeChange
+(repl.sh:148) grepQuiet -s afterChange
+(repl.sh:148) echo '\x1b[35;1m"beforeChange"\x1b[0m
\x1b[35;1m"afterChange"\x1b[0m'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -s afterChange
+(repl.sh:154) testReplResponseNoRegex '
{ a = { b = 2; }; l = [ 1 2 3 ]; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; }
' '{
a = { ... };
l = [ ... ];
n = 1234;
s = "string";
x = { ... };
}
'
+(repl.sh:87) testReplResponseGeneral --fixed-strings '
{ a = { b = 2; }; l = [ 1 2 3 ]; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; }
' '{
a = { ... };
l = [ ... ];
n = 1234;
s = "string";
x = { ... };
}
'
+(repl.sh:63) local grepMode=--fixed-strings
+(repl.sh:63) shift
+(repl.sh:64) local 'commands=
{ a = { b = 2; }; l = [ 1 2 3 ]; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; }
'
+(repl.sh:64) shift
+(repl.sh:65) local 'expectedResponse={
a = { ... };
l = [ ... ];
n = 1234;
s = "string";
x = { ... };
}
'
+(repl.sh:65) shift
++(repl.sh:66) nix repl
++(repl.sh:66) stripColors
++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
+(repl.sh:66) local 'response=
{
a = { ... };
l = [ ... ];
n = 1234;
s = "string";
x = { ... };
}'
+(repl.sh:67) echo '
{
a = { ... };
l = [ ... ];
n = 1234;
s = "string";
x = { ... };
}'
+(repl.sh:67) grepQuiet --fixed-strings -s '{
a = { ... };
l = [ ... ];
n = 1234;
s = "string";
x = { ... };
}
'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --fixed-strings -s '{
a = { ... };
l = [ ... ];
n = 1234;
s = "string";
x = { ... };
}
'
+(repl.sh:167) testReplResponseNoRegex '
[ 42 1 "thingy" ({ a = 1; }) ([ 1 2 3 ]) ]
' '[
42
1
"thingy"
{ ... }
[ ... ]
]
'
+(repl.sh:87) testReplResponseGeneral --fixed-strings '
[ 42 1 "thingy" ({ a = 1; }) ([ 1 2 3 ]) ]
' '[
42
1
"thingy"
{ ... }
[ ... ]
]
'
+(repl.sh:63) local grepMode=--fixed-strings
+(repl.sh:63) shift
+(repl.sh:64) local 'commands=
[ 42 1 "thingy" ({ a = 1; }) ([ 1 2 3 ]) ]
'
+(repl.sh:64) shift
+(repl.sh:65) local 'expectedResponse=[
42
1
"thingy"
{ ... }
[ ... ]
]
'
+(repl.sh:65) shift
++(repl.sh:66) nix repl
++(repl.sh:66) stripColors
++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
+(repl.sh:66) local 'response=
[
42
1
"thingy"
{ ... }
[ ... ]
]'
+(repl.sh:67) grepQuiet --fixed-strings -s '[
42
1
"thingy"
{ ... }
[ ... ]
]
'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --fixed-strings -s '[
42
1
"thingy"
{ ... }
[ ... ]
]
'
+(repl.sh:67) echo '
[
42
1
"thingy"
{ ... }
[ ... ]
]'
+(repl.sh:180) testReplResponseNoRegex '
let x = { y = { a = 1; }; inherit x; }; in x
' '{
x = { ... };
y = { ... };
}
'
+(repl.sh:87) testReplResponseGeneral --fixed-strings '
let x = { y = { a = 1; }; inherit x; }; in x
' '{
x = { ... };
y = { ... };
}
'
+(repl.sh:63) local grepMode=--fixed-strings
+(repl.sh:63) shift
+(repl.sh:64) local 'commands=
let x = { y = { a = 1; }; inherit x; }; in x
'
+(repl.sh:64) shift
+(repl.sh:65) local 'expectedResponse={
x = { ... };
y = { ... };
}
'
+(repl.sh:65) shift
++(repl.sh:66) nix repl
++(repl.sh:66) stripColors
++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
+(repl.sh:66) local 'response=
{
x = «repeated»;
y = { ... };
}'
+(repl.sh:67) echo '
{
x = «repeated»;
y = { ... };
}'
+(repl.sh:67) grepQuiet --fixed-strings -s '{
x = { ... };
y = { ... };
}
'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --fixed-strings -s '{
x = { ... };
y = { ... };
}
'
+(repl.sh:190) testReplResponseNoRegex '
:p { a = { b = 2; }; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; }
' '{
a = { b = 2; };
n = 1234;
s = "string";
x = {
y = {
z = {
y = «repeated»;
};
};
};
}
'
+(repl.sh:87) testReplResponseGeneral --fixed-strings '
:p { a = { b = 2; }; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; }
' '{
a = { b = 2; };
n = 1234;
s = "string";
x = {
y = {
z = {
y = «repeated»;
};
};
};
}
'
+(repl.sh:63) local grepMode=--fixed-strings
+(repl.sh:63) shift
+(repl.sh:64) local 'commands=
:p { a = { b = 2; }; s = "string"; n = 1234; x = rec { y = { z = { inherit y; }; }; }; }
'
+(repl.sh:64) shift
+(repl.sh:65) local 'expectedResponse={
a = { b = 2; };
n = 1234;
s = "string";
x = {
y = {
z = {
y = «repeated»;
};
};
};
}
'
+(repl.sh:65) shift
++(repl.sh:66) nix repl
++(repl.sh:66) stripColors
++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
+(repl.sh:66) local 'response=
{
a = { b = 2; };
n = 1234;
s = "string";
x = {
y = {
z = {
y = «repeated»;
};
};
};
}'
+(repl.sh:67) echo '
{
a = { b = 2; };
n = 1234;
s = "string";
x = {
y = {
z = {
y = «repeated»;
};
};
};
}'
+(repl.sh:67) grepQuiet --fixed-strings -s '{
a = { b = 2; };
n = 1234;
s = "string";
x = {
y = {
z = {
y = «repeated»;
};
};
};
}
'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --fixed-strings -s '{
a = { b = 2; };
n = 1234;
s = "string";
x = {
y = {
z = {
y = «repeated»;
};
};
};
}
'
+(repl.sh:208) testReplResponseNoRegex '
:p [ 42 1 "thingy" (rec { a = 1; b = { inherit a; inherit b; }; }) ([ 1 2 3 ]) ]
' '[
42
1
"thingy"
{
a = 1;
b = {
a = 1;
b = «repeated»;
};
}
[
1
2
3
]
]
'
+(repl.sh:87) testReplResponseGeneral --fixed-strings '
:p [ 42 1 "thingy" (rec { a = 1; b = { inherit a; inherit b; }; }) ([ 1 2 3 ]) ]
' '[
42
1
"thingy"
{
a = 1;
b = {
a = 1;
b = «repeated»;
};
}
[
1
2
3
]
]
'
+(repl.sh:63) local grepMode=--fixed-strings
+(repl.sh:63) shift
+(repl.sh:64) local 'commands=
:p [ 42 1 "thingy" (rec { a = 1; b = { inherit a; inherit b; }; }) ([ 1 2 3 ]) ]
'
+(repl.sh:64) shift
+(repl.sh:65) local 'expectedResponse=[
42
1
"thingy"
{
a = 1;
b = {
a = 1;
b = «repeated»;
};
}
[
1
2
3
]
]
'
+(repl.sh:65) shift
++(repl.sh:66) nix repl
++(repl.sh:66) stripColors
++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
+(repl.sh:66) local 'response=
[
42
1
"thingy"
{
a = 1;
b = {
a = 1;
b = «repeated»;
};
}
[
1
2
3
]
]'
+(repl.sh:67) echo '
[
42
1
"thingy"
{
a = 1;
b = {
a = 1;
b = «repeated»;
};
}
[
1
2
3
]
]'
+(repl.sh:67) grepQuiet --fixed-strings -s '[
42
1
"thingy"
{
a = 1;
b = {
a = 1;
b = «repeated»;
};
}
[
1
2
3
]
]
'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --fixed-strings -s '[
42
1
"thingy"
{
a = 1;
b = {
a = 1;
b = «repeated»;
};
}
[
1
2
3
]
]
'
+(repl.sh:231) testReplResponseNoRegex '
:p let x = { y = { a = 1; }; inherit x; }; in x
' '{
x = «repeated»;
y = { a = 1 };
}
'
+(repl.sh:87) testReplResponseGeneral --fixed-strings '
:p let x = { y = { a = 1; }; inherit x; }; in x
' '{
x = «repeated»;
y = { a = 1 };
}
'
+(repl.sh:63) local grepMode=--fixed-strings
+(repl.sh:63) shift
+(repl.sh:64) local 'commands=
:p let x = { y = { a = 1; }; inherit x; }; in x
'
+(repl.sh:64) shift
+(repl.sh:65) local 'expectedResponse={
x = «repeated»;
y = { a = 1 };
}
'
+(repl.sh:65) shift
++(repl.sh:66) nix repl
++(repl.sh:66) stripColors
++(repl.sh:59) sed -E 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
Lix 2.90.0
Type :? for help.
+(repl.sh:66) local 'response=
{
x = «repeated»;
y = { a = 1; };
}'
+(repl.sh:67) echo '
{
x = «repeated»;
y = { a = 1; };
}'
+(repl.sh:67) grepQuiet --fixed-strings -s '{
x = «repeated»;
y = { a = 1 };
}
'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep --fixed-strings -s '{
x = «repeated»;
y = { a = 1 };
}
'clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/pass-as-file
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/pass-as-file
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/pass-as-file
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/pass-as-file
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/pass-as-file
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/pass-as-file/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/pass-as-file/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/pass-as-file/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/pass-as-file/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/pass-as-file/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/pass-as-file/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(pass-as-file.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/pass-as-file/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/pass-as-file/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/pass-as-file/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/pass-as-file/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/pass-as-file/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/pass-as-file/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/pass-as-file/test-home/.local/state/nix/profiles
++(pass-as-file.sh:18) nix-build --no-out-link -E '
with import ./config.nix;
mkDerivation {
name = "pass-as-file";
passAsFile = [ "foo" ];
foo = [ "xyzzy" ];
builder = builtins.toFile "builder.sh" '\'''\''
[ "$(basename $fooPath)" = .attr-1bp7cri8hplaz6hbz0v4f0nl44rl84q1sg25kgwqzipzd1mv89ic ]
[ "$(cat $fooPath)" = xyzzy ]
touch $out
'\'''\'';
}
'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/pass-as-file/store/smn29j1rs6vscilik3zg3szb0p2hq2by-pass-as-file.drv
building '/tmp/nix-shell.MrxVR3/nix-test/pass-as-file/store/smn29j1rs6vscilik3zg3szb0p2hq2by-pass-as-file.drv'...
+(pass-as-file.sh:18) outPath=/tmp/nix-shell.MrxVR3/nix-test/pass-as-file/store/51g98715vzkz461l14dh85iajkkzz4kc-pass-as-fileclearing store...
/tmp/nix-shell.MrxVR3/nix-test/selfref-gc/store/4h3k4a7qm3cc3ry16czp9h2src49sbkb-selfref-gc
5 store paths deleted, 0.00 MiB freed
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/selfref-gc
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/selfref-gc
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/selfref-gc
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/selfref-gc
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/selfref-gc
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/selfref-gc/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/selfref-gc/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/selfref-gc/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/selfref-gc/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/selfref-gc/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/selfref-gc/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(selfref-gc.sh:3) requireDaemonNewerThan 2.6.0pre20211215
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:159) isDaemonNewer 2.6.0pre20211215
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
+(selfref-gc.sh:5) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/selfref-gc/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/selfref-gc/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/selfref-gc/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/selfref-gc/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/selfref-gc/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/selfref-gc/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/selfref-gc/test-home/.local/state/nix/profiles
+(selfref-gc.sh:7) nix-build --no-out-link -E '
with import ./config.nix;
let d1 = mkDerivation {
name = "selfref-gc";
outputs = [ "out" ];
buildCommand = "
echo SELF_REF: $out > $out
";
}; in
# the only change from d1 is d1 as an (unused) build input
# to get identical store path in CA.
mkDerivation {
name = "selfref-gc";
outputs = [ "out" ];
buildCommand = "
echo UNUSED: ${d1}
echo SELF_REF: $out > $out
";
}
'
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/selfref-gc/store/xgkjn8lls3jqq23ilb9pkfwrkx9f3zpw-selfref-gc.drv
/tmp/nix-shell.MrxVR3/nix-test/selfref-gc/store/vrsxfa6qad3z8f375phymsscp4zw3p7v-selfref-gc.drv
building '/tmp/nix-shell.MrxVR3/nix-test/selfref-gc/store/xgkjn8lls3jqq23ilb9pkfwrkx9f3zpw-selfref-gc.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/selfref-gc/store/vrsxfa6qad3z8f375phymsscp4zw3p7v-selfref-gc.drv'...
UNUSED: /tmp/nix-shell.MrxVR3/nix-test/selfref-gc/store/rsc6429yxa3g8bv0x4j5yh77p85nphnq-selfref-gc
+(selfref-gc.sh:30) nix-collect-garbage
finding garbage collector roots...
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/selfref-gc/var/nix/gcroots/auto/nl5889s2v544a4n24m833j076wijq9f3' to '/tmp/nix-shell.MrxVR3/nix-build-38937-0/result'
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/selfref-gc/store/vrsxfa6qad3z8f375phymsscp4zw3p7v-selfref-gc.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/selfref-gc/store/rsc6429yxa3g8bv0x4j5yh77p85nphnq-selfref-gc'
deleting '/tmp/nix-shell.MrxVR3/nix-test/selfref-gc/store/xgkjn8lls3jqq23ilb9pkfwrkx9f3zpw-selfref-gc.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/selfref-gc/store/4h3k4a7qm3cc3ry16czp9h2src49sbkb-selfref-gc'
deleting '/tmp/nix-shell.MrxVR3/nix-test/selfref-gc/store/ndk92ifg6x2jyp5yd291fy58rd3lv6jm-builder-selfref-gc.sh'
deleting unused links...
note: currently hard linking saves -0.00 MiBclearing store...
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1/.git/
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2/.git/
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/.git/
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7/.git/
Initialized empty Git repository in /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake/.git/
[master (root-commit) 5ab774e] Initial
4 files changed, 66 insertions(+)
create mode 100644 config.nix
create mode 100644 flake.nix
create mode 100644 simple.builder.sh
create mode 100644 simple.nix
[main (root-commit) dd297f4] Initial
1 file changed, 7 insertions(+)
create mode 100644 flake.nix
[master (root-commit) c0f4994] Initial
2 files changed, 12 insertions(+)
create mode 100644 default.nix
create mode 100644 flake.nix
[master (root-commit) 3ff8669] Initial
1 file changed, 1 insertion(+)
create mode 100644 README.md
global flake:flake1 git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
global flake:flake2 git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2
global flake:flake3 git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3
global flake:flake4 flake:flake3
global flake:nixpkgs flake:flake1
\x1b[1mResolved URL:\x1b[0m git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
\x1b[1mLocked URL:\x1b[0m git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=5ab774ef50a9363f5ee18410200d73231a82daaa
\x1b[1mDescription:\x1b[0m Bla bla
\x1b[1mPath:\x1b[0m /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/zb3kx6xp9hprh812m765clf9fzlhv5jx-source
\x1b[1mRevision:\x1b[0m 5ab774ef50a9363f5ee18410200d73231a82daaa
\x1b[1mRevisions:\x1b[0m 1
\x1b[1mLast modified:\x1b[0m 2024-05-26 00:21:02
[master 5233808] Foo
2 files changed, 2 insertions(+)
create mode 100644 foo
/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/n7hfx8rvpq2dzdlk04m7p46bs6vkp41i-simple
{ _type = "flake"; inputs = { flake1 = { _type = "flake"; inputs = { }; lastModified = 1716682863; lastModifiedDate = "20240526002103"; legacyPackages = { x86_64-linux = { hello = «derivation /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/xcir3x9yg1y57w0919xp9mm8ybkwm7kw-simple.drv»; }; }; narHash = "sha256-B2VMeKKHdgtPc80RRMFyUDWKjFzPQ/Lh62tQpMcqTEQ="; outPath = "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/ncjlkdaa64y69z37ng2wi1qbzxd9mdkv-source"; outputs = { legacyPackages = «repeated»; packages = { someOtherSystem = { default = «repeated»; foo = «repeated»; }; x86_64-linux = { default = «repeated»; foo = «repeated»; }; }; }; packages = «repeated»; rev = "52338080deb10b539e138f0809d10797b1273b57"; revCount = 2; shortRev = "5233808"; sourceInfo = { lastModified = 1716682863; lastModifiedDate = "20240526002103"; narHash = "sha256-B2VMeKKHdgtPc80RRMFyUDWKjFzPQ/Lh62tQpMcqTEQ="; outPath = "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/ncjlkdaa64y69z37ng2wi1qbzxd9mdkv-source"; rev = "52338080deb10b539e138f0809d10797b1273b57"; revCount = 2; shortRev = "5233808"; submodules = false; }; submodules = false; }; }; lastModified = 1716682862; lastModifiedDate = "20240526002102"; narHash = "sha256-7ElMZ2WLdLYwUnbWlrR3m+i4wgCkqNyeIeN8DUibBKU="; outPath = "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/5lk6c7xhlx7g1nhy66ycxmibdglxqraf-source"; outputs = { packages = { x86_64-linux = { bar = «repeated»; }; }; }; packages = «repeated»; sourceInfo = { lastModified = 1716682862; lastModifiedDate = "20240526002102"; narHash = "sha256-7ElMZ2WLdLYwUnbWlrR3m+i4wgCkqNyeIeN8DUibBKU="; outPath = "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/5lk6c7xhlx7g1nhy66ycxmibdglxqraf-source"; }; }
error: flake 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2' requires lock file changes but they're not allowed due to '--no-update-lock-file'
error: flake 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2' requires lock file changes but they're not allowed due to '--no-update-lock-file'
[master 26f229e] Update flake.nix
2 files changed, 46 insertions(+), 5 deletions(-)
create mode 100644 flake.lock
[master b6abed4] Add lockfile
1 file changed, 17 insertions(+), 1 deletion(-)
13 store paths deleted, 0.07 MiB freed
1 store paths deleted, 0.00 MiB freed
4 store paths deleted, 0.00 MiB freed
[master 8ad844c] Add nonFlakeInputs
2 files changed, 63 insertions(+), 3 deletions(-)
create mode 100644 config.nix
clearing store...
[removeXyzzy 666ebc4] Remove packages.xyzzy
2 files changed, 9 insertions(+), 73 deletions(-)
[master (root-commit) 27ac6c0] Initial
1 file changed, 5 insertions(+)
create mode 100644 flake.nix
error: NAR hash mismatch in input 'file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz?narHash=sha256-qQ2Zz4DNHViCUrp6gTS7EE4%2BRMqFQtUfWF2UNUtJKS0%3D' (/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/rkx3jqfbi62gcv93qydadimkl7hw39ih-source), expected 'sha256-qQ2Zz4DNHViCUrp6gTS7EE4+RMqFQtUfWF2UNUtJKS0=', got 'sha256-7zb9Pc6ZwTq5ZCbPZa5ZVdilTeyzLnO2cd/1kMO5eQ0='
HEAD is now at 4f8650b flake.lock: Update
{
"description": "Fnord",
"lastModified": 1716682869,
"locked": {
"lastModified": 1716682869,
"narHash": "sha256-8NjujbonfjndNaqzphd/yWFoyKyw4b06hiV15nddFEc=",
"ref": "refs/heads/master",
"rev": "4f8650be7b2c28303fef6f5ce206d601dc5745f5",
"revCount": 5,
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3"
},
"locks": {
"nodes": {
"flake1": {
"locked": {
"lastModified": 1716682863,
"narHash": "sha256-B2VMeKKHdgtPc80RRMFyUDWKjFzPQ/Lh62tQpMcqTEQ=",
"ref": "refs/heads/master",
"rev": "52338080deb10b539e138f0809d10797b1273b57",
"revCount": 2,
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1"
},
"original": {
"id": "flake1",
"type": "indirect"
}
},
"flake1_2": {
"locked": {
"lastModified": 1716682863,
"narHash": "sha256-B2VMeKKHdgtPc80RRMFyUDWKjFzPQ/Lh62tQpMcqTEQ=",
"ref": "refs/heads/master",
"rev": "52338080deb10b539e138f0809d10797b1273b57",
"revCount": 2,
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1"
},
"original": {
"id": "flake1",
"type": "indirect"
}
},
"flake2": {
"inputs": {
"flake1": "flake1_2"
},
"locked": {
"lastModified": 1716682866,
"narHash": "sha256-iioB0G7vd87Ed0uPlg5wn7XACzwoHeZ1gw0WQR4pW4Q=",
"ref": "refs/heads/main",
"rev": "efdfdb1fcf7eac8a365ab532fcd27a1ff8f647a3",
"revCount": 2,
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2"
},
"original": {
"id": "flake2",
"type": "indirect"
}
},
"nonFlake": {
"flake": false,
"locked": {
"lastModified": 1716682862,
"narHash": "sha256-Nh+ycbbQcbtbiaVaI6hqQ3e2W2kIlPbjti+3JMo4338=",
"ref": "refs/heads/master",
"rev": "3ff866971853ee935b1882819d31eef574e3cda2",
"revCount": 1,
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake"
},
"original": {
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake"
}
},
"nonFlakeFile": {
"flake": false,
"locked": {
"lastModified": 1716682862,
"narHash": "sha256-cPh6hp48IOdRxVV3xGd0PDgSxgzj5N/2cK0rMPNaR4o=",
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake/README.md",
"type": "path"
},
"original": {
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake/README.md",
"type": "path"
}
},
"nonFlakeFile2": {
"flake": false,
"locked": {
"lastModified": 1716682862,
"narHash": "sha256-cPh6hp48IOdRxVV3xGd0PDgSxgzj5N/2cK0rMPNaR4o=",
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake/README.md",
"type": "path"
},
"original": {
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake/README.md",
"type": "path"
}
},
"root": {
"inputs": {
"flake1": "flake1",
"flake2": "flake2",
"nonFlake": "nonFlake",
"nonFlakeFile": "nonFlakeFile",
"nonFlakeFile2": "nonFlakeFile2"
}
}
},
"root": "root",
"version": 7
},
"original": {
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3"
},
"originalUrl": "git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3",
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/wr49msjf6gzi1h1wr2g760pbli791r33-source",
"resolved": {
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3"
},
"resolvedUrl": "git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3",
"revCount": 5,
"revision": "4f8650be7b2c28303fef6f5ce206d601dc5745f5",
"url": "git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3?ref=refs/heads/master&rev=4f8650be7b2c28303fef6f5ce206d601dc5745f5"
}
1 store paths deleted, 0.00 MiB freed
/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2/flake.lock /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2-overridden.lock differ: char 83, line 5
\x1b[K
\x1b[Kerror:
… while updating the lock file of flake 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2?ref=refs/heads/main&rev=efdfdb1fcf7eac8a365ab532fcd27a1ff8f647a3'
error: reference lock file was provided, but the `allow-dirty` setting is set to false
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(./common.sh:3) registry=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/registry.json
+(flakes.sh:3) requireGit
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) type -p git
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:171) [[ -n /nix/store/gbn9s7vrva8vp9m04fbha5afrxwk010b-git-2.42.0/bin/git ]]
+(flakes.sh:5) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/test-home/.local/state/nix/profiles
+(flakes.sh:6) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/test-home/.cache /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/test-home/.config
+(flakes.sh:8) flake1Dir=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
+(flakes.sh:9) flake2Dir=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2
+(flakes.sh:10) flake3Dir=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3
+(flakes.sh:11) flake5Dir=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake5
+(flakes.sh:12) flake7Dir=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7
+(flakes.sh:13) nonFlakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake
+(flakes.sh:14) badFlakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/badFlake
+(flakes.sh:15) flakeGitBare=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flakeGitBare
+(flakes.sh:17) for repo in $flake1Dir $flake2Dir $flake3Dir $flake7Dir $nonFlakeDir
+(flakes.sh:19) extraArgs=
+(flakes.sh:20) [[ /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1 == /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 ]]
+(flakes.sh:24) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1 ''
+(./common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
+(./common.sh:62) local extraArgs=
+(./common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1 /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1.tmp
+(./common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
+(./common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1 init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(./common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1 config user.email foobar@example.com
+(./common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1 config user.name Foobar
+(flakes.sh:17) for repo in $flake1Dir $flake2Dir $flake3Dir $flake7Dir $nonFlakeDir
+(flakes.sh:19) extraArgs=
+(flakes.sh:20) [[ /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 == /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 ]]
+(flakes.sh:21) extraArgs=--initial-branch=main
+(flakes.sh:24) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 --initial-branch=main
+(./common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2
+(./common.sh:62) local extraArgs=--initial-branch=main
+(./common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2.tmp
+(./common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2
+(./common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 init --initial-branch=main
+(./common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 config user.email foobar@example.com
+(./common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 config user.name Foobar
+(flakes.sh:17) for repo in $flake1Dir $flake2Dir $flake3Dir $flake7Dir $nonFlakeDir
+(flakes.sh:19) extraArgs=
+(flakes.sh:20) [[ /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 == /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 ]]
+(flakes.sh:24) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 ''
+(./common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3
+(./common.sh:62) local extraArgs=
+(./common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3.tmp
+(./common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3
+(./common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(./common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 config user.email foobar@example.com
+(./common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 config user.name Foobar
+(flakes.sh:17) for repo in $flake1Dir $flake2Dir $flake3Dir $flake7Dir $nonFlakeDir
+(flakes.sh:19) extraArgs=
+(flakes.sh:20) [[ /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7 == /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 ]]
+(flakes.sh:24) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7 ''
+(./common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7
+(./common.sh:62) local extraArgs=
+(./common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7 /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7.tmp
+(./common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7
+(./common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7 init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(./common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7 config user.email foobar@example.com
+(./common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7 config user.name Foobar
+(flakes.sh:17) for repo in $flake1Dir $flake2Dir $flake3Dir $flake7Dir $nonFlakeDir
+(flakes.sh:19) extraArgs=
+(flakes.sh:20) [[ /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake == /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 ]]
+(flakes.sh:24) createGitRepo /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake ''
+(./common.sh:61) local repo=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake
+(./common.sh:62) local extraArgs=
+(./common.sh:64) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake.tmp
+(./common.sh:65) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake
+(./common.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
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 <name>
+(./common.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake config user.email foobar@example.com
+(./common.sh:69) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake config user.name Foobar
+(flakes.sh:27) createSimpleGitFlake /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
+(./common.sh:31) local flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
+(./common.sh:32) writeSimpleFlake /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
+(./common.sh:6) local flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
+(./common.sh:7) cat
+(./common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1/
+(./common.sh:33) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1 add flake.nix simple.nix simple.builder.sh config.nix
+(./common.sh:34) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1 commit -m Initial
+(flakes.sh:29) cat
+(flakes.sh:39) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 add flake.nix
+(flakes.sh:40) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 commit -m Initial
+(flakes.sh:42) cat
+(flakes.sh:56) cat
+(flakes.sh:60) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 add flake.nix default.nix
+(flakes.sh:61) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 commit -m Initial
+(flakes.sh:63) cat
+(flakes.sh:67) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake add README.md
+(flakes.sh:68) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake commit -m Initial
+(flakes.sh:71) nix registry add --registry /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/registry.json flake1 git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
+(flakes.sh:72) nix registry add --registry /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/registry.json flake2 git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2
+(flakes.sh:73) nix registry add --registry /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/registry.json flake3 git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3
+(flakes.sh:74) nix registry add --registry /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/registry.json flake4 flake3
+(flakes.sh:75) nix registry add --registry /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/registry.json nixpkgs flake1
++(flakes.sh:78) nix registry list
++(flakes.sh:78) wc -l
+(flakes.sh:78) [[ 5 == 5 ]]
+(flakes.sh:79) nix registry list
+(flakes.sh:79) grep '^global'
+(flakes.sh:80) nix registry list
+(flakes.sh:80) grepInverse '^user'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:249) grep '^user'
+(flakes.sh:83) expectStderr 1 nix eval flake1#ERROR
+(flakes.sh:83) grepQuiet 'error:.*does not provide attribute.*or '\''ERROR'\''$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix eval flake1#ERROR
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'error:.*does not provide attribute.*or '\''ERROR'\''$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(flakes.sh:84) expectStderr 1 nix eval flake1#.ERROR
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix eval flake1#.ERROR
+(flakes.sh:84) grepQuiet 'error:.*does not provide attribute '\''ERROR'\''$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'error:.*does not provide attribute '\''ERROR'\''$'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(flakes.sh:87) nix flake metadata flake1
\x1b[K
\x1b[K+(flakes.sh:88) nix flake metadata flake1
+(flakes.sh:88) grepQuiet 'Locked URL:.*flake1.*'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'Locked URL:.*flake1.*'
\x1b[K
\x1b[K+(flakes.sh:91) cd /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
+(flakes.sh:91) nix flake metadata
+(flakes.sh:91) grepQuiet 'URL:.*flake1.*'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'URL:.*flake1.*'
\x1b[K
\x1b[K+(flakes.sh:92) cd /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
+(flakes.sh:92) nix flake metadata .
+(flakes.sh:92) grepQuiet 'URL:.*flake1.*'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'URL:.*flake1.*'
\x1b[K
\x1b[K+(flakes.sh:93) nix flake metadata /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
+(flakes.sh:93) grepQuiet 'URL:.*flake1.*'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'URL:.*flake1.*'
\x1b[K
\x1b[K++(flakes.sh:96) nix flake metadata flake1 --json
++(flakes.sh:96) jq .
\x1b[K
\x1b[K+(flakes.sh:96) json='{
"description": "Bla bla",
"lastModified": 1716682862,
"locked": {
"lastModified": 1716682862,
"narHash": "sha256-pSbVFb7RZTVmFdut9mzAWH0+i6V/3FoUADIHGnus8co=",
"ref": "refs/heads/master",
"rev": "5ab774ef50a9363f5ee18410200d73231a82daaa",
"revCount": 1,
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1"
},
"locks": {
"nodes": {
"root": {}
},
"root": "root",
"version": 7
},
"original": {
"id": "flake1",
"type": "indirect"
},
"originalUrl": "flake:flake1",
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/zb3kx6xp9hprh812m765clf9fzlhv5jx-source",
"resolved": {
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1"
},
"resolvedUrl": "git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1",
"revCount": 1,
"revision": "5ab774ef50a9363f5ee18410200d73231a82daaa",
"url": "git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=5ab774ef50a9363f5ee18410200d73231a82daaa"
}'
++(flakes.sh:97) echo '{
"description": "Bla bla",
"lastModified": 1716682862,
"locked": {
"lastModified": 1716682862,
"narHash": "sha256-pSbVFb7RZTVmFdut9mzAWH0+i6V/3FoUADIHGnus8co=",
"ref": "refs/heads/master",
"rev": "5ab774ef50a9363f5ee18410200d73231a82daaa",
"revCount": 1,
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1"
},
"locks": {
"nodes": {
"root": {}
},
"root": "root",
"version": 7
},
"original": {
"id": "flake1",
"type": "indirect"
},
"originalUrl": "flake:flake1",
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/zb3kx6xp9hprh812m765clf9fzlhv5jx-source",
"resolved": {
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1"
},
"resolvedUrl": "git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1",
"revCount": 1,
"revision": "5ab774ef50a9363f5ee18410200d73231a82daaa",
"url": "git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=5ab774ef50a9363f5ee18410200d73231a82daaa"
}'
++(flakes.sh:97) jq -r .description
+(flakes.sh:97) [[ Bla bla = \B\l\a\ \b\l\a ]]
++(flakes.sh:98) echo '{
"description": "Bla bla",
"lastModified": 1716682862,
"locked": {
"lastModified": 1716682862,
"narHash": "sha256-pSbVFb7RZTVmFdut9mzAWH0+i6V/3FoUADIHGnus8co=",
"ref": "refs/heads/master",
"rev": "5ab774ef50a9363f5ee18410200d73231a82daaa",
"revCount": 1,
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1"
},
"locks": {
"nodes": {
"root": {}
},
"root": "root",
"version": 7
},
"original": {
"id": "flake1",
"type": "indirect"
},
"originalUrl": "flake:flake1",
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/zb3kx6xp9hprh812m765clf9fzlhv5jx-source",
"resolved": {
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1"
},
"resolvedUrl": "git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1",
"revCount": 1,
"revision": "5ab774ef50a9363f5ee18410200d73231a82daaa",
"url": "git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=5ab774ef50a9363f5ee18410200d73231a82daaa"
}'
++(flakes.sh:98) jq -r .path
+(flakes.sh:98) [[ -d /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/zb3kx6xp9hprh812m765clf9fzlhv5jx-source ]]
++(flakes.sh:99) echo '{
"description": "Bla bla",
"lastModified": 1716682862,
"locked": {
"lastModified": 1716682862,
"narHash": "sha256-pSbVFb7RZTVmFdut9mzAWH0+i6V/3FoUADIHGnus8co=",
"ref": "refs/heads/master",
"rev": "5ab774ef50a9363f5ee18410200d73231a82daaa",
"revCount": 1,
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1"
},
"locks": {
"nodes": {
"root": {}
},
"root": "root",
"version": 7
},
"original": {
"id": "flake1",
"type": "indirect"
},
"originalUrl": "flake:flake1",
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/zb3kx6xp9hprh812m765clf9fzlhv5jx-source",
"resolved": {
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1"
},
"resolvedUrl": "git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1",
"revCount": 1,
"revision": "5ab774ef50a9363f5ee18410200d73231a82daaa",
"url": "git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=5ab774ef50a9363f5ee18410200d73231a82daaa"
}'
++(flakes.sh:99) jq -r .lastModified
++(flakes.sh:99) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1 log -n1 --format=%ct
+(flakes.sh:99) [[ 1716682862 = 1716682862 ]]
++(flakes.sh:100) echo '{
"description": "Bla bla",
"lastModified": 1716682862,
"locked": {
"lastModified": 1716682862,
"narHash": "sha256-pSbVFb7RZTVmFdut9mzAWH0+i6V/3FoUADIHGnus8co=",
"ref": "refs/heads/master",
"rev": "5ab774ef50a9363f5ee18410200d73231a82daaa",
"revCount": 1,
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1"
},
"locks": {
"nodes": {
"root": {}
},
"root": "root",
"version": 7
},
"original": {
"id": "flake1",
"type": "indirect"
},
"originalUrl": "flake:flake1",
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/zb3kx6xp9hprh812m765clf9fzlhv5jx-source",
"resolved": {
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1"
},
"resolvedUrl": "git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1",
"revCount": 1,
"revision": "5ab774ef50a9363f5ee18410200d73231a82daaa",
"url": "git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=5ab774ef50a9363f5ee18410200d73231a82daaa"
}'
++(flakes.sh:100) jq -r .revision
+(flakes.sh:100) hash1=5ab774ef50a9363f5ee18410200d73231a82daaa
+(flakes.sh:102) echo foo
+(flakes.sh:103) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1 add /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1/foo
++(flakes.sh:104) nix flake metadata flake1 --json --refresh
++(flakes.sh:104) jq -r .dirtyRevision
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1' is dirty
+(flakes.sh:104) [[ 5ab774ef50a9363f5ee18410200d73231a82daaa-dirty == \5\a\b\7\7\4\e\f\5\0\a\9\3\6\3\f\5\e\e\1\8\4\1\0\2\0\0\d\7\3\2\3\1\a\8\2\d\a\a\a\-\d\i\r\t\y ]]
+(flakes.sh:106) echo -n '# foo'
++(flakes.sh:107) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1 rev-parse HEAD
+(flakes.sh:107) flake1OriginalCommit=5ab774ef50a9363f5ee18410200d73231a82daaa
+(flakes.sh:108) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1 commit -a -m Foo
++(flakes.sh:109) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1 rev-parse HEAD
+(flakes.sh:109) flake1NewCommit=52338080deb10b539e138f0809d10797b1273b57
++(flakes.sh:110) nix flake metadata flake1 --json --refresh
++(flakes.sh:110) jq -r .revision
\x1b[K
\x1b[K+(flakes.sh:110) hash2=52338080deb10b539e138f0809d10797b1273b57
++(flakes.sh:111) nix flake metadata flake1 --json --refresh
++(flakes.sh:111) jq -r .dirtyRevision
\x1b[K
\x1b[K+(flakes.sh:111) [[ null == \n\u\l\l ]]
+(flakes.sh:112) [[ 5ab774ef50a9363f5ee18410200d73231a82daaa != 52338080deb10b539e138f0809d10797b1273b57 ]]
+(flakes.sh:115) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result flake1#foo
\x1b[K
\x1b[Kthis derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/xcir3x9yg1y57w0919xp9mm8ybkwm7kw-simple.drv
building '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/xcir3x9yg1y57w0919xp9mm8ybkwm7kw-simple.drv'...
+(flakes.sh:116) [[ -e /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result/hello ]]
+(flakes.sh:119) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result flake1
\x1b[K
\x1b[K+(flakes.sh:120) [[ -e /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result/hello ]]
+(flakes.sh:122) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
\x1b[K
\x1b[K+(flakes.sh:123) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
\x1b[K
\x1b[K+(flakes.sh:126) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1/result git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
\x1b[K
\x1b[K+(flakes.sh:127) nix path-info /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1/result
+(flakes.sh:131) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result --expr '(builtins.getFlake "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1").packages.x86_64-linux.default'
error:
… while calling the 'getFlake' builtin
at «string»:1:2:
1| (builtins.getFlake "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1").packages.x86_64-linux.default
| ^
error: cannot call 'getFlake' on unlocked flake reference '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1', at «none»:0 (use --impure to override)
+(flakes.sh:132) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result --expr '(builtins.getFlake "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1").packages.x86_64-linux.default' --impure
+(flakes.sh:135) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result --expr '(builtins.getFlake "git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?rev=52338080deb10b539e138f0809d10797b1273b57").packages.x86_64-linux.default'
+(flakes.sh:138) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result flake2#bar --no-registries
warning: '--no-registries' is deprecated; use '--no-use-registries'
error: 'flake:flake2' is an indirect flake reference, but registry lookups are not allowed
+(flakes.sh:139) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result flake2#bar --no-use-registries
error: 'flake:flake2' is an indirect flake reference, but registry lookups are not allowed
+(flakes.sh:140) nix eval --expr 'builtins.getFlake "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2"'
error:
… while calling the 'getFlake' builtin
at «string»:1:1:
1| builtins.getFlake "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2"
| ^
error: cannot call 'getFlake' on unlocked flake reference '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2', at «none»:0 (use --impure to override)
+(flakes.sh:143) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result flake2#bar --impure
\x1b[K
\x1b[K
\x1b[K
\x1b[Kerror:
… while updating the lock file of flake 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2?ref=refs/heads/main&rev=dd297f44dc92484992b50d760f1083328006fe43'
error: cannot write modified lock file of flake 'flake:flake2' (use '--no-write-lock-file' to ignore)
+(flakes.sh:144) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result flake2#bar --impure --no-write-lock-file
\x1b[K
\x1b[K
\x1b[K
\x1b[Kwarning: not writing modified lock file of flake 'flake:flake2':
• Added input 'flake1':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=52338080deb10b539e138f0809d10797b1273b57' (2024-05-26)
+(flakes.sh:145) nix eval --expr 'builtins.getFlake "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2"' --impure
\x1b[K
\x1b[Kwarning: not writing modified lock file of flake 'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2':
• Added input 'flake1':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=52338080deb10b539e138f0809d10797b1273b57' (2024-05-26)
+(flakes.sh:148) grep 'requires lock file changes'
+(flakes.sh:148) expect 1 nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2#bar --no-update-lock-file
+(flakes.sh:151) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2#bar --no-write-lock-file
\x1b[K
\x1b[K
\x1b[K
\x1b[Kwarning: not writing modified lock file of flake 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2':
• Added input 'flake1':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=52338080deb10b539e138f0809d10797b1273b57' (2024-05-26)
+(flakes.sh:152) expect 1 nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2#bar --no-update-lock-file
+(flakes.sh:152) grep 'requires lock file changes'
+(flakes.sh:153) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2#bar --commit-lock-file
\x1b[K
\x1b[K
\x1b[K
\x1b[Kwarning: creating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2/flake.lock':
• Added input 'flake1':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=52338080deb10b539e138f0809d10797b1273b57' (2024-05-26)
\x1b[K
\x1b[K
\x1b[K
\x1b[Kwarning: committed new revision 'efdfdb1fcf7eac8a365ab532fcd27a1ff8f647a3'
+(flakes.sh:154) [[ -e /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2/flake.lock ]]
++(flakes.sh:155) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 diff main
+(flakes.sh:155) [[ -z '' ]]
+(flakes.sh:158) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2#bar
\x1b[K
\x1b[K++(flakes.sh:159) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 diff main
+(flakes.sh:159) [[ -z '' ]]
+(flakes.sh:162) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result --flake-registry file:///no-registry.json /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2#bar --refresh
\x1b[K
\x1b[K+(flakes.sh:163) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result --no-registries /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2#bar --refresh
warning: '--no-registries' is deprecated; use '--no-use-registries'
\x1b[K
\x1b[K+(flakes.sh:164) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result --no-use-registries /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2#bar --refresh
\x1b[K
\x1b[K+(flakes.sh:167) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2
\x1b[K
\x1b[K++(flakes.sh:168) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 diff main
+(flakes.sh:168) [[ -z '' ]]
+(flakes.sh:171) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result flake2#bar
\x1b[K
\x1b[K+(flakes.sh:174) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result --no-registries git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2#bar --refresh
warning: '--no-registries' is deprecated; use '--no-use-registries'
\x1b[K
\x1b[K+(flakes.sh:175) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result --no-use-registries git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2#bar --refresh
\x1b[K
\x1b[K+(flakes.sh:178) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3#xyzzy
\x1b[K
\x1b[K
\x1b[K
\x1b[Kwarning: creating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock':
• Added input 'flake2':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2?ref=refs/heads/main&rev=efdfdb1fcf7eac8a365ab532fcd27a1ff8f647a3' (2024-05-26)
• Added input 'flake2/flake1':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=52338080deb10b539e138f0809d10797b1273b57' (2024-05-26)
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
+(flakes.sh:179) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 add flake.lock
+(flakes.sh:182) rm /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.nix
+(flakes.sh:184) cat
+(flakes.sh:195) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 add flake.nix
+(flakes.sh:196) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 commit -m 'Update flake.nix'
+(flakes.sh:199) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3#sth sth'
\x1b[K
\x1b[K
\x1b[K
\x1b[Kwarning: updating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock':
• Added input 'flake1':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=52338080deb10b539e138f0809d10797b1273b57' (2024-05-26)
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
+(flakes.sh:200) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3#sth%20sth
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
++(flakes.sh:203) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 diff master
+(flakes.sh:203) [[ -n diff --git a/flake.lock b/flake.lock
index 39ef407..233ecb4 100644
--- a/flake.lock
+++ b/flake.lock
@@ -15,9 +15,24 @@
"type": "indirect"
}
},
+ "flake1_2": {
+ "locked": {
+ "lastModified": 1716682863,
+ "narHash": "sha256-B2VMeKKHdgtPc80RRMFyUDWKjFzPQ/Lh62tQpMcqTEQ=",
+ "ref": "refs/heads/master",
+ "rev": "52338080deb10b539e138f0809d10797b1273b57",
+ "revCount": 2,
+ "type": "git",
+ "url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1"
+ },
+ "original": {
+ "id": "flake1",
+ "type": "indirect"
+ }
+ },
"flake2": {
"inputs": {
- "flake1": "flake1"
+ "flake1": "flake1_2"
},
"locked": {
"lastModified": 1716682866,
@@ -35,6 +50,7 @@
},
"root": {
"inputs": {
+ "flake1": "flake1",
"flake2": "flake2"
}
} ]]
+(flakes.sh:205) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 add flake.lock
+(flakes.sh:207) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 commit -m 'Add lockfile'
+(flakes.sh:210) nix registry list --flake-registry file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/registry.json
+(flakes.sh:210) grepQuiet flake3
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep flake3
warning: config option flake-registry referring to a URL is deprecated and will be removed in Lix 3.0; yours is: `file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/registry.json'
+(flakes.sh:211) mv /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/registry.json /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/registry.json.tmp
+(flakes.sh:212) nix store gc
finding garbage collector roots...
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/zksd8p3iwjxkl2njsjw3qdpfjy49g0rd-source'
deleting '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/xcir3x9yg1y57w0919xp9mm8ybkwm7kw-simple.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/mfggqq8pqqphhaxd0ddwxxrz4gncgy76-simple.builder.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/zb3kx6xp9hprh812m765clf9fzlhv5jx-source'
deleting '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/alfb581ckh7r1zmddz3b9ap0a3dw6yhg-source'
deleting '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/4qj8i6gp80bfzc7njyjb9rc13ampfjm9-source'
deleting '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/h6hy2npspr1b3h4v6kivwv0d5s0gaqd9-source'
deleting '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/g9ginfqqdgw3bvsk84dk8yqmbh6yb9m2-source'
deleting '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/ncjlkdaa64y69z37ng2wi1qbzxd9mdkv-source'
deleting '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/5lk6c7xhlx7g1nhy66ycxmibdglxqraf-source'
deleting '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/07w1lmkqcsnis9gnqa65jd23cp798x6c-source'
deleting '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/ankvdqygbky5zwxh9k781a2d7dhki5zq-source'
deleting '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/msiww76br0dim130kil7ydli9nrvgsqm-source'
deleting unused links...
note: currently hard linking saves -0.00 MiB
+(flakes.sh:213) nix registry list --flake-registry file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/registry.json --refresh
+(flakes.sh:213) grepQuiet flake3
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep flake3
warning: config option flake-registry referring to a URL is deprecated and will be removed in Lix 3.0; yours is: `file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/registry.json'
warning: error: unable to download 'file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/registry.json': Couldn't read a file:// file (37); using cached version
+(flakes.sh:214) mv /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/registry.json.tmp /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/registry.json
+(flakes.sh:218) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/test-home/.cache
+(flakes.sh:219) nix store gc
finding garbage collector roots...
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/var/nix/gcroots/auto/rw7caxbp75mw953kwhkycjicrwaf2shc' to '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/test-home/.cache/nix/flake-registry.json'
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/3brnk10qkv4gw5yrb16r8b87a6vhw9fl-flake-registry.json'
deleting unused links...
note: currently hard linking saves -0.00 MiB
+(flakes.sh:220) _NIX_FORCE_HTTP=1
+(flakes.sh:220) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2#bar
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[K+(flakes.sh:221) mv /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1 /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1.tmp
+(flakes.sh:222) mv /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2.tmp
+(flakes.sh:223) nix store gc
finding garbage collector roots...
removing stale link from '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/var/nix/gcroots/auto/qrwwqgdqyxlqk2r4x6c39v5crqfb5qfc' to '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1/result'
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/xcir3x9yg1y57w0919xp9mm8ybkwm7kw-simple.drv'
deleting '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/mfggqq8pqqphhaxd0ddwxxrz4gncgy76-simple.builder.sh'
deleting '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/ncjlkdaa64y69z37ng2wi1qbzxd9mdkv-source'
deleting '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/msiww76br0dim130kil7ydli9nrvgsqm-source'
deleting unused links...
note: currently hard linking saves -0.00 MiB
+(flakes.sh:224) _NIX_FORCE_HTTP=1
+(flakes.sh:224) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2#bar
\x1b[K
\x1b[K+(flakes.sh:225) _NIX_FORCE_HTTP=1
+(flakes.sh:225) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2#bar --refresh
\x1b[K
\x1b[K
\x1b[Kfatal: '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2' 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.
\x1b[Kwarning: could not get HEAD ref for repository 'file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2'; using expired cached ref 'refs/heads/main'
\x1b[Kfatal: '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2' 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.
\x1b[Kwarning: could not update local clone of Git repository 'file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2'; continuing with the most recent version
+(flakes.sh:226) mv /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1.tmp /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
+(flakes.sh:227) mv /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2.tmp /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2
+(flakes.sh:230) rm /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.nix
+(flakes.sh:232) cat
+(flakes.sh:273) cp ../config.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3
+(flakes.sh:275) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 add flake.nix config.nix
+(flakes.sh:276) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 commit -m 'Add nonFlakeInputs'
+(flakes.sh:280) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3#sth --commit-lock-file
\x1b[K
\x1b[K
\x1b[K
\x1b[Kwarning: updating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock':
• Added input 'nonFlake':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake?ref=refs/heads/master&rev=3ff866971853ee935b1882819d31eef574e3cda2' (2024-05-26)
• Added input 'nonFlakeFile':
'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake/README.md?lastModified=1716682862&narHash=sha256-cPh6hp48IOdRxVV3xGd0PDgSxgzj5N/2cK0rMPNaR4o%3D' (2024-05-26)
• Added input 'nonFlakeFile2':
'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake/README.md?lastModified=1716682862&narHash=sha256-cPh6hp48IOdRxVV3xGd0PDgSxgzj5N/2cK0rMPNaR4o%3D' (2024-05-26)
\x1b[K
\x1b[K
\x1b[K
\x1b[Kwarning: committed new revision '4f8650be7b2c28303fef6f5ce206d601dc5745f5'
+(flakes.sh:282) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result flake3#fnord
\x1b[K
\x1b[Kthis derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/9w7j7ya5nkaysrz4whz6ksl7j0i0a2qk-fnord.drv
building '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/9w7j7ya5nkaysrz4whz6ksl7j0i0a2qk-fnord.drv'...
++(flakes.sh:283) cat /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result
+(flakes.sh:283) [[ FNORD = FNORD ]]
+(flakes.sh:287) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/test-home/.cache
+(flakes.sh:288) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/test-home/.local/state/nix/profiles
+(flakes.sh:289) mv /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2.tmp
+(flakes.sh:290) mv /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake.tmp
+(flakes.sh:291) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result flake3#sth
\x1b[K
\x1b[Kthis derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/xcir3x9yg1y57w0919xp9mm8ybkwm7kw-simple.drv
building '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/xcir3x9yg1y57w0919xp9mm8ybkwm7kw-simple.drv'...
+(flakes.sh:292) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result flake3#xyzzy
\x1b[K
\x1b[K
\x1b[Kfatal: '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2' 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.
\x1b[Kerror:
… from call site
at /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/wr49msjf6gzi1h1wr2g760pbli791r33-source/flake.nix:22:35:
21| outputs = inputs: rec {
22| packages.x86_64-linux.xyzzy = inputs.flake2.packages.x86_64-linux.bar;
| ^
23| packages.x86_64-linux.sth = inputs.flake1.packages.x86_64-linux.foo;
… while calling anonymous lambda
at «string»:24:46:
23|
24| inputs = builtins.mapAttrs (inputName: inputSpec: allNodes.${resolveInput inputSpec}) (
| ^
25| node.inputs or { }
… from call site
at «string»:24:57:
23|
24| inputs = builtins.mapAttrs (inputName: inputSpec: allNodes.${resolveInput inputSpec}) (
| ^
25| node.inputs or { }
… while calling anonymous lambda
at «string»:9:10:
8| allNodes = builtins.mapAttrs (
9| key: node:
| ^
10| let
… in the condition of the assert statement
at «string»:67:7:
66| if node.flake or true then
67| assert builtins.isFunction flake.outputs;
| ^
68| result
… while calling the 'isFunction' builtin
at «string»:67:14:
66| if node.flake or true then
67| assert builtins.isFunction flake.outputs;
| ^
68| result
… while calling the 'import' builtin
at «string»:22:15:
21|
22| flake = import (outPath + "/flake.nix");
| ^
23|
… while calling the 'fetchTree' builtin
at «string»:16:11:
15| else
16| fetchTree (node.info or { } // removeAttrs node.locked [ "dir" ]);
| ^
17|
… while fetching the input 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2?ref=refs/heads/main&rev=efdfdb1fcf7eac8a365ab532fcd27a1ff8f647a3'
error: program 'git' failed with exit code 128
+(flakes.sh:293) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result flake3#fnord
\x1b[K
\x1b[K
\x1b[Kfatal: '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake' 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.
\x1b[Kerror:
… while calling the 'derivationStrict' builtin
at /builtin/derivation.nix:1:208:
… while evaluating derivation 'fnord'
whose name attribute is located at /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/wr49msjf6gzi1h1wr2g760pbli791r33-source/flake.nix:28:9
… while evaluating attribute 'buildCommand' of derivation 'fnord'
at /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/wr49msjf6gzi1h1wr2g760pbli791r33-source/flake.nix:31:9:
30| dummy2 = builtins.readFile (builtins.path { name = "source"; path = inputs.flake1; filter = path: type: baseNameOf path == "simple.nix"; } + "/simple.nix");
31| buildCommand = ''
| ^
32| cat ${inputs.nonFlake}/README.md > $out
… from call site
at /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/wr49msjf6gzi1h1wr2g760pbli791r33-source/flake.nix:32:17:
31| buildCommand = ''
32| cat ${inputs.nonFlake}/README.md > $out
| ^
33| [[ $(cat ${inputs.nonFlake}/README.md) = $(cat ${inputs.nonFlakeFile}) ]]
… while calling anonymous lambda
at «string»:24:46:
23|
24| inputs = builtins.mapAttrs (inputName: inputSpec: allNodes.${resolveInput inputSpec}) (
| ^
25| node.inputs or { }
… from call site
at «string»:24:57:
23|
24| inputs = builtins.mapAttrs (inputName: inputSpec: allNodes.${resolveInput inputSpec}) (
| ^
25| node.inputs or { }
… while calling anonymous lambda
at «string»:9:10:
8| allNodes = builtins.mapAttrs (
9| key: node:
| ^
10| let
… while calling the 'fetchTree' builtin
at «string»:16:11:
15| else
16| fetchTree (node.info or { } // removeAttrs node.locked [ "dir" ]);
| ^
17|
… while fetching the input 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake?ref=refs/heads/master&rev=3ff866971853ee935b1882819d31eef574e3cda2'
error: program 'git' failed with exit code 128
+(flakes.sh:294) mv /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2.tmp /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2
+(flakes.sh:295) mv /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake.tmp /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake
+(flakes.sh:296) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result flake3#xyzzy flake3#fnord
\x1b[K
\x1b[K
\x1b[K
\x1b[Kthis derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/9w7j7ya5nkaysrz4whz6ksl7j0i0a2qk-fnord.drv
building '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/9w7j7ya5nkaysrz4whz6ksl7j0i0a2qk-fnord.drv'...
+(flakes.sh:299) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result flake4#xyzzy
\x1b[K
\x1b[K+(flakes.sh:302) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3
\x1b[K
\x1b[K++(flakes.sh:303) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 diff master
+(flakes.sh:303) [[ -z '' ]]
+(flakes.sh:305) nix flake update --flake /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 --override-flake flake2 nixpkgs
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[K
\x1b[Kwarning: updating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock':
• Updated input 'flake2':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2?ref=refs/heads/main&rev=efdfdb1fcf7eac8a365ab532fcd27a1ff8f647a3' (2024-05-26)
→ 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=52338080deb10b539e138f0809d10797b1273b57' (2024-05-26)
• Removed input 'flake2/flake1'
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
++(flakes.sh:306) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 diff master
+(flakes.sh:306) [[ ! -z diff --git a/flake.lock b/flake.lock
index 9e160ca..aecf110 100644
--- a/flake.lock
+++ b/flake.lock
@@ -15,7 +15,7 @@
"type": "indirect"
}
},
- "flake1_2": {
+ "flake2": {
"locked": {
"lastModified": 1716682863,
"narHash": "sha256-B2VMeKKHdgtPc80RRMFyUDWKjFzPQ/Lh62tQpMcqTEQ=",
@@ -25,24 +25,6 @@
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1"
},
- "original": {
- "id": "flake1",
- "type": "indirect"
- }
- },
- "flake2": {
- "inputs": {
- "flake1": "flake1_2"
- },
- "locked": {
- "lastModified": 1716682866,
- "narHash": "sha256-iioB0G7vd87Ed0uPlg5wn7XACzwoHeZ1gw0WQR4pW4Q=",
- "ref": "refs/heads/main",
- "rev": "efdfdb1fcf7eac8a365ab532fcd27a1ff8f647a3",
- "revCount": 2,
- "type": "git",
- "url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2"
- },
"original": {
"id": "flake2",
"type": "indirect" ]]
+(flakes.sh:309) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 checkout -b removeXyzzy
Switched to a new branch 'removeXyzzy'
+(flakes.sh:310) rm /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.nix
+(flakes.sh:312) cat
+(flakes.sh:337) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
warning: updating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock':
• Updated input 'nonFlake':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake?ref=refs/heads/master&rev=3ff866971853ee935b1882819d31eef574e3cda2' (2024-05-26)
→ 'path:/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake?lastModified=1716682862&narHash=sha256-YpPz54taEcNwYptUmSWscDUWdGuw%2BGh7/ygAVXtsqPM%3D' (2024-05-26)
• Removed input 'nonFlakeFile'
• Removed input 'nonFlakeFile2'
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
+(flakes.sh:338) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 add flake.nix flake.lock
+(flakes.sh:339) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 commit -m 'Remove packages.xyzzy'
+(flakes.sh:340) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 checkout master
Switched to branch 'master'
+(flakes.sh:343) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result flake4/removeXyzzy#xyzzy
error: flake 'flake:flake4/removeXyzzy' does not provide attribute 'packages.x86_64-linux.xyzzy', 'legacyPackages.x86_64-linux.xyzzy' or 'xyzzy'
+(flakes.sh:344) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result flake4/removeXyzzy#sth
+(flakes.sh:347) nix registry add flake1 flake3
++(flakes.sh:348) nix registry list
++(flakes.sh:348) wc -l
+(flakes.sh:348) [[ 6 == 6 ]]
+(flakes.sh:349) nix registry pin flake1
\x1b[K
\x1b[K++(flakes.sh:350) nix registry list
++(flakes.sh:350) wc -l
+(flakes.sh:350) [[ 6 == 6 ]]
+(flakes.sh:351) nix registry pin flake1 flake3
\x1b[K
\x1b[K++(flakes.sh:352) nix registry list
++(flakes.sh:352) wc -l
+(flakes.sh:352) [[ 6 == 6 ]]
+(flakes.sh:353) nix registry remove flake1
++(flakes.sh:354) nix registry list
++(flakes.sh:354) wc -l
+(flakes.sh:354) [[ 5 == 5 ]]
+(flakes.sh:357) nix registry add user-flake1 git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
+(flakes.sh:358) nix registry add user-flake2 git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2
++(flakes.sh:359) nix --flake-registry '' registry list
++(flakes.sh:359) wc -l
+(flakes.sh:359) [[ 2 == 2 ]]
+(flakes.sh:360) nix --flake-registry '' registry list
+(flakes.sh:360) grepQuietInverse '^global'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:269) grep '^global'
+(flakes.sh:361) nix --flake-registry '' registry list
+(flakes.sh:361) grepQuiet '^user'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '^user'
+(flakes.sh:362) nix registry remove user-flake1
+(flakes.sh:363) nix registry remove user-flake2
++(flakes.sh:364) nix registry list
++(flakes.sh:364) wc -l
+(flakes.sh:364) [[ 5 == 5 ]]
+(flakes.sh:367) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1-v2
+(flakes.sh:368) nix flake clone flake1 --dest /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1-v2
\x1b[KCloning into '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1-v2'...
done.
\x1b[K+(flakes.sh:369) '[' -e /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1-v2/flake.nix ']'
+(flakes.sh:372) cat
+(flakes.sh:385) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
\x1b[K
\x1b[Kwarning: updating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock':
• Added input 'bar':
follows 'foo'
• Removed input 'flake1'
• Removed input 'flake2'
• Removed input 'flake2/flake1'
• Added input 'foo':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=52338080deb10b539e138f0809d10797b1273b57' (2024-05-26)
• Removed input 'nonFlake'
• Removed input 'nonFlakeFile'
• Removed input 'nonFlakeFile2'
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
++(flakes.sh:386) jq -c .nodes.root.inputs.bar /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock
+(flakes.sh:386) [[ ["foo"] = \[\"\f\o\o\"\] ]]
+(flakes.sh:388) cat
+(flakes.sh:397) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
\x1b[K
\x1b[Kwarning: updating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock':
• Updated input 'bar':
follows 'foo'
→ follows 'flake2/flake1'
• Added input 'flake2':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2?ref=refs/heads/main&rev=efdfdb1fcf7eac8a365ab532fcd27a1ff8f647a3' (2024-05-26)
• Added input 'flake2/flake1':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=52338080deb10b539e138f0809d10797b1273b57' (2024-05-26)
• Removed input 'foo'
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
++(flakes.sh:398) jq -c .nodes.root.inputs.bar /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock
+(flakes.sh:398) [[ ["flake2","flake1"] = \[\"\f\l\a\k\e\2\"\,\"\f\l\a\k\e\1\"\] ]]
+(flakes.sh:400) cat
+(flakes.sh:409) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
warning: updating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock':
• Updated input 'bar':
follows 'flake2/flake1'
→ follows 'flake2'
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
++(flakes.sh:410) jq -c .nodes.root.inputs.bar /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock
+(flakes.sh:410) [[ ["flake2"] = \[\"\f\l\a\k\e\2\"\] ]]
+(flakes.sh:413) writeTrivialFlake /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7
+(./common.sh:50) local flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7
+(./common.sh:51) cat
+(flakes.sh:414) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7 add flake.nix
+(flakes.sh:415) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7 commit -m Initial
+(flakes.sh:417) cat
+(flakes.sh:429) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
\x1b[K
\x1b[Kwarning: updating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock':
• Removed input 'bar'
• Updated input 'flake2/flake1':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=52338080deb10b539e138f0809d10797b1273b57' (2024-05-26)
→ 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7?ref=refs/heads/master&rev=27ac6c042e843754676c0e61801e3b1defefbbb6' (2024-05-26)
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
++(flakes.sh:430) jq .nodes.flake1.locked.url /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock
+(flakes.sh:430) [[ "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7" =~ flake7 ]]
+(flakes.sh:432) cat
+(flakes.sh:442) nix flake update --flake /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
\x1b[K
\x1b[K
\x1b[K
\x1b[Kwarning: updating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock':
• Updated input 'flake2/flake1':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7?ref=refs/heads/master&rev=27ac6c042e843754676c0e61801e3b1defefbbb6' (2024-05-26)
→ follows 'foo'
• Added input 'foo':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7?ref=refs/heads/master&rev=27ac6c042e843754676c0e61801e3b1defefbbb6' (2024-05-26)
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
++(flakes.sh:443) jq -c .nodes.flake2.inputs.flake1 /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock
+(flakes.sh:443) [[ ["foo"] =~ \["foo"] ]]
++(flakes.sh:444) jq .nodes.foo.locked.url /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock
+(flakes.sh:444) [[ "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake7" =~ flake7 ]]
+(flakes.sh:447) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flakeGitBare
+(flakes.sh:448) git clone --bare /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1 /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flakeGitBare
Cloning into bare repository '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flakeGitBare'...
done.
+(flakes.sh:449) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flakeGitBare
\x1b[K
\x1b[K
\x1b[K
\x1b[K+(flakes.sh:452) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake5
+(flakes.sh:453) writeDependentFlake /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake5
+(./common.sh:38) local flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake5
+(./common.sh:39) cat
+(flakes.sh:454) nix flake lock path:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake5
\x1b[K
\x1b[Kwarning: creating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake5/flake.lock':
• Added input 'flake1':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=52338080deb10b539e138f0809d10797b1273b57' (2024-05-26)
+(flakes.sh:457) tar cfz /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes flake5
+(flakes.sh:459) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz
++(flakes.sh:462) nix flake metadata --json file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz
++(flakes.sh:462) jq -r .url
+(flakes.sh:462) url='file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz?narHash=sha256-7zb9Pc6ZwTq5ZCbPZa5ZVdilTeyzLnO2cd/1kMO5eQ0%3D'
+(flakes.sh:463) [[ file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz?narHash=sha256-7zb9Pc6ZwTq5ZCbPZa5ZVdilTeyzLnO2cd/1kMO5eQ0%3D =~ sha256- ]]
+(flakes.sh:465) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result 'file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz?narHash=sha256-7zb9Pc6ZwTq5ZCbPZa5ZVdilTeyzLnO2cd/1kMO5eQ0%3D'
+(flakes.sh:468) expectStderr 102 nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result 'file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz?narHash=sha256-qQ2Zz4DNHViCUrp6gTS7EE4+RMqFQtUfWF2UNUtJKS0='
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=102
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/result 'file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz?narHash=sha256-qQ2Zz4DNHViCUrp6gTS7EE4+RMqFQtUfWF2UNUtJKS0='
+(flakes.sh:468) grep 'NAR hash mismatch'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=102
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 102 -ne 102 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(flakes.sh:471) git -C /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 reset --hard
+(flakes.sh:472) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 --override-input flake2/flake1 file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz -vvvvv
error: restoring parent mount namespace: Operation not permitted
\x1b[Kerror: restoring parent mount namespace: Operation not permitted
\x1b[Kresolved HEAD ref 'refs/heads/master' for repo '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3'
error: restoring parent mount namespace: Operation not permitted
error: restoring parent mount namespace: Operation not permitted
using revision 4f8650be7b2c28303fef6f5ce206d601dc5745f5 of repo '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3'
acquiring write lock on '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/var/nix/temproots/35860'
using cache entry '{"name":"source","rev":"4f8650be7b2c28303fef6f5ce206d601dc5745f5","type":"git"}' -> '{"lastModified":1716682869,"rev":"4f8650be7b2c28303fef6f5ce206d601dc5745f5","revCount":5}', '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/wr49msjf6gzi1h1wr2g760pbli791r33-source'
got tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/wr49msjf6gzi1h1wr2g760pbli791r33-source' from 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3?ref=refs/heads/master&rev=4f8650be7b2c28303fef6f5ce206d601dc5745f5'
checking access to '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/wr49msjf6gzi1h1wr2g760pbli791r33-source/flake.nix'
evaluating file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/wr49msjf6gzi1h1wr2g760pbli791r33-source/flake.nix'
old lock file: {
"nodes": {
"flake1": {
"locked": {
"lastModified": 1716682863,
"narHash": "sha256-B2VMeKKHdgtPc80RRMFyUDWKjFzPQ/Lh62tQpMcqTEQ=",
"ref": "refs/heads/master",
"rev": "52338080deb10b539e138f0809d10797b1273b57",
"revCount": 2,
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1"
},
"original": {
"id": "flake1",
"type": "indirect"
}
},
"flake1_2": {
"locked": {
"lastModified": 1716682863,
"narHash": "sha256-B2VMeKKHdgtPc80RRMFyUDWKjFzPQ/Lh62tQpMcqTEQ=",
"ref": "refs/heads/master",
"rev": "52338080deb10b539e138f0809d10797b1273b57",
"revCount": 2,
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1"
},
"original": {
"id": "flake1",
"type": "indirect"
}
},
"flake2": {
"inputs": {
"flake1": "flake1_2"
},
"locked": {
"lastModified": 1716682866,
"narHash": "sha256-iioB0G7vd87Ed0uPlg5wn7XACzwoHeZ1gw0WQR4pW4Q=",
"ref": "refs/heads/main",
"rev": "efdfdb1fcf7eac8a365ab532fcd27a1ff8f647a3",
"revCount": 2,
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2"
},
"original": {
"id": "flake2",
"type": "indirect"
}
},
"nonFlake": {
"flake": false,
"locked": {
"lastModified": 1716682862,
"narHash": "sha256-Nh+ycbbQcbtbiaVaI6hqQ3e2W2kIlPbjti+3JMo4338=",
"ref": "refs/heads/master",
"rev": "3ff866971853ee935b1882819d31eef574e3cda2",
"revCount": 1,
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake"
},
"original": {
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake"
}
},
"nonFlakeFile": {
"flake": false,
"locked": {
"lastModified": 1716682862,
"narHash": "sha256-cPh6hp48IOdRxVV3xGd0PDgSxgzj5N/2cK0rMPNaR4o=",
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake/README.md",
"type": "path"
},
"original": {
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake/README.md",
"type": "path"
}
},
"nonFlakeFile2": {
"flake": false,
"locked": {
"lastModified": 1716682862,
"narHash": "sha256-cPh6hp48IOdRxVV3xGd0PDgSxgzj5N/2cK0rMPNaR4o=",
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake/README.md",
"type": "path"
},
"original": {
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake/README.md",
"type": "path"
}
},
"root": {
"inputs": {
"flake1": "flake1",
"flake2": "flake2",
"nonFlake": "nonFlake",
"nonFlakeFile": "nonFlakeFile",
"nonFlakeFile2": "nonFlakeFile2"
}
}
},
"root": "root",
"version": 7
}
computing lock file node ''
computing input 'flake1'
keeping existing input 'flake1'
computing lock file node 'flake1'
computing input 'flake2'
keeping existing input 'flake2'
computing lock file node 'flake2'
computing input 'flake2/flake1'
creating new input 'flake2/flake1'
using cache entry '{"name":"source","type":"tarball","url":"file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz"}' -> '{"etag":"","lastModified":1716682873}', '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/rkx3jqfbi62gcv93qydadimkl7hw39ih-source'
using cache entry '{"name":"source","type":"file","url":"file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz"}' -> '{"etag":"","url":"file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz"}', '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/ib9c91yxk7y9i7dpcys512xw7y0yxk1y-source'
downloading 'file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz'...
download thread waiting for 10000 ms
starting download of file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz
curl: Couldn't find host in the /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/etc/netrc file; using defaults
got header for 'file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz': Content-Length: 573
got header for 'file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz': Accept-ranges: bytes
got header for 'file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz': Last-Modified: Sun, 26 May 2024 00:21:13 GMT
curl: Closing connection
finished download of 'file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz'; curl status = 0, HTTP status = 0, body = 573 bytes
download thread waiting for 10000 ms
got tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/rkx3jqfbi62gcv93qydadimkl7hw39ih-source' from 'file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz?narHash=sha256-7zb9Pc6ZwTq5ZCbPZa5ZVdilTeyzLnO2cd/1kMO5eQ0%3D'
checking access to '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/rkx3jqfbi62gcv93qydadimkl7hw39ih-source/flake.nix'
evaluating file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/rkx3jqfbi62gcv93qydadimkl7hw39ih-source/flake.nix'
computing lock file node 'flake2/flake1'
computing input 'flake2/flake1/flake1'
creating new input 'flake2/flake1/flake1'
looked up 'flake:flake1' -> 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1'
error: restoring parent mount namespace: Operation not permitted
\x1b[Kerror: restoring parent mount namespace: Operation not permitted
\x1b[Kresolved HEAD ref 'refs/heads/master' for repo '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1'
error: restoring parent mount namespace: Operation not permitted
error: restoring parent mount namespace: Operation not permitted
using revision 52338080deb10b539e138f0809d10797b1273b57 of repo '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1'
using cache entry '{"name":"source","rev":"52338080deb10b539e138f0809d10797b1273b57","type":"git"}' -> '{"lastModified":1716682863,"rev":"52338080deb10b539e138f0809d10797b1273b57","revCount":2}', '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/ncjlkdaa64y69z37ng2wi1qbzxd9mdkv-source'
got tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/ncjlkdaa64y69z37ng2wi1qbzxd9mdkv-source' from 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=52338080deb10b539e138f0809d10797b1273b57'
checking access to '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/ncjlkdaa64y69z37ng2wi1qbzxd9mdkv-source/flake.nix'
evaluating file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/ncjlkdaa64y69z37ng2wi1qbzxd9mdkv-source/flake.nix'
computing lock file node 'flake2/flake1/flake1'
computing input 'nonFlake'
keeping existing input 'nonFlake'
computing lock file node 'nonFlake'
computing input 'nonFlakeFile'
keeping existing input 'nonFlakeFile'
computing lock file node 'nonFlakeFile'
computing input 'nonFlakeFile2'
keeping existing input 'nonFlakeFile2'
computing lock file node 'nonFlakeFile2'
new lock file: {
"nodes": {
"flake1": {
"locked": {
"lastModified": 1716682863,
"narHash": "sha256-B2VMeKKHdgtPc80RRMFyUDWKjFzPQ/Lh62tQpMcqTEQ=",
"ref": "refs/heads/master",
"rev": "52338080deb10b539e138f0809d10797b1273b57",
"revCount": 2,
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1"
},
"original": {
"id": "flake1",
"type": "indirect"
}
},
"flake1_2": {
"inputs": {
"flake1": "flake1_3"
},
"locked": {
"lastModified": 1716682873,
"narHash": "sha256-7zb9Pc6ZwTq5ZCbPZa5ZVdilTeyzLnO2cd/1kMO5eQ0=",
"type": "tarball",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz"
},
"original": {
"id": "flake1",
"type": "indirect"
}
},
"flake1_3": {
"locked": {
"lastModified": 1716682863,
"narHash": "sha256-B2VMeKKHdgtPc80RRMFyUDWKjFzPQ/Lh62tQpMcqTEQ=",
"ref": "refs/heads/master",
"rev": "52338080deb10b539e138f0809d10797b1273b57",
"revCount": 2,
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1"
},
"original": {
"id": "flake1",
"type": "indirect"
}
},
"flake2": {
"inputs": {
"flake1": "flake1_2"
},
"locked": {
"lastModified": 1716682866,
"narHash": "sha256-iioB0G7vd87Ed0uPlg5wn7XACzwoHeZ1gw0WQR4pW4Q=",
"ref": "refs/heads/main",
"rev": "efdfdb1fcf7eac8a365ab532fcd27a1ff8f647a3",
"revCount": 2,
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2"
},
"original": {
"id": "flake2",
"type": "indirect"
}
},
"nonFlake": {
"flake": false,
"locked": {
"lastModified": 1716682862,
"narHash": "sha256-Nh+ycbbQcbtbiaVaI6hqQ3e2W2kIlPbjti+3JMo4338=",
"ref": "refs/heads/master",
"rev": "3ff866971853ee935b1882819d31eef574e3cda2",
"revCount": 1,
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake"
},
"original": {
"type": "git",
"url": "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake"
}
},
"nonFlakeFile": {
"flake": false,
"locked": {
"lastModified": 1716682862,
"narHash": "sha256-cPh6hp48IOdRxVV3xGd0PDgSxgzj5N/2cK0rMPNaR4o=",
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake/README.md",
"type": "path"
},
"original": {
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake/README.md",
"type": "path"
}
},
"nonFlakeFile2": {
"flake": false,
"locked": {
"lastModified": 1716682862,
"narHash": "sha256-cPh6hp48IOdRxVV3xGd0PDgSxgzj5N/2cK0rMPNaR4o=",
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake/README.md",
"type": "path"
},
"original": {
"path": "/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/nonFlake/README.md",
"type": "path"
}
},
"root": {
"inputs": {
"flake1": "flake1",
"flake2": "flake2",
"nonFlake": "nonFlake",
"nonFlakeFile": "nonFlakeFile",
"nonFlakeFile2": "nonFlakeFile2"
}
}
},
"root": "root",
"version": 7
}
warning: updating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock':
• Updated input 'flake2/flake1':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=52338080deb10b539e138f0809d10797b1273b57' (2024-05-26)
→ 'file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz?narHash=sha256-7zb9Pc6ZwTq5ZCbPZa5ZVdilTeyzLnO2cd/1kMO5eQ0%3D' (2024-05-26)
• Added input 'flake2/flake1/flake1':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=52338080deb10b539e138f0809d10797b1273b57' (2024-05-26)
error: restoring parent mount namespace: Operation not permitted
error: restoring parent mount namespace: Operation not permitted
error: restoring parent mount namespace: Operation not permitted
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
error: restoring parent mount namespace: Operation not permitted
locking path '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/vjpflqrazzj2c791cz2b2rl315vdm1cm-source'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/vjpflqrazzj2c791cz2b2rl315vdm1cm-source.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/vjpflqrazzj2c791cz2b2rl315vdm1cm-source.lock'
error: restoring parent mount namespace: Operation not permitted
error: restoring parent mount namespace: Operation not permitted
error: restoring parent mount namespace: Operation not permitted
got tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/vjpflqrazzj2c791cz2b2rl315vdm1cm-source' from 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3'
checking access to '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/vjpflqrazzj2c791cz2b2rl315vdm1cm-source/flake.nix'
evaluating file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/vjpflqrazzj2c791cz2b2rl315vdm1cm-source/flake.nix'
download thread shutting down
++(flakes.sh:473) jq .nodes.flake1_2.locked.url /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock
+(flakes.sh:473) [[ "file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz" =~ flake.tar.gz ]]
+(flakes.sh:475) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 --override-input flake2/flake1 flake1
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
\x1b[K
\x1b[Kwarning: updating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock':
• Updated input 'flake2/flake1':
'file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake.tar.gz?narHash=sha256-7zb9Pc6ZwTq5ZCbPZa5ZVdilTeyzLnO2cd/1kMO5eQ0%3D' (2024-05-26)
→ 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=52338080deb10b539e138f0809d10797b1273b57' (2024-05-26)
• Removed input 'flake2/flake1/flake1'
\x1b[K
\x1b[K++(flakes.sh:476) jq -r .nodes.flake1_2.locked.rev /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock
+(flakes.sh:476) [[ 52338080deb10b539e138f0809d10797b1273b57 =~ 52338080deb10b539e138f0809d10797b1273b57 ]]
+(flakes.sh:478) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 --override-input flake2/flake1 flake1/master/5ab774ef50a9363f5ee18410200d73231a82daaa
\x1b[K
\x1b[Kwarning: updating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock':
• Updated input 'flake2/flake1':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=52338080deb10b539e138f0809d10797b1273b57' (2024-05-26)
→ 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=master&rev=5ab774ef50a9363f5ee18410200d73231a82daaa' (2024-05-26)
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
++(flakes.sh:479) jq -r .nodes.flake1_2.locked.rev /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock
+(flakes.sh:479) [[ 5ab774ef50a9363f5ee18410200d73231a82daaa =~ 5ab774ef50a9363f5ee18410200d73231a82daaa ]]
+(flakes.sh:481) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
++(flakes.sh:482) jq -r .nodes.flake1_2.locked.rev /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock
+(flakes.sh:482) [[ 5ab774ef50a9363f5ee18410200d73231a82daaa = 5ab774ef50a9363f5ee18410200d73231a82daaa ]]
+(flakes.sh:485) nix flake update flake2/flake1 --flake /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3
warning: Git tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3' is dirty
\x1b[K
\x1b[Kwarning: updating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock':
• Updated input 'flake2/flake1':
'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=master&rev=5ab774ef50a9363f5ee18410200d73231a82daaa' (2024-05-26)
→ 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?ref=refs/heads/master&rev=52338080deb10b539e138f0809d10797b1273b57' (2024-05-26)
\x1b[K
\x1b[K++(flakes.sh:486) jq -r .nodes.flake1_2.locked.rev /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3/flake.lock
+(flakes.sh:486) [[ 52338080deb10b539e138f0809d10797b1273b57 =~ 52338080deb10b539e138f0809d10797b1273b57 ]]
+(flakes.sh:489) nix flake metadata /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 --json
+(flakes.sh:489) jq .
\x1b[K
\x1b[K+(flakes.sh:492) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/badFlake
+(flakes.sh:493) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/badFlake
+(flakes.sh:494) echo INVALID
++(flakes.sh:495) nix store add-path /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/badFlake
+(flakes.sh:495) nix store delete /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/52qzkb6fb0ziwcbif3xy455lrlvkwlqy-badFlake
finding garbage collector roots...
deleting '/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/52qzkb6fb0ziwcbif3xy455lrlvkwlqy-badFlake'
deleting unused links...
note: currently hard linking saves -0.00 MiB
+++(flakes.sh:497) nix store add-path /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
++(flakes.sh:497) nix path-info /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/56g9rpb933b2nzkhlms1vp201y7zpmlj-flake1
+(flakes.sh:497) [[ /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/56g9rpb933b2nzkhlms1vp201y7zpmlj-flake1 =~ flake1 ]]
+++(flakes.sh:498) nix store add-path /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1
++(flakes.sh:498) nix path-info path:/tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/56g9rpb933b2nzkhlms1vp201y7zpmlj-flake1
+(flakes.sh:498) [[ /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/store/n7hfx8rvpq2dzdlk04m7p46bs6vkp41i-simple =~ simple ]]
++(flakes.sh:501) nix-instantiate --eval flake:flake3 -A x
+(flakes.sh:501) [[ 123 = 123 ]]
++(flakes.sh:502) nix-instantiate --eval flake:git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake3 -A x
+(flakes.sh:502) [[ 123 = 123 ]]
++(flakes.sh:503) nix-instantiate -I flake3=flake:flake3 --eval '<flake3>' -A x
+(flakes.sh:503) [[ 123 = 123 ]]
++(flakes.sh:504) NIX_PATH=flake3=flake:flake3
++(flakes.sh:504) nix-instantiate --eval '<flake3>' -A x
+(flakes.sh:504) [[ 123 = 123 ]]
+(flakes.sh:507) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 --output-lock-file /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2.lock
\x1b[K
\x1b[K
\x1b[K
\x1b[K+(flakes.sh:508) cmp /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2/flake.lock /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2.lock
+(flakes.sh:510) nix flake lock /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 --output-lock-file /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2-overridden.lock --override-input flake1 'git+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake1?rev=5ab774ef50a9363f5ee18410200d73231a82daaa'
\x1b[K
\x1b[K
\x1b[K
\x1b[K+(flakes.sh:511) expectStderr 1 cmp /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2/flake.lock /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2-overridden.lock
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) cmp /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2/flake.lock /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2-overridden.lock
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(flakes.sh:512) nix flake metadata /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 --reference-lock-file /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2-overridden.lock
+(flakes.sh:512) grepQuiet 5ab774ef50a9363f5ee18410200d73231a82daaa
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 5ab774ef50a9363f5ee18410200d73231a82daaa
\x1b[K
\x1b[K+(flakes.sh:515) expectStderr 1 nix flake metadata /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 --no-allow-dirty --reference-lock-file /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2-overridden.lock
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix flake metadata /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2 --no-allow-dirty --reference-lock-file /tmp/nix-shell.MrxVR3/nix-test/flakes/flakes/flake2-overridden.lock
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0Store URL: local
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/store-ping
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/store-ping
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/store-ping
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/store-ping
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/store-ping
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/store-ping/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/store-ping/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/store-ping/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/store-ping/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/store-ping/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/store-ping/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
++(store-ping.sh:3) nix store ping
+(store-ping.sh:3) STORE_INFO='Store URL: local
Version: 2.90.0
Trusted: 1'
++(store-ping.sh:4) nix store ping --json
+(store-ping.sh:4) STORE_INFO_JSON='{"trusted":1,"url":"local","version":"2.90.0"}'
+(store-ping.sh:6) echo 'Store URL: local
Version: 2.90.0
Trusted: 1'
+(store-ping.sh:6) grep 'Store URL: '
+(store-ping.sh:8) [[ -v NIX_DAEMON_PACKAGE ]]
+(store-ping.sh:14) expect 127 NIX_REMOTE=unix:/lix-src/build/tests/functional/store nix store ping
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=127
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) NIX_REMOTE=unix:/lix-src/build/tests/functional/store nix store ping
/lix-src/build/tests/functional/common/vars-and-functions.sh: line 194: NIX_REMOTE=unix:/lix-src/build/tests/functional/store: No such file or directory
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=127
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 127 -ne 127 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
++(store-ping.sh:17) echo '{"trusted":1,"url":"local","version":"2.90.0"}'
++(store-ping.sh:17) jq -r .url
+(store-ping.sh:17) [[ local == \l\o\c\a\l ]]clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/suggestions
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/suggestions
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/suggestions
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/suggestions
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/suggestions
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/suggestions/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/suggestions/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/suggestions/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/suggestions/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/suggestions/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/suggestions/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(suggestions.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/suggestions/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/suggestions/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/suggestions/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/suggestions/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/suggestions/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/suggestions/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/suggestions/test-home/.local/state/nix/profiles
+(suggestions.sh:5) cd /tmp/nix-shell.MrxVR3/nix-test/suggestions/test-home
+(suggestions.sh:7) cat
++(suggestions.sh:29) nix build .#fob
+(suggestions.sh:29) NIX_BUILD_STDERR_WITH_SUGGESTIONS='error: flake '\''path:/tmp/nix-shell.MrxVR3/nix-test/suggestions/test-home'\'' does not provide attribute '\''packages.x86_64-linux.fob'\'', '\''legacyPackages.x86_64-linux.fob'\'' or '\''fob'\''
Did you mean one of fo1, fo2, foo or fooo?'
+(suggestions.sh:30) [[ error: flake 'path:/tmp/nix-shell.MrxVR3/nix-test/suggestions/test-home' does not provide attribute 'packages.x86_64-linux.fob', 'legacyPackages.x86_64-linux.fob' or 'fob'
Did you mean one of fo1, fo2, foo or fooo? =~ Did you mean one of fo1, fo2, foo or fooo\? ]]
++(suggestions.sh:34) nix build .#bar
+(suggestions.sh:34) NIX_BUILD_STDERR_WITH_NO_CLOSE_SUGGESTION='error: flake '\''path:/tmp/nix-shell.MrxVR3/nix-test/suggestions/test-home'\'' does not provide attribute '\''packages.x86_64-linux.bar'\'', '\''legacyPackages.x86_64-linux.bar'\'' or '\''bar'\'''
+(suggestions.sh:35) [[ ! error: flake 'path:/tmp/nix-shell.MrxVR3/nix-test/suggestions/test-home' does not provide attribute 'packages.x86_64-linux.bar', 'legacyPackages.x86_64-linux.bar' or 'bar' =~ Did you mean ]]
++(suggestions.sh:38) nix build --impure --expr '(builtins.getFlake (builtins.toPath ./.)).packages.x86_64-linux.fob'
+(suggestions.sh:38) NIX_EVAL_STDERR_WITH_SUGGESTIONS='error:
… while evaluating the attribute '\''packages.x86_64-linux.fob'\''
at /tmp/nix-shell.MrxVR3/nix-test/suggestions/store/ar14p5kplwbdckma1r40lp9angkvps9v-source/flake.nix:3:8:
2| outputs = a: {
3| packages.x86_64-linux = {
| ^
4| foo = 1;
error: attribute '\''fob'\'' missing
at «string»:1:1:
1| (builtins.getFlake (builtins.toPath ./.)).packages.x86_64-linux.fob
| ^
Did you mean one of fo1, fo2, foo or fooo?'
+(suggestions.sh:39) [[ error:
… while evaluating the attribute 'packages.x86_64-linux.fob'
at /tmp/nix-shell.MrxVR3/nix-test/suggestions/store/ar14p5kplwbdckma1r40lp9angkvps9v-source/flake.nix:3:8:
2| outputs = a: {
3| packages.x86_64-linux = {
| ^
4| foo = 1;
error: attribute 'fob' missing
at «string»:1:1:
1| (builtins.getFlake (builtins.toPath ./.)).packages.x86_64-linux.fob
| ^
Did you mean one of fo1, fo2, foo or fooo? =~ Did you mean one of fo1, fo2, foo or fooo\? ]]
++(suggestions.sh:42) nix build --impure --expr '({ foo }: foo) { foo = 1; fob = 2; }'
+(suggestions.sh:42) NIX_EVAL_STDERR_WITH_SUGGESTIONS='error:
… from call site
at «string»:1:1:
1| ({ foo }: foo) { foo = 1; fob = 2; }
| ^
error: function '\''anonymous lambda'\'' called with unexpected argument '\''fob'\''
at «string»:1:2:
1| ({ foo }: foo) { foo = 1; fob = 2; }
| ^
Did you mean foo?'
+(suggestions.sh:43) [[ error:
… from call site
at «string»:1:1:
1| ({ foo }: foo) { foo = 1; fob = 2; }
| ^
error: function 'anonymous lambda' called with unexpected argument 'fob'
at «string»:1:2:
1| ({ foo }: foo) { foo = 1; fob = 2; }
| ^
Did you mean foo? =~ Did you mean foo\? ]]clearing store...
-r--r--r-- 1 root root 2293 Jan 1 1970 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/bsziqpbsy3w104n0x1xl8srhxy9f66bw-garbage3
1 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/bsziqpbsy3w104n0x1xl8srhxy9f66bw-garbage3
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/gc-auto
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/gc-auto
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/gc-auto
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/gc-auto
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-auto
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-auto/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/gc-auto/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-auto/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-auto/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/gc-auto/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(gc-auto.sh:3) needLocalStore '“min-free” and “max-free” are daemon options'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:217) [[ '' == \d\a\e\m\o\n ]]
+(gc-auto.sh:5) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/gc-auto/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-auto/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/gc-auto/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/gc-auto/test-home/.local/state/nix/profiles
++(gc-auto.sh:7) nix store add-path --name garbage1 ./nar-access.sh
+(gc-auto.sh:7) garbage1=/tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/5j6v4hq7m9hs6q695xxz6hgc2ff8gy5q-garbage1
++(gc-auto.sh:8) nix store add-path --name garbage2 ./nar-access.sh
+(gc-auto.sh:8) garbage2=/tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/cxqaaja3isysxvmv4bb5gj9vlzvckiy9-garbage2
++(gc-auto.sh:9) nix store add-path --name garbage3 ./nar-access.sh
+(gc-auto.sh:9) garbage3=/tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/bsziqpbsy3w104n0x1xl8srhxy9f66bw-garbage3
+(gc-auto.sh:11) ls -l /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/bsziqpbsy3w104n0x1xl8srhxy9f66bw-garbage3
+(gc-auto.sh:12) POSIXLY_CORRECT=1
+(gc-auto.sh:12) du /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/bsziqpbsy3w104n0x1xl8srhxy9f66bw-garbage3
+(gc-auto.sh:14) fake_free=/tmp/nix-shell.MrxVR3/nix-test/gc-auto/fake-free
+(gc-auto.sh:15) export _NIX_TEST_FREE_SPACE_FILE=/tmp/nix-shell.MrxVR3/nix-test/gc-auto/fake-free
+(gc-auto.sh:15) _NIX_TEST_FREE_SPACE_FILE=/tmp/nix-shell.MrxVR3/nix-test/gc-auto/fake-free
+(gc-auto.sh:16) echo 1100
+(gc-auto.sh:18) fifoLock=/tmp/nix-shell.MrxVR3/nix-test/gc-auto/fifoLock
+(gc-auto.sh:19) mkfifo /tmp/nix-shell.MrxVR3/nix-test/gc-auto/fifoLock
++(gc-auto.sh:47) cat
+(gc-auto.sh:47) expr='with import ./config.nix; mkDerivation {
name = "gc-A";
buildCommand = '\'''\''
set -x
[[ $(ls $NIX_STORE/*-garbage? | wc -l) = 3 ]]
mkdir $out
echo foo > $out/bar
# Pretend that we run out of space
echo 100 > /tmp/nix-shell.MrxVR3/nix-test/gc-auto/fake-free.tmp1
mv /tmp/nix-shell.MrxVR3/nix-test/gc-auto/fake-free.tmp1 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/fake-free
# Wait for the GC to run
for i in {1..20}; do
echo '\'''\''${i}...
if [[ $(ls $NIX_STORE/*-garbage? | wc -l) = 1 ]]; then
exit 0
fi
sleep 1
done
exit 1
'\'''\'';
}'
++(gc-auto.sh:62) cat
+(gc-auto.sh:62) expr2='with import ./config.nix; mkDerivation {
name = "gc-B";
buildCommand = '\'''\''
set -x
mkdir $out
echo foo > $out/bar
# Wait for the first build to finish
cat "/tmp/nix-shell.MrxVR3/nix-test/gc-auto/fifoLock"
'\'''\'';
}'
+(gc-auto.sh:66) pid1=25862
+(gc-auto.sh:70) pid2=25864
+(gc-auto.sh:75) wait 25862
+(gc-auto.sh:64) nix build --impure -v -o /tmp/nix-shell.MrxVR3/nix-test/gc-auto/result-A -L --expr 'with import ./config.nix; mkDerivation {
name = "gc-A";
buildCommand = '\'''\''
set -x
[[ $(ls $NIX_STORE/*-garbage? | wc -l) = 3 ]]
mkdir $out
echo foo > $out/bar
# Pretend that we run out of space
echo 100 > /tmp/nix-shell.MrxVR3/nix-test/gc-auto/fake-free.tmp1
mv /tmp/nix-shell.MrxVR3/nix-test/gc-auto/fake-free.tmp1 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/fake-free
# Wait for the GC to run
for i in {1..20}; do
echo '\'''\''${i}...
if [[ $(ls $NIX_STORE/*-garbage? | wc -l) = 1 ]]; then
exit 0
fi
sleep 1
done
exit 1
'\'''\'';
}' --min-free 1000 --max-free 2000 --min-free-check-interval 1
+(gc-auto.sh:68) nix build --impure -v -o /tmp/nix-shell.MrxVR3/nix-test/gc-auto/result-B -L --expr 'with import ./config.nix; mkDerivation {
name = "gc-B";
buildCommand = '\'''\''
set -x
mkdir $out
echo foo > $out/bar
# Wait for the first build to finish
cat "/tmp/nix-shell.MrxVR3/nix-test/gc-auto/fifoLock"
'\'''\'';
}' --min-free 1000 --max-free 2000 --min-free-check-interval 1
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/9fw2alzqrplz94k1hh3i4g15pc8hz89j-gc-A.drv
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/y67ngsb0b5pvcm1cbp32f6z0yrjz9h65-gc-B.drv
building '/tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/9fw2alzqrplz94k1hh3i4g15pc8hz89j-gc-A.drv'...
gc-A> +++ ls /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/5j6v4hq7m9hs6q695xxz6hgc2ff8gy5q-garbage1 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/bsziqpbsy3w104n0x1xl8srhxy9f66bw-garbage3 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/cxqaaja3isysxvmv4bb5gj9vlzvckiy9-garbage2
gc-A> +++ wc -l
gc-A> ++ [[ 3 = 3 ]]
gc-A> ++ mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/yqpvbs2vs3lxy4x74s5fqpj8dlll4dm3-gc-A
gc-A> ++ echo foo
gc-A> ++ echo 100
gc-A> ++ mv /tmp/nix-shell.MrxVR3/nix-test/gc-auto/fake-free.tmp1 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/fake-free
building '/tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/y67ngsb0b5pvcm1cbp32f6z0yrjz9h65-gc-B.drv'...
gc-A> ++ for i in {1..20}
gc-A> ++ echo 1...
gc-A> 1...
gc-B> ++ mkdir /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/yva0n9rpjm9vq49ahg645k8d9wgjf4lc-gc-B
gc-A> +++ wc -l
gc-B> ++ echo foo
gc-A> +++ ls /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/5j6v4hq7m9hs6q695xxz6hgc2ff8gy5q-garbage1 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/bsziqpbsy3w104n0x1xl8srhxy9f66bw-garbage3 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/cxqaaja3isysxvmv4bb5gj9vlzvckiy9-garbage2
gc-B> ++ cat /tmp/nix-shell.MrxVR3/nix-test/gc-auto/fifoLock
gc-A> ++ [[ 3 = 1 ]]
gc-A> ++ sleep 1
gc-A> ++ for i in {1..20}
gc-A> ++ echo 2...
gc-A> 2...
running auto-GC to free 1900 bytes
finding garbage collector roots...
gc-A> +++ ls /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/5j6v4hq7m9hs6q695xxz6hgc2ff8gy5q-garbage1 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/bsziqpbsy3w104n0x1xl8srhxy9f66bw-garbage3 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/cxqaaja3isysxvmv4bb5gj9vlzvckiy9-garbage2
gc-A> +++ wc -l
gc-A> ++ [[ 3 = 1 ]]
gc-A> ++ sleep 1
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/5j6v4hq7m9hs6q695xxz6hgc2ff8gy5q-garbage1'
deleted more than 1900 bytes; stopping
deleting unused links...
note: currently hard linking saves -0.00 MiB
gc-A> ++ for i in {1..20}
gc-A> ++ echo 3...
gc-A> 3...
gc-A> +++ ls /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/bsziqpbsy3w104n0x1xl8srhxy9f66bw-garbage3 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/cxqaaja3isysxvmv4bb5gj9vlzvckiy9-garbage2
gc-A> +++ wc -l
gc-A> ++ [[ 2 = 1 ]]
gc-A> ++ sleep 1
gc-A> ++ for i in {1..20}
gc-A> ++ echo 4...
gc-A> 4...
gc-A> +++ ls /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/bsziqpbsy3w104n0x1xl8srhxy9f66bw-garbage3 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/cxqaaja3isysxvmv4bb5gj9vlzvckiy9-garbage2
gc-A> +++ wc -l
gc-A> ++ [[ 2 = 1 ]]
gc-A> ++ sleep 1
gc-A> ++ for i in {1..20}
gc-A> ++ echo 5...
gc-A> 5...
gc-A> +++ ls /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/bsziqpbsy3w104n0x1xl8srhxy9f66bw-garbage3 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/cxqaaja3isysxvmv4bb5gj9vlzvckiy9-garbage2
gc-A> +++ wc -l
gc-A> ++ [[ 2 = 1 ]]
gc-A> ++ sleep 1
gc-A> ++ for i in {1..20}
gc-A> ++ echo 6...
gc-A> 6...
gc-A> +++ ls /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/bsziqpbsy3w104n0x1xl8srhxy9f66bw-garbage3 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/cxqaaja3isysxvmv4bb5gj9vlzvckiy9-garbage2
gc-A> +++ wc -l
gc-A> ++ [[ 2 = 1 ]]
gc-A> ++ sleep 1
gc-A> ++ for i in {1..20}
gc-A> ++ echo 7...
gc-A> 7...
gc-A> +++ ls /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/bsziqpbsy3w104n0x1xl8srhxy9f66bw-garbage3 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/cxqaaja3isysxvmv4bb5gj9vlzvckiy9-garbage2
gc-A> +++ wc -l
gc-A> ++ [[ 2 = 1 ]]
gc-A> ++ sleep 1
gc-A> ++ for i in {1..20}
gc-A> ++ echo 8...
gc-A> 8...
gc-A> +++ ls /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/bsziqpbsy3w104n0x1xl8srhxy9f66bw-garbage3 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/cxqaaja3isysxvmv4bb5gj9vlzvckiy9-garbage2
gc-A> +++ wc -l
gc-A> ++ [[ 2 = 1 ]]
gc-A> ++ sleep 1
gc-A> ++ for i in {1..20}
gc-A> ++ echo 9...
gc-A> 9...
gc-A> +++ ls /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/bsziqpbsy3w104n0x1xl8srhxy9f66bw-garbage3 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/cxqaaja3isysxvmv4bb5gj9vlzvckiy9-garbage2
gc-A> +++ wc -l
gc-A> ++ [[ 2 = 1 ]]
gc-A> ++ sleep 1
gc-A> ++ for i in {1..20}
gc-A> ++ echo 10...
gc-A> 10...
gc-A> +++ ls /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/bsziqpbsy3w104n0x1xl8srhxy9f66bw-garbage3 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/cxqaaja3isysxvmv4bb5gj9vlzvckiy9-garbage2
gc-A> +++ wc -l
gc-A> ++ [[ 2 = 1 ]]
gc-A> ++ sleep 1
running auto-GC to free 1900 bytes
finding garbage collector roots...
gc-A> ++ for i in {1..20}
gc-A> ++ echo 11...
gc-A> 11...
gc-A> +++ ls /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/bsziqpbsy3w104n0x1xl8srhxy9f66bw-garbage3 /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/cxqaaja3isysxvmv4bb5gj9vlzvckiy9-garbage2
gc-A> +++ wc -l
gc-A> ++ [[ 2 = 1 ]]
gc-A> ++ sleep 1
deleting garbage...
deleting '/tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/cxqaaja3isysxvmv4bb5gj9vlzvckiy9-garbage2'
deleted more than 1900 bytes; stopping
deleting unused links...
note: currently hard linking saves -0.00 MiB
gc-A> ++ for i in {1..20}
gc-A> ++ echo 12...
gc-A> 12...
gc-A> +++ ls /tmp/nix-shell.MrxVR3/nix-test/gc-auto/store/bsziqpbsy3w104n0x1xl8srhxy9f66bw-garbage3
gc-A> +++ wc -l
gc-A> ++ [[ 1 = 1 ]]
gc-A> ++ exit 0
+(gc-auto.sh:76) echo unlock
+(gc-auto.sh:77) exit 0
+(gc-auto.sh:78) wait 25864
gc-B> unlock
++(gc-auto.sh:80) cat /tmp/nix-shell.MrxVR3/nix-test/gc-auto/result-A/bar
+(gc-auto.sh:80) [[ foo = foo ]]
++(gc-auto.sh:81) cat /tmp/nix-shell.MrxVR3/nix-test/gc-auto/result-B/bar
+(gc-auto.sh:81) [[ foo = foo ]][PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/toString-path
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/toString-path
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/toString-path
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/toString-path
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/toString-path
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/toString-path/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/toString-path/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/toString-path/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/toString-path/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/toString-path/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/toString-path/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(toString-path.sh:3) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/toString-path/foo
+(toString-path.sh:4) echo bla
++(toString-path.sh:6) nix eval --raw --impure --expr 'builtins.readFile (builtins.toString (builtins.fetchTree { type = "path"; path = "/tmp/nix-shell.MrxVR3/nix-test/toString-path/foo"; } + "/bar"))'
+(toString-path.sh:6) [[ bla = bla ]]
++(toString-path.sh:8) nix eval --json --impure --expr 'builtins.readDir (builtins.toString (builtins.fetchTree { type = "path"; path = "/tmp/nix-shell.MrxVR3/nix-test/toString-path/foo"; }))'
+(toString-path.sh:8) [[ {"bar":"regular"} = \{\"\b\a\r\"\:\"\r\e\g\u\l\a\r\"\} ]][PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/path-from-hash-part
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/path-from-hash-part
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/path-from-hash-part
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/path-from-hash-part
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/path-from-hash-part
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/path-from-hash-part/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/path-from-hash-part/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/path-from-hash-part/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/path-from-hash-part/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/path-from-hash-part/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/path-from-hash-part/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
++(path-from-hash-part.sh:3) nix build --no-link --print-out-paths -f simple.nix
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/path-from-hash-part/store/9b6nrp9j5p5gi9slvaxjwkj3zrqjfldp-simple.drv
building '/tmp/nix-shell.MrxVR3/nix-test/path-from-hash-part/store/9b6nrp9j5p5gi9slvaxjwkj3zrqjfldp-simple.drv'...
+(path-from-hash-part.sh:3) path=/tmp/nix-shell.MrxVR3/nix-test/path-from-hash-part/store/s5z4hfzi3jg6m4c61iql3ba8lcbb1mi1-simple
++(path-from-hash-part.sh:5) basename /tmp/nix-shell.MrxVR3/nix-test/path-from-hash-part/store/s5z4hfzi3jg6m4c61iql3ba8lcbb1mi1-simple
+(path-from-hash-part.sh:5) hash_part=s5z4hfzi3jg6m4c61iql3ba8lcbb1mi1-simple
+(path-from-hash-part.sh:6) hash_part=s5z4hfzi3jg6m4c61iql3ba8lcbb1mi1
++(path-from-hash-part.sh:8) nix store path-from-hash-part s5z4hfzi3jg6m4c61iql3ba8lcbb1mi1
+(path-from-hash-part.sh:8) path2=/tmp/nix-shell.MrxVR3/nix-test/path-from-hash-part/store/s5z4hfzi3jg6m4c61iql3ba8lcbb1mi1-simple
+(path-from-hash-part.sh:10) [[ /tmp/nix-shell.MrxVR3/nix-test/path-from-hash-part/store/s5z4hfzi3jg6m4c61iql3ba8lcbb1mi1-simple = /tmp/nix-shell.MrxVR3/nix-test/path-from-hash-part/store/s5z4hfzi3jg6m4c61iql3ba8lcbb1mi1-simple ]][FAIL]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/nested-sandboxing
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/nested-sandboxing
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/nested-sandboxing
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nested-sandboxing
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/nested-sandboxing
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/nested-sandboxing/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/nested-sandboxing/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/nested-sandboxing/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/nested-sandboxing/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/nested-sandboxing/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/nested-sandboxing/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(nested-sandboxing.sh:3) [[ -d /nix/store ]]
+(nested-sandboxing.sh:5) requireSandboxSupport
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:167) canUseSandbox
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:163) [[ -n 1 ]]
+(nested-sandboxing.sh:7) source ./nested-sandboxing/command.sh
++++(./nested-sandboxing/command.sh:1) type -p nix
+++(./nested-sandboxing/command.sh:1) dirname /lix-src/outputs/out/bin/nix
++(./nested-sandboxing/command.sh:1) export NIX_BIN_DIR=/lix-src/outputs/out/bin
++(./nested-sandboxing/command.sh:1) NIX_BIN_DIR=/lix-src/outputs/out/bin
+++(./nested-sandboxing/command.sh:3) dirname /lix-src/outputs/out/bin
++(./nested-sandboxing/command.sh:3) export 'EXTRA_SANDBOX=/nix/store /lix-src/outputs/out'
++(./nested-sandboxing/command.sh:3) EXTRA_SANDBOX='/nix/store /lix-src/outputs/out'
+(nested-sandboxing.sh:9) expectStderr 100 runNixBuild badStoreUrl 2
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=100
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) runNixBuild badStoreUrl 2
+(nested-sandboxing.sh:9) grepQuiet '`sandbox-build-dir` must not contain'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep '`sandbox-build-dir` must not contain'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=100
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 100 -ne 100 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
++(nested-sandboxing.sh:9) onError
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
nested-sandboxing.sh: test failed at:
main in nested-sandboxing.sh:9clearing store...
Env level 0
static: \x1b[35;1m_ \x1b[0m
Env level 1
\x1b[35;1mabort baseNameOf break builtins derivation derivationStrict dirOf false fetchGit fetchMercurial fetchTarball fetchTree fromTOML import isNull map null placeholder removeAttrs scopedImport throw toString true \x1b[0m
with: \x1b[35;1ma \x1b[0m
static: \x1b[35;1mx \x1b[0m
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/debugger
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/debugger
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/debugger
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/debugger
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/debugger
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/debugger/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/debugger/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/debugger/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/debugger/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/debugger/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/debugger/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(debugger.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/debugger/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/debugger/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/debugger/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/debugger/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/debugger/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/debugger/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/debugger/test-home/.local/state/nix/profiles
+(debugger.sh:6) echo :env
+(debugger.sh:6) expect 1 nix eval --debugger --expr '(_: throw "oh snap") 42'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) nix eval --debugger --expr '(_: throw "oh snap") 42'
error: oh snap
Lix 2.90.0 debugger
Type :? for help.
error:
… from call site
at «string»:1:1:
1| (_: throw "oh snap") 42
| ^
… while calling anonymous lambda
at «string»:1:2:
1| (_: throw "oh snap") 42
| ^
… while calling the 'throw' builtin
at «string»:1:5:
1| (_: throw "oh snap") 42
| ^
error: oh snap
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(debugger.sh:7) echo :env
+(debugger.sh:7) expect 1 nix eval --debugger --expr '
let x.a = 1; in
with x;
(_: builtins.seq x.a (throw "oh snap")) x.a
'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) nix eval --debugger --expr '
let x.a = 1; in
with x;
(_: builtins.seq x.a (throw "oh snap")) x.a
'
error: oh snap
Lix 2.90.0 debugger
Type :? for help.
error:
… from call site
at «string»:4:3:
3| with x;
4| (_: builtins.seq x.a (throw "oh snap")) x.a
| ^
5|
… while calling anonymous lambda
at «string»:4:4:
3| with x;
4| (_: builtins.seq x.a (throw "oh snap")) x.a
| ^
5|
… while calling the 'seq' builtin
at «string»:4:7:
3| with x;
4| (_: builtins.seq x.a (throw "oh snap")) x.a
| ^
5|
… while calling the 'throw' builtin
at «string»:4:25:
3| with x;
4| (_: builtins.seq x.a (throw "oh snap")) x.a
| ^
5|
error: oh snap
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(debugger.sh:12) grep -P 'with: .*a' debugger-test-out
+(debugger.sh:13) grep -P 'static: .*x' debugger-test-out[SKIP]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/extra-sandbox-profile
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/extra-sandbox-profile
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/extra-sandbox-profile
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/extra-sandbox-profile
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/extra-sandbox-profile
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/extra-sandbox-profile/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/extra-sandbox-profile/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/extra-sandbox-profile/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/extra-sandbox-profile/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/extra-sandbox-profile/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/extra-sandbox-profile/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
++(extra-sandbox-profile.sh:3) uname
+(extra-sandbox-profile.sh:3) [[ Linux != Darwin ]]
+(extra-sandbox-profile.sh:3) skipTest 'Need Darwin'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:154) echo 'Need Darwin, skipping this test...'
Need Darwin, skipping this test...
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:155) exit 99clearing store...
/tmp/nix-shell.MrxVR3/nix-test/read-only-store/store/qivwrfqwlskmld4kj4h7g5fp0f6gzx5j-dummy
/tmp/nix-shell.MrxVR3/nix-test/read-only-store/store/qivwrfqwlskmld4kj4h7g5fp0f6gzx5j-dummy
[FAIL]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/read-only-store
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/read-only-store
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/read-only-store
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/read-only-store
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/read-only-store
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/read-only-store/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/read-only-store/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/read-only-store/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/read-only-store/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/read-only-store/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/read-only-store/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(read-only-store.sh:3) enableFeatures read-only-local-store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=read-only-local-store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& read-only-local-store/' /tmp/nix-shell.MrxVR3/nix-test/read-only-store/etc/nix.conf
+(read-only-store.sh:5) needLocalStore 'cannot open store read-only when daemon has already opened it writeable'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:217) [[ '' == \d\a\e\m\o\n ]]
+(read-only-store.sh:7) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/read-only-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/read-only-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/read-only-store/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/read-only-store/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/read-only-store/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/read-only-store/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/read-only-store/test-home/.local/state/nix/profiles
+(read-only-store.sh:19) grepQuiet 'database does not exist, and cannot be created in read-only mode'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'database does not exist, and cannot be created in read-only mode'
+(read-only-store.sh:19) expectStderr 1 nix-store --store 'local?read-only=true' --add dummy
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix-store --store 'local?read-only=true' --add dummy
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
++(read-only-store.sh:22) nix-store --add dummy
+(read-only-store.sh:22) dummyPath=/tmp/nix-shell.MrxVR3/nix-test/read-only-store/store/qivwrfqwlskmld4kj4h7g5fp0f6gzx5j-dummy
+(read-only-store.sh:25) expectStderr 1 nix-store --store 'local?read-only=true' --add eval.nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix-store --store 'local?read-only=true' --add eval.nix
+(read-only-store.sh:25) grepQuiet 'attempt to write a readonly database'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'attempt to write a readonly database'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(read-only-store.sh:28) happy
+(read-only-store.sh:11) nix --store 'local?read-only=true' path-info /tmp/nix-shell.MrxVR3/nix-test/read-only-store/store/qivwrfqwlskmld4kj4h7g5fp0f6gzx5j-dummy
+(read-only-store.sh:14) nix-store --store 'local?read-only=true' --add dummy
+(read-only-store.sh:33) chmod -R -w /tmp/nix-shell.MrxVR3/nix-test/read-only-store/store
+(read-only-store.sh:34) chmod -R -w /tmp/nix-shell.MrxVR3/nix-test/read-only-store/var
+(read-only-store.sh:38) expectStderr 1 nix-store --add eval.nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix-store --add eval.nix
++(read-only-store.sh:38) readlink -e /tmp/nix-shell.MrxVR3/nix-test/read-only-store
+(read-only-store.sh:38) grepQuiet 'error: opening lock file '\''/tmp/nix-shell.MrxVR3/nix-test/read-only-store/var/nix/db/big-lock'\'''
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'error: opening lock file '\''/tmp/nix-shell.MrxVR3/nix-test/read-only-store/var/nix/db/big-lock'\'''
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=0
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 0 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:210) echo 'Expected exit code '\''1'\'' but got '\''0'\'' from command '\''nix-store'\'' '\''--add'\'' '\''eval.nix'\'''
Expected exit code '1' but got '0' from command 'nix-store' '--add' 'eval.nix'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:211) return 1
++(read-only-store.sh:38) onError
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
read-only-store.sh: test failed at:
main in read-only-store.sh:38true
true
true
true
true
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/flakes/show
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/flakes/show
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/flakes/show
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/show
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/show
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/show/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/show/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/show/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/show/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/show/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/flakes/show/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(./common.sh:3) registry=/tmp/nix-shell.MrxVR3/nix-test/flakes/show/registry.json
+(show.sh:3) flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/show/flake
+(show.sh:4) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/show/flake
+(show.sh:6) writeSimpleFlake /tmp/nix-shell.MrxVR3/nix-test/flakes/show/flake
+(./common.sh:6) local flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/show/flake
+(./common.sh:7) cat
+(./common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/show/flake/
+(show.sh:7) cd /tmp/nix-shell.MrxVR3/nix-test/flakes/show/flake
+(show.sh:12) nix flake show --json
evaluating ''...
evaluating 'legacyPackages'...
evaluating 'legacyPackages.x86_64-linux'...
warning: legacyPackages.x86_64-linux omitted (use '--legacy' to show)
evaluating 'packages'...
evaluating 'packages.someOtherSystem'...
evaluating 'packages.someOtherSystem.default'...
warning: packages.someOtherSystem.default omitted (use '--all-systems' to show)
evaluating 'packages.someOtherSystem.foo'...
warning: packages.someOtherSystem.foo omitted (use '--all-systems' to show)
evaluating 'packages.x86_64-linux'...
evaluating 'packages.x86_64-linux.default'...
evaluating 'packages.x86_64-linux.foo'...
+(show.sh:13) nix eval --impure --expr '
let show_output = builtins.fromJSON (builtins.readFile ./show-output.json);
in
assert show_output.packages.someOtherSystem.default == {};
assert show_output.packages.${builtins.currentSystem}.default.name == "simple";
assert show_output.legacyPackages.${builtins.currentSystem} == {};
true
'
+(show.sh:23) nix flake show --json --all-systems
evaluating ''...
evaluating 'legacyPackages'...
evaluating 'legacyPackages.x86_64-linux'...
warning: legacyPackages.x86_64-linux omitted (use '--legacy' to show)
evaluating 'packages'...
evaluating 'packages.someOtherSystem'...
evaluating 'packages.someOtherSystem.default'...
evaluating 'packages.someOtherSystem.foo'...
evaluating 'packages.x86_64-linux'...
evaluating 'packages.x86_64-linux.default'...
evaluating 'packages.x86_64-linux.foo'...
+(show.sh:24) nix eval --impure --expr '
let show_output = builtins.fromJSON (builtins.readFile ./show-output.json);
in
assert show_output.packages.someOtherSystem.default.name == "simple";
assert show_output.legacyPackages.${builtins.currentSystem} == {};
true
'
+(show.sh:33) nix flake show --json --legacy
evaluating ''...
evaluating 'legacyPackages'...
evaluating 'legacyPackages.x86_64-linux'...
evaluating 'legacyPackages.x86_64-linux.hello'...
evaluating 'packages'...
evaluating 'packages.someOtherSystem'...
evaluating 'packages.someOtherSystem.default'...
warning: packages.someOtherSystem.default omitted (use '--all-systems' to show)
evaluating 'packages.someOtherSystem.foo'...
warning: packages.someOtherSystem.foo omitted (use '--all-systems' to show)
evaluating 'packages.x86_64-linux'...
evaluating 'packages.x86_64-linux.default'...
evaluating 'packages.x86_64-linux.foo'...
+(show.sh:34) nix eval --impure --expr '
let show_output = builtins.fromJSON (builtins.readFile ./show-output.json);
in
assert show_output.legacyPackages.${builtins.currentSystem}.hello.name == "simple";
true
'
+(show.sh:42) cat
+(show.sh:60) nix flake show --json --all-systems
evaluating ''...
+(show.sh:61) nix eval --impure --expr '
let show_output = builtins.fromJSON (builtins.readFile ./show-output.json);
in
assert show_output == { };
true
'
+(show.sh:70) cat
+(show.sh:80) nix flake show --json --legacy --all-systems
evaluating ''...
evaluating 'legacyPackages'...
evaluating 'legacyPackages.x86_64-linux'...
evaluating 'legacyPackages.x86_64-linux.AAAAAASomeThingsFailToEvaluate'...
evaluating 'legacyPackages.x86_64-linux.simple'...
+(show.sh:81) nix eval --impure --expr '
let show_output = builtins.fromJSON (builtins.readFile ./show-output.json);
in
assert show_output.legacyPackages.${builtins.currentSystem}.AAAAAASomeThingsFailToEvaluate == { };
assert show_output.legacyPackages.${builtins.currentSystem}.simple.name == "simple";
true
'Derive([("out","/tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer/store/6p6xclf0iwa4rfsmd75774snc6bibhij-simple","","")],[],["/tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer/store/lqwxak7yr63zbpgjfp9wflcdmwvmb2ff-simple.builder.sh"],"x86_64-linux","/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash",["-e","/tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer/store/lqwxak7yr63zbpgjfp9wflcdmwvmb2ff-simple.builder.sh"],[("PATH",""),("builder","/nix/store/57dqrh5d96g2lriyyf81j53vzphfflh9-bash-5.2-p15/bin/bash"),("goodPath","/nix/store/204ak4443zipfr2yi6y5wal05bck1qqg-coreutils-9.3/bin"),("name","simple"),("out","/tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer/store/6p6xclf0iwa4rfsmd75774snc6bibhij-simple"),("system","x86_64-linux")])Hello World!
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
++(test-libstoreconsumer.sh:3) nix-instantiate simple.nix
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(test-libstoreconsumer.sh:3) drv=/tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer/store/0h5nshl431965mmrwzf1bwk57mdb8ywk-simple.drv
+(test-libstoreconsumer.sh:4) cat /tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer/store/0h5nshl431965mmrwzf1bwk57mdb8ywk-simple.drv
++(test-libstoreconsumer.sh:5) ./test-libstoreconsumer/test-libstoreconsumer /tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer/store/0h5nshl431965mmrwzf1bwk57mdb8ywk-simple.drv
building '/tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer/store/0h5nshl431965mmrwzf1bwk57mdb8ywk-simple.drv'...
PATH=
+(test-libstoreconsumer.sh:5) out=/tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer/store/6p6xclf0iwa4rfsmd75774snc6bibhij-simple
+(test-libstoreconsumer.sh:6) cat /tmp/nix-shell.MrxVR3/nix-test/test-libstoreconsumer/store/6p6xclf0iwa4rfsmd75774snc6bibhij-simple/hello
+(test-libstoreconsumer.sh:6) grep -F 'Hello World!'[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/plugins
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/plugins
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/plugins
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/plugins
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/plugins
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/plugins/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/plugins/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/plugins/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/plugins/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/plugins/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/plugins/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(plugins.sh:5) libext=so
++(plugins.sh:6) uname -s
+(plugins.sh:6) [[ Linux == Darwin ]]
++(plugins.sh:10) nix --option setting-set true --option plugin-files /lix-src/build/tests/functional/plugins/libplugintest.so eval --expr builtins.anotherNull
+(plugins.sh:10) res=null
+(plugins.sh:12) '[' nullx = nullx ']'
++(plugins.sh:15) nix --option plugin-files /lix-src/build/tests/functional/plugins/libplugintestfail.so eval --expr '1234 + 5'
+(plugins.sh:15) res='warning: could not dynamically open plugin file '\''/lix-src/build/tests/functional/plugins/libplugintestfail.so'\'': /lix-src/build/tests/functional/plugins/libplugintestfail.so: undefined symbol: _Z4meowv
1239'
+(plugins.sh:17) echo 'warning: could not dynamically open plugin file '\''/lix-src/build/tests/functional/plugins/libplugintestfail.so'\'': /lix-src/build/tests/functional/plugins/libplugintestfail.so: undefined symbol: _Z4meowv
1239'
+(plugins.sh:17) grep 1239
++(plugins.sh:24) uname -s
+(plugins.sh:24) [[ Linux == Linux ]]
+(plugins.sh:25) echo 'warning: could not dynamically open plugin file '\''/lix-src/build/tests/functional/plugins/libplugintestfail.so'\'': /lix-src/build/tests/functional/plugins/libplugintestfail.so: undefined symbol: _Z4meowv
1239'
+(plugins.sh:25) grep 'could not dynamically open plugin file'clearing store...
/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/414vwzi4w1zxcw9mlcnypbqz05ja9xk5-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/y92ahzk3qcs5fja4421vyca9gw591ll8-multiple-outputs-a-first
clearing store...
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/post-hook
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/post-hook
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/post-hook
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/post-hook
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/post-hook
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/post-hook/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/post-hook/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/post-hook/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/post-hook/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/post-hook/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/post-hook/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(post-hook.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/post-hook/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/post-hook/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/post-hook/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/post-hook/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/post-hook/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/post-hook/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/post-hook/test-home/.local/state/nix/profiles
+(post-hook.sh:5) rm -f /tmp/nix-shell.MrxVR3/nix-test/post-hook/result
+(post-hook.sh:7) export REMOTE_STORE=file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store
+(post-hook.sh:7) REMOTE_STORE=file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store
+(post-hook.sh:8) echo 'require-sigs = false'
+(post-hook.sh:10) restartDaemon
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(post-hook.sh:12) isDaemonNewer 2.13
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
+(post-hook.sh:13) pushToStore=/lix-src/build/tests/functional/push-to-store.sh
+(post-hook.sh:19) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/post-hook/result dependencies.nix --post-build-hook /lix-src/build/tests/functional/push-to-store.sh
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/r48xsf37ylpdwl5ybbaczmndvj154qhx-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/da1348x2r2h8djdfwvlrchgg7hm15yrl-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/df0i3a88zg8fmi9w47r6jvq5hj7b18kv-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/hvfr973hfq95hxqi70dl57d70ha95bv4-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/5aywly7lxcksdlqgyxf6v479mlbvsp2a-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/r48xsf37ylpdwl5ybbaczmndvj154qhx-dependencies-input-0.drv'...
post-build-hook: + set -e
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/z1ywx6mg30m5fg15sg5ahwbwcf04iwik-dependencies-input-0 ']'
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/r48xsf37ylpdwl5ybbaczmndvj154qhx-dependencies-input-0.drv ']'
post-build-hook: + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/z1ywx6mg30m5fg15sg5ahwbwcf04iwik-dependencies-input-0 to file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store
post-build-hook: Pushing /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/z1ywx6mg30m5fg15sg5ahwbwcf04iwik-dependencies-input-0 to file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store
post-build-hook: + '[' -n '' ']'
post-build-hook: + printf %s '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/r48xsf37ylpdwl5ybbaczmndvj154qhx-dependencies-input-0.drv^*'
post-build-hook: + xargs nix copy --to file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store --no-require-sigs
post-build-hook: copying 1 paths...
post-build-hook: copying path '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/z1ywx6mg30m5fg15sg5ahwbwcf04iwik-dependencies-input-0' to 'file:///tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store'...
building '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/hvfr973hfq95hxqi70dl57d70ha95bv4-dependencies-input-1.drv'...
post-build-hook: + set -e
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/mgfgw42mmnxmjqb7vq0ibg1qbg49z9mc-dependencies-input-1 ']'
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/hvfr973hfq95hxqi70dl57d70ha95bv4-dependencies-input-1.drv ']'
post-build-hook: + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/mgfgw42mmnxmjqb7vq0ibg1qbg49z9mc-dependencies-input-1 to file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store
post-build-hook: Pushing /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/mgfgw42mmnxmjqb7vq0ibg1qbg49z9mc-dependencies-input-1 to file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store
post-build-hook: + '[' -n '' ']'
post-build-hook: + printf %s '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/hvfr973hfq95hxqi70dl57d70ha95bv4-dependencies-input-1.drv^*'
post-build-hook: + xargs nix copy --to file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store --no-require-sigs
post-build-hook: copying 1 paths...
post-build-hook: copying path '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/mgfgw42mmnxmjqb7vq0ibg1qbg49z9mc-dependencies-input-1' to 'file:///tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store'...
building '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/da1348x2r2h8djdfwvlrchgg7hm15yrl-dependencies-input-2.drv'...
post-build-hook: + set -e
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/7jpwk3gk5p7l55jsvzfh794yslvrk28q-dependencies-input-2 ']'
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/da1348x2r2h8djdfwvlrchgg7hm15yrl-dependencies-input-2.drv ']'
post-build-hook: + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/7jpwk3gk5p7l55jsvzfh794yslvrk28q-dependencies-input-2 to file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store
post-build-hook: Pushing /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/7jpwk3gk5p7l55jsvzfh794yslvrk28q-dependencies-input-2 to file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store
post-build-hook: + '[' -n '' ']'
post-build-hook: + printf %s '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/da1348x2r2h8djdfwvlrchgg7hm15yrl-dependencies-input-2.drv^*'
post-build-hook: + xargs nix copy --to file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store --no-require-sigs
post-build-hook: copying 1 paths...
post-build-hook: copying path '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/7jpwk3gk5p7l55jsvzfh794yslvrk28q-dependencies-input-2' to 'file:///tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store'...
building '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/df0i3a88zg8fmi9w47r6jvq5hj7b18kv-fod-input.drv'...
post-build-hook: + set -e
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/54wahqm0d8176adc3ik089jfmajjfblq-fod-input ']'
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/df0i3a88zg8fmi9w47r6jvq5hj7b18kv-fod-input.drv ']'
post-build-hook: + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/54wahqm0d8176adc3ik089jfmajjfblq-fod-input to file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store
post-build-hook: Pushing /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/54wahqm0d8176adc3ik089jfmajjfblq-fod-input to file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store
post-build-hook: + '[' -n '' ']'
post-build-hook: + printf %s '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/df0i3a88zg8fmi9w47r6jvq5hj7b18kv-fod-input.drv^*'
post-build-hook: + xargs nix copy --to file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store --no-require-sigs
post-build-hook: copying 1 paths...
post-build-hook: copying path '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/54wahqm0d8176adc3ik089jfmajjfblq-fod-input' to 'file:///tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store'...
building '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/5aywly7lxcksdlqgyxf6v479mlbvsp2a-dependencies-top.drv'...
FOO
post-build-hook: + set -e
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/414vwzi4w1zxcw9mlcnypbqz05ja9xk5-dependencies-top ']'
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/5aywly7lxcksdlqgyxf6v479mlbvsp2a-dependencies-top.drv ']'
post-build-hook: + echo Pushing /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/414vwzi4w1zxcw9mlcnypbqz05ja9xk5-dependencies-top to file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store
post-build-hook: Pushing /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/414vwzi4w1zxcw9mlcnypbqz05ja9xk5-dependencies-top to file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store
post-build-hook: + '[' -n '' ']'
post-build-hook: + printf %s '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/5aywly7lxcksdlqgyxf6v479mlbvsp2a-dependencies-top.drv^*'
post-build-hook: + xargs nix copy --to file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store --no-require-sigs
post-build-hook: copying 1 paths...
post-build-hook: copying path '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/414vwzi4w1zxcw9mlcnypbqz05ja9xk5-dependencies-top' to 'file:///tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store'...
post-hook.sh: line 22: NIX_TESTS_CA_BY_DEFAULT: unbound variable
+(post-hook.sh:22) export BUILD_HOOK_ONLY_OUT_PATHS=
+(post-hook.sh:22) BUILD_HOOK_ONLY_OUT_PATHS=
+(post-hook.sh:23) nix-build -o /tmp/nix-shell.MrxVR3/nix-test/post-hook/result-mult multiple-outputs.nix -A a.first --post-build-hook /lix-src/build/tests/functional/push-to-store.sh
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/vzx8381ahxww71km2r9vjv5q75757ksm-multiple-outputs-a.drv
building '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/vzx8381ahxww71km2r9vjv5q75757ksm-multiple-outputs-a.drv'...
post-build-hook: + set -e
post-build-hook: + '[' -n '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/45kyiiccvzd13is0jvfa409dn2dkxwkz-multiple-outputs-a-second /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/y92ahzk3qcs5fja4421vyca9gw591ll8-multiple-outputs-a-first' ']'
post-build-hook: + '[' -n /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/vzx8381ahxww71km2r9vjv5q75757ksm-multiple-outputs-a.drv ']'
post-build-hook: + echo Pushing '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/45kyiiccvzd13is0jvfa409dn2dkxwkz-multiple-outputs-a-second /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/y92ahzk3qcs5fja4421vyca9gw591ll8-multiple-outputs-a-first' to file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store
post-build-hook: Pushing /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/45kyiiccvzd13is0jvfa409dn2dkxwkz-multiple-outputs-a-second /tmp/nix-shell.MrxVR3/nix-test/post-hook/store/y92ahzk3qcs5fja4421vyca9gw591ll8-multiple-outputs-a-first to file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store
post-build-hook: + '[' -n '' ']'
post-build-hook: + printf %s '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/vzx8381ahxww71km2r9vjv5q75757ksm-multiple-outputs-a.drv^*'
post-build-hook: + xargs nix copy --to file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store --no-require-sigs
post-build-hook: copying 2 paths...
post-build-hook: copying path '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/y92ahzk3qcs5fja4421vyca9gw591ll8-multiple-outputs-a-first' to 'file:///tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store'...
post-build-hook: copying path '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/45kyiiccvzd13is0jvfa409dn2dkxwkz-multiple-outputs-a-second' to 'file:///tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store'...
+(post-hook.sh:25) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/post-hook/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/post-hook/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/post-hook/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/post-hook/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/post-hook/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/post-hook/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/post-hook/test-home/.local/state/nix/profiles
+(post-hook.sh:29) nix copy --from file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store --no-require-sigs -f dependencies.nix
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/z1ywx6mg30m5fg15sg5ahwbwcf04iwik-dependencies-input-0' from 'file:///tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/7jpwk3gk5p7l55jsvzfh794yslvrk28q-dependencies-input-2' from 'file:///tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/414vwzi4w1zxcw9mlcnypbqz05ja9xk5-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store'...
+(post-hook.sh:30) nix copy --from file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store --no-require-sigs -f dependencies.nix input1_drv
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/mgfgw42mmnxmjqb7vq0ibg1qbg49z9mc-dependencies-input-1' from 'file:///tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store'...
+(post-hook.sh:31) nix copy --from file:/tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store --no-require-sigs -f multiple-outputs.nix 'a^second'
copying 2 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/y92ahzk3qcs5fja4421vyca9gw591ll8-multiple-outputs-a-first' from 'file:///tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/post-hook/store/45kyiiccvzd13is0jvfa409dn2dkxwkz-multiple-outputs-a-second' from 'file:///tmp/nix-shell.MrxVR3/nix-test/post-hook/remote_store'...--log-format Set the format of log output; one of `raw`, `internal-json`, `bar` or `bar-with-logs`
allow-import-from-derivation Set the `allow-import-from-derivation` setting
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/completions
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/completions
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/completions
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/completions
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/completions
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/completions/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/completions/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/completions/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/completions/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/completions/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/completions/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(completions.sh:3) cd /tmp/nix-shell.MrxVR3/nix-test/completions
+(completions.sh:5) mkdir -p dep
+(completions.sh:6) cat
+(completions.sh:11) mkdir -p foo
+(completions.sh:12) cat
++(completions.sh:12) realpath dep
+(completions.sh:21) mkdir -p bar
+(completions.sh:22) cat
++(completions.sh:22) realpath dep
+(completions.sh:31) mkdir -p err
+(completions.sh:32) cat
++(completions.sh:37) NIX_GET_COMPLETIONS=1
++(completions.sh:37) nix buil
+(completions.sh:37) [[ normal
build == \n\o\r\m\a\l\
\b\u\i\l\d\ ]]
++(completions.sh:38) NIX_GET_COMPLETIONS=2
++(completions.sh:38) nix flake metad
+(completions.sh:38) [[ normal
metadata == \n\o\r\m\a\l\
\m\e\t\a\d\a\t\a\ ]]
++(completions.sh:41) NIX_GET_COMPLETIONS=2
++(completions.sh:41) nix build ./f
+(completions.sh:41) [[ filenames
./foo == \f\i\l\e\n\a\m\e\s\
\.\/\f\o\o\ ]]
++(completions.sh:42) NIX_GET_COMPLETIONS=2
++(completions.sh:42) nix build ./nonexistent
+(completions.sh:42) [[ filenames == \f\i\l\e\n\a\m\e\s ]]
++(completions.sh:45) NIX_GET_COMPLETIONS=4
++(completions.sh:45) nix build ./foo --override-input ''
+(completions.sh:45) [[ normal
a == \n\o\r\m\a\l\
\a\ ]]
++(completions.sh:46) NIX_GET_COMPLETIONS=5
++(completions.sh:46) nix flake show ./foo --override-input ''
+(completions.sh:46) [[ normal
a == \n\o\r\m\a\l\
\a\ ]]
+(completions.sh:47) cd ./foo
++(completions.sh:48) NIX_GET_COMPLETIONS=3
++(completions.sh:48) nix flake update ''
+(completions.sh:48) [[ normal
a == \n\o\r\m\a\l\
\a\ ]]
+(completions.sh:49) cd ..
++(completions.sh:50) NIX_GET_COMPLETIONS=5
++(completions.sh:50) nix flake update --flake ./foo ''
+(completions.sh:50) [[ normal
a == \n\o\r\m\a\l\
\a\ ]]
++(completions.sh:52) NIX_GET_COMPLETIONS=5
++(completions.sh:52) nix build ./foo ./bar --override-input ''
+(completions.sh:52) [[ normal
a
b == \n\o\r\m\a\l\
\a\ \
\b\ ]]
++(completions.sh:54) HOME=/tmp/nix-shell.MrxVR3/nix-test/completions
++(completions.sh:54) NIX_GET_COMPLETIONS=4
++(completions.sh:54) nix build '~/foo' --override-input ''
+(completions.sh:54) [[ normal
a == \n\o\r\m\a\l\
\a\ ]]
++(completions.sh:55) HOME=/tmp/nix-shell.MrxVR3/nix-test/completions
++(completions.sh:55) NIX_GET_COMPLETIONS=5
++(completions.sh:55) nix flake update --flake '~/foo' ''
+(completions.sh:55) [[ normal
a == \n\o\r\m\a\l\
\a\ ]]
++(completions.sh:57) NIX_GET_COMPLETIONS=3
++(completions.sh:57) nix build --override-input '' '' ./foo
+(completions.sh:57) [[ normal
a == \n\o\r\m\a\l\
\a\ ]]
++(completions.sh:58) NIX_GET_COMPLETIONS=4
++(completions.sh:58) nix build ./foo --override-input '' '' ./bar
+(completions.sh:58) [[ normal
a
b == \n\o\r\m\a\l\
\a\ \
\b\ ]]
+(completions.sh:61) NIX_GET_COMPLETIONS=2
+(completions.sh:61) nix build --log-form
+(completions.sh:61) grep -- --log-format
+(completions.sh:65) NIX_GET_COMPLETIONS=3
+(completions.sh:65) nix build --option allow-import-from
+(completions.sh:65) grep -- allow-import-from-derivation
++(completions.sh:70) NIX_GET_COMPLETIONS=2
++(completions.sh:70) nix eval ./foo#sam
+(completions.sh:70) [[ attrs
./foo#sampleOutput == \a\t\t\r\s\
\.\/\f\o\o\#\s\a\m\p\l\e\O\u\t\p\u\t\ ]]
++(completions.sh:71) NIX_GET_COMPLETIONS=4
++(completions.sh:71) nix eval --file ./foo/flake.nix outp
+(completions.sh:71) [[ attrs
outputs == \a\t\t\r\s\
\o\u\t\p\u\t\s\ ]]
++(completions.sh:72) NIX_GET_COMPLETIONS=4
++(completions.sh:72) nix eval --file ./err/flake.nix outp
+(completions.sh:72) [[ attrs == \a\t\t\r\s ]]
++(completions.sh:73) NIX_GET_COMPLETIONS=2
++(completions.sh:73) nix eval ./err#
+(completions.sh:73) [[ attrs == \a\t\t\r\s ]]null
123
123
null
4b88688064fba6c3ef7c1b03db43902f4286a51c
{"locked":{"narHash":"sha256-CHUFmMqzCJvBu7883MnBiHOmXStdZXhI3m5aSxx3lQc=","ref":"default","rev":"4b88688064fba6c3ef7c1b03db43902f4286a51c","revCount":1,"type":"hg","url":"file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2"},"locks":{"nodes":{"flake1":{"locked":{"narHash":"sha256-pSbVFb7RZTVmFdut9mzAWH0+i6V/3FoUADIHGnus8co=","ref":"default","rev":"c6315cc3cc8b57643ef23d692e961391da03510c","revCount":0,"type":"hg","url":"file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg1"},"original":{"id":"flake1","type":"indirect"}},"root":{"inputs":{"flake1":"flake1"}}},"root":"root","version":7},"original":{"type":"hg","url":"file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2"},"originalUrl":"hg+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2","path":"/tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/store/f3visbnvcyj5y67sidp42cpv0jfkzyj4-source","resolved":{"type":"hg","url":"file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2"},"resolvedUrl":"hg+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2","revCount":1,"revision":"4b88688064fba6c3ef7c1b03db43902f4286a51c","url":"hg+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2?ref=default&rev=4b88688064fba6c3ef7c1b03db43902f4286a51c"}
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/var/nix/db/db.sqlite
++++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
+++(../common.sh:8) [[ -n '' ]]
++(./common.sh:3) registry=/tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/registry.json
++(mercurial.sh:3) type -p hg
+(mercurial.sh:3) [[ -n /nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin/hg ]]
+(mercurial.sh:5) flake1Dir=/tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg1
+(mercurial.sh:6) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg1
+(mercurial.sh:7) writeSimpleFlake /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg1
+(./common.sh:6) local flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg1
+(./common.sh:7) cat
+(./common.sh:27) cp ../simple.nix ../simple.builder.sh ../config.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg1/
+(mercurial.sh:8) hg init /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg1
+(mercurial.sh:10) nix registry add --registry /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/registry.json flake1 hg+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg1
+(mercurial.sh:12) flake2Dir=/tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2
+(mercurial.sh:13) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2
+(mercurial.sh:14) writeDependentFlake /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2
+(./common.sh:38) local flakeDir=/tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2
+(./common.sh:39) cat
+(mercurial.sh:15) hg init /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2
+(mercurial.sh:17) hg add /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg1/config.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg1/flake.nix /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg1/simple.builder.sh /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg1/simple.nix
+(mercurial.sh:18) hg commit --config ui.username=foobar@example.org /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg1 -m 'Initial commit'
+(mercurial.sh:20) hg add /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2/flake.nix
+(mercurial.sh:21) hg commit --config ui.username=foobar@example.org /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2 -m 'Initial commit'
+(mercurial.sh:23) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/result hg+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2
warning: creating lock file '/tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2/flake.lock':
• Added input 'flake1':
'hg+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg1?ref=default&rev=c6315cc3cc8b57643ef23d692e961391da03510c'
warning: Mercurial tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2' is unclean
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/store/2ssp3mdag642rjpinj6rn1zqyp8zgy2f-simple.drv
building '/tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/store/2ssp3mdag642rjpinj6rn1zqyp8zgy2f-simple.drv'...
+(mercurial.sh:24) [[ -e /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/result/hello ]]
+(mercurial.sh:26) nix flake metadata --json hg+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2
+(mercurial.sh:26) jq -e -r .revision
warning: Mercurial tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2' is unclean
+(mercurial.sh:28) nix eval hg+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2#expr
warning: Mercurial tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2' is unclean
+(mercurial.sh:30) nix eval hg+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2#expr
warning: Mercurial tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2' is unclean
+(mercurial.sh:32) nix eval hg+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2#expr --no-allow-dirty
error:
… while fetching the input 'hg+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2'
error: Mercurial tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2' is unclean
+(mercurial.sh:34) nix flake metadata --json hg+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2
+(mercurial.sh:34) jq -e -r .revision
warning: Mercurial tree '/tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2' is unclean
+(mercurial.sh:36) hg commit --config ui.username=foobar@example.org /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2 -m 'Add lock file'
+(mercurial.sh:38) nix flake metadata --json hg+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2 --refresh
+(mercurial.sh:38) jq -e -r .revision
+(mercurial.sh:39) nix flake metadata --json hg+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2
++(mercurial.sh:40) nix flake metadata --json hg+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2
++(mercurial.sh:40) jq -e -r .revCount
+(mercurial.sh:40) [[ 1 = 1 ]]
+(mercurial.sh:42) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/result hg+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2 --no-registries --no-allow-dirty
warning: '--no-registries' is deprecated; use '--no-use-registries'
+(mercurial.sh:43) nix build -o /tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/result hg+file:///tmp/nix-shell.MrxVR3/nix-test/flakes/mercurial/flake-hg2 --no-use-registries --no-allow-dirtyclearing store...
true
true
true
true
true
[{"drvPath":"/tmp/nix-shell.MrxVR3/nix-test/build/store/j7pkx8jv373hm69z2zxdky33jxsjxdnx-multiple-outputs-e.drv","outputs":{"a_a":"/tmp/nix-shell.MrxVR3/nix-test/build/store/l1a62zn0kby937rp558pps5ilzrvgl33-multiple-outputs-e-a_a"}}]
true
true
true
{
"offset": 0,
"length": 98,
"string": "/tmp/nix-shell.MrxVR3/nix-test/build/store/j7pkx8jv373hm69z2zxdky33jxsjxdnx-multiple-outputs-e.drv",
"captures": []
}
true
true
true
true
true
true
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/build
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/build
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/build
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/build
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/build/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/build/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/build/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/build/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/build/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/build/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(build.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/build/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/build/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/build/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build/test-home/.local/state/nix/profiles
+(build.sh:6) nix build -f multiple-outputs.nix --json a b --no-link
+(build.sh:6) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-a.drv")) and
(.outputs |
(keys | length == 2) and
(.first | match(".*multiple-outputs-a-first")) and
(.second | match(".*multiple-outputs-a-second"))))
and (.[1] |
(.drvPath | match(".*multiple-outputs-b.drv")) and
(.outputs |
(keys | length == 1) and
(.out | match(".*multiple-outputs-b"))))
'
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/build/store/qv2132qqirl342nm5g1rybxr75bgr72z-multiple-outputs-a.drv
/tmp/nix-shell.MrxVR3/nix-test/build/store/miavavqd665pji73iq7r7080rfa2szd3-multiple-outputs-b.drv
building '/tmp/nix-shell.MrxVR3/nix-test/build/store/qv2132qqirl342nm5g1rybxr75bgr72z-multiple-outputs-a.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/build/store/miavavqd665pji73iq7r7080rfa2szd3-multiple-outputs-b.drv'...
+(build.sh:21) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-a.drv")) and
(.outputs | keys == ["first"]))
'
+(build.sh:21) nix build -f multiple-outputs.nix --json 'a^first' --no-link
+(build.sh:27) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-a.drv")) and
(.outputs | keys == ["first", "second"]))
'
+(build.sh:27) nix build -f multiple-outputs.nix --json 'a^second,first' --no-link
+(build.sh:33) nix build -f multiple-outputs.nix --json 'a^*' --no-link
+(build.sh:33) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-a.drv")) and
(.outputs | keys == ["first", "second"]))
'
+(build.sh:40) nix build -f multiple-outputs.nix --json e --no-link
+(build.sh:40) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-e.drv")) and
(.outputs | keys == ["a_a", "b"]))
'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/build/store/j7pkx8jv373hm69z2zxdky33jxsjxdnx-multiple-outputs-e.drv
building '/tmp/nix-shell.MrxVR3/nix-test/build/store/j7pkx8jv373hm69z2zxdky33jxsjxdnx-multiple-outputs-e.drv'...
+(build.sh:47) nix build -f multiple-outputs.nix --json 'e^a_a' --no-link
+(build.sh:48) nix build -f multiple-outputs.nix --json 'e^a_a' --no-link
+(build.sh:48) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-e.drv")) and
(.outputs | keys == ["a_a"]))
'
+(build.sh:54) nix build -f multiple-outputs.nix --json 'e^*' --no-link
+(build.sh:54) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-e.drv")) and
(.outputs | keys == ["a_a", "b", "c"]))
'
+(build.sh:62) nix build -f multiple-outputs.nix --json e.a_a.outPath --no-link
+(build.sh:62) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-e.drv")) and
(.outputs | keys == ["a_a"]))
'
+(build.sh:69) expectStderr 1 nix build -f multiple-outputs.nix e.a_a.drvPath
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix build -f multiple-outputs.nix e.a_a.drvPath
+(build.sh:70) grepQuiet 'has a context which refers to a complete source and binary closure.'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'has a context which refers to a complete source and binary closure.'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(build.sh:73) expectStderr 1 nix build --expr '""' --no-link
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix build --expr '""' --no-link
+(build.sh:74) grepQuiet 'has 0 entries in its context. It should only have exactly one entry'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'has 0 entries in its context. It should only have exactly one entry'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(build.sh:78) grepQuiet 'has 2 entries in its context. It should only have exactly one entry'
+(build.sh:77) expectStderr 1 nix build --impure --expr 'with (import ./multiple-outputs.nix).e.a_a; "${drvPath}${outPath}"' --no-link
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'has 2 entries in its context. It should only have exactly one entry'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix build --impure --expr 'with (import ./multiple-outputs.nix).e.a_a; "${drvPath}${outPath}"' --no-link
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(build.sh:80) jq --exit-status '
(.[0] | match(".*multiple-outputs-e.drv"))
'
+(build.sh:80) nix build --impure --json --expr 'builtins.unsafeDiscardOutputDependency (import ./multiple-outputs.nix).e.a_a.drvPath' --no-link
++(build.sh:86) nix eval -f multiple-outputs.nix --raw a.drvPath
+(build.sh:86) drv=/tmp/nix-shell.MrxVR3/nix-test/build/store/qv2132qqirl342nm5g1rybxr75bgr72z-multiple-outputs-a.drv
+(build.sh:87) nix build '/tmp/nix-shell.MrxVR3/nix-test/build/store/qv2132qqirl342nm5g1rybxr75bgr72z-multiple-outputs-a.drv^not-an-output' --no-link --json
error: derivation '/tmp/nix-shell.MrxVR3/nix-test/build/store/qv2132qqirl342nm5g1rybxr75bgr72z-multiple-outputs-a.drv' does not have wanted outputs 'not-an-output'
+(build.sh:91) nix build '/tmp/nix-shell.MrxVR3/nix-test/build/store/qv2132qqirl342nm5g1rybxr75bgr72z-multiple-outputs-a.drv^' --no-link --json
error: invalid extended outputs specifier '/tmp/nix-shell.MrxVR3/nix-test/build/store/qv2132qqirl342nm5g1rybxr75bgr72z-multiple-outputs-a.drv^'
+(build.sh:95) nix build '/tmp/nix-shell.MrxVR3/nix-test/build/store/qv2132qqirl342nm5g1rybxr75bgr72z-multiple-outputs-a.drv^*nope' --no-link --json
error: invalid extended outputs specifier '/tmp/nix-shell.MrxVR3/nix-test/build/store/qv2132qqirl342nm5g1rybxr75bgr72z-multiple-outputs-a.drv^*nope'
+(build.sh:99) nix build '/tmp/nix-shell.MrxVR3/nix-test/build/store/qv2132qqirl342nm5g1rybxr75bgr72z-multiple-outputs-a.drv^first' --no-link --json
+(build.sh:99) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-a.drv")) and
(.outputs |
(keys | length == 1) and
(.first | match(".*multiple-outputs-a-first")) and
(has("second") | not)))
'
+(build.sh:108) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-a.drv")) and
(.outputs |
(keys | length == 2) and
(.first | match(".*multiple-outputs-a-first")) and
(.second | match(".*multiple-outputs-a-second"))))
'
+(build.sh:108) nix build '/tmp/nix-shell.MrxVR3/nix-test/build/store/qv2132qqirl342nm5g1rybxr75bgr72z-multiple-outputs-a.drv^first,second' --no-link --json
+(build.sh:117) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-a.drv")) and
(.outputs |
(keys | length == 2) and
(.first | match(".*multiple-outputs-a-first")) and
(.second | match(".*multiple-outputs-a-second"))))
'
+(build.sh:117) nix build '/tmp/nix-shell.MrxVR3/nix-test/build/store/qv2132qqirl342nm5g1rybxr75bgr72z-multiple-outputs-a.drv^*' --no-link --json
+(build.sh:127) nix build --impure -f multiple-outputs.nix --json e --no-link
+(build.sh:127) jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-e.drv")) and
(.outputs | keys == ["a_a", "b"]))
'
+(build.sh:134) printf ''
+(build.sh:134) nix build --no-link --stdin --json
+(build.sh:134) jq --exit-status '. == []'
+(build.sh:135) printf '%s\n' '/tmp/nix-shell.MrxVR3/nix-test/build/store/qv2132qqirl342nm5g1rybxr75bgr72z-multiple-outputs-a.drv^*'
+(build.sh:135) nix build --no-link --stdin --json
+(build.sh:135) jq --exit-status '.[0]|has("drvPath")'
++(build.sh:138) nix build -f fod-failing.nix -L
+(build.sh:138) out='these 4 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/build/store/mnspl704370hsgpnwjg72p6xwnl10g72-x2.drv
/tmp/nix-shell.MrxVR3/nix-test/build/store/sl6jviayahdgyv61l7dxbwfj03pz9prw-x3.drv
/tmp/nix-shell.MrxVR3/nix-test/build/store/ni287psfb4q9vq91hk8gw7vi6f8f1snw-x4.drv
/tmp/nix-shell.MrxVR3/nix-test/build/store/smsnvfqjbqy7zzr7nyyyfi183lrw448c-x1.drv
building '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/smsnvfqjbqy7zzr7nyyyfi183lrw448c-x1.drv'\''...
error: hash mismatch in fixed-output derivation '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/smsnvfqjbqy7zzr7nyyyfi183lrw448c-x1.drv'\'':
specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
got: sha256-a1Qvp3FOOkWpL9kFHgugU1ok5UtRPSu+NwCZKbbaEro=
error: build of '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/mnspl704370hsgpnwjg72p6xwnl10g72-x2.drv^out'\'', '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/ni287psfb4q9vq91hk8gw7vi6f8f1snw-x4.drv^out'\'', '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/sl6jviayahdgyv61l7dxbwfj03pz9prw-x3.drv^out'\'', '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/smsnvfqjbqy7zzr7nyyyfi183lrw448c-x1.drv^out'\'' failed'
+(build.sh:138) status=1
+(build.sh:139) test 1 = 1
++(build.sh:141) grep -E '^error:'
++(build.sh:141) wc -l
+(build.sh:141) test 2 = 2
+(build.sh:142) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x1\.drv'\'''
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'hash mismatch in fixed-output derivation '\''.*-x1\.drv'\'''
+(build.sh:143) grepQuiet -vE 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\'''
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -vE 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\'''
+(build.sh:144) grepQuiet -vE 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\'''
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -vE 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\'''
+(build.sh:145) grepQuiet -E 'error: build of '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'' failed'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'error: build of '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'', '\''.*-x[1-4]\.drv\^out'\'' failed'
++(build.sh:147) nix build -f fod-failing.nix -L x1 x2 x3 --keep-going
+(build.sh:147) out='these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/build/store/mnspl704370hsgpnwjg72p6xwnl10g72-x2.drv
/tmp/nix-shell.MrxVR3/nix-test/build/store/sl6jviayahdgyv61l7dxbwfj03pz9prw-x3.drv
/tmp/nix-shell.MrxVR3/nix-test/build/store/smsnvfqjbqy7zzr7nyyyfi183lrw448c-x1.drv
building '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/smsnvfqjbqy7zzr7nyyyfi183lrw448c-x1.drv'\''...
building '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/mnspl704370hsgpnwjg72p6xwnl10g72-x2.drv'\''...
building '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/sl6jviayahdgyv61l7dxbwfj03pz9prw-x3.drv'\''...
error: hash mismatch in fixed-output derivation '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/smsnvfqjbqy7zzr7nyyyfi183lrw448c-x1.drv'\'':
specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
got: sha256-a1Qvp3FOOkWpL9kFHgugU1ok5UtRPSu+NwCZKbbaEro=
error: hash mismatch in fixed-output derivation '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/mnspl704370hsgpnwjg72p6xwnl10g72-x2.drv'\'':
specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
got: sha256-ce9j/VcjC18vmZgcaMAqZg/qH/WibuYfiyiOYHNI5pk=
error: hash mismatch in fixed-output derivation '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/sl6jviayahdgyv61l7dxbwfj03pz9prw-x3.drv'\'':
specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
got: sha256-DbCEqRfR8yZl2skxnBthgysFiZPiP6U5JQ9/Bp7IQI4=
error: build of '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/mnspl704370hsgpnwjg72p6xwnl10g72-x2.drv^out'\'', '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/sl6jviayahdgyv61l7dxbwfj03pz9prw-x3.drv^out'\'', '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/smsnvfqjbqy7zzr7nyyyfi183lrw448c-x1.drv^out'\'' failed'
+(build.sh:147) status=1
+(build.sh:148) test 1 = 1
++(build.sh:150) grep -E '^error:'
++(build.sh:150) wc -l
+(build.sh:150) test 4 = 4
+(build.sh:151) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x1\.drv'\'''
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'hash mismatch in fixed-output derivation '\''.*-x1\.drv'\'''
+(build.sh:152) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\'''
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\'''
+(build.sh:153) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\'''
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\'''
+(build.sh:154) grepQuiet -E 'error: build of '\''.*-x[1-3]\.drv\^out'\'', '\''.*-x[1-3]\.drv\^out'\'', '\''.*-x[1-3]\.drv\^out'\'' failed'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'error: build of '\''.*-x[1-3]\.drv\^out'\'', '\''.*-x[1-3]\.drv\^out'\'', '\''.*-x[1-3]\.drv\^out'\'' failed'
++(build.sh:156) nix build -f fod-failing.nix -L x4
+(build.sh:156) out='these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/build/store/mnspl704370hsgpnwjg72p6xwnl10g72-x2.drv
/tmp/nix-shell.MrxVR3/nix-test/build/store/sl6jviayahdgyv61l7dxbwfj03pz9prw-x3.drv
/tmp/nix-shell.MrxVR3/nix-test/build/store/ni287psfb4q9vq91hk8gw7vi6f8f1snw-x4.drv
building '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/mnspl704370hsgpnwjg72p6xwnl10g72-x2.drv'\''...
error: hash mismatch in fixed-output derivation '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/mnspl704370hsgpnwjg72p6xwnl10g72-x2.drv'\'':
specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
got: sha256-ce9j/VcjC18vmZgcaMAqZg/qH/WibuYfiyiOYHNI5pk=
error: 1 dependencies of derivation '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/ni287psfb4q9vq91hk8gw7vi6f8f1snw-x4.drv'\'' failed to build'
+(build.sh:156) status=1
+(build.sh:157) test 1 = 1
++(build.sh:158) grep -E '^error:'
++(build.sh:158) wc -l
+(build.sh:158) test 2 = 2
+(build.sh:159) grepQuiet -E 'error: 1 dependencies of derivation '\''.*-x4\.drv'\'' failed to build'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'error: 1 dependencies of derivation '\''.*-x4\.drv'\'' failed to build'
+(build.sh:160) grepQuiet -E 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\'''
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\'''
++(build.sh:162) nix build -f fod-failing.nix -L x4 --keep-going
+(build.sh:162) out='these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/build/store/mnspl704370hsgpnwjg72p6xwnl10g72-x2.drv
/tmp/nix-shell.MrxVR3/nix-test/build/store/sl6jviayahdgyv61l7dxbwfj03pz9prw-x3.drv
/tmp/nix-shell.MrxVR3/nix-test/build/store/ni287psfb4q9vq91hk8gw7vi6f8f1snw-x4.drv
building '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/mnspl704370hsgpnwjg72p6xwnl10g72-x2.drv'\''...
error: hash mismatch in fixed-output derivation '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/mnspl704370hsgpnwjg72p6xwnl10g72-x2.drv'\'':
specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
got: sha256-ce9j/VcjC18vmZgcaMAqZg/qH/WibuYfiyiOYHNI5pk=
building '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/sl6jviayahdgyv61l7dxbwfj03pz9prw-x3.drv'\''...
error: hash mismatch in fixed-output derivation '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/sl6jviayahdgyv61l7dxbwfj03pz9prw-x3.drv'\'':
specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
got: sha256-DbCEqRfR8yZl2skxnBthgysFiZPiP6U5JQ9/Bp7IQI4=
error: 2 dependencies of derivation '\''/tmp/nix-shell.MrxVR3/nix-test/build/store/ni287psfb4q9vq91hk8gw7vi6f8f1snw-x4.drv'\'' failed to build'
+(build.sh:162) status=1
+(build.sh:163) test 1 = 1
++(build.sh:164) grep -E '^error:'
++(build.sh:164) wc -l
+(build.sh:164) test 3 = 3
+(build.sh:165) grepQuiet -E 'error: 2 dependencies of derivation '\''.*-x4\.drv'\'' failed to build'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'error: 2 dependencies of derivation '\''.*-x4\.drv'\'' failed to build'
+(build.sh:166) grepQuiet -vE 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\'''
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -vE 'hash mismatch in fixed-output derivation '\''.*-x3\.drv'\'''
+(build.sh:167) grepQuiet -vE 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\'''
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -vE 'hash mismatch in fixed-output derivation '\''.*-x2\.drv'\'''clearing store...
clearing store...
clearing store...
error: rewriting '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top' to content-addressed form yielded '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top'
clearing store...
clearing store...
clearing store...
error: rewriting '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top' to content-addressed form yielded '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top', while '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-dependencies-top' was expected
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/fetchClosure
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/fetchClosure
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/fetchClosure
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchClosure
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(fetchClosure.sh:3) enableFeatures fetch-closure
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=fetch-closure
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& fetch-closure/' /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/etc/nix.conf
+(fetchClosure.sh:5) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/test-home/.local/state/nix/profiles
+(fetchClosure.sh:6) clearCacheCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:86) rm -f '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/test-home/.cache/nix/binary-cache*'
+(fetchClosure.sh:12) requireDaemonNewerThan 2.16.0pre20230524
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:159) isDaemonNewer 2.16.0pre20230524
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
++(fetchClosure.sh:15) nix build --json --file ./dependencies.nix --no-link
++(fetchClosure.sh:15) jq -r '.[].outputs.out'
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/9y6h02g9wsm3z0d105dn5bg7yw6camy2-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/jzrqzjp7chz83p0gqmd81q33g2xcxrny-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/pn9j7fmma5kjdy59s6y401qdrcyp3xd4-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/x16hp9sh0prmim7pc985cg88mrsi91ik-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/nvy4alzd8vg7wpjw984l3c04cvk1ymvc-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/9y6h02g9wsm3z0d105dn5bg7yw6camy2-dependencies-input-0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/jzrqzjp7chz83p0gqmd81q33g2xcxrny-dependencies-input-1.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/pn9j7fmma5kjdy59s6y401qdrcyp3xd4-dependencies-input-2.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/x16hp9sh0prmim7pc985cg88mrsi91ik-fod-input.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/nvy4alzd8vg7wpjw984l3c04cvk1ymvc-dependencies-top.drv'...
+(fetchClosure.sh:15) nonCaPath=/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top
++(fetchClosure.sh:16) nix store make-content-addressed --json /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top
++(fetchClosure.sh:16) jq -r '.rewrites | map(.) | .[]'
rewriting '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/jzqkyvnvicfng9k4jwwkhsm0ldlc9wf9-dependencies-input-0' to '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/28l313mp5lyl6r7nsakxrqin78dg129f-dependencies-input-0'
rewriting '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/5cnyj9grmz5r50hd40v576gg4bws3asp-dependencies-input-2' to '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/rmwbskggf74h71h2473rvpw68prxzsl5-dependencies-input-2'
rewriting '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top' to '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top'
+(fetchClosure.sh:16) caPath=/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top
+(fetchClosure.sh:17) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/jzqkyvnvicfng9k4jwwkhsm0ldlc9wf9-dependencies-input-0' to 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/5cnyj9grmz5r50hd40v576gg4bws3asp-dependencies-input-2' to 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top' to 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache'...
+(fetchClosure.sh:20) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/test-home/.local/state/nix/profiles
+(fetchClosure.sh:22) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top ']'
+(fetchClosure.sh:23) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top ']'
++(fetchClosure.sh:31) nix eval -v --raw --expr '
builtins.fetchClosure {
fromStore = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache";
fromPath = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top;
toPath = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top;
}
'
querying info about '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top' on 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache'...
querying info about '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/5cnyj9grmz5r50hd40v576gg4bws3asp-dependencies-input-2' on 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache'...
querying info about '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/jzqkyvnvicfng9k4jwwkhsm0ldlc9wf9-dependencies-input-0' on 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache'...
rewriting '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/jzqkyvnvicfng9k4jwwkhsm0ldlc9wf9-dependencies-input-0' to '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/28l313mp5lyl6r7nsakxrqin78dg129f-dependencies-input-0'
rewriting '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/5cnyj9grmz5r50hd40v576gg4bws3asp-dependencies-input-2' to '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/rmwbskggf74h71h2473rvpw68prxzsl5-dependencies-input-2'
rewriting '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top' to '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top'
+(fetchClosure.sh:31) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top ]]
+(fetchClosure.sh:33) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top ']'
+(fetchClosure.sh:34) '[' -e /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top ']'
+(fetchClosure.sh:36) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/test-home/.local/state/nix/profiles
+(fetchClosure.sh:41) [[ '' != \d\a\e\m\o\n ]]
+(fetchClosure.sh:44) expectStderr 1 nix eval --raw --no-require-sigs --expr '
builtins.fetchClosure {
fromStore = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache";
fromPath = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top;
}
'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(fetchClosure.sh:49) grepQuiet -E 'The .fromPath. value .* is input-addressed, but .inputAddressed. is set to .false.'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix eval --raw --no-require-sigs --expr '
builtins.fetchClosure {
fromStore = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache";
fromPath = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top;
}
'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep -E 'The .fromPath. value .* is input-addressed, but .inputAddressed. is set to .false.'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(fetchClosure.sh:54) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top ']'
++(fetchClosure.sh:63) nix eval --raw --no-require-sigs --expr '
builtins.fetchClosure {
fromStore = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache";
fromPath = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top;
inputAddressed = true;
}
'
+(fetchClosure.sh:63) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top ]]
+(fetchClosure.sh:65) '[' -e /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top ']'
+(fetchClosure.sh:66) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top ']'
+(fetchClosure.sh:71) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top ']'
+(fetchClosure.sh:74) expectStderr 1 nix eval -v --json --expr '
builtins.fetchClosure {
fromStore = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache";
fromPath = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top;
toPath = "";
}
'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix eval -v --json --expr '
builtins.fetchClosure {
fromStore = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache";
fromPath = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top;
toPath = "";
}
'
+(fetchClosure.sh:80) grep 'error: rewriting.*/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top.*yielded.*/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(fetchClosure.sh:83) nix copy --to file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/28l313mp5lyl6r7nsakxrqin78dg129f-dependencies-input-0' to 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/rmwbskggf74h71h2473rvpw68prxzsl5-dependencies-input-2' to 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top' to 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache'...
+(fetchClosure.sh:85) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/test-home/.local/state/nix/profiles
+(fetchClosure.sh:87) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top ']'
++(fetchClosure.sh:94) nix eval -v --raw --expr '
builtins.fetchClosure {
fromStore = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache";
fromPath = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top;
}
'
querying info about '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top' on 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache'...
querying info about '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/rmwbskggf74h71h2473rvpw68prxzsl5-dependencies-input-2' on 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache'...
querying info about '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/28l313mp5lyl6r7nsakxrqin78dg129f-dependencies-input-0' on 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache'...
copying 3 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/28l313mp5lyl6r7nsakxrqin78dg129f-dependencies-input-0' from 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/rmwbskggf74h71h2473rvpw68prxzsl5-dependencies-input-2' from 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache'...
copying path '/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top' from 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache'...
+(fetchClosure.sh:94) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top ]]
+(fetchClosure.sh:96) '[' -e /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top ']'
+(fetchClosure.sh:99) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/test-home/.local/state/nix/profiles
+(fetchClosure.sh:100) narCache=/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/nar-cache
+(fetchClosure.sh:101) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/nar-cache
+(fetchClosure.sh:102) nix eval -v --raw --expr '
builtins.fetchClosure {
fromStore = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache?local-nar-cache=/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/nar-cache";
fromPath = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top;
}
'
error:
… while calling the 'fetchClosure' builtin
at «string»:2:3:
1|
2| builtins.fetchClosure {
| ^
3| fromStore = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache?local-nar-cache=/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/nar-cache";
error: 'fetchClosure' does not support URL query parameters (in 'file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache?local-nar-cache=/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/nar-cache')
+(fetchClosure.sh:108) '[' -e /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/nar-cache ']'
+(fetchClosure.sh:111) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/test-home/.local/state/nix/profiles
++(fetchClosure.sh:113) echo /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top
++(fetchClosure.sh:113) sed -e 's!/store/................................-!/store/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-!'
+(fetchClosure.sh:113) badPath=/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-dependencies-top
+(fetchClosure.sh:115) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-dependencies-top ']'
+(fetchClosure.sh:117) expectStderr 1 nix eval -v --raw --expr '
builtins.fetchClosure {
fromStore = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache";
fromPath = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top;
toPath = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-dependencies-top;
}
'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix eval -v --raw --expr '
builtins.fetchClosure {
fromStore = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache";
fromPath = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top;
toPath = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-dependencies-top;
}
'
+(fetchClosure.sh:123) grep 'error: rewriting.*/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/di67x6c9xmzkf104a8jvbifqjgcz7xfm-dependencies-top.*yielded.*/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top.*while.*/tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-dependencies-top.*was expected'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(fetchClosure.sh:125) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-dependencies-top ']'
+(fetchClosure.sh:129) '[' -e /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top ']'
++(fetchClosure.sh:137) nix eval -v --raw --expr '
builtins.fetchClosure {
fromStore = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache";
fromPath = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-dependencies-top;
toPath = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top;
}
'
+(fetchClosure.sh:137) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top ]]
+(fetchClosure.sh:143) expectStderr 1 nix eval -v --raw --expr '
builtins.fetchClosure {
fromStore = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache";
fromPath = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top;
inputAddressed = true;
}
'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(fetchClosure.sh:149) grepQuiet 'error.*The store object referred to by.*fromPath.* at .* is not input-addressed, but .*inputAddressed.* is set to .*true.*'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix eval -v --raw --expr '
builtins.fetchClosure {
fromStore = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchClosure/binary-cache";
fromPath = /tmp/nix-shell.MrxVR3/nix-test/fetchClosure/store/yai331j59yraj7vngzkz1x0rz2hzx34s-dependencies-top;
inputAddressed = true;
}
'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'error.*The store object referred to by.*fromPath.* at .* is not input-addressed, but .*inputAddressed.* is set to .*true.*'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0clearing store...
[{"drvPath":"/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv","outputs":{"out":null,"stuff":null}}]
error: pure derivation '/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/x9n1vcvqx1zany6j8k3xchx1qkz4bq5r-input-addressed.drv' depends on impure derivation '/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv'
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/impure-derivations
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/impure-derivations
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/impure-derivations
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/impure-derivations
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/impure-derivations
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/impure-derivations/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/impure-derivations/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/impure-derivations/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/impure-derivations/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/impure-derivations/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(impure-derivations.sh:3) requireDaemonNewerThan 2.8pre20220311
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:159) isDaemonNewer 2.8pre20220311
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
+(impure-derivations.sh:5) enableFeatures 'ca-derivations impure-derivations'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local 'features=ca-derivations impure-derivations'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations impure-derivations/' /tmp/nix-shell.MrxVR3/nix-test/impure-derivations/etc/nix.conf
+(impure-derivations.sh:6) restartDaemon
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(impure-derivations.sh:8) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/impure-derivations/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/impure-derivations/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/impure-derivations/test-home/.local/state/nix/profiles
+(impure-derivations.sh:11) printf 0
++(impure-derivations.sh:14) nix-instantiate ./impure-derivations.nix -A impure
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
+(impure-derivations.sh:14) drvPath=/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv
+(impure-derivations.sh:15) nix derivation show /tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv
+(impure-derivations.sh:15) jq '.[]'
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv^*'
++(impure-derivations.sh:16) nix derivation add
+(impure-derivations.sh:16) drvPath2=/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv
+(impure-derivations.sh:17) [[ /tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv = \/\t\m\p\/\n\i\x\-\s\h\e\l\l\.\M\r\x\V\R\3\/\n\i\x\-\t\e\s\t\/\i\m\p\u\r\e\-\d\e\r\i\v\a\t\i\o\n\s\/\s\t\o\r\e\/\0\x\p\g\b\4\3\l\x\w\d\2\6\9\k\2\x\n\b\y\c\v\s\z\v\k\n\5\h\q\2\2\-\i\m\p\u\r\e\.\d\r\v ]]
+(impure-derivations.sh:20) expectStderr 1 nix derivation add --experimental-features nix-command
+(impure-derivations.sh:20) grepQuiet 'experimental Nix feature '\''impure-derivations'\'' is disabled'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:264) grep 'experimental Nix feature '\''impure-derivations'\'' is disabled'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:205) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:206) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:207) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) nix derivation add --experimental-features nix-command
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:208) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:209) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:213) return 0
+(impure-derivations.sh:22) nix build --dry-run --json --file ./impure-derivations.nix impure.all
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv
++(impure-derivations.sh:23) nix build -L --no-link --json --file ./impure-derivations.nix impure.all
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv
building '/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv'...
impure> impure
+(impure-derivations.sh:23) json='[{"drvPath":"/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv","outputs":{"out":"/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/c696yw86nwx286x7x2wvpqhhhhz9q21x-impure","stuff":"/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/ii5lifr98n0ss46vd3pp3qqdz0ak6cff-impure-stuff"},"startTime":1716682876,"stopTime":1716682876}]'
++(impure-derivations.sh:24) echo '[{"drvPath":"/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv","outputs":{"out":"/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/c696yw86nwx286x7x2wvpqhhhhz9q21x-impure","stuff":"/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/ii5lifr98n0ss46vd3pp3qqdz0ak6cff-impure-stuff"},"startTime":1716682876,"stopTime":1716682876}]'
++(impure-derivations.sh:24) jq -r '.[].outputs.out'
+(impure-derivations.sh:24) path1=/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/c696yw86nwx286x7x2wvpqhhhhz9q21x-impure
++(impure-derivations.sh:25) echo '[{"drvPath":"/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv","outputs":{"out":"/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/c696yw86nwx286x7x2wvpqhhhhz9q21x-impure","stuff":"/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/ii5lifr98n0ss46vd3pp3qqdz0ak6cff-impure-stuff"},"startTime":1716682876,"stopTime":1716682876}]'
++(impure-derivations.sh:25) jq -r '.[].outputs.stuff'
+(impure-derivations.sh:25) path1_stuff=/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/ii5lifr98n0ss46vd3pp3qqdz0ak6cff-impure-stuff
+(impure-derivations.sh:26) [[ 0 = 0 ]]
+(impure-derivations.sh:27) [[ 0 = 0 ]]
++(impure-derivations.sh:29) nix path-info --json /tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/c696yw86nwx286x7x2wvpqhhhhz9q21x-impure
++(impure-derivations.sh:29) jq '.[].ca'
+(impure-derivations.sh:29) [[ "fixed:r:sha256:1i747fmkax44x5zzd8s4vyjqd8qybw6hpvpzncwa7w41h5v53sab" =~ fixed:r:sha256: ]]
++(impure-derivations.sh:31) nix build -L --no-link --json --file ./impure-derivations.nix impure
++(impure-derivations.sh:31) jq -r '.[].outputs.out'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv
building '/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv'...
impure> impure
+(impure-derivations.sh:31) path2=/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/kckqgi6h6payf408b9zw3lizrn5nw3yw-impure
+(impure-derivations.sh:32) [[ 1 = 1 ]]
++(impure-derivations.sh:35) nix build -L --no-link --json --file ./impure-derivations.nix impureOnImpure
++(impure-derivations.sh:35) jq -r '.[].outputs.out'
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv
/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/7xvwhpspbdy2x5ip7hn61s1a2p5rhqgm-impure-on-impure.drv
building '/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv'...
impure> impure
building '/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/349irg2bxv61vys6djvhqnx7l01fgfw1-impure-on-impure.drv'...
impure-on-impure> impure-on-impure
+(impure-derivations.sh:35) path3=/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/17iszrxscda94w0l3kklgmhwhy3fqzhc-impure-on-impure
+(impure-derivations.sh:36) [[ X2 = X2 ]]
++(impure-derivations.sh:38) nix build -L --no-link --json --file ./impure-derivations.nix impureOnImpure
++(impure-derivations.sh:38) jq -r '.[].outputs.out'
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv
/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/7xvwhpspbdy2x5ip7hn61s1a2p5rhqgm-impure-on-impure.drv
building '/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv'...
impure> impure
building '/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/c3nh6mizf0skiqlf8c81c1i32acw4w78-impure-on-impure.drv'...
impure-on-impure> impure-on-impure
+(impure-derivations.sh:38) path4=/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/i2jg2sz4jm0d6pwkpms80vsdwpr5bmiv-impure-on-impure
+(impure-derivations.sh:39) [[ X3 = X3 ]]
+(impure-derivations.sh:42) [[ 3 = 3 ]]
+(impure-derivations.sh:43) [[ X3 = X3 ]]
+(impure-derivations.sh:46) nix build -L --no-link --json --file ./impure-derivations.nix inputAddressed
+(impure-derivations.sh:46) grep 'depends on impure derivation'
++(impure-derivations.sh:48) nix eval --json --file ./impure-derivations.nix impure.drvPath
++(impure-derivations.sh:48) jq -r .
+(impure-derivations.sh:48) drvPath=/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv
++(impure-derivations.sh:49) nix derivation show /tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv
++(impure-derivations.sh:49) jq '.["/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv"].outputs.out.impure'
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv^*'
+(impure-derivations.sh:49) [[ true = true ]]
++(impure-derivations.sh:50) nix derivation show /tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv
++(impure-derivations.sh:50) jq '.["/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv"].outputs.stuff.impure'
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv^*'
+(impure-derivations.sh:50) [[ true = true ]]
++(impure-derivations.sh:53) nix build -L --no-link --json --file ./impure-derivations.nix contentAddressed
++(impure-derivations.sh:53) jq -r '.[].outputs.out'
these 3 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv
/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/7xvwhpspbdy2x5ip7hn61s1a2p5rhqgm-impure-on-impure.drv
/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/mgqnigbfb9l3vl69cwdwf9nv3hhc4zic-content-addressed.drv
building '/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/0xpgb43lxwd269k2xnbycvszvkn5hq22-impure.drv'...
impure> impure
building '/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/zdr5vwwy60648dgqvliixpg0gdijzqpd-impure-on-impure.drv'...
impure-on-impure> impure-on-impure
building '/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/y5w8i8gqd4llf9wz4fy8q6p3krijk1z3-content-addressed.drv'...
content-addressed> content-addressed
+(impure-derivations.sh:53) path5=/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/ajrfb99lc4ijd1vmlfy0ydm6kkrg1z6x-content-addressed
+(impure-derivations.sh:54) [[ X = X ]]
+(impure-derivations.sh:55) [[ 5 = 5 ]]
++(impure-derivations.sh:58) nix build -L --no-link --json --file ./impure-derivations.nix contentAddressed
++(impure-derivations.sh:58) jq -r '.[].outputs.out'
+(impure-derivations.sh:58) path5=/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/ajrfb99lc4ijd1vmlfy0ydm6kkrg1z6x-content-addressed
+(impure-derivations.sh:59) [[ X = X ]]
+(impure-derivations.sh:60) [[ 5 = 5 ]]
++(impure-derivations.sh:63) nix build -L --no-link --json --file ./impure-derivations.nix inputAddressedAfterCA
++(impure-derivations.sh:63) jq -r '.[].outputs.out'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/ajadfv49fp9vm552pjgz5baxa1f275z3-input-addressed-after-ca.drv
building '/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/ajadfv49fp9vm552pjgz5baxa1f275z3-input-addressed-after-ca.drv'...
+(impure-derivations.sh:63) path6=/tmp/nix-shell.MrxVR3/nix-test/impure-derivations/store/pl2yv38fcifg7rza21aj90kn7zhjwph9-input-addressed-after-ca
+(impure-derivations.sh:64) [[ X = X ]]
+(impure-derivations.sh:65) [[ 5 = 5 ]]Running main() from /build/source/googletest/src/gtest_main.cc
[==========] Running 15 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 15 tests from ReplSessionTest
[ RUN ] ReplSessionTest.round_trip
[ OK ] ReplSessionTest.round_trip (0 ms)
[ RUN ] ReplSessionTest.tidy
[ OK ] ReplSessionTest.tidy (0 ms)
[ RUN ] ReplSessionTest.basic_repl
[ OK ] ReplSessionTest.basic_repl (56 ms)
[ RUN ] ReplSessionTest.no_nested_debuggers
[ OK ] ReplSessionTest.no_nested_debuggers (52 ms)
[ RUN ] ReplSessionTest.regression_9917
[ OK ] ReplSessionTest.regression_9917 (62 ms)
[ RUN ] ReplSessionTest.regression_9918
[ OK ] ReplSessionTest.regression_9918 (41 ms)
[ RUN ] ReplSessionTest.regression_l145
[ OK ] ReplSessionTest.regression_l145 (42 ms)
[ RUN ] ReplSessionTest.repl_overlays
[ OK ] ReplSessionTest.repl_overlays (35 ms)
[ RUN ] ReplSessionTest.repl_overlays_compose
[ OK ] ReplSessionTest.repl_overlays_compose (33 ms)
[ RUN ] ReplSessionTest.repl_overlays_destructure_without_dotdotdot_errors
[ OK ] ReplSessionTest.repl_overlays_destructure_without_dotdotdot_errors (35 ms)
[ RUN ] ReplSessionTest.repl_overlays_destructure_without_formals_ok
[ OK ] ReplSessionTest.repl_overlays_destructure_without_formals_ok (38 ms)
[ RUN ] ReplSessionTest.repl_overlays_error
[ OK ] ReplSessionTest.repl_overlays_error (32 ms)
[ RUN ] ReplSessionTest.repl_printing
[ OK ] ReplSessionTest.repl_printing (32 ms)
[ RUN ] ReplSessionTest.stack_vars
[ OK ] ReplSessionTest.stack_vars (50 ms)
[ RUN ] ReplSessionTest.errors
[ OK ] ReplSessionTest.errors (24 ms)
[----------] 15 tests from ReplSessionTest (539 ms total)
[----------] Global test environment tear-down
[==========] 15 tests from 1 test suite ran. (539 ms total)
[ PASSED ] 15 tests.
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/test-repl-characterization
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/test-repl-characterization
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/test-repl-characterization
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/test-repl-characterization
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/test-repl-characterization
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/test-repl-characterization/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/test-repl-characterization/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/test-repl-characterization/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/test-repl-characterization/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/test-repl-characterization/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/test-repl-characterization/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
++(test-repl-characterization.sh:7) pwd
+(test-repl-characterization.sh:7) _NIX_TEST_UNIT_DATA=/lix-src/build/tests/functional/repl_characterization/data
+(test-repl-characterization.sh:7) ./repl_characterization/test-repl-characterizationclearing store...
1 store paths deleted, 0.00 MiB freed
1 store paths deleted, 0.00 MiB freed
1 store paths deleted, 0.00 MiB freed
1 store paths deleted, 0.00 MiB freed
1 store paths deleted, 0.00 MiB freed
1 store paths deleted, 0.00 MiB freed
1 store paths deleted, 0.00 MiB freed
1 store paths deleted, 0.00 MiB freed
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/build-delete
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/build-delete
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/build-delete
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-delete
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-delete
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-delete/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-delete/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/build-delete/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-delete/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-delete/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/build-delete/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(build-delete.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/build-delete/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-delete/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-delete/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-delete/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/build-delete/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/build-delete/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/build-delete/test-home/.local/state/nix/profiles
+(build-delete.sh:31) issue_6572_independent_outputs
+(build-delete.sh:7) nix build -f multiple-outputs.nix --json independent --no-link
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/k48g39xmidxckmp5qaks01pia6dvh6m8-multiple-outputs-independent.drv
building '/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/k48g39xmidxckmp5qaks01pia6dvh6m8-multiple-outputs-independent.drv'...
++(build-delete.sh:10) nix build -f multiple-outputs.nix use-independent --no-link --print-out-paths
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/gp1yvrk9jsf4h3zi62p0zb5i1k6njs3l-multiple-outputs-a.drv
/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/vnxn4zaqk8xbz8zwbmav1qbwqwx2v7p0-use-independent.drv
building '/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/gp1yvrk9jsf4h3zi62p0zb5i1k6njs3l-multiple-outputs-a.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/vnxn4zaqk8xbz8zwbmav1qbwqwx2v7p0-use-independent.drv'...
+(build-delete.sh:10) p=/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/5gdsx7x2xwygkshnbwjpwj76lzjad3qz-use-independent
+(build-delete.sh:11) nix-store --delete /tmp/nix-shell.MrxVR3/nix-test/build-delete/store/5gdsx7x2xwygkshnbwjpwj76lzjad3qz-use-independent
finding garbage collector roots...
deleting '/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/5gdsx7x2xwygkshnbwjpwj76lzjad3qz-use-independent'
deleting unused links...
note: currently hard linking saves -0.00 MiB
++(build-delete.sh:14) jq -r '.[0].outputs.first'
+(build-delete.sh:14) nix-store --delete /tmp/nix-shell.MrxVR3/nix-test/build-delete/store/kszpibdf2rmw7922wh702aipz8ap5b0n-multiple-outputs-independent-first
finding garbage collector roots...
deleting '/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/kszpibdf2rmw7922wh702aipz8ap5b0n-multiple-outputs-independent-first'
deleting unused links...
note: currently hard linking saves -0.00 MiB
++(build-delete.sh:15) nix build -f multiple-outputs.nix use-independent --no-link --print-out-paths
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/vnxn4zaqk8xbz8zwbmav1qbwqwx2v7p0-use-independent.drv
building '/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/vnxn4zaqk8xbz8zwbmav1qbwqwx2v7p0-use-independent.drv'...
+(build-delete.sh:15) p=/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/5gdsx7x2xwygkshnbwjpwj76lzjad3qz-use-independent
+(build-delete.sh:16) cmp /tmp/nix-shell.MrxVR3/nix-test/build-delete/store/5gdsx7x2xwygkshnbwjpwj76lzjad3qz-use-independent
+(build-delete.sh:20) nix-store --delete /tmp/nix-shell.MrxVR3/nix-test/build-delete/store/5gdsx7x2xwygkshnbwjpwj76lzjad3qz-use-independent
finding garbage collector roots...
deleting '/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/5gdsx7x2xwygkshnbwjpwj76lzjad3qz-use-independent'
deleting unused links...
note: currently hard linking saves -0.00 MiB
++(build-delete.sh:23) jq -r '.[0].outputs.second'
+(build-delete.sh:23) nix-store --delete /tmp/nix-shell.MrxVR3/nix-test/build-delete/store/72q4z50v91f4zcaiq18770p1cfxwk1i1-multiple-outputs-independent-second
finding garbage collector roots...
deleting '/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/72q4z50v91f4zcaiq18770p1cfxwk1i1-multiple-outputs-independent-second'
deleting unused links...
note: currently hard linking saves -0.00 MiB
++(build-delete.sh:24) nix build -f multiple-outputs.nix use-independent --no-link --print-out-paths
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/vnxn4zaqk8xbz8zwbmav1qbwqwx2v7p0-use-independent.drv
building '/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/vnxn4zaqk8xbz8zwbmav1qbwqwx2v7p0-use-independent.drv'...
+(build-delete.sh:24) p=/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/5gdsx7x2xwygkshnbwjpwj76lzjad3qz-use-independent
+(build-delete.sh:25) cmp /tmp/nix-shell.MrxVR3/nix-test/build-delete/store/5gdsx7x2xwygkshnbwjpwj76lzjad3qz-use-independent
+(build-delete.sh:29) nix-store --delete /tmp/nix-shell.MrxVR3/nix-test/build-delete/store/5gdsx7x2xwygkshnbwjpwj76lzjad3qz-use-independent
finding garbage collector roots...
deleting '/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/5gdsx7x2xwygkshnbwjpwj76lzjad3qz-use-independent'
deleting unused links...
note: currently hard linking saves -0.00 MiB
+(build-delete.sh:52) isDaemonNewer 2.12pre0
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) [[ -n '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:147) return 0
+(build-delete.sh:53) issue_6572_dependent_outputs
+(build-delete.sh:37) nix build -f multiple-outputs.nix --json a --no-link
++(build-delete.sh:40) nix build -f multiple-outputs.nix use-a --no-link --print-out-paths
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/r8xfh7iqzggh9js5lja9sw8xlsqml471-use-a.drv
building '/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/r8xfh7iqzggh9js5lja9sw8xlsqml471-use-a.drv'...
+(build-delete.sh:40) p=/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/d8n1snmmlf0gsvi8ykzhnyggy61vqqan-use-a
+(build-delete.sh:41) nix-store --delete /tmp/nix-shell.MrxVR3/nix-test/build-delete/store/d8n1snmmlf0gsvi8ykzhnyggy61vqqan-use-a
finding garbage collector roots...
deleting '/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/d8n1snmmlf0gsvi8ykzhnyggy61vqqan-use-a'
deleting unused links...
note: currently hard linking saves -0.00 MiB
++(build-delete.sh:44) jq -r '.[0].outputs.second'
+(build-delete.sh:44) nix-store --delete /tmp/nix-shell.MrxVR3/nix-test/build-delete/store/6kmyl9hlyqqs29f6g3swrfgl5r9h9cvf-multiple-outputs-a-second
finding garbage collector roots...
deleting '/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/6kmyl9hlyqqs29f6g3swrfgl5r9h9cvf-multiple-outputs-a-second'
deleting unused links...
note: currently hard linking saves -0.00 MiB
++(build-delete.sh:45) nix build -f multiple-outputs.nix use-a --no-link --print-out-paths
these 2 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/gp1yvrk9jsf4h3zi62p0zb5i1k6njs3l-multiple-outputs-a.drv
/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/r8xfh7iqzggh9js5lja9sw8xlsqml471-use-a.drv
building '/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/gp1yvrk9jsf4h3zi62p0zb5i1k6njs3l-multiple-outputs-a.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/r8xfh7iqzggh9js5lja9sw8xlsqml471-use-a.drv'...
+(build-delete.sh:45) p=/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/d8n1snmmlf0gsvi8ykzhnyggy61vqqan-use-a
+(build-delete.sh:46) cmp /tmp/nix-shell.MrxVR3/nix-test/build-delete/store/d8n1snmmlf0gsvi8ykzhnyggy61vqqan-use-a
+(build-delete.sh:50) nix-store --delete /tmp/nix-shell.MrxVR3/nix-test/build-delete/store/d8n1snmmlf0gsvi8ykzhnyggy61vqqan-use-a
finding garbage collector roots...
deleting '/tmp/nix-shell.MrxVR3/nix-test/build-delete/store/d8n1snmmlf0gsvi8ykzhnyggy61vqqan-use-a'
deleting unused links...
note: currently hard linking saves -0.00 MiBclearing store...
Store paths: /tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/mycdsnrzmscxl8qfafbivw5zlpb7ahr3-foo-1.0
Locked flake URL: path:/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1?lastModified=1716682875&narHash=sha256-Bw4QgscsF6CRfzIy31d6ZCdAMesOEiCG7K3kIidi0Gw%3D
Version \x1b[1m1\x1b[0m (2024-05-26):
foo: ∅ -> 1.0
Version \x1b[32;1m2\x1b[0m (2024-05-26) <- 1:
path:/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1#packages.x86_64-linux.default: ∅ -> 1.0, 1.0-man
path:/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1#packages.x86_64-linux.default: ∅ -> 1.0, 1.0-man
env-manifest.nix: ε → ∅
removed 1 packages, kept 1 packages
path:/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1#packages.x86_64-linux.default: 1.0, 1.0-man -> 2.0, 2.0-man
Version 1 -> 2:
env-manifest.nix: ε → ∅
profile: ∅ → ε
profile-test: ∅ → 1.0
user: ε → ∅
Version 2 -> 3:
profile-test: 1.0 → ∅
Version 3 -> 4:
profile-test: ∅ → 1.0
Version 4 -> 5:
profile-test: 1.0 → 2.0
removed 1 packages, kept 1 packages
foo: 1.0 -> ∅
Version 3 -> 4:
removed 1 packages, kept 1 packages
Name: \x1b[1msimple-1\x1b[0m
removed 1 packages, kept 2 packages
removed 1 packages, kept 1 packages
path:/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1#packages.x86_64-linux.default: 1.0, 1.0-man -> 3.0, 3.0-man
removed 1 packages, kept 0 packages
Name: \x1b[1mflake1\x1b[0m
Flake attribute: packages.x86_64-linux.default^*
Original flake URL: path:/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1
Locked flake URL: path:/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1?lastModified=1716682877&narHash=sha256-lFvM/vZOv%2BIBdDRecZXVfbkHe/0bstCSl2%2BuV6Joy6Y%3D
Store paths: /tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/5168c7rkzlj6z579cbyjr445a6krfj5p-profile-test-4.0 /tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/p7v83ay33ipjyjvwwb2yn3c4cyx94svz-profile-test-4.0-dev /tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/z0xqk4d65bzlmcfc8kcv4bg1wkplgvq0-profile-test-4.0-man
removed 1 packages, kept 0 packages
[FAIL]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/nix-profile
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/nix-profile
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/nix-profile
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-profile
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-profile
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-profile/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-profile/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/nix-profile/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-profile/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-profile/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/nix-profile/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(nix-profile.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/nix-profile/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-profile/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-profile/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-profile/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-profile/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.local/state/nix/profiles
+(nix-profile.sh:4) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.local/state/nix/profiles
+(nix-profile.sh:6) enableFeatures ca-derivations
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:228) local features=ca-derivations
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:229) sed -i 's/experimental-features .*/& ca-derivations/' /tmp/nix-shell.MrxVR3/nix-test/nix-profile/etc/nix.conf
+(nix-profile.sh:7) restartDaemon
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) [[ -z '' ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:136) return 0
+(nix-profile.sh:10) flake1Dir=/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1
+(nix-profile.sh:11) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1
+(nix-profile.sh:13) cat
+(nix-profile.sh:42) printf World
+(nix-profile.sh:43) printf 1.0
+(nix-profile.sh:44) printf false
+(nix-profile.sh:46) cp ./config.nix /tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1/
+(nix-profile.sh:49) nix-env -f ./user-envs.nix -i foo-1.0
installing 'foo-1.0'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/jhj27jci70ccwik4118jjdc8n9bmk3vk-foo-1.0.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/jhj27jci70ccwik4118jjdc8n9bmk3vk-foo-1.0.drv'...
building '/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/lmizhkkqshd516y9s525ija9vlp6gy78-user-environment.drv'...
+(nix-profile.sh:50) nix profile list
+(nix-profile.sh:50) grep -A2 'Name:.*foo'
+(nix-profile.sh:50) grep 'Store paths:.*foo-1.0'
+(nix-profile.sh:51) nix profile install /tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1 -L
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/7y200ng6r822jhing40wwldircpachdp-profile-test-1.0.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/7y200ng6r822jhing40wwldircpachdp-profile-test-1.0.drv'...
profile-test> DONE
+(nix-profile.sh:52) nix profile list
+(nix-profile.sh:52) grep -A4 'Name:.*flake1'
+(nix-profile.sh:52) grep 'Locked flake URL:.*narHash'
++(nix-profile.sh:53) /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/bin/hello
+(nix-profile.sh:53) [[ Hello World = \H\e\l\l\o\ \W\o\r\l\d ]]
+(nix-profile.sh:54) '[' -e /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/share/man ']'
+(nix-profile.sh:55) '[' -e /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/include ']'
+(nix-profile.sh:56) nix profile history
+(nix-profile.sh:57) nix profile history
+(nix-profile.sh:57) grep 'packages.x86_64-linux.default: ∅ -> 1.0'
+(nix-profile.sh:58) nix profile diff-closures
+(nix-profile.sh:58) grep 'env-manifest.nix: ε → ∅'
+(nix-profile.sh:62) export 'NIX_CONFIG=use-xdg-base-directories = true'
+(nix-profile.sh:62) NIX_CONFIG='use-xdg-base-directories = true'
+(nix-profile.sh:63) nix profile remove flake1
+(nix-profile.sh:63) grep 'removed 1 packages'
+(nix-profile.sh:64) nix profile install /tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1
++(nix-profile.sh:65) /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.local/state/nix/profile/bin/hello
+(nix-profile.sh:65) [[ Hello World = \H\e\l\l\o\ \W\o\r\l\d ]]
+(nix-profile.sh:66) unset NIX_CONFIG
+(nix-profile.sh:69) printf NixOS
+(nix-profile.sh:70) printf 2.0
+(nix-profile.sh:71) nix profile upgrade flake1
upgrading 'packages.x86_64-linux.default' from flake 'path:/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1?lastModified=1716682875&narHash=sha256-Bw4QgscsF6CRfzIy31d6ZCdAMesOEiCG7K3kIidi0Gw%3D' to 'path:/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1?lastModified=1716682876&narHash=sha256-i6ulaYTmxnTZ0hsnQ/pijtKTAcY7v8eq7Tfaksv8QOs%3D'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/ik9ix5kgdfjx6bbjjdniaz846hxgd6j9-profile-test-2.0.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/ik9ix5kgdfjx6bbjjdniaz846hxgd6j9-profile-test-2.0.drv'...
++(nix-profile.sh:72) /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/bin/hello
+(nix-profile.sh:72) [[ Hello NixOS = \H\e\l\l\o\ \N\i\x\O\S ]]
+(nix-profile.sh:73) nix profile history
+(nix-profile.sh:73) grep 'packages.x86_64-linux.default: 1.0, 1.0-man -> 2.0, 2.0-man'
+(nix-profile.sh:76) nix profile diff-closures
+(nix-profile.sh:79) nix profile rollback
switching profile from version 5 to 4
++(nix-profile.sh:80) /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/bin/hello
+(nix-profile.sh:80) [[ Hello World = \H\e\l\l\o\ \W\o\r\l\d ]]
+(nix-profile.sh:83) '[' -e /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/bin/foo ']'
+(nix-profile.sh:84) nix profile remove foo
+(nix-profile.sh:84) grep 'removed 1 packages'
+(nix-profile.sh:85) '[' -e /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/bin/foo ']'
+(nix-profile.sh:86) nix profile history
+(nix-profile.sh:86) grep 'foo: 1.0 -> ∅'
+(nix-profile.sh:87) nix profile diff-closures
+(nix-profile.sh:87) grep 'Version 3 -> 4'
+(nix-profile.sh:90) nix profile install --file ./simple.nix ''
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/xjb5g31rqj0hpljj4lahw5m2yh1vx178-simple.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/xjb5g31rqj0hpljj4lahw5m2yh1vx178-simple.drv'...
++(nix-profile.sh:91) cat /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/hello
+(nix-profile.sh:91) [[ Hello World! = \H\e\l\l\o\ \W\o\r\l\d\! ]]
+(nix-profile.sh:92) nix profile remove simple
+(nix-profile.sh:92) grep 'removed 1 packages'
++(nix-profile.sh:93) nix-build --no-out-link ./simple.nix
+(nix-profile.sh:93) nix profile install /tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/hf302p3ykz575imybv640pqwbsgd78gn-simple
++(nix-profile.sh:94) cat /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/hello
+(nix-profile.sh:94) [[ Hello World! = \H\e\l\l\o\ \W\o\r\l\d\! ]]
+(nix-profile.sh:97) mkdir /tmp/nix-shell.MrxVR3/nix-test/nix-profile/simple-too
+(nix-profile.sh:98) cp ./simple.nix ./config.nix simple.builder.sh /tmp/nix-shell.MrxVR3/nix-test/nix-profile/simple-too
+(nix-profile.sh:99) nix profile install --file /tmp/nix-shell.MrxVR3/nix-test/nix-profile/simple-too/simple.nix ''
+(nix-profile.sh:100) nix profile list
+(nix-profile.sh:100) grep -A4 'Name:.*simple'
+(nix-profile.sh:100) grep 'Name:.*simple-1'
+(nix-profile.sh:101) nix profile remove simple
+(nix-profile.sh:101) grep 'removed 1 packages'
+(nix-profile.sh:102) nix profile remove simple-1
+(nix-profile.sh:102) grep 'removed 1 packages'
+(nix-profile.sh:105) nix profile wipe-history
removing profile version 1
removing profile version 2
removing profile version 3
removing profile version 4
removing profile version 5
removing profile version 6
removing profile version 7
removing profile version 8
removing profile version 9
removing profile version 10
removing profile version 11
++(nix-profile.sh:106) nix profile history
++(nix-profile.sh:106) grep Version
++(nix-profile.sh:106) wc -l
+(nix-profile.sh:106) [[ 1 -eq 1 ]]
+(nix-profile.sh:109) printf true
+(nix-profile.sh:110) printf 3.0
+(nix-profile.sh:111) nix profile upgrade flake1
upgrading 'packages.x86_64-linux.default' from flake 'path:/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1?lastModified=1716682875&narHash=sha256-Bw4QgscsF6CRfzIy31d6ZCdAMesOEiCG7K3kIidi0Gw%3D' to 'path:/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1?lastModified=1716682877&narHash=sha256-gKHFWhGlDSl2C165zj6OtOEngzlNZIbgA%2BSDKM1vCu8%3D'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/h6nhy49b6ncz7f9chqp9dai307qa5274-profile-test-3.0.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/h6nhy49b6ncz7f9chqp9dai307qa5274-profile-test-3.0.drv'...
+(nix-profile.sh:112) nix profile history
+(nix-profile.sh:112) grep 'packages.x86_64-linux.default: 1.0, 1.0-man -> 3.0, 3.0-man'
+(nix-profile.sh:115) nix profile remove flake1
+(nix-profile.sh:115) grep 'removed 1 packages'
+(nix-profile.sh:116) printf 4.0
+(nix-profile.sh:117) printf Utrecht
+(nix-profile.sh:118) nix profile install /tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/pj4r1747405fz85ahk8d0c9zk1p9lh8n-profile-test-4.0.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/pj4r1747405fz85ahk8d0c9zk1p9lh8n-profile-test-4.0.drv'...
++(nix-profile.sh:119) /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/bin/hello
+(nix-profile.sh:119) [[ Hello Utrecht = \H\e\l\l\o\ \U\t\r\e\c\h\t ]]
+++(nix-profile.sh:120) realpath /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/bin/hello
++(nix-profile.sh:120) jq -r '.[].ca'
++(nix-profile.sh:120) nix path-info --json /tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/5168c7rkzlj6z579cbyjr445a6krfj5p-profile-test-4.0/bin/hello
+(nix-profile.sh:120) [[ fixed:r:sha256:15k7wq1qps4k77k25pybsjfwpn94rchbhb667hpzrsjj8ajn1rb8 =~ fixed:r:sha256: ]]
+(nix-profile.sh:123) nix profile remove simple flake1
removing 'path:/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1#packages.x86_64-linux.default'
removed 1 packages, kept 0 packages
+(nix-profile.sh:124) nix profile install '/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1^*'
++(nix-profile.sh:125) /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/bin/hello
+(nix-profile.sh:125) [[ Hello Utrecht = \H\e\l\l\o\ \U\t\r\e\c\h\t ]]
+(nix-profile.sh:126) '[' -e /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/share/man ']'
+(nix-profile.sh:127) '[' -e /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/include ']'
+(nix-profile.sh:129) printf Nix
+(nix-profile.sh:130) nix profile list
+(nix-profile.sh:131) nix profile upgrade flake1
upgrading 'packages.x86_64-linux.default' from flake 'path:/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1?lastModified=1716682877&narHash=sha256-lFvM/vZOv%2BIBdDRecZXVfbkHe/0bstCSl2%2BuV6Joy6Y%3D' to 'path:/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1?lastModified=1716682877&narHash=sha256-wJGxviRsvDW%2BMaOnCB4rRSSgf19oxvyAbLG%2BFXk5DAM%3D'
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/c139kjw7dv7zia3n11yr8hrnvz85gq19-profile-test-4.0.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/c139kjw7dv7zia3n11yr8hrnvz85gq19-profile-test-4.0.drv'...
++(nix-profile.sh:132) /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/bin/hello
+(nix-profile.sh:132) [[ Hello Nix = \H\e\l\l\o\ \N\i\x ]]
+(nix-profile.sh:133) '[' -e /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/share/man ']'
+(nix-profile.sh:134) '[' -e /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/include ']'
+(nix-profile.sh:136) nix profile remove flake1
+(nix-profile.sh:136) grep 'removed 1 packages'
+(nix-profile.sh:137) nix profile install '/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1^man'
+(nix-profile.sh:138) '[' -e /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/bin/hello ']'
+(nix-profile.sh:139) '[' -e /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/share/man ']'
+(nix-profile.sh:140) '[' -e /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/include ']'
+(nix-profile.sh:143) nix profile remove flake1
removing 'path:/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1#packages.x86_64-linux.default^man'
removed 1 packages, kept 0 packages
+(nix-profile.sh:146) flake2Dir=/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake2
+(nix-profile.sh:147) printf World
+(nix-profile.sh:148) cp -r /tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1 /tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake2
+(nix-profile.sh:149) printf World2
+(nix-profile.sh:151) nix profile install /tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/27vbwlf92an3f1jp4ws18fb6dy3f1mhc-profile-test-4.0.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/27vbwlf92an3f1jp4ws18fb6dy3f1mhc-profile-test-4.0.drv'...
++(nix-profile.sh:152) /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/bin/hello
+(nix-profile.sh:152) [[ Hello World = \H\e\l\l\o\ \W\o\r\l\d ]]
+(nix-profile.sh:153) expect 1 nix profile install /tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake2
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) nix profile install /tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake2
this derivation will be built:
/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/x19v0ck97aai5ij8hikhb009wgbyyml4-profile-test-4.0.drv
building '/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/x19v0ck97aai5ij8hikhb009wgbyyml4-profile-test-4.0.drv'...
error: An existing package already provides the following file:
/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/ifl462adkgqc7iq2mw32qyh2xf65jkgf-profile-test-4.0/bin/hello
This is the conflicting file from the new package:
/tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/ibzsv7ppmln11drgbsh66cmjl13g71cb-profile-test-4.0/bin/hello
To remove the existing package:
nix profile remove path:/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1#packages.x86_64-linux.default
The new package can also be installed next to the existing one by assigning a different priority.
The conflicting packages have a priority of 5.
To prioritise the new package:
nix profile install path:/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake2#packages.x86_64-linux.default --priority 4
To prioritise the existing package:
nix profile install path:/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake2#packages.x86_64-linux.default --priority 6
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 1 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:199) return 0
+(nix-profile.sh:154) diff -u /dev/fd/63 /dev/fd/62
++(nix-profile.sh:154) cat
++(nix-profile.sh:154) nix --offline profile install /tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake2
++(nix-profile.sh:154) grep -vE '^warning: '
++(nix-profile.sh:154) grep -vE '^error \(ignored\): '
+++(nix-profile.sh:154) nix build --no-link --print-out-paths /tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1#default.out
+++(nix-profile.sh:154) nix build --no-link --print-out-paths /tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake2#default.out
++(nix-profile.sh:154) true
++(nix-profile.sh:183) /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/bin/hello
+(nix-profile.sh:183) [[ Hello World = \H\e\l\l\o\ \W\o\r\l\d ]]
+(nix-profile.sh:184) nix profile install /tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake2 --priority 100
++(nix-profile.sh:185) /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/bin/hello
+(nix-profile.sh:185) [[ Hello World = \H\e\l\l\o\ \W\o\r\l\d ]]
+(nix-profile.sh:186) nix profile install /tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake2 --priority 0
++(nix-profile.sh:187) /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.nix-profile/bin/hello
+(nix-profile.sh:187) [[ Hello World2 = \H\e\l\l\o\ \W\o\r\l\d\2 ]]
+(nix-profile.sh:194) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/nix-profile/test-home/.local/state/nix/profiles
++(nix-profile.sh:195) nix build /tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake1 --no-link --print-out-paths
+(nix-profile.sh:195) nix profile install /tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/z0xqk4d65bzlmcfc8kcv4bg1wkplgvq0-profile-test-4.0-man /tmp/nix-shell.MrxVR3/nix-test/nix-profile/store/ifl462adkgqc7iq2mw32qyh2xf65jkgf-profile-test-4.0
+(nix-profile.sh:196) expect 1 nix profile install --impure --expr '(builtins.getFlake '\'''\''/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake2'\'''\'').packages.x86_64-linux.default'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:191) local expected res
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:192) expected=1
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:193) shift
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) nix profile install --impure --expr '(builtins.getFlake '\'''\''/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake2'\'''\'').packages.x86_64-linux.default'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:194) res=0
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:195) [[ 0 -ne 1 ]]
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:196) echo 'Expected exit code '\''1'\'' but got '\''0'\'' from command '\''nix'\'' '\''profile'\'' '\''install'\'' '\''--impure'\'' '\''--expr'\'' '\''(builtins.getFlake '\''\'\'''\'''\''\'\'''\''/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake2'\''\'\'''\'''\''\'\'''\'').packages.x86_64-linux.default'\'''
Expected exit code '1' but got '0' from command 'nix' 'profile' 'install' '--impure' '--expr' '(builtins.getFlake '\'''\''/tmp/nix-shell.MrxVR3/nix-test/nix-profile/flake2'\'''\'').packages.x86_64-linux.default'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:197) return 1
++(nix-profile.sh:196) onError
++(/lix-src/build/tests/functional/common/vars-and-functions.sh:235) set +x
nix-profile.sh: test failed at:
main in nix-profile.sh:196clearing store...
reverting hello
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
++(fetchMercurial.sh:3) type -p hg
+(fetchMercurial.sh:3) [[ -n /nix/store/51ffwlx2vxlm76aafrwg0qlnmhqjhxpl-mercurial-6.5.2/bin/hg ]]
+(fetchMercurial.sh:5) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/test-home/.local/state/nix/profiles
+(fetchMercurial.sh:9) repo=/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg
+(fetchMercurial.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg-tmp /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/test-home/.cache/nix
+(fetchMercurial.sh:13) hg init /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg
+(fetchMercurial.sh:14) echo '[ui]'
+(fetchMercurial.sh:15) echo 'username = Foobar <foobar@example.org>'
+(fetchMercurial.sh:18) echo 'tweakdefaults = True'
+(fetchMercurial.sh:20) echo utrecht
+(fetchMercurial.sh:21) touch /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg/.hgignore
+(fetchMercurial.sh:22) hg add --cwd /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg hello .hgignore
+(fetchMercurial.sh:23) hg commit --cwd /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg -m Bla1
++(fetchMercurial.sh:24) hg log --cwd /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg -r tip --template '{node}'
+(fetchMercurial.sh:24) rev1=59a8420c1dee949c72cdd6a5e17cc647d802d048
+(fetchMercurial.sh:26) echo world
+(fetchMercurial.sh:27) hg commit --cwd /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg -m Bla2
++(fetchMercurial.sh:28) hg log --cwd /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg -r tip --template '{node}'
+(fetchMercurial.sh:28) rev2=0a6c0a55b6c2a5fc2fe58c1f0030414bca52723a
+(fetchMercurial.sh:31) echo unclean
++(fetchMercurial.sh:32) nix eval --impure --raw --expr '(builtins.fetchMercurial file:///tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg).outPath'
warning: Mercurial tree '/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg' is unclean
+(fetchMercurial.sh:32) path=/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/hx1d8vm61a2jb7jh0hf3yqnvpdsw84zv-source
++(fetchMercurial.sh:33) cat /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/hx1d8vm61a2jb7jh0hf3yqnvpdsw84zv-source/hello
+(fetchMercurial.sh:33) [[ unclean = unclean ]]
+(fetchMercurial.sh:34) hg revert --cwd /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg --all
++(fetchMercurial.sh:37) nix eval --impure --raw --expr '(builtins.fetchMercurial file:///tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg).outPath'
+(fetchMercurial.sh:37) path=/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/gnm1cjh7a77hvib2gqa8h5z40wxdqhfj-source
++(fetchMercurial.sh:38) cat /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/gnm1cjh7a77hvib2gqa8h5z40wxdqhfj-source/hello
+(fetchMercurial.sh:38) [[ world = world ]]
++(fetchMercurial.sh:41) nix eval --impure --raw --expr '(builtins.readFile (fetchMercurial file:///tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg + "/hello"))'
+(fetchMercurial.sh:41) [[ world = world ]]
+(fetchMercurial.sh:42) nix eval --raw --expr 'builtins.readFile (fetchMercurial file:///tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg + "/hello")'
error:
… while calling the 'readFile' builtin
at «string»:1:1:
1| builtins.readFile (fetchMercurial file:///tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg + "/hello")
| ^
… while calling the 'fetchMercurial' builtin
at «string»:1:20:
1| builtins.readFile (fetchMercurial file:///tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg + "/hello")
| ^
error: in pure evaluation mode, 'fetchMercurial' requires a Mercurial revision
++(fetchMercurial.sh:45) nix eval --impure --raw --expr '(builtins.fetchMercurial { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg; rev = "0a6c0a55b6c2a5fc2fe58c1f0030414bca52723a"; }).outPath'
+(fetchMercurial.sh:45) path2=/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/gnm1cjh7a77hvib2gqa8h5z40wxdqhfj-source
+(fetchMercurial.sh:46) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/gnm1cjh7a77hvib2gqa8h5z40wxdqhfj-source = /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/gnm1cjh7a77hvib2gqa8h5z40wxdqhfj-source ]]
++(fetchMercurial.sh:49) nix eval --raw --expr 'builtins.readFile (fetchMercurial { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg; rev = "0a6c0a55b6c2a5fc2fe58c1f0030414bca52723a"; } + "/hello")'
+(fetchMercurial.sh:49) [[ world = world ]]
+(fetchMercurial.sh:52) mv /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg-tmp
++(fetchMercurial.sh:53) nix eval --impure --raw --expr '(builtins.fetchMercurial file:///tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg).outPath'
+(fetchMercurial.sh:53) path2=/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/gnm1cjh7a77hvib2gqa8h5z40wxdqhfj-source
+(fetchMercurial.sh:54) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/gnm1cjh7a77hvib2gqa8h5z40wxdqhfj-source = /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/gnm1cjh7a77hvib2gqa8h5z40wxdqhfj-source ]]
++(fetchMercurial.sh:56) nix eval --impure --raw --expr '(builtins.fetchMercurial file:///tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg).branch'
+(fetchMercurial.sh:56) [[ default = default ]]
++(fetchMercurial.sh:57) nix eval --impure --expr '(builtins.fetchMercurial file:///tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg).revCount'
+(fetchMercurial.sh:57) [[ 1 = 1 ]]
++(fetchMercurial.sh:58) nix eval --impure --raw --expr '(builtins.fetchMercurial file:///tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg).rev'
+(fetchMercurial.sh:58) [[ 0a6c0a55b6c2a5fc2fe58c1f0030414bca52723a = 0a6c0a55b6c2a5fc2fe58c1f0030414bca52723a ]]
+(fetchMercurial.sh:61) nix eval --impure --refresh --expr 'builtins.fetchMercurial file:///tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg'
abort: repository /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg not found
error:
… while calling the 'fetchMercurial' builtin
at «string»:1:1:
1| builtins.fetchMercurial file:///tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg
| ^
… while fetching the input 'hg+file:///tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg'
error: 'hg pull' failed with exit code 255
++(fetchMercurial.sh:64) nix eval --refresh --raw --expr '(builtins.fetchMercurial { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg; rev = "0a6c0a55b6c2a5fc2fe58c1f0030414bca52723a"; }).outPath'
+(fetchMercurial.sh:64) path2=/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/gnm1cjh7a77hvib2gqa8h5z40wxdqhfj-source
+(fetchMercurial.sh:65) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/gnm1cjh7a77hvib2gqa8h5z40wxdqhfj-source = /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/gnm1cjh7a77hvib2gqa8h5z40wxdqhfj-source ]]
++(fetchMercurial.sh:67) nix eval --refresh --raw --expr '(builtins.fetchMercurial { url = file:///tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg; rev = "59a8420c1dee949c72cdd6a5e17cc647d802d048"; }).outPath'
+(fetchMercurial.sh:67) path2=/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/j4h0s1qxzgj2llqd320gwfxyc2jk37mh-source
++(fetchMercurial.sh:68) cat /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/j4h0s1qxzgj2llqd320gwfxyc2jk37mh-source/hello
+(fetchMercurial.sh:68) [[ utrecht = utrecht ]]
+(fetchMercurial.sh:70) mv /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg-tmp /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg
++(fetchMercurial.sh:73) nix eval --impure --raw --expr '(builtins.fetchMercurial /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg).outPath'
+(fetchMercurial.sh:73) path2=/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/gnm1cjh7a77hvib2gqa8h5z40wxdqhfj-source
+(fetchMercurial.sh:74) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/gnm1cjh7a77hvib2gqa8h5z40wxdqhfj-source = /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/gnm1cjh7a77hvib2gqa8h5z40wxdqhfj-source ]]
+(fetchMercurial.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg/dir1 /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg/dir2
+(fetchMercurial.sh:78) echo foo
+(fetchMercurial.sh:79) echo bar
+(fetchMercurial.sh:80) echo bar
+(fetchMercurial.sh:81) hg add --cwd /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg dir1/foo
+(fetchMercurial.sh:82) hg rm --cwd /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg hello
++(fetchMercurial.sh:84) nix eval --impure --raw --expr '(builtins.fetchMercurial /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg).outPath'
warning: Mercurial tree '/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/hg' is unclean
+(fetchMercurial.sh:84) path2=/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/4lj5w7xfk6431yy3m658z67fpqnbvwi1-source
+(fetchMercurial.sh:85) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/4lj5w7xfk6431yy3m658z67fpqnbvwi1-source/hello ']'
+(fetchMercurial.sh:86) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/4lj5w7xfk6431yy3m658z67fpqnbvwi1-source/bar ']'
+(fetchMercurial.sh:87) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/4lj5w7xfk6431yy3m658z67fpqnbvwi1-source/dir2/bar ']'
+(fetchMercurial.sh:88) '[' '!' -e /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/4lj5w7xfk6431yy3m658z67fpqnbvwi1-source/.hg ']'
++(fetchMercurial.sh:89) cat /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/4lj5w7xfk6431yy3m658z67fpqnbvwi1-source/dir1/foo
+(fetchMercurial.sh:89) [[ foo = foo ]]
++(fetchMercurial.sh:91) nix eval --impure --raw --expr '(builtins.fetchMercurial /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg).rev'
warning: Mercurial tree '/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/hg' is unclean
+(fetchMercurial.sh:91) [[ 0000000000000000000000000000000000000000 = 0000000000000000000000000000000000000000 ]]
++(fetchMercurial.sh:94) nix eval --impure --raw --expr '(builtins.fetchMercurial { url = /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg; rev = "default"; }).outPath'
+(fetchMercurial.sh:94) path3=/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/gnm1cjh7a77hvib2gqa8h5z40wxdqhfj-source
+(fetchMercurial.sh:95) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/gnm1cjh7a77hvib2gqa8h5z40wxdqhfj-source = /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/gnm1cjh7a77hvib2gqa8h5z40wxdqhfj-source ]]
+(fetchMercurial.sh:98) hg commit --cwd /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg -m Bla3
++(fetchMercurial.sh:100) nix eval --impure --refresh --raw --expr '(builtins.fetchMercurial file:///tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg).outPath'
+(fetchMercurial.sh:100) path4=/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/4lj5w7xfk6431yy3m658z67fpqnbvwi1-source
+(fetchMercurial.sh:101) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/4lj5w7xfk6431yy3m658z67fpqnbvwi1-source = /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/4lj5w7xfk6431yy3m658z67fpqnbvwi1-source ]]
+(fetchMercurial.sh:103) echo paris
++(fetchMercurial.sh:105) nix eval -vvvvv --impure --refresh --raw --expr '(builtins.fetchMercurial { url = "file:///tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg"; name = "foo"; } ).outPath'
error: restoring parent mount namespace: Operation not permitted
did not find cache entry for '{"name":"foo","ref":"default","type":"hg","url":"/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg"}'
fetching Mercurial repository '/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/./hg'...
error: restoring parent mount namespace: Operation not permitted
error: restoring parent mount namespace: Operation not permitted
did not find cache entry for '{"name":"foo","rev":"6d15e6b58be41a2f4837bb60eeb8265f1f473362","type":"hg"}'
error: restoring parent mount namespace: Operation not permitted
acquiring write lock on '/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/var/nix/temproots/40866'
locking path '/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/063v8lkn7r04kwndxls4aaxj33axniwr-foo'
lock acquired on '/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/063v8lkn7r04kwndxls4aaxj33axniwr-foo.lock'
lock released on '/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/063v8lkn7r04kwndxls4aaxj33axniwr-foo.lock'
+(fetchMercurial.sh:105) path5=/tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/063v8lkn7r04kwndxls4aaxj33axniwr-foo
+(fetchMercurial.sh:106) [[ /tmp/nix-shell.MrxVR3/nix-test/fetchMercurial/store/063v8lkn7r04kwndxls4aaxj33axniwr-foo =~ -foo$ ]]clearing store...
/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/swal7q4nccw0l93avl5nkb3ylbca87gn-dependencies-top
/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/swal7q4nccw0l93avl5nkb3ylbca87gn-dependencies-top
[PASS]++(common/vars-and-functions.sh:272) trap onError ERR
+(init.sh:6) test -n /tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote
+(init.sh:7) test -d /tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote
+(init.sh:8) chmod -R u+w /tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:117) [[ '' == '' ]]
+(common/vars-and-functions.sh:118) return
+(init.sh:11) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote
+(init.sh:13) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote
+(init.sh:15) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store
+(init.sh:16) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/var
+(init.sh:17) mkdir -p /tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/var/nix
+(init.sh:19) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:34) cat
+(init.sh:41) nix-store --init
+(init.sh:44) test -e /tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/var/nix/db/db.sqlite
+++(/lix-src/build/tests/functional/common/vars-and-functions.sh:272) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(binary-cache-build-remote.sh:3) clearStore
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:72) echo 'clearing store...'
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:73) chmod -R +w /tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:74) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:75) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:76) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:77) mkdir /tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/var/nix
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:78) clearProfiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/test-home/.local/state/nix/profiles
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/test-home/.local/state/nix/profiles
+(binary-cache-build-remote.sh:4) clearCacheCache
+(/lix-src/build/tests/functional/common/vars-and-functions.sh:86) rm -f '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/test-home/.cache/nix/binary-cache*'
+(binary-cache-build-remote.sh:7) nix-build --store file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/binary-cache dependencies.nix
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/0x93b0yhrjsvpirlizjww8ya7wz674qv-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/hxh5diaspq8r71zpgfiscis0dr186ds0-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/cnpnp4q3mwhysnn4rasmgz4lfjx9a63c-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/w3m397dn1cwymwpbjnx8aydn5hrilx9m-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/wvs5h3wz7wzzszp0m1x3jcg18jyspb4k-dependencies-top.drv
error: unable to build with a primary store that isn't a local store; either pass a different '--store' or enable remote builds.
https://nixos.org/manual/nix/stable/advanced-topics/distributed-builds.html
++(binary-cache-build-remote.sh:10) nix-build --store file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/binary-cache --builders 'auto - - 1 1' -j0 dependencies.nix
these 5 derivations will be built:
/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/0x93b0yhrjsvpirlizjww8ya7wz674qv-dependencies-input-1.drv
/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/hxh5diaspq8r71zpgfiscis0dr186ds0-dependencies-input-0.drv
/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/cnpnp4q3mwhysnn4rasmgz4lfjx9a63c-dependencies-input-2.drv
/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/w3m397dn1cwymwpbjnx8aydn5hrilx9m-fod-input.drv
/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/wvs5h3wz7wzzszp0m1x3jcg18jyspb4k-dependencies-top.drv
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/hxh5diaspq8r71zpgfiscis0dr186ds0-dependencies-input-0.drv' on 'auto'...
waiting for a machine to build '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/0x93b0yhrjsvpirlizjww8ya7wz674qv-dependencies-input-1.drv'...
waiting for a machine to build '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/w3m397dn1cwymwpbjnx8aydn5hrilx9m-fod-input.drv'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/gjf9w3ilhj1ka6jwazrrdzv8xdgidr0b-builder-dependencies-input-0.sh' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/binary-cache'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/hxh5diaspq8r71zpgfiscis0dr186ds0-dependencies-input-0.drv'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/8np9jj9n2zb0pgvy94yxas5m6dva274d-dependencies-input-0' to 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/binary-cache'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/cnpnp4q3mwhysnn4rasmgz4lfjx9a63c-dependencies-input-2.drv' on 'auto'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/vir82n72wzhiy40bzmnkjgl21jcksnkw-builder-dependencies-input-2.sh' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/binary-cache'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/cnpnp4q3mwhysnn4rasmgz4lfjx9a63c-dependencies-input-2.drv'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/jmq7l02sv1zq7n8n5qlnk6y6yq1zha4w-dependencies-input-2' to 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/binary-cache'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/0x93b0yhrjsvpirlizjww8ya7wz674qv-dependencies-input-1.drv' on 'auto'...
waiting for a machine to build '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/w3m397dn1cwymwpbjnx8aydn5hrilx9m-fod-input.drv'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/7045fhs9vh7cgg292nm0jg6yll7i6mwa-builder-dependencies-input-1.sh' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/binary-cache'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/0x93b0yhrjsvpirlizjww8ya7wz674qv-dependencies-input-1.drv'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/ydknhxwn0c9hqdyiw2485nwk4bk4rln1-dependencies-input-1' to 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/binary-cache'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/w3m397dn1cwymwpbjnx8aydn5hrilx9m-fod-input.drv' on 'auto'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/99zlzxr1y515iv4g3dw0xq16vzzxi6dc-builder-fod-input.sh' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/binary-cache'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/w3m397dn1cwymwpbjnx8aydn5hrilx9m-fod-input.drv'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/c6c8ikgwsx86ggf0hfww80vnkmsldywn-fod-input' to 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/binary-cache'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/wvs5h3wz7wzzszp0m1x3jcg18jyspb4k-dependencies-top.drv' on 'auto'...
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/z2sazy4kbs8cgd2vrjy2zd6gl90mxalg-dependencies.builder0.sh' from 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/binary-cache'...
building '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/wvs5h3wz7wzzszp0m1x3jcg18jyspb4k-dependencies-top.drv'...
FOO
copying 1 paths...
copying path '/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/swal7q4nccw0l93avl5nkb3ylbca87gn-dependencies-top' to 'file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/binary-cache'...
+(binary-cache-build-remote.sh:10) outPath=/tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/swal7q4nccw0l93avl5nkb3ylbca87gn-dependencies-top
+(binary-cache-build-remote.sh:13) nix path-info --store file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/binary-cache /tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/store/swal7q4nccw0l93avl5nkb3ylbca87gn-dependencies-top
+(binary-cache-build-remote.sh:16) nix-build --store file:///tmp/nix-shell.MrxVR3/nix-test/binary-cache-build-remote/binary-cache -j0 dependencies.nix