these 2 derivations will be built: /nix/store/2xh027nbsdblaasi78ln26m1wk387z0r-treefmt-fa5233c-go-modules.drv /nix/store/c8d1rlg4vxn9x4kw0gc2y20pjyxvlpa4-treefmt-fa5233c.drv building '/nix/store/c8d1rlg4vxn9x4kw0gc2y20pjyxvlpa4-treefmt-fa5233c.drv' treefmt-fa5233c> Running phase: unpackPhase treefmt-fa5233c> unpacking source archive /nix/store/18csm3rj4pikjf2a7l95i2yapz7vgszv-source treefmt-fa5233c> source root is source treefmt-fa5233c> Running phase: patchPhase treefmt-fa5233c> Running phase: updateAutotoolsGnuConfigScriptsPhase treefmt-fa5233c> Running phase: configurePhase treefmt-fa5233c> Running phase: buildPhase treefmt-fa5233c> github.com/numtide/treefmt/v2 coverage: 0.0% of statements treefmt-fa5233c> ? github.com/numtide/treefmt/v2/build [no test files] treefmt-fa5233c> === RUN TestOnUnmatched treefmt-fa5233c> === RUN TestOnUnmatched/default treefmt-fa5233c> root_test.go:79: treefmt -v treefmt-fa5233c> === NAME TestOnUnmatched treefmt-fa5233c> root_test.go:73: treefmt-fa5233c> Error Trace: /build/source/cmd/root_test.go:73 treefmt-fa5233c> /build/source/cmd/root_test.go:2929 treefmt-fa5233c> /build/source/cmd/root_test.go:79 treefmt-fa5233c> Error: Not equal: treefmt-fa5233c> expected: []string{".gitignore", "go/go.mod", "haskell/haskell.cabal", "haskell-frontend/haskell-frontend.cabal", "html/scripts/.gitkeep", "python/requirements.txt"} treefmt-fa5233c> actual : []string(nil) treefmt-fa5233c> treefmt-fa5233c> Diff: treefmt-fa5233c> --- Expected treefmt-fa5233c> +++ Actual treefmt-fa5233c> @@ -1,9 +1,2 @@ treefmt-fa5233c> -([]string) (len=6) { treefmt-fa5233c> - (string) (len=10) ".gitignore", treefmt-fa5233c> - (string) (len=9) "go/go.mod", treefmt-fa5233c> - (string) (len=21) "haskell/haskell.cabal", treefmt-fa5233c> - (string) (len=39) "haskell-frontend/haskell-frontend.cabal", treefmt-fa5233c> - (string) (len=21) "html/scripts/.gitkeep", treefmt-fa5233c> - (string) (len=23) "python/requirements.txt" treefmt-fa5233c> -} treefmt-fa5233c> +([]string) treefmt-fa5233c> treefmt-fa5233c> Test: TestOnUnmatched treefmt-fa5233c> === NAME TestOnUnmatched/default treefmt-fa5233c> testing.go:1913: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test treefmt-fa5233c> --- FAIL: TestOnUnmatched (1.68s) treefmt-fa5233c> --- FAIL: TestOnUnmatched/default (0.66s) treefmt-fa5233c> === RUN TestQuiet treefmt-fa5233c> root_test.go:149: treefmt -q treefmt-fa5233c> root_test.go:149: treefmt-fa5233c> treefmt-fa5233c> root_test.go:149: treefmt-fa5233c> treefmt-fa5233c> root_test.go:150: treefmt --quiet treefmt-fa5233c> root_test.go:150: treefmt-fa5233c> treefmt-fa5233c> root_test.go:150: treefmt-fa5233c> treefmt-fa5233c> root_test.go:153: treefmt treefmt-fa5233c> root_test.go:153: treefmt-fa5233c> treefmt-fa5233c> root_test.go:153: treefmt-fa5233c> treefmt-fa5233c> root_test.go:158: treefmt treefmt-fa5233c> root_test.go:158: treefmt-fa5233c> Error: failed to create composite formatter: failed to initialise formatter foo-fmt: formatter command not found in PATH: error looking up 'foo-fmt' treefmt-fa5233c> treefmt-fa5233c> root_test.go:158: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestQuiet (1.43s) treefmt-fa5233c> === RUN TestCpuProfile treefmt-fa5233c> root_test.go:172: treefmt --cpu-profile cpu.pprof treefmt-fa5233c> root_test.go:172: treefmt-fa5233c> traversed 34 files treefmt-fa5233c> emitted 22 files for processing treefmt-fa5233c> formatted 22 files (4 changed) in 268ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:172: treefmt-fa5233c> treefmt-fa5233c> root_test.go:182: treefmt treefmt-fa5233c> root_test.go:182: treefmt-fa5233c> traversed 35 files treefmt-fa5233c> emitted 22 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 41ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:182: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestCpuProfile (1.33s) treefmt-fa5233c> === RUN TestAllowMissingFormatter treefmt-fa5233c> === RUN TestAllowMissingFormatter/default treefmt-fa5233c> root_test.go:202: treefmt treefmt-fa5233c> root_test.go:202: treefmt-fa5233c> Error: failed to create composite formatter: failed to initialise formatter foo-fmt: formatter command not found in PATH: error looking up 'foo-fmt' treefmt-fa5233c> treefmt-fa5233c> root_test.go:202: treefmt-fa5233c> treefmt-fa5233c> === RUN TestAllowMissingFormatter/arg treefmt-fa5233c> root_test.go:210: treefmt --allow-missing-formatter treefmt-fa5233c> root_test.go:210: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 0 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 23ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:210: treefmt-fa5233c> treefmt-fa5233c> === RUN TestAllowMissingFormatter/env treefmt-fa5233c> root_test.go:224: treefmt treefmt-fa5233c> root_test.go:224: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 0 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 28ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:224: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestAllowMissingFormatter (1.08s) treefmt-fa5233c> --- PASS: TestAllowMissingFormatter/default (0.02s) treefmt-fa5233c> --- PASS: TestAllowMissingFormatter/arg (0.02s) treefmt-fa5233c> --- PASS: TestAllowMissingFormatter/env (0.03s) treefmt-fa5233c> === RUN TestSpecifyingFormatters treefmt-fa5233c> === RUN TestSpecifyingFormatters/default treefmt-fa5233c> root_test.go:257: treefmt treefmt-fa5233c> root_test.go:257: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 3 files for processing treefmt-fa5233c> formatted 3 files (3 changed) in 36ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:257: treefmt-fa5233c> treefmt-fa5233c> === RUN TestSpecifyingFormatters/args treefmt-fa5233c> root_test.go:270: treefmt --formatters rust,nix treefmt-fa5233c> root_test.go:270: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 2 files for processing treefmt-fa5233c> formatted 2 files (2 changed) in 33ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:270: treefmt-fa5233c> treefmt-fa5233c> root_test.go:282: treefmt --formatters ruby,nix treefmt-fa5233c> root_test.go:282: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 2 files for processing treefmt-fa5233c> formatted 2 files (2 changed) in 29ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:282: treefmt-fa5233c> treefmt-fa5233c> root_test.go:294: treefmt --formatters nix treefmt-fa5233c> root_test.go:294: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 1 files for processing treefmt-fa5233c> formatted 1 files (1 changed) in 30ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:294: treefmt-fa5233c> treefmt-fa5233c> root_test.go:307: treefmt --formatters foo treefmt-fa5233c> root_test.go:307: treefmt-fa5233c> Error: failed to load config: formatter foo not found in config treefmt-fa5233c> treefmt-fa5233c> root_test.go:307: treefmt-fa5233c> treefmt-fa5233c> === RUN TestSpecifyingFormatters/env treefmt-fa5233c> root_test.go:318: treefmt treefmt-fa5233c> root_test.go:318: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 2 files for processing treefmt-fa5233c> formatted 2 files (2 changed) in 28ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:318: treefmt-fa5233c> treefmt-fa5233c> root_test.go:331: treefmt treefmt-fa5233c> root_test.go:331: treefmt-fa5233c> Error: failed to load config: formatter bar not found in config treefmt-fa5233c> treefmt-fa5233c> root_test.go:331: treefmt-fa5233c> treefmt-fa5233c> === RUN TestSpecifyingFormatters/bad_names treefmt-fa5233c> root_test.go:340: treefmt --formatters foo$ treefmt-fa5233c> root_test.go:340: treefmt-fa5233c> Error: failed to load config: formatter name "foo$" is invalid, must be of the form ^[a-zA-Z0-9_-]+$ treefmt-fa5233c> treefmt-fa5233c> root_test.go:340: treefmt-fa5233c> treefmt-fa5233c> root_test.go:349: treefmt treefmt-fa5233c> root_test.go:349: treefmt-fa5233c> Error: failed to load config: formatter name "foo$" is invalid, must be of the form ^[a-zA-Z0-9_-]+$ treefmt-fa5233c> treefmt-fa5233c> root_test.go:349: treefmt-fa5233c> treefmt-fa5233c> root_test.go:364: treefmt treefmt-fa5233c> root_test.go:364: treefmt-fa5233c> Error: failed to load config: formatter name "foo$" is invalid, must be of the form ^[a-zA-Z0-9_-]+$ treefmt-fa5233c> treefmt-fa5233c> root_test.go:364: treefmt-fa5233c> treefmt-fa5233c> root_test.go:340: treefmt --formatters /bar treefmt-fa5233c> root_test.go:340: treefmt-fa5233c> Error: failed to load config: formatter name "/bar" is invalid, must be of the form ^[a-zA-Z0-9_-]+$ treefmt-fa5233c> treefmt-fa5233c> root_test.go:340: treefmt-fa5233c> treefmt-fa5233c> root_test.go:349: treefmt treefmt-fa5233c> root_test.go:349: treefmt-fa5233c> Error: failed to load config: formatter name "/bar" is invalid, must be of the form ^[a-zA-Z0-9_-]+$ treefmt-fa5233c> treefmt-fa5233c> root_test.go:349: treefmt-fa5233c> treefmt-fa5233c> root_test.go:364: treefmt treefmt-fa5233c> root_test.go:364: treefmt-fa5233c> Error: failed to load config: formatter name "/bar" is invalid, must be of the form ^[a-zA-Z0-9_-]+$ treefmt-fa5233c> treefmt-fa5233c> root_test.go:364: treefmt-fa5233c> treefmt-fa5233c> root_test.go:340: treefmt --formatters baz% treefmt-fa5233c> root_test.go:340: treefmt-fa5233c> Error: failed to load config: formatter name "baz%" is invalid, must be of the form ^[a-zA-Z0-9_-]+$ treefmt-fa5233c> treefmt-fa5233c> root_test.go:340: treefmt-fa5233c> treefmt-fa5233c> root_test.go:349: treefmt treefmt-fa5233c> root_test.go:349: treefmt-fa5233c> Error: failed to load config: formatter name "baz%" is invalid, must be of the form ^[a-zA-Z0-9_-]+$ treefmt-fa5233c> treefmt-fa5233c> root_test.go:349: treefmt-fa5233c> treefmt-fa5233c> root_test.go:364: treefmt treefmt-fa5233c> root_test.go:364: treefmt-fa5233c> Error: failed to load config: formatter name "baz%" is invalid, must be of the form ^[a-zA-Z0-9_-]+$ treefmt-fa5233c> treefmt-fa5233c> root_test.go:364: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestSpecifyingFormatters (1.32s) treefmt-fa5233c> --- PASS: TestSpecifyingFormatters/default (0.04s) treefmt-fa5233c> --- PASS: TestSpecifyingFormatters/args (0.11s) treefmt-fa5233c> --- PASS: TestSpecifyingFormatters/env (0.04s) treefmt-fa5233c> --- PASS: TestSpecifyingFormatters/bad_names (0.12s) treefmt-fa5233c> === RUN TestIncludesAndExcludes treefmt-fa5233c> root_test.go:393: treefmt treefmt-fa5233c> root_test.go:393: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (0 changed) in 30ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:393: treefmt-fa5233c> treefmt-fa5233c> root_test.go:407: treefmt -c treefmt-fa5233c> root_test.go:407: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 32 files for processing treefmt-fa5233c> formatted 32 files (0 changed) in 26ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:407: treefmt-fa5233c> treefmt-fa5233c> root_test.go:422: treefmt -c treefmt-fa5233c> root_test.go:422: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 26 files for processing treefmt-fa5233c> formatted 26 files (0 changed) in 26ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:422: treefmt-fa5233c> treefmt-fa5233c> root_test.go:439: treefmt -c treefmt-fa5233c> root_test.go:439: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 24 files for processing treefmt-fa5233c> formatted 24 files (0 changed) in 22ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:439: treefmt-fa5233c> treefmt-fa5233c> root_test.go:454: treefmt -c treefmt-fa5233c> root_test.go:454: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 23 files for processing treefmt-fa5233c> formatted 23 files (0 changed) in 22ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:454: treefmt-fa5233c> treefmt-fa5233c> root_test.go:471: treefmt -c treefmt-fa5233c> root_test.go:471: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 1 files for processing treefmt-fa5233c> formatted 1 files (0 changed) in 25ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:471: treefmt-fa5233c> treefmt-fa5233c> root_test.go:486: treefmt -c treefmt-fa5233c> root_test.go:486: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 2 files for processing treefmt-fa5233c> formatted 2 files (0 changed) in 27ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:486: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestIncludesAndExcludes (1.19s) treefmt-fa5233c> === RUN TestConfigFile treefmt-fa5233c> === RUN TestConfigFile/treefmt.toml treefmt-fa5233c> root_test.go:514: treefmt --config-file /build/TestConfigFiletreefmt.toml2867869689/003/treefmt.toml treefmt-fa5233c> root_test.go:514: treefmt-fa5233c> traversed 1 files treefmt-fa5233c> emitted 1 files for processing treefmt-fa5233c> formatted 1 files (0 changed) in 30ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:514: treefmt-fa5233c> treefmt-fa5233c> root_test.go:533: treefmt --config-file /build/TestConfigFiletreefmt.toml2867869689/003/treefmt.toml --tree-root /build/TestConfigFiletreefmt.toml2867869689/001 treefmt-fa5233c> root_test.go:533: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (0 changed) in 17ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:533: treefmt-fa5233c> treefmt-fa5233c> root_test.go:545: setting env TREEFMT_CONFIG=/build/TestConfigFiletreefmt.toml2867869689/003/treefmt.toml treefmt-fa5233c> root_test.go:545: setting env PRJ_ROOT=/build/TestConfigFiletreefmt.toml2867869689/001 treefmt-fa5233c> root_test.go:545: treefmt treefmt-fa5233c> root_test.go:545: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 16ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:545: treefmt-fa5233c> treefmt-fa5233c> root_test.go:563: setting env PRJ_ROOT=/build/TestConfigFiletreefmt.toml2867869689/003 treefmt-fa5233c> root_test.go:563: treefmt --tree-root /build/TestConfigFiletreefmt.toml2867869689/001 treefmt-fa5233c> root_test.go:563: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 13ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:563: treefmt-fa5233c> treefmt-fa5233c> root_test.go:581: setting env PRJ_ROOT=/build/TestConfigFiletreefmt.toml2867869689/003/sub treefmt-fa5233c> root_test.go:581: treefmt --tree-root /build/TestConfigFiletreefmt.toml2867869689/001 treefmt-fa5233c> root_test.go:581: treefmt-fa5233c> Error: failed to find treefmt config file: could not find [treefmt.toml .treefmt.toml .config/treefmt.toml] in /build/TestConfigFiletreefmt.toml2867869689/002 treefmt-fa5233c> treefmt-fa5233c> root_test.go:581: treefmt-fa5233c> treefmt-fa5233c> === RUN TestConfigFile/.treefmt.toml treefmt-fa5233c> root_test.go:514: treefmt --config-file /build/TestConfigFile.treefmt.toml2123482723/003/.treefmt.toml treefmt-fa5233c> root_test.go:514: treefmt-fa5233c> traversed 1 files treefmt-fa5233c> emitted 1 files for processing treefmt-fa5233c> formatted 1 files (0 changed) in 36ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:514: treefmt-fa5233c> treefmt-fa5233c> root_test.go:533: treefmt --config-file /build/TestConfigFile.treefmt.toml2123482723/003/.treefmt.toml --tree-root /build/TestConfigFile.treefmt.toml2123482723/001 treefmt-fa5233c> root_test.go:533: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (0 changed) in 21ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:533: treefmt-fa5233c> treefmt-fa5233c> root_test.go:545: setting env TREEFMT_CONFIG=/build/TestConfigFile.treefmt.toml2123482723/003/.treefmt.toml treefmt-fa5233c> root_test.go:545: setting env PRJ_ROOT=/build/TestConfigFile.treefmt.toml2123482723/001 treefmt-fa5233c> root_test.go:545: treefmt treefmt-fa5233c> root_test.go:545: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 18ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:545: treefmt-fa5233c> treefmt-fa5233c> root_test.go:563: setting env PRJ_ROOT=/build/TestConfigFile.treefmt.toml2123482723/003 treefmt-fa5233c> root_test.go:563: treefmt --tree-root /build/TestConfigFile.treefmt.toml2123482723/001 treefmt-fa5233c> root_test.go:563: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 18ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:563: treefmt-fa5233c> treefmt-fa5233c> root_test.go:581: setting env PRJ_ROOT=/build/TestConfigFile.treefmt.toml2123482723/003/sub treefmt-fa5233c> root_test.go:581: treefmt --tree-root /build/TestConfigFile.treefmt.toml2123482723/001 treefmt-fa5233c> root_test.go:581: treefmt-fa5233c> Error: failed to find treefmt config file: could not find [treefmt.toml .treefmt.toml .config/treefmt.toml] in /build/TestConfigFile.treefmt.toml2123482723/002 treefmt-fa5233c> treefmt-fa5233c> root_test.go:581: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestConfigFile (2.19s) treefmt-fa5233c> --- PASS: TestConfigFile/treefmt.toml (1.09s) treefmt-fa5233c> --- PASS: TestConfigFile/.treefmt.toml (1.10s) treefmt-fa5233c> === RUN TestDotConfigDir treefmt-fa5233c> === RUN TestDotConfigDir/basic treefmt-fa5233c> root_test.go:609: treefmt treefmt-fa5233c> root_test.go:609: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (0 changed) in 42ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:609: treefmt-fa5233c> treefmt-fa5233c> === RUN TestDotConfigDir/project_root_ending_in_.config treefmt-fa5233c> root_test.go:646: treefmt treefmt-fa5233c> root_test.go:646: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (0 changed) in 46ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:646: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestDotConfigDir (2.11s) treefmt-fa5233c> --- PASS: TestDotConfigDir/basic (1.05s) treefmt-fa5233c> --- PASS: TestDotConfigDir/project_root_ending_in_.config (1.05s) treefmt-fa5233c> === RUN TestCache treefmt-fa5233c> root_test.go:686: treefmt treefmt-fa5233c> root_test.go:686: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (33 changed) in 48ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:686: treefmt-fa5233c> treefmt-fa5233c> root_test.go:697: treefmt treefmt-fa5233c> root_test.go:697: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 37ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:697: treefmt-fa5233c> treefmt-fa5233c> root_test.go:708: treefmt -c treefmt-fa5233c> root_test.go:708: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (33 changed) in 41ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:708: treefmt-fa5233c> treefmt-fa5233c> root_test.go:720: treefmt treefmt-fa5233c> root_test.go:720: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 31ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:720: treefmt-fa5233c> treefmt-fa5233c> root_test.go:731: treefmt treefmt-fa5233c> root_test.go:731: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (33 changed) in 37ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:731: treefmt-fa5233c> treefmt-fa5233c> root_test.go:743: treefmt --no-cache treefmt-fa5233c> root_test.go:743: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (33 changed) in 39ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:743: treefmt-fa5233c> treefmt-fa5233c> root_test.go:771: treefmt treefmt-fa5233c> root_test.go:771: treefmt-fa5233c> ERROR formatter | fail: failed to apply with options '[--bad-arg haskell/Foo.hs haskell/Main.hs haskell/Nested/Foo.hs haskell/Setup.hs haskell-frontend/Main.hs haskell-frontend/Setup.hs]': exit status 1 treefmt-fa5233c> treefmt-fa5233c> /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch: unrecognized option '--bad-arg' treefmt-fa5233c> Try '/nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch --help' for more information. treefmt-fa5233c> treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 6 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 32ms treefmt-fa5233c> Error: failed to finalise formatting: formatting failures detected treefmt-fa5233c> treefmt-fa5233c> root_test.go:771: treefmt-fa5233c> treefmt-fa5233c> root_test.go:784: treefmt treefmt-fa5233c> root_test.go:784: treefmt-fa5233c> ERROR formatter | fail: failed to apply with options '[--bad-arg haskell/Foo.hs haskell/Main.hs haskell/Nested/Foo.hs haskell/Setup.hs haskell-frontend/Main.hs haskell-frontend/Setup.hs]': exit status 1 treefmt-fa5233c> treefmt-fa5233c> /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch: unrecognized option '--bad-arg' treefmt-fa5233c> Try '/nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch --help' for more information. treefmt-fa5233c> treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 6 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 31ms treefmt-fa5233c> Error: failed to finalise formatting: formatting failures detected treefmt-fa5233c> treefmt-fa5233c> root_test.go:784: treefmt-fa5233c> treefmt-fa5233c> root_test.go:806: treefmt treefmt-fa5233c> root_test.go:806: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 6 files for processing treefmt-fa5233c> formatted 6 files (6 changed) in 27ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:806: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestCache (1.34s) treefmt-fa5233c> === RUN TestChangeWorkingDirectory treefmt-fa5233c> === RUN TestChangeWorkingDirectory/default treefmt-fa5233c> root_test.go:848: treefmt treefmt-fa5233c> root_test.go:848: treefmt-fa5233c> Error: failed to find treefmt config file: could not find [treefmt.toml .treefmt.toml .config/treefmt.toml] in /build/TestChangeWorkingDirectorydefault436329797/002 treefmt-fa5233c> treefmt-fa5233c> root_test.go:848: treefmt-fa5233c> treefmt-fa5233c> root_test.go:859: treefmt treefmt-fa5233c> root_test.go:859: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (33 changed) in 40ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:859: treefmt-fa5233c> treefmt-fa5233c> === RUN TestChangeWorkingDirectory/arg treefmt-fa5233c> === RUN TestChangeWorkingDirectory/arg/treefmt.toml treefmt-fa5233c> root_test.go:895: treefmt -C /build/TestChangeWorkingDirectoryargtreefmt.toml890651166/001 treefmt-fa5233c> root_test.go:895: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (33 changed) in 45ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:895: treefmt-fa5233c> treefmt-fa5233c> === RUN TestChangeWorkingDirectory/arg/.treefmt.toml treefmt-fa5233c> root_test.go:895: treefmt -C /build/TestChangeWorkingDirectoryarg.treefmt.toml3036652899/001 treefmt-fa5233c> root_test.go:895: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (33 changed) in 42ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:895: treefmt-fa5233c> treefmt-fa5233c> === RUN TestChangeWorkingDirectory/env treefmt-fa5233c> === RUN TestChangeWorkingDirectory/env/treefmt.toml treefmt-fa5233c> root_test.go:895: treefmt treefmt-fa5233c> root_test.go:895: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (33 changed) in 47ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:895: treefmt-fa5233c> treefmt-fa5233c> === RUN TestChangeWorkingDirectory/env/.treefmt.toml treefmt-fa5233c> root_test.go:895: treefmt treefmt-fa5233c> root_test.go:895: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (33 changed) in 48ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:895: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestChangeWorkingDirectory (5.27s) treefmt-fa5233c> --- PASS: TestChangeWorkingDirectory/default (1.05s) treefmt-fa5233c> --- PASS: TestChangeWorkingDirectory/arg (2.11s) treefmt-fa5233c> --- PASS: TestChangeWorkingDirectory/arg/treefmt.toml (1.05s) treefmt-fa5233c> --- PASS: TestChangeWorkingDirectory/arg/.treefmt.toml (1.05s) treefmt-fa5233c> --- PASS: TestChangeWorkingDirectory/env (2.11s) treefmt-fa5233c> --- PASS: TestChangeWorkingDirectory/env/treefmt.toml (1.06s) treefmt-fa5233c> --- PASS: TestChangeWorkingDirectory/env/.treefmt.toml (1.06s) treefmt-fa5233c> === RUN TestFailOnChange treefmt-fa5233c> === RUN TestFailOnChange/change_size treefmt-fa5233c> root_test.go:943: treefmt --fail-on-change treefmt-fa5233c> root_test.go:943: treefmt-fa5233c> ERROR file has changed path=rust/Cargo.toml prev_size=233 prev_mod_time="2026-10-14 12:47:53 +0000 UTC" current_size=239 current_mod_time="2026-10-14 12:47:54 +0000 UTC" treefmt-fa5233c> ERROR file has changed path=rust/src/main.rs prev_size=45 prev_mod_time="2026-10-14 12:47:53 +0000 UTC" current_size=51 current_mod_time="2026-10-14 12:47:54 +0000 UTC" treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 2 files for processing treefmt-fa5233c> formatted 2 files (2 changed) in 42ms treefmt-fa5233c> Error: unexpected changes detected, --fail-on-change is enabled treefmt-fa5233c> treefmt-fa5233c> root_test.go:943: treefmt-fa5233c> treefmt-fa5233c> root_test.go:959: treefmt --fail-on-change treefmt-fa5233c> root_test.go:959: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 2 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 32ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:959: treefmt-fa5233c> treefmt-fa5233c> === RUN TestFailOnChange/change_modtime treefmt-fa5233c> root_test.go:987: treefmt --fail-on-change treefmt-fa5233c> root_test.go:987: treefmt-fa5233c> ERROR file has changed path=haskell/CHANGELOG.md prev_size=112 prev_mod_time="2026-10-14 12:47:54 +0000 UTC" current_size=112 current_mod_time="2026-10-14 12:47:56 +0000 UTC" treefmt-fa5233c> ERROR file has changed path=haskell/Foo.hs prev_size=62 prev_mod_time="2026-10-14 12:47:54 +0000 UTC" current_size=62 current_mod_time="2026-10-14 12:47:56 +0000 UTC" treefmt-fa5233c> ERROR file has changed path=haskell/Main.hs prev_size=65 prev_mod_time="2026-10-14 12:47:54 +0000 UTC" current_size=65 current_mod_time="2026-10-14 12:47:56 +0000 UTC" treefmt-fa5233c> ERROR file has changed path=haskell/Nested/Foo.hs prev_size=69 prev_mod_time="2026-10-14 12:47:54 +0000 UTC" current_size=69 current_mod_time="2026-10-14 12:47:56 +0000 UTC" treefmt-fa5233c> ERROR file has changed path=haskell/Setup.hs prev_size=47 prev_mod_time="2026-10-14 12:47:54 +0000 UTC" current_size=47 current_mod_time="2026-10-14 12:47:56 +0000 UTC" treefmt-fa5233c> ERROR file has changed path=haskell/haskell.cabal prev_size=688 prev_mod_time="2026-10-14 12:47:54 +0000 UTC" current_size=688 current_mod_time="2026-10-14 12:47:56 +0000 UTC" treefmt-fa5233c> ERROR file has changed path=haskell/treefmt.toml prev_size=238 prev_mod_time="2026-10-14 12:47:54 +0000 UTC" current_size=238 current_mod_time="2026-10-14 12:47:56 +0000 UTC" treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 7 files for processing treefmt-fa5233c> formatted 7 files (7 changed) in 61ms treefmt-fa5233c> Error: unexpected changes detected, --fail-on-change is enabled treefmt-fa5233c> treefmt-fa5233c> root_test.go:987: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1020: treefmt --fail-on-change treefmt-fa5233c> root_test.go:1020: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 7 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 37ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1020: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestFailOnChange (2.19s) treefmt-fa5233c> --- PASS: TestFailOnChange/change_size (1.09s) treefmt-fa5233c> --- PASS: TestFailOnChange/change_modtime (1.11s) treefmt-fa5233c> === RUN TestCacheBusting treefmt-fa5233c> === RUN TestCacheBusting/formatter_change_config treefmt-fa5233c> root_test.go:1058: treefmt treefmt-fa5233c> root_test.go:1058: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 8 files for processing treefmt-fa5233c> formatted 8 files (6 changed) in 44ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1058: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1072: treefmt treefmt-fa5233c> root_test.go:1072: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 8 files for processing treefmt-fa5233c> formatted 6 files (6 changed) in 39ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1072: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1083: treefmt treefmt-fa5233c> root_test.go:1083: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 8 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 33ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1083: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1097: treefmt treefmt-fa5233c> root_test.go:1097: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 8 files for processing treefmt-fa5233c> formatted 6 files (0 changed) in 37ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1097: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1108: treefmt treefmt-fa5233c> root_test.go:1108: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 8 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 34ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1108: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1123: treefmt treefmt-fa5233c> root_test.go:1123: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 6 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 32ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1123: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1138: treefmt treefmt-fa5233c> root_test.go:1138: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 5 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 35ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1138: treefmt-fa5233c> treefmt-fa5233c> === RUN TestCacheBusting/formatter_change_binary treefmt-fa5233c> root_test.go:1185: treefmt treefmt-fa5233c> root_test.go:1185: treefmt-fa5233c> traversed 34 files treefmt-fa5233c> emitted 3 files for processing treefmt-fa5233c> formatted 3 files (1 changed) in 40ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1185: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1200: treefmt treefmt-fa5233c> root_test.go:1200: treefmt-fa5233c> traversed 34 files treefmt-fa5233c> emitted 3 files for processing treefmt-fa5233c> formatted 1 files (1 changed) in 34ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1200: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1211: treefmt treefmt-fa5233c> root_test.go:1211: treefmt-fa5233c> traversed 34 files treefmt-fa5233c> emitted 3 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 32ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1211: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1231: treefmt treefmt-fa5233c> root_test.go:1231: treefmt-fa5233c> traversed 34 files treefmt-fa5233c> emitted 3 files for processing treefmt-fa5233c> formatted 1 files (1 changed) in 34ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1231: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1242: treefmt treefmt-fa5233c> root_test.go:1242: treefmt-fa5233c> traversed 34 files treefmt-fa5233c> emitted 3 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 34ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1242: treefmt-fa5233c> treefmt-fa5233c> === RUN TestCacheBusting/formatter_add_remove treefmt-fa5233c> root_test.go:1271: treefmt treefmt-fa5233c> root_test.go:1271: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 2 files for processing treefmt-fa5233c> formatted 2 files (2 changed) in 44ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1271: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1283: treefmt treefmt-fa5233c> root_test.go:1283: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 2 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 34ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1283: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1302: treefmt treefmt-fa5233c> root_test.go:1302: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 3 files for processing treefmt-fa5233c> formatted 1 files (1 changed) in 37ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1302: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1321: treefmt treefmt-fa5233c> root_test.go:1321: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 3 files for processing treefmt-fa5233c> formatted 2 files (2 changed) in 39ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1321: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1333: treefmt treefmt-fa5233c> root_test.go:1333: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 3 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 36ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1333: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1349: treefmt treefmt-fa5233c> root_test.go:1349: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 3 files for processing treefmt-fa5233c> formatted 2 files (2 changed) in 38ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1349: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1361: treefmt treefmt-fa5233c> root_test.go:1361: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 3 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 29ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1361: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1376: treefmt treefmt-fa5233c> root_test.go:1376: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 3 files for processing treefmt-fa5233c> formatted 2 files (2 changed) in 34ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1376: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1388: treefmt treefmt-fa5233c> root_test.go:1388: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 3 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 32ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1388: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1404: treefmt treefmt-fa5233c> root_test.go:1404: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 2 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 34ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1404: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestCacheBusting (3.83s) treefmt-fa5233c> --- PASS: TestCacheBusting/formatter_change_config (1.27s) treefmt-fa5233c> --- PASS: TestCacheBusting/formatter_change_binary (1.19s) treefmt-fa5233c> --- PASS: TestCacheBusting/formatter_add_remove (1.38s) treefmt-fa5233c> === RUN TestGit treefmt-fa5233c> root_test.go:1443: treefmt treefmt-fa5233c> root_test.go:1443: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (0 changed) in 21ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1443: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1458: treefmt treefmt-fa5233c> root_test.go:1458: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 14ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1458: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1476: treefmt treefmt-fa5233c> root_test.go:1476: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 14ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1476: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1491: treefmt treefmt-fa5233c> root_test.go:1491: treefmt-fa5233c> WARN walk | git: Path /build/TestGit3529506023/001/python/main.py was emitted by git but no file exists at that path treefmt-fa5233c> WARN walk | git: Path /build/TestGit3529506023/001/python/requirements.txt was emitted by git but no file exists at that path treefmt-fa5233c> WARN walk | git: Path /build/TestGit3529506023/001/python/virtualenv_proxy.py was emitted by git but no file exists at that path treefmt-fa5233c> traversed 30 files treefmt-fa5233c> emitted 30 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 14ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1491: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1508: treefmt --walk filesystem treefmt-fa5233c> root_test.go:1508: treefmt-fa5233c> traversed 82 files treefmt-fa5233c> emitted 82 files for processing treefmt-fa5233c> formatted 53 files (0 changed) in 15ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1508: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1523: treefmt go treefmt-fa5233c> root_test.go:1523: treefmt-fa5233c> traversed 2 files treefmt-fa5233c> emitted 2 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 9ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1523: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1535: treefmt go haskell treefmt-fa5233c> root_test.go:1535: treefmt-fa5233c> traversed 9 files treefmt-fa5233c> emitted 9 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 11ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1535: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1547: treefmt -C /build/TestGit3529506023/001 go haskell ruby treefmt-fa5233c> root_test.go:1547: treefmt-fa5233c> traversed 10 files treefmt-fa5233c> emitted 10 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 12ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1547: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1560: treefmt -C /build/TestGit3529506023/001 haskell foo treefmt-fa5233c> root_test.go:1560: treefmt-fa5233c> Error: failed to create walker: path /build/TestGit3529506023/001/foo not found: lstat /build/TestGit3529506023/001/foo: no such file or directory treefmt-fa5233c> treefmt-fa5233c> root_test.go:1560: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1572: treefmt haskell foo.txt -vv treefmt-fa5233c> root_test.go:1572: treefmt-fa5233c> INFO config: no tree root specified treefmt-fa5233c> INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> DEBUG tree-root-cmd | stdout: /build/TestGit3529506023/001 treefmt-fa5233c> treefmt-fa5233c> INFO config: tree root: /build/TestGit3529506023/001 treefmt-fa5233c> DEBUG Resolving path '/build/TestGit3529506023/001' treefmt-fa5233c> DEBUG Resolving path 'haskell' treefmt-fa5233c> DEBUG Resolving path 'haskell' treefmt-fa5233c> DEBUG Resolving path 'foo.txt' treefmt-fa5233c> DEBUG Resolving path 'foo.txt' treefmt-fa5233c> DEBUG walk | git: processing file: /build/TestGit3529506023/001/foo.txt treefmt-fa5233c> DEBUG walk | git: processing file: /build/TestGit3529506023/001/haskell/CHANGELOG.md treefmt-fa5233c> DEBUG walk | git: processing file: /build/TestGit3529506023/001/haskell/Foo.hs treefmt-fa5233c> DEBUG walk | git: processing file: /build/TestGit3529506023/001/haskell/Main.hs treefmt-fa5233c> DEBUG walk | git: processing file: /build/TestGit3529506023/001/haskell/Nested/Foo.hs treefmt-fa5233c> DEBUG walk | git: processing file: /build/TestGit3529506023/001/haskell/Setup.hs treefmt-fa5233c> DEBUG walk | git: processing file: /build/TestGit3529506023/001/haskell/haskell.cabal treefmt-fa5233c> DEBUG walk | git: processing file: /build/TestGit3529506023/001/haskell/treefmt.toml treefmt-fa5233c> DEBUG walk | cache: read 8 files from delegate treefmt-fa5233c> DEBUG read 8 files treefmt-fa5233c> DEBUG formatter | echo: match: /build/TestGit3529506023/001/foo.txt treefmt-fa5233c> DEBUG formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f treefmt-fa5233c> DEBUG formatter | echo: match: /build/TestGit3529506023/001/haskell/CHANGELOG.md treefmt-fa5233c> DEBUG formatter | echo: match: /build/TestGit3529506023/001/haskell/Foo.hs treefmt-fa5233c> DEBUG formatter | echo: match: /build/TestGit3529506023/001/haskell/Main.hs treefmt-fa5233c> DEBUG formatter | echo: match: /build/TestGit3529506023/001/haskell/Nested/Foo.hs treefmt-fa5233c> DEBUG formatter | echo: match: /build/TestGit3529506023/001/haskell/Setup.hs treefmt-fa5233c> DEBUG formatter | echo: match: /build/TestGit3529506023/001/haskell/haskell.cabal treefmt-fa5233c> DEBUG formatter | echo: match: /build/TestGit3529506023/001/haskell/treefmt.toml treefmt-fa5233c> DEBUG formatter | echo: executing: /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/echo foo.txt treefmt-fa5233c> INFO formatter | echo: 1 file(s) processed in 2.952556ms treefmt-fa5233c> traversed 8 files treefmt-fa5233c> emitted 8 files for processing treefmt-fa5233c> formatted 1 files (0 changed) in 20ms treefmt-fa5233c> DEBUG no more files to read treefmt-fa5233c> treefmt-fa5233c> root_test.go:1572: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1584: treefmt go foo.txt treefmt-fa5233c> root_test.go:1584: treefmt-fa5233c> traversed 3 files treefmt-fa5233c> emitted 3 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 9ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1584: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1596: treefmt foo.txt treefmt-fa5233c> root_test.go:1596: treefmt-fa5233c> traversed 1 files treefmt-fa5233c> emitted 1 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 9ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1596: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestGit (1.20s) treefmt-fa5233c> === RUN TestJujutsu treefmt-fa5233c> root_test.go:1640: treefmt treefmt-fa5233c> root_test.go:1640: treefmt-fa5233c> traversed 0 files treefmt-fa5233c> emitted 0 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 44ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1640: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1656: treefmt treefmt-fa5233c> root_test.go:1656: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (0 changed) in 49ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1656: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1679: treefmt treefmt-fa5233c> root_test.go:1679: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 39ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1679: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1698: treefmt treefmt-fa5233c> root_test.go:1698: treefmt-fa5233c> traversed 30 files treefmt-fa5233c> emitted 30 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 39ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1698: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1714: treefmt --walk filesystem treefmt-fa5233c> root_test.go:1714: treefmt-fa5233c> traversed 137 files treefmt-fa5233c> emitted 137 files for processing treefmt-fa5233c> formatted 108 files (0 changed) in 22ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1714: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1729: treefmt go treefmt-fa5233c> root_test.go:1729: treefmt-fa5233c> traversed 2 files treefmt-fa5233c> emitted 2 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 40ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1729: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1741: treefmt go haskell treefmt-fa5233c> root_test.go:1741: treefmt-fa5233c> traversed 9 files treefmt-fa5233c> emitted 9 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 35ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1741: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1753: treefmt -C /build/TestJujutsu4190739585/001 go haskell ruby treefmt-fa5233c> root_test.go:1753: treefmt-fa5233c> traversed 10 files treefmt-fa5233c> emitted 10 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 35ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1753: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1766: treefmt -C /build/TestJujutsu4190739585/001 haskell foo treefmt-fa5233c> root_test.go:1766: treefmt-fa5233c> Error: failed to create walker: path /build/TestJujutsu4190739585/001/foo not found: lstat /build/TestJujutsu4190739585/001/foo: no such file or directory treefmt-fa5233c> treefmt-fa5233c> root_test.go:1766: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1782: treefmt haskell foo.txt -vv treefmt-fa5233c> root_test.go:1782: treefmt-fa5233c> INFO config: no tree root specified treefmt-fa5233c> INFO config: attempting to resolve tree root using jujutsu: jj workspace root treefmt-fa5233c> DEBUG tree-root-cmd | stdout: /build/TestJujutsu4190739585/001 treefmt-fa5233c> treefmt-fa5233c> INFO config: tree root: /build/TestJujutsu4190739585/001 treefmt-fa5233c> DEBUG Resolving path '/build/TestJujutsu4190739585/001' treefmt-fa5233c> DEBUG Resolving path 'haskell' treefmt-fa5233c> DEBUG Resolving path 'haskell' treefmt-fa5233c> DEBUG Resolving path 'foo.txt' treefmt-fa5233c> DEBUG Resolving path 'foo.txt' treefmt-fa5233c> DEBUG walk | jujutsu: processing file: /build/TestJujutsu4190739585/001/foo.txt treefmt-fa5233c> DEBUG walk | jujutsu: processing file: /build/TestJujutsu4190739585/001/haskell/CHANGELOG.md treefmt-fa5233c> DEBUG walk | jujutsu: processing file: /build/TestJujutsu4190739585/001/haskell/Foo.hs treefmt-fa5233c> DEBUG walk | jujutsu: processing file: /build/TestJujutsu4190739585/001/haskell/Main.hs treefmt-fa5233c> DEBUG walk | jujutsu: processing file: /build/TestJujutsu4190739585/001/haskell/Nested/Foo.hs treefmt-fa5233c> DEBUG walk | jujutsu: processing file: /build/TestJujutsu4190739585/001/haskell/Setup.hs treefmt-fa5233c> DEBUG walk | jujutsu: processing file: /build/TestJujutsu4190739585/001/haskell/haskell.cabal treefmt-fa5233c> DEBUG walk | jujutsu: processing file: /build/TestJujutsu4190739585/001/haskell/treefmt.toml treefmt-fa5233c> DEBUG walk | cache: read 8 files from delegate treefmt-fa5233c> DEBUG read 8 files treefmt-fa5233c> DEBUG formatter | echo: match: /build/TestJujutsu4190739585/001/foo.txt treefmt-fa5233c> DEBUG formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f treefmt-fa5233c> DEBUG formatter | echo: match: /build/TestJujutsu4190739585/001/haskell/CHANGELOG.md treefmt-fa5233c> DEBUG formatter | echo: match: /build/TestJujutsu4190739585/001/haskell/Foo.hs treefmt-fa5233c> DEBUG formatter | echo: match: /build/TestJujutsu4190739585/001/haskell/Main.hs treefmt-fa5233c> DEBUG formatter | echo: match: /build/TestJujutsu4190739585/001/haskell/Nested/Foo.hs treefmt-fa5233c> DEBUG formatter | echo: match: /build/TestJujutsu4190739585/001/haskell/Setup.hs treefmt-fa5233c> DEBUG formatter | echo: match: /build/TestJujutsu4190739585/001/haskell/haskell.cabal treefmt-fa5233c> DEBUG formatter | echo: match: /build/TestJujutsu4190739585/001/haskell/treefmt.toml treefmt-fa5233c> DEBUG formatter | echo: executing: /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/echo foo.txt treefmt-fa5233c> INFO formatter | echo: 1 file(s) processed in 1.885095ms treefmt-fa5233c> traversed 8 files treefmt-fa5233c> emitted 8 files for processing treefmt-fa5233c> formatted 1 files (0 changed) in 44ms treefmt-fa5233c> DEBUG no more files to read treefmt-fa5233c> treefmt-fa5233c> root_test.go:1782: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1794: treefmt go foo.txt treefmt-fa5233c> root_test.go:1794: treefmt-fa5233c> traversed 3 files treefmt-fa5233c> emitted 3 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 43ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1794: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1806: treefmt foo.txt treefmt-fa5233c> root_test.go:1806: treefmt-fa5233c> traversed 1 files treefmt-fa5233c> emitted 1 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 41ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:1806: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestJujutsu (1.62s) treefmt-fa5233c> === RUN TestTreeRootCmd treefmt-fa5233c> root_test.go:1852: treefmt -vv --tree-root-cmd bash -c '>&2 echo -e "some error text treefmt-fa5233c> some more error text" && echo /build/TestTreeRootCmd1791198935/001' treefmt-fa5233c> root_test.go:1847: treefmt-fa5233c> Error Trace: /build/source/cmd/root_test.go:1847 treefmt-fa5233c> /build/source/cmd/root_test.go:2929 treefmt-fa5233c> /build/source/cmd/root_test.go:1852 treefmt-fa5233c> Error: "INFO config: searching for tree root using tree-root-cmd: bash -c '>&2 echo -e \"some error text\nsome more error text\" && echo /build/TestTreeRootCmd1791198935/001'\nDEBUG tree-root-cmd | stderr: some error text\nDEBUG tree-root-cmd | stdout: /build/TestTreeRootCmd1791198935/001\n\nINFO config: tree root: /build/TestTreeRootCmd1791198935/001\nDEBUG tree-root-cmd | stderr: some more error text\nDEBUG Resolving path '/build/TestTreeRootCmd1791198935/001'\nDEBUG walk | filesystem: file queued .gitignore\nDEBUG walk | filesystem: file queued emoji 🕰️/README.md\nDEBUG walk | filesystem: file queued go/go.mod\nDEBUG walk | filesystem: file queued go/main.go\nDEBUG walk | filesystem: file queued haskell/CHANGELOG.md\nDEBUG walk | filesystem: file queued haskell/Foo.hs\nDEBUG walk | filesystem: file queued haskell/Main.hs\nDEBUG walk | filesystem: file queued haskell/Nested/Foo.hs\nDEBUG walk | filesystem: file queued haskell/Setup.hs\nDEBUG walk | filesystem: file queued haskell/haskell.cabal\nDEBUG walk | filesystem: file queued haskell/treefmt.toml\nDEBUG walk | filesystem: file queued haskell-frontend/CHANGELOG.md\nDEBUG walk | filesystem: file queued haskell-frontend/Main.hs\nDEBUG walk | filesystem: file queued haskell-frontend/Setup.hs\nDEBUG walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal\nDEBUG walk | filesystem: file queued html/index.html\nDEBUG walk | filesystem: file queued html/scripts/.gitkeep\nDEBUG walk | filesystem: file queued javascript/source/hello.js\nDEBUG walk | filesystem: file queued just/justfile\nDEBUG walk | filesystem: file queued nix/sources.nix\nDEBUG walk | filesystem: file queued nixpkgs.toml\nDEBUG walk | filesystem: file queued python/main.py\nDEBUG walk | filesystem: file queued python/requirements.txt\nDEBUG walk | filesystem: file queued python/virtualenv_proxy.py\nDEBUG walk | filesystem: file queued ruby/bundler.rb\nDEBUG walk | filesystem: file queued rust/Cargo.toml\nDEBUG walk | filesystem: file queued rust/src/main.rs\nDEBUG walk | filesystem: file queued shell/foo.sh\nDEBUG walk | filesystem: file queued terraform/main.tf\nDEBUG walk | filesystem: file queued terraform/two.tf\nDEBUG walk | filesystem: file queued touch.toml\nDEBUG walk | filesystem: file queued treefmt.toml\nDEBUG walk | filesystem: file queued yaml/test.yaml\nDEBUG walk | cache: read 33 files from delegate\nDEBUG read 33 files\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/.gitignore\nDEBUG formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/emoji 🕰️/README.md\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/go/go.mod\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/go/main.go\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/haskell/CHANGELOG.md\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/haskell/Foo.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/haskell/Main.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/haskell/Nested/Foo.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/haskell/Setup.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/haskell/haskell.cabal\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/haskell/treefmt.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/haskell-frontend/CHANGELOG.md\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/haskell-frontend/Main.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/haskell-frontend/Setup.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/haskell-frontend/haskell-frontend.cabal\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/html/index.html\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/html/scripts/.gitkeep\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/javascript/source/hello.js\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/just/justfile\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/nix/sources.nix\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/nixpkgs.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/python/main.py\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/python/requirements.txt\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/python/virtualenv_proxy.py\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/ruby/bundler.rb\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/rust/Cargo.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/rust/src/main.rs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/shell/foo.sh\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/terraform/main.tf\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/terraform/two.tf\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/touch.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/treefmt.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1791198935/001/yaml/test.yaml\nDEBUG formatter | echo: executing: /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/echo .gitignore emoji 🕰️/README.md go/go.mod go/main.go haskell/CHANGELOG.md haskell/Foo.hs haskell/Main.hs haskell/Nested/Foo.hs haskell/Setup.hs haskell/haskell.cabal haskell/treefmt.toml haskell-frontend/CHANGELOG.md haskell-frontend/Main.hs haskell-frontend/Setup.hs haskell-frontend/haskell-frontend.cabal html/index.html html/scripts/.gitkeep javascript/source/hello.js just/justfile nix/sources.nix nixpkgs.toml python/main.py python/requirements.txt python/virtualenv_proxy.py ruby/bundler.rb rust/Cargo.toml rust/src/main.rs shell/foo.sh terraform/main.tf terraform/two.tf touch.toml treefmt.toml yaml/test.yaml\nINFO formatter | echo: 33 file(s) processed in 2.373367ms\ntraversed 33 files\nemitted 33 files for processing\nformatted 33 files (0 changed) in 44ms\nDEBUG no more files to read\n" does not contain "DEBU tree-root-cmd | stderr: some error text\n" treefmt-fa5233c> Test: TestTreeRootCmd treefmt-fa5233c> --- FAIL: TestTreeRootCmd (1.06s) treefmt-fa5233c> === RUN TestTreeRootExclusivity treefmt-fa5233c> root_test.go:1999: treefmt --tree-root bar --tree-root-cmd 'echo /foo/bar' treefmt-fa5233c> root_test.go:1999: treefmt-fa5233c> Error: if any flags in the group [tree-root tree-root-cmd tree-root-file] are set none of the others can be; [tree-root tree-root-cmd] were all set treefmt-fa5233c> treefmt-fa5233c> root_test.go:1999: treefmt-fa5233c> Usage: treefmt-fa5233c> treefmt [flags] treefmt-fa5233c> treefmt-fa5233c> Flags: treefmt-fa5233c> --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER) treefmt-fa5233c> --ci Runs treefmt in a CI mode, enabling --no-cache, --fail-on-change and adjusting some other settings best suited to a CI use case. (env $TREEFMT_CI) treefmt-fa5233c> -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE) treefmt-fa5233c> --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell. treefmt-fa5233c> --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml). treefmt-fa5233c> --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE) treefmt-fa5233c> --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES) treefmt-fa5233c> --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE) treefmt-fa5233c> -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS) treefmt-fa5233c> -h, --help help for treefmt treefmt-fa5233c> -i, --init Create a treefmt.toml file in the current directory. treefmt-fa5233c> --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE) treefmt-fa5233c> -u, --on-unmatched string Log paths that did not match any formatters at the specified log level. Possible values are . (env $TREEFMT_ON_UNMATCHED) (default "info") treefmt-fa5233c> -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET) treefmt-fa5233c> --stdin Format the context passed in via stdin. treefmt-fa5233c> --tree-root string The root directory from which treefmt will start walking the filesystem. Defaults to the root of the current git or jujutsu worktree. If not in a git or jujutsu repo, defaults to the directory containing the config file. (env $TREEFMT_TREE_ROOT) treefmt-fa5233c> --tree-root-cmd string Command to run to find the tree root. It is parsed using shlex, to allow quoting arguments that contain whitespace. If you wish to pass arguments containing quotes, you should use nested quotes e.g. "'" or '"'. (env $TREEFMT_TREE_ROOT_CMD) treefmt-fa5233c> --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE) treefmt-fa5233c> -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE) treefmt-fa5233c> --version version for treefmt treefmt-fa5233c> --walk string The method used to traverse the files within the tree root. Currently supports . (env $TREEFMT_WALK) (default "auto") treefmt-fa5233c> -C, --working-dir string Run as if treefmt was started in the specified working directory instead of the current working directory. (env $TREEFMT_WORKING_DIR) (default ".") treefmt-fa5233c> treefmt-fa5233c> treefmt-fa5233c> root_test.go:2012: setting env TREEFMT_TREE_ROOT=bar treefmt-fa5233c> root_test.go:2012: setting env TREEFMT_TREE_ROOT_CMD=echo /foo/bar treefmt-fa5233c> root_test.go:2012: treefmt treefmt-fa5233c> root_test.go:2012: treefmt-fa5233c> Error: failed to load config: failed to determine tree root: at most one of tree-root, tree-root-cmd or tree-root-file can be specified treefmt-fa5233c> treefmt-fa5233c> root_test.go:2012: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2027: treefmt treefmt-fa5233c> root_test.go:2027: treefmt-fa5233c> Error: failed to load config: failed to determine tree root: at most one of tree-root, tree-root-cmd or tree-root-file can be specified treefmt-fa5233c> treefmt-fa5233c> root_test.go:2027: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1999: treefmt --tree-root bar --tree-root-file .git/config treefmt-fa5233c> root_test.go:1999: treefmt-fa5233c> Error: if any flags in the group [tree-root tree-root-cmd tree-root-file] are set none of the others can be; [tree-root tree-root-file] were all set treefmt-fa5233c> treefmt-fa5233c> root_test.go:1999: treefmt-fa5233c> Usage: treefmt-fa5233c> treefmt [flags] treefmt-fa5233c> treefmt-fa5233c> Flags: treefmt-fa5233c> --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER) treefmt-fa5233c> --ci Runs treefmt in a CI mode, enabling --no-cache, --fail-on-change and adjusting some other settings best suited to a CI use case. (env $TREEFMT_CI) treefmt-fa5233c> -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE) treefmt-fa5233c> --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell. treefmt-fa5233c> --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml). treefmt-fa5233c> --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE) treefmt-fa5233c> --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES) treefmt-fa5233c> --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE) treefmt-fa5233c> -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS) treefmt-fa5233c> -h, --help help for treefmt treefmt-fa5233c> -i, --init Create a treefmt.toml file in the current directory. treefmt-fa5233c> --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE) treefmt-fa5233c> -u, --on-unmatched string Log paths that did not match any formatters at the specified log level. Possible values are . (env $TREEFMT_ON_UNMATCHED) (default "info") treefmt-fa5233c> -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET) treefmt-fa5233c> --stdin Format the context passed in via stdin. treefmt-fa5233c> --tree-root string The root directory from which treefmt will start walking the filesystem. Defaults to the root of the current git or jujutsu worktree. If not in a git or jujutsu repo, defaults to the directory containing the config file. (env $TREEFMT_TREE_ROOT) treefmt-fa5233c> --tree-root-cmd string Command to run to find the tree root. It is parsed using shlex, to allow quoting arguments that contain whitespace. If you wish to pass arguments containing quotes, you should use nested quotes e.g. "'" or '"'. (env $TREEFMT_TREE_ROOT_CMD) treefmt-fa5233c> --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE) treefmt-fa5233c> -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE) treefmt-fa5233c> --version version for treefmt treefmt-fa5233c> --walk string The method used to traverse the files within the tree root. Currently supports . (env $TREEFMT_WALK) (default "auto") treefmt-fa5233c> -C, --working-dir string Run as if treefmt was started in the specified working directory instead of the current working directory. (env $TREEFMT_WORKING_DIR) (default ".") treefmt-fa5233c> treefmt-fa5233c> treefmt-fa5233c> root_test.go:2012: setting env TREEFMT_TREE_ROOT=bar treefmt-fa5233c> root_test.go:2012: setting env TREEFMT_TREE_ROOT_FILE=.git/config treefmt-fa5233c> root_test.go:2012: treefmt treefmt-fa5233c> root_test.go:2012: treefmt-fa5233c> Error: failed to load config: failed to determine tree root: at most one of tree-root, tree-root-cmd or tree-root-file can be specified treefmt-fa5233c> treefmt-fa5233c> root_test.go:2012: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2027: treefmt treefmt-fa5233c> root_test.go:2027: treefmt-fa5233c> Error: failed to load config: failed to determine tree root: at most one of tree-root, tree-root-cmd or tree-root-file can be specified treefmt-fa5233c> treefmt-fa5233c> root_test.go:2027: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1999: treefmt --tree-root-cmd 'echo /foo/bar' --tree-root-file .git/config treefmt-fa5233c> root_test.go:1999: treefmt-fa5233c> Error: if any flags in the group [tree-root tree-root-cmd tree-root-file] are set none of the others can be; [tree-root-cmd tree-root-file] were all set treefmt-fa5233c> treefmt-fa5233c> root_test.go:1999: treefmt-fa5233c> Usage: treefmt-fa5233c> treefmt [flags] treefmt-fa5233c> treefmt-fa5233c> Flags: treefmt-fa5233c> --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER) treefmt-fa5233c> --ci Runs treefmt in a CI mode, enabling --no-cache, --fail-on-change and adjusting some other settings best suited to a CI use case. (env $TREEFMT_CI) treefmt-fa5233c> -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE) treefmt-fa5233c> --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell. treefmt-fa5233c> --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml). treefmt-fa5233c> --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE) treefmt-fa5233c> --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES) treefmt-fa5233c> --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE) treefmt-fa5233c> -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS) treefmt-fa5233c> -h, --help help for treefmt treefmt-fa5233c> -i, --init Create a treefmt.toml file in the current directory. treefmt-fa5233c> --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE) treefmt-fa5233c> -u, --on-unmatched string Log paths that did not match any formatters at the specified log level. Possible values are . (env $TREEFMT_ON_UNMATCHED) (default "info") treefmt-fa5233c> -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET) treefmt-fa5233c> --stdin Format the context passed in via stdin. treefmt-fa5233c> --tree-root string The root directory from which treefmt will start walking the filesystem. Defaults to the root of the current git or jujutsu worktree. If not in a git or jujutsu repo, defaults to the directory containing the config file. (env $TREEFMT_TREE_ROOT) treefmt-fa5233c> --tree-root-cmd string Command to run to find the tree root. It is parsed using shlex, to allow quoting arguments that contain whitespace. If you wish to pass arguments containing quotes, you should use nested quotes e.g. "'" or '"'. (env $TREEFMT_TREE_ROOT_CMD) treefmt-fa5233c> --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE) treefmt-fa5233c> -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE) treefmt-fa5233c> --version version for treefmt treefmt-fa5233c> --walk string The method used to traverse the files within the tree root. Currently supports . (env $TREEFMT_WALK) (default "auto") treefmt-fa5233c> -C, --working-dir string Run as if treefmt was started in the specified working directory instead of the current working directory. (env $TREEFMT_WORKING_DIR) (default ".") treefmt-fa5233c> treefmt-fa5233c> treefmt-fa5233c> root_test.go:2012: setting env TREEFMT_TREE_ROOT_CMD=echo /foo/bar treefmt-fa5233c> root_test.go:2012: setting env TREEFMT_TREE_ROOT_FILE=.git/config treefmt-fa5233c> root_test.go:2012: treefmt treefmt-fa5233c> root_test.go:2012: treefmt-fa5233c> Error: failed to load config: failed to determine tree root: at most one of tree-root, tree-root-cmd or tree-root-file can be specified treefmt-fa5233c> treefmt-fa5233c> root_test.go:2012: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2027: treefmt treefmt-fa5233c> root_test.go:2027: treefmt-fa5233c> Error: failed to load config: failed to determine tree root: at most one of tree-root, tree-root-cmd or tree-root-file can be specified treefmt-fa5233c> treefmt-fa5233c> root_test.go:2027: treefmt-fa5233c> treefmt-fa5233c> root_test.go:1999: treefmt --tree-root bar --tree-root-cmd 'echo /foo/bar' --tree-root-file .git/config treefmt-fa5233c> root_test.go:1999: treefmt-fa5233c> Error: if any flags in the group [tree-root tree-root-cmd tree-root-file] are set none of the others can be; [tree-root tree-root-cmd tree-root-file] were all set treefmt-fa5233c> treefmt-fa5233c> root_test.go:1999: treefmt-fa5233c> Usage: treefmt-fa5233c> treefmt [flags] treefmt-fa5233c> treefmt-fa5233c> Flags: treefmt-fa5233c> --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER) treefmt-fa5233c> --ci Runs treefmt in a CI mode, enabling --no-cache, --fail-on-change and adjusting some other settings best suited to a CI use case. (env $TREEFMT_CI) treefmt-fa5233c> -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE) treefmt-fa5233c> --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell. treefmt-fa5233c> --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml). treefmt-fa5233c> --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE) treefmt-fa5233c> --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES) treefmt-fa5233c> --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE) treefmt-fa5233c> -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS) treefmt-fa5233c> -h, --help help for treefmt treefmt-fa5233c> -i, --init Create a treefmt.toml file in the current directory. treefmt-fa5233c> --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE) treefmt-fa5233c> -u, --on-unmatched string Log paths that did not match any formatters at the specified log level. Possible values are . (env $TREEFMT_ON_UNMATCHED) (default "info") treefmt-fa5233c> -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET) treefmt-fa5233c> --stdin Format the context passed in via stdin. treefmt-fa5233c> --tree-root string The root directory from which treefmt will start walking the filesystem. Defaults to the root of the current git or jujutsu worktree. If not in a git or jujutsu repo, defaults to the directory containing the config file. (env $TREEFMT_TREE_ROOT) treefmt-fa5233c> --tree-root-cmd string Command to run to find the tree root. It is parsed using shlex, to allow quoting arguments that contain whitespace. If you wish to pass arguments containing quotes, you should use nested quotes e.g. "'" or '"'. (env $TREEFMT_TREE_ROOT_CMD) treefmt-fa5233c> --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE) treefmt-fa5233c> -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE) treefmt-fa5233c> --version version for treefmt treefmt-fa5233c> --walk string The method used to traverse the files within the tree root. Currently supports . (env $TREEFMT_WALK) (default "auto") treefmt-fa5233c> -C, --working-dir string Run as if treefmt was started in the specified working directory instead of the current working directory. (env $TREEFMT_WORKING_DIR) (default ".") treefmt-fa5233c> treefmt-fa5233c> treefmt-fa5233c> root_test.go:2012: setting env TREEFMT_TREE_ROOT=bar treefmt-fa5233c> root_test.go:2012: setting env TREEFMT_TREE_ROOT_CMD=echo /foo/bar treefmt-fa5233c> root_test.go:2012: setting env TREEFMT_TREE_ROOT_FILE=.git/config treefmt-fa5233c> root_test.go:2012: treefmt treefmt-fa5233c> root_test.go:2012: treefmt-fa5233c> Error: failed to load config: failed to determine tree root: at most one of tree-root, tree-root-cmd or tree-root-file can be specified treefmt-fa5233c> treefmt-fa5233c> root_test.go:2012: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2027: treefmt treefmt-fa5233c> root_test.go:2027: treefmt-fa5233c> Error: failed to load config: failed to determine tree root: at most one of tree-root, tree-root-cmd or tree-root-file can be specified treefmt-fa5233c> treefmt-fa5233c> root_test.go:2027: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestTreeRootExclusivity (1.03s) treefmt-fa5233c> === RUN TestPathsArg treefmt-fa5233c> root_test.go:2077: treefmt treefmt-fa5233c> root_test.go:2077: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (0 changed) in 28ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2077: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2088: treefmt rust/src/main.rs haskell/Nested/Foo.hs treefmt-fa5233c> root_test.go:2088: treefmt-fa5233c> traversed 2 files treefmt-fa5233c> emitted 2 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 26ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2088: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2103: treefmt /build/TestPathsArg3124109211/001/tree-root/rust/src/main.rs treefmt-fa5233c> root_test.go:2103: treefmt-fa5233c> traversed 1 files treefmt-fa5233c> emitted 1 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 26ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2103: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2115: treefmt rust/src/main.rs haskell/Nested/Bar.hs treefmt-fa5233c> root_test.go:2115: treefmt-fa5233c> Error: failed to create walker: path /build/TestPathsArg3124109211/001/tree-root/haskell/Nested/Bar.hs not found: lstat /build/TestPathsArg3124109211/001/tree-root/haskell/Nested/Bar.hs: no such file or directory treefmt-fa5233c> treefmt-fa5233c> root_test.go:2115: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2127: treefmt /build/TestPathsArg3124109211/001/outside_tree.go treefmt-fa5233c> root_test.go:2127: treefmt-fa5233c> Error: failed to create walker: path /build/TestPathsArg3124109211/001/outside_tree.go not inside the tree root /build/TestPathsArg3124109211/001/tree-root (relative path: ../outside_tree.go) treefmt-fa5233c> treefmt-fa5233c> root_test.go:2127: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2138: treefmt ../outside_tree.go treefmt-fa5233c> root_test.go:2138: treefmt-fa5233c> Error: failed to create walker: path ../outside_tree.go not inside the tree root /build/TestPathsArg3124109211/001/tree-root (relative path: ../outside_tree.go) treefmt-fa5233c> treefmt-fa5233c> root_test.go:2138: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestPathsArg (1.14s) treefmt-fa5233c> === RUN TestStdin treefmt-fa5233c> root_test.go:2167: treefmt --stdin treefmt-fa5233c> root_test.go:2167: treefmt-fa5233c> Error: exactly one path should be specified when using the --stdin flag treefmt-fa5233c> treefmt-fa5233c> root_test.go:2167: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2180: treefmt --stdin test.nix treefmt-fa5233c> root_test.go:2180: treefmt-fa5233c> traversed 1 files treefmt-fa5233c> emitted 1 files for processing treefmt-fa5233c> formatted 1 files (1 changed) in 551ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2180: treefmt-fa5233c> { ...}: "hello" treefmt-fa5233c> treefmt-fa5233c> root_test.go:2200: treefmt --stdin ../test.nix treefmt-fa5233c> root_test.go:2200: treefmt-fa5233c> Error: failed to create walker: path ../test.nix not inside the tree root /build/TestStdin3000513333/001 treefmt-fa5233c> treefmt-fa5233c> root_test.go:2200: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2213: treefmt --stdin foo/../../test.nix treefmt-fa5233c> root_test.go:2213: treefmt-fa5233c> Error: failed to create walker: path foo/../../test.nix not inside the tree root /build/TestStdin3000513333/001 treefmt-fa5233c> treefmt-fa5233c> root_test.go:2213: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2225: treefmt --stdin ..lotsadots.nix treefmt-fa5233c> root_test.go:2225: treefmt-fa5233c> traversed 1 files treefmt-fa5233c> emitted 1 files for processing treefmt-fa5233c> formatted 1 files (1 changed) in 51ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2225: treefmt-fa5233c> { ...}: "hello" treefmt-fa5233c> treefmt-fa5233c> root_test.go:2249: treefmt --stdin test.md treefmt-fa5233c> root_test.go:2249: treefmt-fa5233c> traversed 1 files treefmt-fa5233c> emitted 1 files for processing treefmt-fa5233c> formatted 1 files (1 changed) in 186ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2249: treefmt-fa5233c> | col1 | col2 | treefmt-fa5233c> | ------ | --------- | treefmt-fa5233c> | nice | fits | treefmt-fa5233c> | oh no! | it's ugly | treefmt-fa5233c> treefmt-fa5233c> root_test.go:2276: treefmt --stdin foo/justfile treefmt-fa5233c> root_test.go:2276: treefmt-fa5233c> traversed 1 files treefmt-fa5233c> emitted 1 files for processing treefmt-fa5233c> formatted 1 files (1 changed) in 60ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2276: treefmt-fa5233c> # print this message treefmt-fa5233c> help: treefmt-fa5233c> just --list --list-submodules --unsorted treefmt-fa5233c> treefmt-fa5233c> root_test.go:2301: treefmt -vvv --stdin path/to/foo.embed-path treefmt-fa5233c> root_test.go:2301: treefmt-fa5233c> INFO config: no tree root specified treefmt-fa5233c> INFO config: setting tree root to the directory containing the config file: /build/TestStdin3000513333/001/treefmt.toml treefmt-fa5233c> INFO config: tree root: /build/TestStdin3000513333/001 treefmt-fa5233c> DEBUG formatter command not found: foo-fmt treefmt-fa5233c> DEBUG Resolving path '/build/TestStdin3000513333/001' treefmt-fa5233c> DEBUG Resolving path 'path/to/foo.embed-path' treefmt-fa5233c> DEBUG Path '/build/TestStdin3000513333/001/path/to/foo.embed-path' does not exist, treating it as resolved treefmt-fa5233c> DEBUG Resolving path 'path/to/foo.embed-path' treefmt-fa5233c> DEBUG Path '/build/TestStdin3000513333/001/path/to/foo.embed-path' does not exist, treating it as resolved treefmt-fa5233c> DEBUG read 1 files treefmt-fa5233c> DEBUG formatter | embed-path: match: /build/TestStdin3000513333/001/path/to/foo.embed-path treefmt-fa5233c> DEBUG formatters signature for key embed-path: 66e6789096713b16f0c8aedd98cdb1d4 treefmt-fa5233c> DEBUG formatter | embed-path: executing: /nix/store/7skfgallm2wpgk754y4fbbjlnlfydiwa-test-fmt-embed-path/bin/test-fmt-embed-path fmt --stdin-filepath path/to/foo.embed-path treefmt-fa5233c> INFO formatter | embed-path: 1 file(s) processed in 6.321271ms treefmt-fa5233c> DEBUG file has changed path=path/to/foo.embed-path prev_size=52 prev_mod_time="2026-10-14 12:48:07 +0000 UTC" current_size=77 current_mod_time="2026-10-14 12:48:07 +0000 UTC" treefmt-fa5233c> traversed 1 files treefmt-fa5233c> emitted 1 files for processing treefmt-fa5233c> formatted 1 files (1 changed) in 63ms treefmt-fa5233c> DEBUG no more files to read treefmt-fa5233c> treefmt-fa5233c> root_test.go:2301: treefmt-fa5233c> # path/to/foo.embed-path treefmt-fa5233c> treefmt-fa5233c> The formatter should add the path above this line. treefmt-fa5233c> treefmt-fa5233c> root_test.go:2332: treefmt --stdin ../foo/justfile treefmt-fa5233c> root_test.go:2332: treefmt-fa5233c> traversed 1 files treefmt-fa5233c> emitted 1 files for processing treefmt-fa5233c> formatted 1 files (1 changed) in 55ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2332: treefmt-fa5233c> # print this message treefmt-fa5233c> help: treefmt-fa5233c> just --list --list-submodules --unsorted treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestStdin (2.00s) treefmt-fa5233c> === RUN TestDeterministicOrderingInPipeline treefmt-fa5233c> root_test.go:2382: treefmt treefmt-fa5233c> root_test.go:2382: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 2 files for processing treefmt-fa5233c> formatted 2 files (2 changed) in 44ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2382: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2420: treefmt --stdin treefmt.toml treefmt-fa5233c> root_test.go:2420: treefmt-fa5233c> traversed 1 files treefmt-fa5233c> emitted 0 files for processing treefmt-fa5233c> formatted 0 files (0 changed) in 23ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2420: treefmt-fa5233c> treefmt-fa5233c> foo = "bla" treefmt-fa5233c> bar = [ "bla" ] treefmt-fa5233c> adsfadf; treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestDeterministicOrderingInPipeline (1.08s) treefmt-fa5233c> === RUN TestRunInSubdir treefmt-fa5233c> === RUN TestRunInSubdir/auto treefmt-fa5233c> root_test.go:2489: treefmt treefmt-fa5233c> root_test.go:2489: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (0 changed) in 41ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2489: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs treefmt-fa5233c> root_test.go:2501: treefmt-fa5233c> Error: failed to create walker: path /build/TestRunInSubdirauto207880630/001/go/go/main.go not found: lstat /build/TestRunInSubdirauto207880630/001/go/go/main.go: no such file or directory treefmt-fa5233c> treefmt-fa5233c> root_test.go:2501: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs treefmt-fa5233c> root_test.go:2509: treefmt-fa5233c> traversed 2 files treefmt-fa5233c> emitted 2 files for processing treefmt-fa5233c> formatted 2 files (0 changed) in 32ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2509: treefmt-fa5233c> treefmt-fa5233c> === RUN TestRunInSubdir/stdin treefmt-fa5233c> root_test.go:2489: treefmt treefmt-fa5233c> root_test.go:2489: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (0 changed) in 39ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2489: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs treefmt-fa5233c> root_test.go:2501: treefmt-fa5233c> Error: failed to create walker: path /build/TestRunInSubdirstdin2658565738/001/go/go/main.go not found: lstat /build/TestRunInSubdirstdin2658565738/001/go/go/main.go: no such file or directory treefmt-fa5233c> treefmt-fa5233c> root_test.go:2501: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs treefmt-fa5233c> root_test.go:2509: treefmt-fa5233c> traversed 2 files treefmt-fa5233c> emitted 2 files for processing treefmt-fa5233c> formatted 2 files (0 changed) in 32ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2509: treefmt-fa5233c> treefmt-fa5233c> === RUN TestRunInSubdir/filesystem treefmt-fa5233c> root_test.go:2489: treefmt treefmt-fa5233c> root_test.go:2489: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (0 changed) in 41ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2489: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs treefmt-fa5233c> root_test.go:2501: treefmt-fa5233c> Error: failed to create walker: path /build/TestRunInSubdirfilesystem2965743499/001/go/go/main.go not found: lstat /build/TestRunInSubdirfilesystem2965743499/001/go/go/main.go: no such file or directory treefmt-fa5233c> treefmt-fa5233c> root_test.go:2501: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs treefmt-fa5233c> root_test.go:2509: treefmt-fa5233c> traversed 2 files treefmt-fa5233c> emitted 2 files for processing treefmt-fa5233c> formatted 2 files (0 changed) in 38ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2509: treefmt-fa5233c> treefmt-fa5233c> === RUN TestRunInSubdir/git treefmt-fa5233c> root_test.go:2489: treefmt treefmt-fa5233c> root_test.go:2489: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (0 changed) in 23ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2489: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs treefmt-fa5233c> root_test.go:2501: treefmt-fa5233c> Error: failed to create walker: path /build/TestRunInSubdirgit2642940391/001/go/go/main.go not found: lstat /build/TestRunInSubdirgit2642940391/001/go/go/main.go: no such file or directory treefmt-fa5233c> treefmt-fa5233c> root_test.go:2501: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs treefmt-fa5233c> root_test.go:2509: treefmt-fa5233c> traversed 2 files treefmt-fa5233c> emitted 2 files for processing treefmt-fa5233c> formatted 2 files (0 changed) in 16ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2509: treefmt-fa5233c> treefmt-fa5233c> === RUN TestRunInSubdir/jujutsu treefmt-fa5233c> root_test.go:2489: treefmt treefmt-fa5233c> root_test.go:2489: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (0 changed) in 43ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2489: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs treefmt-fa5233c> root_test.go:2501: treefmt-fa5233c> Error: failed to create walker: path /build/TestRunInSubdirjujutsu1416557061/001/go/go/main.go not found: lstat /build/TestRunInSubdirjujutsu1416557061/001/go/go/main.go: no such file or directory treefmt-fa5233c> treefmt-fa5233c> root_test.go:2501: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs treefmt-fa5233c> root_test.go:2509: treefmt-fa5233c> traversed 2 files treefmt-fa5233c> emitted 2 files for processing treefmt-fa5233c> formatted 2 files (0 changed) in 40ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2509: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestRunInSubdir (5.49s) treefmt-fa5233c> --- PASS: TestRunInSubdir/auto (1.10s) treefmt-fa5233c> --- PASS: TestRunInSubdir/stdin (1.10s) treefmt-fa5233c> --- PASS: TestRunInSubdir/filesystem (1.11s) treefmt-fa5233c> --- PASS: TestRunInSubdir/git (1.07s) treefmt-fa5233c> --- PASS: TestRunInSubdir/jujutsu (1.12s) treefmt-fa5233c> === RUN TestProjectRootIsSymlink treefmt-fa5233c> root_test.go:2556: treefmt -c go/main.go treefmt-fa5233c> root_test.go:2556: treefmt-fa5233c> traversed 1 files treefmt-fa5233c> emitted 1 files for processing treefmt-fa5233c> formatted 1 files (0 changed) in 45ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2556: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2568: treefmt -c symlink-to-yaml-dir treefmt-fa5233c> root_test.go:2568: treefmt-fa5233c> traversed 1 files treefmt-fa5233c> emitted 1 files for processing treefmt-fa5233c> formatted 1 files (0 changed) in 46ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2568: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2580: treefmt -c . treefmt-fa5233c> root_test.go:2580: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (0 changed) in 41ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2580: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestProjectRootIsSymlink (1.14s) treefmt-fa5233c> === RUN TestConcurrentInvocation treefmt-fa5233c> root_test.go:2621: treefmt --formatters slow treefmt-fa5233c> root_test.go:2632: treefmt --formatters echo treefmt-fa5233c> root_test.go:2632: treefmt-fa5233c> Error: failed to open cache: failed to open cache db at /build/.cache/treefmt/eval-cache/26b3af272168a98d5f233403a0269188bd35bcf7e7a364760dcd82350d0563f0.db: timeout treefmt-fa5233c> treefmt-fa5233c> root_test.go:2632: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2621: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (33 changed) in 2.057s treefmt-fa5233c> treefmt-fa5233c> root_test.go:2621: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2645: treefmt --formatters slow treefmt-fa5233c> root_test.go:2656: treefmt -c --formatters echo treefmt-fa5233c> root_test.go:2656: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (0 changed) in 36ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2656: treefmt-fa5233c> treefmt-fa5233c> root_test.go:2645: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 1 files (1 changed) in 2.048s treefmt-fa5233c> treefmt-fa5233c> root_test.go:2645: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestConcurrentInvocation (5.12s) treefmt-fa5233c> === RUN TestNoPositionalArgSupport treefmt-fa5233c> root_test.go:2682: treefmt treefmt-fa5233c> root_test.go:2682: treefmt-fa5233c> traversed 33 files treefmt-fa5233c> emitted 33 files for processing treefmt-fa5233c> formatted 33 files (33 changed) in 247ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2682: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestNoPositionalArgSupport (1.26s) treefmt-fa5233c> === RUN TestPrjRootBeatsConfigFileLocation treefmt-fa5233c> root_test.go:2714: setting env PRJ_ROOT=/build/TestPrjRootBeatsConfigFileLocation557561940/001/go treefmt-fa5233c> root_test.go:2714: treefmt treefmt-fa5233c> root_test.go:2714: treefmt-fa5233c> traversed 2 files treefmt-fa5233c> emitted 2 files for processing treefmt-fa5233c> formatted 2 files (0 changed) in 30ms treefmt-fa5233c> treefmt-fa5233c> root_test.go:2714: treefmt-fa5233c> treefmt-fa5233c> --- PASS: TestPrjRootBeatsConfigFileLocation (1.04s) treefmt-fa5233c> FAIL treefmt-fa5233c> coverage: 67.6% of statements treefmt-fa5233c> FAIL github.com/numtide/treefmt/v2/cmd 48.168s treefmt-fa5233c> github.com/numtide/treefmt/v2/cmd/format coverage: 0.0% of statements treefmt-fa5233c> github.com/numtide/treefmt/v2/cmd/init coverage: 0.0% of statements treefmt-fa5233c> === RUN TestAllowMissingFormatter treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestAllowMissingFormatter4161582703/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestAllowMissingFormatter4161582703/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestAllowMissingFormatter4161582703/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestAllowMissingFormatter4161582703/001 treefmt-fa5233c> --- PASS: TestAllowMissingFormatter (0.02s) treefmt-fa5233c> === RUN TestCI treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestCI1604382780/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestCI1604382780/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestCI1604382780/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestCI1604382780/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestCI1604382780/001 treefmt-fa5233c> --- PASS: TestCI (0.02s) treefmt-fa5233c> === RUN TestClearCache treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestClearCache1197239523/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestClearCache1197239523/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestClearCache1197239523/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestClearCache1197239523/001 treefmt-fa5233c> --- PASS: TestClearCache (0.01s) treefmt-fa5233c> === RUN TestCpuProfile treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestCpuProfile2117170553/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestCpuProfile2117170553/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestCpuProfile2117170553/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestCpuProfile2117170553/001 treefmt-fa5233c> --- PASS: TestCpuProfile (0.01s) treefmt-fa5233c> === RUN TestExcludes treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestExcludes1774525235/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestExcludes1774525235/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestExcludes1774525235/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestExcludes1774525235/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestExcludes1774525235/001 treefmt-fa5233c> --- PASS: TestExcludes (0.02s) treefmt-fa5233c> === RUN TestFailOnChange treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestFailOnChange2762083462/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestFailOnChange2762083462/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestFailOnChange2762083462/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestFailOnChange2762083462/001 treefmt-fa5233c> --- PASS: TestFailOnChange (0.02s) treefmt-fa5233c> === RUN TestFormatters treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestFormatters299926106/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestFormatters299926106/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestFormatters299926106/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestFormatters299926106/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestFormatters299926106/001 treefmt-fa5233c> --- PASS: TestFormatters (0.02s) treefmt-fa5233c> === RUN TestNoCache treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestNoCache531810704/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestNoCache531810704/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestNoCache531810704/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestNoCache531810704/001 treefmt-fa5233c> --- PASS: TestNoCache (0.02s) treefmt-fa5233c> === RUN TestQuiet treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestQuiet1948108965/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestQuiet1948108965/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestQuiet1948108965/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestQuiet1948108965/001 treefmt-fa5233c> --- PASS: TestQuiet (0.02s) treefmt-fa5233c> === RUN TestOnUnmatched treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestOnUnmatched3452142320/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestOnUnmatched3452142320/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestOnUnmatched3452142320/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestOnUnmatched3452142320/001 treefmt-fa5233c> --- PASS: TestOnUnmatched (0.02s) treefmt-fa5233c> === RUN TestTreeRoot treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestTreeRoot1139534178/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root specified explicitly: /foo/bar treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /foo/bar treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root specified explicitly: /fizz/buzz treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /fizz/buzz treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root specified explicitly: /flip/flop treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /flip/flop treefmt-fa5233c> --- PASS: TestTreeRoot (0.02s) treefmt-fa5233c> === RUN TestTreeRootFile treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestTreeRootFile3838157008/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: searching for tree root using tree-root-file: a.txt treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestTreeRootFile3838157008/002/foo/bar treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: searching for tree root using tree-root-file: go.mod treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestTreeRootFile3838157008/002/foo treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: searching for tree root using tree-root-file: .git/config treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestTreeRootFile3838157008/002 treefmt-fa5233c> --- PASS: TestTreeRootFile (0.01s) treefmt-fa5233c> === RUN TestTreeRootCmd treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestTreeRootCmd2936912602/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: searching for tree root using tree-root-cmd: echo /build/TestTreeRootCmd2936912602/002 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestTreeRootCmd2936912602/002 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: searching for tree root using tree-root-cmd: echo "/build/TestTreeRootCmd2936912602/002/foo" treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestTreeRootCmd2936912602/002/foo treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: searching for tree root using tree-root-cmd: echo '/build/TestTreeRootCmd2936912602/002/bar' treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestTreeRootCmd2936912602/002/bar treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: searching for tree root using tree-root-cmd: echo '' treefmt-fa5233c> --- PASS: TestTreeRootCmd (0.03s) treefmt-fa5233c> === RUN TestVerbosity treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestVerbosity278889583/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestVerbosity278889583/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestVerbosity278889583/001 treefmt-fa5233c> --- PASS: TestVerbosity (0.02s) treefmt-fa5233c> === RUN TestWalk treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestWalk1826620461/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestWalk1826620461/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: setting tree root to the directory containing the config file: /build/TestWalk1826620461/001/treefmt.toml treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestWalk1826620461/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestWalk1826620461/001 treefmt-fa5233c> --- PASS: TestWalk (0.01s) treefmt-fa5233c> === RUN TestWorkingDirectory treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestWorkingDirectory1301821008/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestWorkingDirectory1301821008/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 128 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using jujutsu: jj workspace root treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: setting tree root to the directory containing the config file: /build/TestWorkingDirectory1301821008/001/treefmt.toml treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestWorkingDirectory1301821008/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 128 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using jujutsu: jj workspace root treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: setting tree root to the directory containing the config file: /build/TestWorkingDirectory1301821008/001/treefmt.toml treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestWorkingDirectory1301821008/001 treefmt-fa5233c> --- PASS: TestWorkingDirectory (0.04s) treefmt-fa5233c> === RUN TestStdin treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestStdin4028954962/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestStdin4028954962/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestStdin4028954962/001 treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: setting tree root to the directory containing the config file: /build/TestStdin4028954962/001/treefmt.toml treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/TestStdin4028954962/001 treefmt-fa5233c> --- PASS: TestStdin (0.01s) treefmt-fa5233c> === RUN TestSampleConfigFile treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: no tree root specified treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: setting tree root to the directory containing the config file: ../test/examples/treefmt.toml treefmt-fa5233c> 2026/10/14 12:47:34 INFO config: tree root: /build/source/test/examples treefmt-fa5233c> --- PASS: TestSampleConfigFile (0.00s) treefmt-fa5233c> PASS treefmt-fa5233c> coverage: 85.6% of statements treefmt-fa5233c> ok github.com/numtide/treefmt/v2/config 1.339s coverage: 85.6% of statements treefmt-fa5233c> === RUN TestApplyWithDefaultStdin treefmt-fa5233c> 2026/10/14 12:47:34 INFO formatter | cat: 1 file(s) processed in 1.380457ms treefmt-fa5233c> --- PASS: TestApplyWithDefaultStdin (0.00s) treefmt-fa5233c> === RUN TestInvalidFormatterName treefmt-fa5233c> --- PASS: TestInvalidFormatterName (0.00s) treefmt-fa5233c> === RUN TestFormatSignature treefmt-fa5233c> === RUN TestFormatSignature/change_formatter_mod_time treefmt-fa5233c> formatter_test.go:120: changing mod time of black treefmt-fa5233c> formatter_test.go:120: changing mod time of rufo treefmt-fa5233c> === RUN TestFormatSignature/modify_formatter_options treefmt-fa5233c> === RUN TestFormatSignature/add/remove_formatters treefmt-fa5233c> --- PASS: TestFormatSignature (0.01s) treefmt-fa5233c> --- PASS: TestFormatSignature/change_formatter_mod_time (0.00s) treefmt-fa5233c> --- PASS: TestFormatSignature/modify_formatter_options (0.00s) treefmt-fa5233c> --- PASS: TestFormatSignature/add/remove_formatters (0.00s) treefmt-fa5233c> === RUN TestGlobs treefmt-fa5233c> --- PASS: TestGlobs (0.00s) treefmt-fa5233c> PASS treefmt-fa5233c> coverage: 40.9% of statements treefmt-fa5233c> ok github.com/numtide/treefmt/v2/format 1.037s coverage: 40.9% of statements treefmt-fa5233c> github.com/numtide/treefmt/v2/git coverage: 0.0% of statements treefmt-fa5233c> github.com/numtide/treefmt/v2/jujutsu coverage: 0.0% of statements treefmt-fa5233c> github.com/numtide/treefmt/v2/stats coverage: 0.0% of statements treefmt-fa5233c> github.com/numtide/treefmt/v2/test coverage: 0.0% of statements treefmt-fa5233c> === RUN TestFilesystemReaderCancellation treefmt-fa5233c> --- PASS: TestFilesystemReaderCancellation (1.01s) treefmt-fa5233c> === RUN TestFilesystemReader treefmt-fa5233c> --- PASS: TestFilesystemReader (1.01s) treefmt-fa5233c> === RUN TestFilesystemReaderSubpaths treefmt-fa5233c> --- PASS: TestFilesystemReaderSubpaths (1.01s) treefmt-fa5233c> === RUN TestGitReader treefmt-fa5233c> --- PASS: TestGitReader (2.14s) treefmt-fa5233c> === RUN TestJujutsuReader treefmt-fa5233c> --- PASS: TestJujutsuReader (1.11s) treefmt-fa5233c> === RUN TestJujutsuReaderUsesTreeRoot treefmt-fa5233c> --- PASS: TestJujutsuReaderUsesTreeRoot (0.06s) treefmt-fa5233c> === RUN TestPathStreamReader treefmt-fa5233c> 2026/10/14 12:47:41 WARN walk | test walker: Path /build/TestPathStreamReader2829815066/001/missing.txt was emitted by test walker but no file exists at that path treefmt-fa5233c> --- PASS: TestPathStreamReader (1.01s) treefmt-fa5233c> === RUN TestPathStreamReaderSubpath treefmt-fa5233c> --- PASS: TestPathStreamReaderSubpath (1.01s) treefmt-fa5233c> === RUN TestPathStreamReaderPassesPathFilters treefmt-fa5233c> --- PASS: TestPathStreamReaderPassesPathFilters (1.01s) treefmt-fa5233c> === RUN TestPathStreamReaderDelimiters treefmt-fa5233c> --- PASS: TestPathStreamReaderDelimiters (1.02s) treefmt-fa5233c> === RUN TestPathStreamReaderCloseUnblocks treefmt-fa5233c> --- PASS: TestPathStreamReaderCloseUnblocks (0.05s) treefmt-fa5233c> === RUN TestPathStreamReaderCommandFailure treefmt-fa5233c> --- PASS: TestPathStreamReaderCommandFailure (1.01s) treefmt-fa5233c> PASS treefmt-fa5233c> coverage: 35.2% of statements treefmt-fa5233c> ok github.com/numtide/treefmt/v2/walk 12.488s coverage: 35.2% of statements treefmt-fa5233c> github.com/numtide/treefmt/v2/walk/cache coverage: 0.0% of statements treefmt-fa5233c> FAIL error: Cannot build '/nix/store/c8d1rlg4vxn9x4kw0gc2y20pjyxvlpa4-treefmt-fa5233c.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/yj2wpv7i3lk6m072gzq0nc3qvx7525na-treefmt-fa5233c Last 25 log lines: > --- PASS: TestFilesystemReaderSubpaths (1.01s) > === RUN TestGitReader > --- PASS: TestGitReader (2.14s) > === RUN TestJujutsuReader > --- PASS: TestJujutsuReader (1.11s) > === RUN TestJujutsuReaderUsesTreeRoot > --- PASS: TestJujutsuReaderUsesTreeRoot (0.06s) > === RUN TestPathStreamReader > 2026/10/14 12:47:41 WARN walk | test walker: Path /build/TestPathStreamReader2829815066/001/missing.txt was emitted by test walker but no file exists at that path > --- PASS: TestPathStreamReader (1.01s) > === RUN TestPathStreamReaderSubpath > --- PASS: TestPathStreamReaderSubpath (1.01s) > === RUN TestPathStreamReaderPassesPathFilters > --- PASS: TestPathStreamReaderPassesPathFilters (1.01s) > === RUN TestPathStreamReaderDelimiters > --- PASS: TestPathStreamReaderDelimiters (1.02s) > === RUN TestPathStreamReaderCloseUnblocks > --- PASS: TestPathStreamReaderCloseUnblocks (0.05s) > === RUN TestPathStreamReaderCommandFailure > --- PASS: TestPathStreamReaderCommandFailure (1.01s) > PASS > coverage: 35.2% of statements > ok github.com/numtide/treefmt/v2/walk 12.488s coverage: 35.2% of statements > github.com/numtide/treefmt/v2/walk/cache coverage: 0.0% of statements > FAIL For full logs, run: nix log /nix/store/c8d1rlg4vxn9x4kw0gc2y20pjyxvlpa4-treefmt-fa5233c.drv