build01: building 7z6hisi8h8y3x6j2vhfrz1x4pjhb6k0y-direnv-2.38.2.drv Running phase: unpackPhase unpacking source archive /nix/store/4y485bzka925v23630nqgc3aws7714xx-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase go build -ldflags '-X main.bashPath=/nix/store/wgxz9zr5a70v52nkqinbarf56f1c5jsi-bash-interactive-5.3p15/bin/bash' -o direnv Running phase: checkPhase go test -v ./... ? github.com/direnv/direnv/v2 [no test files] ? github.com/direnv/direnv/v2/gzenv [no test files] === RUN TestVersionDotTxt --- PASS: TestVersionDotTxt (0.00s) === RUN TestEnvDiff --- PASS: TestEnvDiff (0.00s) === RUN TestEnvDiffEmptyValue --- PASS: TestEnvDiffEmptyValue (0.00s) === RUN TestIgnoredEnv --- PASS: TestIgnoredEnv (0.00s) === RUN TestEnv --- PASS: TestEnv (0.00s) === RUN TestUpdate --- PASS: TestUpdate (0.00s) === RUN TestFTJsons --- PASS: TestFTJsons (0.00s) === RUN TestRoundTrip --- PASS: TestRoundTrip (0.00s) === RUN TestCanonicalAdds --- PASS: TestCanonicalAdds (0.00s) === RUN TestCheckPasses --- PASS: TestCheckPasses (0.00s) === RUN TestCheckStale --- PASS: TestCheckStale (0.00s) === RUN TestCheckAppeared --- PASS: TestCheckAppeared (0.00s) === RUN TestCheckGone --- PASS: TestCheckGone (0.00s) === RUN TestLogErrorColor --- PASS: TestLogErrorColor (0.00s) === RUN TestLogErrorNoColor --- PASS: TestLogErrorNoColor (0.00s) === RUN TestLogStatusColor --- PASS: TestLogStatusColor (0.00s) === RUN TestLogStatusNoColor --- PASS: TestLogStatusNoColor (0.00s) === RUN TestLoadConfigLogColorRespectsTERM --- PASS: TestLoadConfigLogColorRespectsTERM (0.00s) === RUN TestSomething --- PASS: TestSomething (0.00s) === RUN TestStdlibEscapesSelfPath --- PASS: TestStdlibEscapesSelfPath (0.00s) === RUN TestBashHookEscapesSelfPath --- PASS: TestBashHookEscapesSelfPath (0.01s) === RUN TestHookPreservesSIGINT === RUN TestHookPreservesSIGINT/bash === RUN TestHookPreservesSIGINT/bash/default === RUN TestHookPreservesSIGINT/bash/ignored === RUN TestHookPreservesSIGINT/bash/custom === RUN TestHookPreservesSIGINT/zsh === RUN TestHookPreservesSIGINT/zsh/default === RUN TestHookPreservesSIGINT/zsh/ignored === RUN TestHookPreservesSIGINT/zsh/custom === RUN TestHookPreservesSIGINT/zsh/function --- PASS: TestHookPreservesSIGINT (0.17s) --- PASS: TestHookPreservesSIGINT/bash (0.06s) --- PASS: TestHookPreservesSIGINT/bash/default (0.02s) --- PASS: TestHookPreservesSIGINT/bash/ignored (0.02s) --- PASS: TestHookPreservesSIGINT/bash/custom (0.02s) --- PASS: TestHookPreservesSIGINT/zsh (0.11s) --- PASS: TestHookPreservesSIGINT/zsh/default (0.03s) --- PASS: TestHookPreservesSIGINT/zsh/ignored (0.03s) --- PASS: TestHookPreservesSIGINT/zsh/custom (0.03s) --- PASS: TestHookPreservesSIGINT/zsh/function (0.03s) === RUN TestPwshExportRemovesBeforeAssigning --- PASS: TestPwshExportRemovesBeforeAssigning (0.00s) === RUN TestPwshHookQuotesSelfPath --- PASS: TestPwshHookQuotesSelfPath (0.00s) === RUN TestCutEncapsulated_ok --- PASS: TestCutEncapsulated_ok (0.00s) === RUN TestExport_ok --- PASS: TestExport_ok (0.00s) === RUN TestBashEscape --- PASS: TestBashEscape (0.00s) === RUN TestFishEscape --- PASS: TestFishEscape (0.00s) === RUN TestTcshEscape --- PASS: TestTcshEscape (0.00s) === RUN TestPowerShellEscape --- PASS: TestPowerShellEscape (0.00s) === RUN TestShellDetection --- PASS: TestShellDetection (0.00s) === RUN TestZshHookEvalContext --- PASS: TestZshHookEvalContext (0.01s) PASS ok github.com/direnv/direnv/v2/internal/cmd 0.200s === RUN TestDotEnvExported --- PASS: TestDotEnvExported (0.00s) === RUN TestDotEnvPlain --- PASS: TestDotEnvPlain (0.00s) === RUN TestSoloEmpty --- PASS: TestSoloEmpty (0.00s) === RUN TestDotEnvQuoted --- PASS: TestDotEnvQuoted (0.00s) === RUN TestDotEnvYAML --- PASS: TestDotEnvYAML (0.00s) === RUN TestFailingMustParse --- PASS: TestFailingMustParse (0.00s) === RUN TestCommentOverride --- PASS: TestCommentOverride (0.00s) === RUN TestVariableExpansion --- PASS: TestVariableExpansion (0.00s) === RUN TestEscapedDollar --- PASS: TestEscapedDollar (0.00s) === RUN TestVariableExpansionWithDefaults --- PASS: TestVariableExpansionWithDefaults (0.00s) === RUN TestDotEnvMultiline --- PASS: TestDotEnvMultiline (0.00s) === RUN TestDotEnvUnclosedQuote --- PASS: TestDotEnvUnclosedQuote (0.00s) === RUN TestDotEnvMixedMultiline --- PASS: TestDotEnvMixedMultiline (0.00s) === RUN TestDotEnvNestedJSON --- PASS: TestDotEnvNestedJSON (0.00s) === RUN TestDotEnvIssue1519 --- PASS: TestDotEnvIssue1519 (0.00s) === RUN TestDotEnvCommentedUnbalancedQuote --- PASS: TestDotEnvCommentedUnbalancedQuote (0.00s) === RUN TestDotEnvCommentedUnbalancedSingleQuote --- PASS: TestDotEnvCommentedUnbalancedSingleQuote (0.00s) === RUN TestDotEnvCommentedUnbalancedQuoteEOF --- PASS: TestDotEnvCommentedUnbalancedQuoteEOF (0.00s) === RUN TestDotEnvCommentedQuoteSwallow --- PASS: TestDotEnvCommentedQuoteSwallow (0.00s) === RUN TestDotEnvEscapedQuote --- PASS: TestDotEnvEscapedQuote (0.00s) === RUN TestDotEnvEscapedQuoteMultiline --- PASS: TestDotEnvEscapedQuoteMultiline (0.00s) PASS ok github.com/direnv/direnv/v2/pkg/dotenv 0.007s === RUN TestWriter --- PASS: TestWriter (0.00s) === RUN TestParser --- PASS: TestParser (0.00s) PASS ok github.com/direnv/direnv/v2/pkg/sri 0.006s ? github.com/direnv/direnv/v2/xdg [no test files] bash ./test/direnv-test.bash direnv: loading /build/source/test/.envrc ## Testing base ## Setting up direnv: loading /build/source/test/scenarios/base/.envrc direnv: export +HELLO Reloading (should be no-op) Updating envrc and reloading (should reload) direnv: loading /build/source/test/scenarios/base/.envrc direnv: export +HELLO Leaving dir (should clear env set by dir's envrc) direnv: loading /build/source/test/.envrc ## Testing rm ## direnv: loading /build/tmp.gh1bj9nJLq/rm/.envrc direnv: export +HELLO Removing .envrc (should unload) direnv: unloading ## Testing disable ## direnv: loading /build/source/test/scenarios/disable/.envrc direnv: export +HELLO direnv: loading /build/source/test/.envrc ## Testing inherit ## direnv: loading /build/source/test/scenarios/inherit/.envrc direnv: loading /build/source/test/scenarios/inherited/.envrc world direnv: export +HELLO HELLO should be world: world direnv: loading /build/source/test/scenarios/inherit/.envrc direnv: loading /build/source/test/scenarios/inherited/.envrc goodbye direnv: export +HELLO direnv: unloading ## Testing space dir ## direnv: loading /build/source/test/scenarios/space dir/.envrc direnv: export +SPACE_DIR ~PATH direnv: unloading ## Testing child-env ## direnv: loading /build/source/test/scenarios/child-env/.envrc direnv: export +CHILD +PARENT_POST +PARENT_PRE direnv: unloading ## Testing special-vars ## direnv: loading /build/source/test/scenarios/special-vars/.envrc ## Testing dump ## direnv: loading /build/source/test/scenarios/dump/.envrc to stdout to stderr direnv: direnv_load would previously hang if DIRENV_DUMP_FILE_PATH was not opened. direnv: Expect the following to emit an error (which we suppress). direnv: As long as it doesn't hang, we're okay. direnv: Environment not dumped; did you invoke 'direnv dump'? direnv: export +LESSOPEN +LS_COLORS +THREE_BACKSLASHES direnv: unloading ## Testing empty-var ## direnv: loading /build/source/test/scenarios/empty-var/.envrc direnv: export +FOO direnv: unloading ## Testing empty-var-unset ## direnv: loading /build/source/test/scenarios/empty-var-unset/.envrc direnv: export -FOO direnv: unloading ## Testing in-envrc ## direnv: loading /build/source/test/.envrc ## Testing missing-file-source-env ## direnv: loading /build/source/test/scenarios/missing-file-source-env/.envrc direnv: referenced /build/20619.qJ0QLhSl/.envrc does not exist ## Testing symlink-changed ## direnv: loading /build/source/test/scenarios/symlink-changed/.envrc direnv: export +STATE direnv: loading /build/source/test/scenarios/symlink-changed/.envrc direnv: export +STATE direnv: unloading ## Testing symlink-dir ## ## Testing utf-8 ## direnv: loading /build/source/test/scenarios/utf-8/.envrc direnv: export +UTFSTUFF direnv: unloading ## Testing failure ## direnv: loading /build/source/test/scenarios/failure/.envrc direnv: error exit status 5 ## Testing unloading message ## direnv: loading /build/tmp.EBUDzSSZN4/.envrc direnv: export +UNLOAD_TEST direnv: unloading ## Testing watch-dir ## No watches by default direnv: loading /build/source/test/scenarios/watch-dir/.envrc After eval, watches have changed ## Testing load-envrc-before-env ## direnv: loading /build/source/test/scenarios/load-envrc-before-env/.envrc direnv: export +HELLO direnv: unloading ## Testing load-env ## direnv: export +HELLO direnv: unloading ## Testing skip-env ## direnv: loading /build/source/test/.envrc ## Testing deleted-envrc ## direnv: loading /build/source/test/scenarios/deleted-envrc/.envrc direnv: export +HELLO Deleting .envrc (env should be unloaded on next eval) direnv: loading /build/source/test/.envrc ## Testing aliases ## direnv: loading /build/source/test/scenarios/aliases/.envrc direnv: export +HELLO direnv: loading /build/source/test/scenarios/aliases/.envrc direnv: export +HELLO direnv: loading /build/source/test/scenarios/aliases/.envrc direnv: export +HELLO ## Testing process-fork ## direnv: loading /build/source/test/scenarios/process-fork/.envrc ## Testing big-var ## direnv: loading /build/source/test/scenarios/big-var/.envrc direnv: export +BIG direnv: unloading ## Testing $test ## direnv: loading /build/source/test/scenarios/$test/.envrc direnv: export ~FOO direnv: unloading ## Testing special-characters/backspace/return ## direnv: loading /build/source/test/scenarios/special-characters/backspace/return/.envrc direnv: export +HI direnv: unloading ## Testing require-allowed ## Test 1: First allow permits .envrc but not required files direnv: loading /build/source/test/scenarios/require-allowed/.envrc direnv: config.toml requires approval. Run 'direnv allow' to approve. Test 2: Second allow approves required files direnv: allowing config.toml direnv: loading /build/source/test/scenarios/require-allowed/.envrc direnv: export +REQUIRE_ALLOWED_TEST Test 3: Modifying a required file triggers re-approval direnv: loading /build/source/test/scenarios/require-allowed/.envrc direnv: config.toml requires approval. Run 'direnv allow' to approve. Test 4: Re-allowing after modification works direnv: allowing config.toml direnv: loading /build/source/test/scenarios/require-allowed/.envrc direnv: export +REQUIRE_ALLOWED_TEST direnv: unloading fish ./test/direnv-test.fish direnv: loading /build/source/test/.envrc ## Testing base ## Setting up direnv: loading /build/source/test/scenarios/base/.envrc direnv: export +HELLO Reloading (should be no-op) Updating envrc and reloading (should reload) direnv: loading /build/source/test/scenarios/base/.envrc direnv: export +HELLO Leaving dir (should clear env set by dir's envrc) direnv: loading /build/source/test/.envrc ## Testing inherit ## direnv: loading /build/source/test/scenarios/inherit/.envrc direnv: loading /build/source/test/scenarios/inherited/.envrc world direnv: export +HELLO HELLO should be world: world direnv: loading /build/source/test/scenarios/inherit/.envrc direnv: loading /build/source/test/scenarios/inherited/.envrc goodbye direnv: export +HELLO direnv: unloading ## Testing space dir ## direnv: loading /build/source/test/scenarios/space dir/.envrc direnv: export +SPACE_DIR ~PATH direnv: unloading ## Testing child-env ## direnv: loading /build/source/test/scenarios/child-env/.envrc direnv: export +CHILD +PARENT_POST +PARENT_PRE direnv: unloading ## Testing special-vars ## direnv: loading /build/source/test/scenarios/special-vars/.envrc ## Testing dump ## direnv: loading /build/source/test/scenarios/dump/.envrc to stdout to stderr direnv: direnv_load would previously hang if DIRENV_DUMP_FILE_PATH was not opened. direnv: Expect the following to emit an error (which we suppress). direnv: As long as it doesn't hang, we're okay. direnv: Environment not dumped; did you invoke 'direnv dump'? direnv: export +LESSOPEN +LS_COLORS +THREE_BACKSLASHES direnv: unloading ## Testing empty-var ## direnv: loading /build/source/test/scenarios/empty-var/.envrc direnv: export +FOO direnv: unloading ## Testing empty-var-unset ## direnv: loading /build/source/test/scenarios/empty-var-unset/.envrc direnv: export -FOO direnv: unloading ## Testing in-envrc ## direnv: loading /build/source/test/.envrc ## Testing missing-file-source-env ## direnv: loading /build/source/test/scenarios/missing-file-source-env/.envrc direnv: referenced /build/11731.cc7XdDZW/.envrc does not exist ## Testing symlink-changed ## direnv: loading /build/source/test/scenarios/symlink-changed/.envrc direnv: export +STATE direnv: loading /build/source/test/scenarios/symlink-changed/.envrc direnv: export +STATE direnv: unloading ## Testing failure ## direnv: loading /build/source/test/scenarios/failure/.envrc direnv: error exit status 5 ## Testing watch-dir ## No watches by default direnv: loading /build/source/test/scenarios/watch-dir/.envrc After eval, watches have changed ## Testing fish-completions ## Verify completion path doesn't have our dir yet direnv: loading /build/source/test/scenarios/fish-completions/.envrc direnv: export ~XDG_DATA_DIRS Verify completion path was added Verify a second eval does not touch fish_complete_path direnv: unloading ## fish-completions cleanup verified ## ## Testing fish-completions trailing slash ## zsh ./test/direnv-test.zsh direnv: loading /build/source/test/.envrc ## Testing base ## Setting up direnv: loading /build/source/test/scenarios/base/.envrc direnv: export +HELLO Reloading (should be no-op) Updating envrc and reloading (should reload) direnv: loading /build/source/test/scenarios/base/.envrc direnv: export +HELLO Leaving dir (should clear env set by dir's envrc) direnv: loading /build/source/test/.envrc ## Testing rm ## direnv: loading /build/tmp.7CG918Ocbx/rm/.envrc direnv: export +HELLO Removing .envrc (should unload) direnv: unloading ## Testing disable ## direnv: loading /build/source/test/scenarios/disable/.envrc direnv: export +HELLO direnv: loading /build/source/test/.envrc ## Testing inherit ## direnv: loading /build/source/test/scenarios/inherit/.envrc direnv: loading /build/source/test/scenarios/inherited/.envrc world direnv: export +HELLO HELLO should be world: world direnv: loading /build/source/test/scenarios/inherit/.envrc direnv: loading /build/source/test/scenarios/inherited/.envrc goodbye direnv: export +HELLO direnv: unloading ## Testing space dir ## direnv: loading /build/source/test/scenarios/space dir/.envrc direnv: export +SPACE_DIR ~PATH direnv: unloading ## Testing child-env ## direnv: loading /build/source/test/scenarios/child-env/.envrc direnv: export +CHILD +PARENT_POST +PARENT_PRE direnv: unloading ## Testing special-vars ## direnv: loading /build/source/test/scenarios/special-vars/.envrc ## Testing dump ## direnv: loading /build/source/test/scenarios/dump/.envrc to stdout to stderr direnv: direnv_load would previously hang if DIRENV_DUMP_FILE_PATH was not opened. direnv: Expect the following to emit an error (which we suppress). direnv: As long as it doesn't hang, we're okay. direnv: Environment not dumped; did you invoke 'direnv dump'? direnv: export +LESSOPEN +LS_COLORS +THREE_BACKSLASHES direnv: unloading ## Testing empty-var ## direnv: loading /build/source/test/scenarios/empty-var/.envrc direnv: export +FOO direnv: unloading ## Testing empty-var-unset ## direnv: loading /build/source/test/scenarios/empty-var-unset/.envrc direnv: export -FOO direnv: unloading ## Testing in-envrc ## direnv: loading /build/source/test/.envrc ## Testing missing-file-source-env ## direnv: loading /build/source/test/scenarios/missing-file-source-env/.envrc direnv: referenced /build/5026.lrRCMD1X/.envrc does not exist ## Testing symlink-changed ## direnv: loading /build/source/test/scenarios/symlink-changed/.envrc direnv: export +STATE direnv: loading /build/source/test/scenarios/symlink-changed/.envrc direnv: export +STATE direnv: unloading ## Testing symlink-dir ## ## Testing utf-8 ## direnv: loading /build/source/test/scenarios/utf-8/.envrc direnv: export +UTFSTUFF direnv: unloading ## Testing failure ## direnv: loading /build/source/test/scenarios/failure/.envrc direnv: error exit status 5 ## Testing unloading message ## direnv: loading /build/tmp.H0UCaCiy54/.envrc direnv: export +UNLOAD_TEST direnv: unloading ## Testing watch-dir ## No watches by default direnv: loading /build/source/test/scenarios/watch-dir/.envrc After eval, watches have changed ## Testing load-envrc-before-env ## direnv: loading /build/source/test/scenarios/load-envrc-before-env/.envrc direnv: export +HELLO direnv: unloading ## Testing load-env ## direnv: export +HELLO direnv: unloading ## Testing skip-env ## direnv: loading /build/source/test/.envrc ## Testing deleted-envrc ## direnv: loading /build/source/test/scenarios/deleted-envrc/.envrc direnv: export +HELLO Deleting .envrc (env should be unloaded on next eval) direnv: loading /build/source/test/.envrc ## Testing aliases ## direnv: loading /build/source/test/scenarios/aliases/.envrc direnv: export +HELLO direnv: loading /build/source/test/scenarios/aliases/.envrc direnv: export +HELLO direnv: loading /build/source/test/scenarios/aliases/.envrc direnv: export +HELLO ## Testing process-fork ## direnv: loading /build/source/test/scenarios/process-fork/.envrc ## Testing big-var ## direnv: loading /build/source/test/scenarios/big-var/.envrc direnv: export +BIG direnv: unloading ## Testing $test ## direnv: loading /build/source/test/scenarios/$test/.envrc direnv: export ~FOO direnv: unloading ## Testing special-characters/backspace/return ## direnv: loading /build/source/test/scenarios/special-characters/backspace/return/.envrc direnv: export +HI direnv: unloading ## Testing require-allowed ## Test 1: First allow permits .envrc but not required files direnv: loading /build/source/test/scenarios/require-allowed/.envrc direnv: config.toml requires approval. Run 'direnv allow' to approve. Test 2: Second allow approves required files direnv: allowing config.toml direnv: loading /build/source/test/scenarios/require-allowed/.envrc direnv: export +REQUIRE_ALLOWED_TEST Test 3: Modifying a required file triggers re-approval direnv: loading /build/source/test/scenarios/require-allowed/.envrc direnv: config.toml requires approval. Run 'direnv allow' to approve. Test 4: Re-allowing after modification works direnv: allowing config.toml direnv: loading /build/source/test/scenarios/require-allowed/.envrc direnv: export +REQUIRE_ALLOWED_TEST direnv: unloading Running phase: installPhase install -d /nix/store/k9417w7gkqa5k3c0rag2vid5s7mfzf21-direnv-2.38.2/bin install direnv /nix/store/k9417w7gkqa5k3c0rag2vid5s7mfzf21-direnv-2.38.2/bin install -d /nix/store/k9417w7gkqa5k3c0rag2vid5s7mfzf21-direnv-2.38.2/share/man/man1 cp -R man/*.1 /nix/store/k9417w7gkqa5k3c0rag2vid5s7mfzf21-direnv-2.38.2/share/man/man1 install -d /nix/store/k9417w7gkqa5k3c0rag2vid5s7mfzf21-direnv-2.38.2/share/fish/vendor_conf.d echo "/nix/store/k9417w7gkqa5k3c0rag2vid5s7mfzf21-direnv-2.38.2/bin/direnv hook fish | source" > /nix/store/k9417w7gkqa5k3c0rag2vid5s7mfzf21-direnv-2.38.2/share/fish/vendor_conf.d/direnv.fish Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/k9417w7gkqa5k3c0rag2vid5s7mfzf21-direnv-2.38.2 shrinking /nix/store/k9417w7gkqa5k3c0rag2vid5s7mfzf21-direnv-2.38.2/bin/direnv patchelf: cannot find section '.dynamic'. The input file is most likely statically linked: No such file or directory checking for references to /build/ in /nix/store/k9417w7gkqa5k3c0rag2vid5s7mfzf21-direnv-2.38.2... patchelf: cannot find section '.dynamic'. The input file is most likely statically linked: No such file or directory gzipping man pages under /nix/store/k9417w7gkqa5k3c0rag2vid5s7mfzf21-direnv-2.38.2/share/man/ patching script interpreter paths in /nix/store/k9417w7gkqa5k3c0rag2vid5s7mfzf21-direnv-2.38.2 stripping (with command strip and flags -S -p) in /nix/store/k9417w7gkqa5k3c0rag2vid5s7mfzf21-direnv-2.38.2/bin