this derivation will be built: /nix/store/zq84487pn6r6x24mkgv9n26kf2qqd572-treefmt-7c26ab7.drv building '/nix/store/zq84487pn6r6x24mkgv9n26kf2qqd572-treefmt-7c26ab7.drv' treefmt-7c26ab7> Running phase: unpackPhase treefmt-7c26ab7> unpacking source archive /nix/store/xn6hyw22r8lrkk696dz6zxkkcyjqhpgw-source treefmt-7c26ab7> source root is source treefmt-7c26ab7> Running phase: patchPhase treefmt-7c26ab7> Running phase: updateAutotoolsGnuConfigScriptsPhase treefmt-7c26ab7> Running phase: configurePhase treefmt-7c26ab7> Running phase: buildPhase treefmt-7c26ab7> github.com/numtide/treefmt/v2 coverage: 0.0% of statements treefmt-7c26ab7> ? github.com/numtide/treefmt/v2/build [no test files] treefmt-7c26ab7> === RUN TestOnUnmatched treefmt-7c26ab7> === RUN TestOnUnmatched/default treefmt-7c26ab7> root_test.go:79: treefmt -v treefmt-7c26ab7> === NAME TestOnUnmatched treefmt-7c26ab7> root_test.go:73: treefmt-7c26ab7> Error Trace: /build/source/cmd/root_test.go:73 treefmt-7c26ab7> /build/source/cmd/root_test.go:2892 treefmt-7c26ab7> /build/source/cmd/root_test.go:79 treefmt-7c26ab7> Error: Not equal: treefmt-7c26ab7> expected: []string{".gitignore", "go/go.mod", "haskell/haskell.cabal", "haskell-frontend/haskell-frontend.cabal", "html/scripts/.gitkeep", "python/requirements.txt"} treefmt-7c26ab7> actual : []string(nil) treefmt-7c26ab7> treefmt-7c26ab7> Diff: treefmt-7c26ab7> --- Expected treefmt-7c26ab7> +++ Actual treefmt-7c26ab7> @@ -1,9 +1,2 @@ treefmt-7c26ab7> -([]string) (len=6) { treefmt-7c26ab7> - (string) (len=10) ".gitignore", treefmt-7c26ab7> - (string) (len=9) "go/go.mod", treefmt-7c26ab7> - (string) (len=21) "haskell/haskell.cabal", treefmt-7c26ab7> - (string) (len=39) "haskell-frontend/haskell-frontend.cabal", treefmt-7c26ab7> - (string) (len=21) "html/scripts/.gitkeep", treefmt-7c26ab7> - (string) (len=23) "python/requirements.txt" treefmt-7c26ab7> -} treefmt-7c26ab7> +([]string) treefmt-7c26ab7> treefmt-7c26ab7> Test: TestOnUnmatched treefmt-7c26ab7> === NAME TestOnUnmatched/default treefmt-7c26ab7> testing.go:1913: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test treefmt-7c26ab7> --- FAIL: TestOnUnmatched (1.74s) treefmt-7c26ab7> --- FAIL: TestOnUnmatched/default (0.72s) treefmt-7c26ab7> === RUN TestQuiet treefmt-7c26ab7> root_test.go:149: treefmt -q treefmt-7c26ab7> root_test.go:149: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:149: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:150: treefmt --quiet treefmt-7c26ab7> root_test.go:150: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:150: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:153: treefmt treefmt-7c26ab7> root_test.go:153: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:153: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:158: treefmt treefmt-7c26ab7> root_test.go:158: treefmt-7c26ab7> Error: failed to create composite formatter: failed to initialise formatter foo-fmt: formatter command not found in PATH: error looking up 'foo-fmt' treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:158: treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestQuiet (1.66s) treefmt-7c26ab7> === RUN TestCpuProfile treefmt-7c26ab7> root_test.go:172: treefmt --cpu-profile cpu.pprof treefmt-7c26ab7> root_test.go:172: treefmt-7c26ab7> traversed 34 files treefmt-7c26ab7> emitted 22 files for processing treefmt-7c26ab7> formatted 22 files (4 changed) in 365ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:172: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:182: treefmt treefmt-7c26ab7> root_test.go:182: treefmt-7c26ab7> traversed 35 files treefmt-7c26ab7> emitted 22 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 32ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:182: treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestCpuProfile (1.42s) treefmt-7c26ab7> === RUN TestAllowMissingFormatter treefmt-7c26ab7> === RUN TestAllowMissingFormatter/default treefmt-7c26ab7> root_test.go:202: treefmt treefmt-7c26ab7> root_test.go:202: treefmt-7c26ab7> Error: failed to create composite formatter: failed to initialise formatter foo-fmt: formatter command not found in PATH: error looking up 'foo-fmt' treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:202: treefmt-7c26ab7> treefmt-7c26ab7> === RUN TestAllowMissingFormatter/arg treefmt-7c26ab7> root_test.go:210: treefmt --allow-missing-formatter treefmt-7c26ab7> root_test.go:210: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 0 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 23ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:210: treefmt-7c26ab7> treefmt-7c26ab7> === RUN TestAllowMissingFormatter/env treefmt-7c26ab7> root_test.go:224: treefmt treefmt-7c26ab7> root_test.go:224: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 0 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 23ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:224: treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestAllowMissingFormatter (1.11s) treefmt-7c26ab7> --- PASS: TestAllowMissingFormatter/default (0.05s) treefmt-7c26ab7> --- PASS: TestAllowMissingFormatter/arg (0.02s) treefmt-7c26ab7> --- PASS: TestAllowMissingFormatter/env (0.02s) treefmt-7c26ab7> === RUN TestSpecifyingFormatters treefmt-7c26ab7> === RUN TestSpecifyingFormatters/default treefmt-7c26ab7> root_test.go:257: treefmt treefmt-7c26ab7> root_test.go:257: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 3 files for processing treefmt-7c26ab7> formatted 3 files (3 changed) in 39ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:257: treefmt-7c26ab7> treefmt-7c26ab7> === RUN TestSpecifyingFormatters/args treefmt-7c26ab7> root_test.go:270: treefmt --formatters rust,nix treefmt-7c26ab7> root_test.go:270: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 2 files for processing treefmt-7c26ab7> formatted 2 files (2 changed) in 31ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:270: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:282: treefmt --formatters ruby,nix treefmt-7c26ab7> root_test.go:282: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 2 files for processing treefmt-7c26ab7> formatted 2 files (2 changed) in 35ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:282: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:294: treefmt --formatters nix treefmt-7c26ab7> root_test.go:294: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 1 files for processing treefmt-7c26ab7> formatted 1 files (1 changed) in 34ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:294: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:307: treefmt --formatters foo treefmt-7c26ab7> root_test.go:307: treefmt-7c26ab7> Error: failed to load config: formatter foo not found in config treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:307: treefmt-7c26ab7> treefmt-7c26ab7> === RUN TestSpecifyingFormatters/env treefmt-7c26ab7> root_test.go:318: treefmt treefmt-7c26ab7> root_test.go:318: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 2 files for processing treefmt-7c26ab7> formatted 2 files (2 changed) in 28ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:318: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:331: treefmt treefmt-7c26ab7> root_test.go:331: treefmt-7c26ab7> Error: failed to load config: formatter bar not found in config treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:331: treefmt-7c26ab7> treefmt-7c26ab7> === RUN TestSpecifyingFormatters/bad_names treefmt-7c26ab7> root_test.go:340: treefmt --formatters foo$ treefmt-7c26ab7> root_test.go:340: treefmt-7c26ab7> Error: failed to load config: formatter name "foo$" is invalid, must be of the form ^[a-zA-Z0-9_-]+$ treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:340: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:349: treefmt treefmt-7c26ab7> root_test.go:349: treefmt-7c26ab7> Error: failed to load config: formatter name "foo$" is invalid, must be of the form ^[a-zA-Z0-9_-]+$ treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:349: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:364: treefmt treefmt-7c26ab7> root_test.go:364: treefmt-7c26ab7> Error: failed to load config: formatter name "foo$" is invalid, must be of the form ^[a-zA-Z0-9_-]+$ treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:364: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:340: treefmt --formatters /bar treefmt-7c26ab7> root_test.go:340: treefmt-7c26ab7> Error: failed to load config: formatter name "/bar" is invalid, must be of the form ^[a-zA-Z0-9_-]+$ treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:340: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:349: treefmt treefmt-7c26ab7> root_test.go:349: treefmt-7c26ab7> Error: failed to load config: formatter name "/bar" is invalid, must be of the form ^[a-zA-Z0-9_-]+$ treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:349: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:364: treefmt treefmt-7c26ab7> root_test.go:364: treefmt-7c26ab7> Error: failed to load config: formatter name "/bar" is invalid, must be of the form ^[a-zA-Z0-9_-]+$ treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:364: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:340: treefmt --formatters baz% treefmt-7c26ab7> root_test.go:340: treefmt-7c26ab7> Error: failed to load config: formatter name "baz%" is invalid, must be of the form ^[a-zA-Z0-9_-]+$ treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:340: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:349: treefmt treefmt-7c26ab7> root_test.go:349: treefmt-7c26ab7> Error: failed to load config: formatter name "baz%" is invalid, must be of the form ^[a-zA-Z0-9_-]+$ treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:349: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:364: treefmt treefmt-7c26ab7> root_test.go:364: treefmt-7c26ab7> Error: failed to load config: formatter name "baz%" is invalid, must be of the form ^[a-zA-Z0-9_-]+$ treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:364: treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestSpecifyingFormatters (1.32s) treefmt-7c26ab7> --- PASS: TestSpecifyingFormatters/default (0.04s) treefmt-7c26ab7> --- PASS: TestSpecifyingFormatters/args (0.12s) treefmt-7c26ab7> --- PASS: TestSpecifyingFormatters/env (0.04s) treefmt-7c26ab7> --- PASS: TestSpecifyingFormatters/bad_names (0.11s) treefmt-7c26ab7> === RUN TestIncludesAndExcludes treefmt-7c26ab7> root_test.go:393: treefmt treefmt-7c26ab7> root_test.go:393: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (0 changed) in 75ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:393: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:407: treefmt -c treefmt-7c26ab7> root_test.go:407: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 32 files for processing treefmt-7c26ab7> formatted 32 files (0 changed) in 32ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:407: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:422: treefmt -c treefmt-7c26ab7> root_test.go:422: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 26 files for processing treefmt-7c26ab7> formatted 26 files (0 changed) in 31ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:422: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:439: treefmt -c treefmt-7c26ab7> root_test.go:439: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 24 files for processing treefmt-7c26ab7> formatted 24 files (0 changed) in 34ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:439: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:454: treefmt -c treefmt-7c26ab7> root_test.go:454: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 23 files for processing treefmt-7c26ab7> formatted 23 files (0 changed) in 31ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:454: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:471: treefmt -c treefmt-7c26ab7> root_test.go:471: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 1 files for processing treefmt-7c26ab7> formatted 1 files (0 changed) in 32ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:471: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:486: treefmt -c treefmt-7c26ab7> root_test.go:486: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 2 files for processing treefmt-7c26ab7> formatted 2 files (0 changed) in 34ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:486: treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestIncludesAndExcludes (1.29s) treefmt-7c26ab7> === RUN TestConfigFile treefmt-7c26ab7> === RUN TestConfigFile/treefmt.toml treefmt-7c26ab7> root_test.go:514: treefmt --config-file /build/TestConfigFiletreefmt.toml907182596/003/treefmt.toml treefmt-7c26ab7> root_test.go:514: treefmt-7c26ab7> traversed 1 files treefmt-7c26ab7> emitted 1 files for processing treefmt-7c26ab7> formatted 1 files (0 changed) in 27ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:514: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:533: treefmt --config-file /build/TestConfigFiletreefmt.toml907182596/003/treefmt.toml --tree-root /build/TestConfigFiletreefmt.toml907182596/001 treefmt-7c26ab7> root_test.go:533: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (0 changed) in 17ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:533: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:545: setting env TREEFMT_CONFIG=/build/TestConfigFiletreefmt.toml907182596/003/treefmt.toml treefmt-7c26ab7> root_test.go:545: setting env PRJ_ROOT=/build/TestConfigFiletreefmt.toml907182596/001 treefmt-7c26ab7> root_test.go:545: treefmt treefmt-7c26ab7> root_test.go:545: treefmt-7c26ab7> traversed 1 files treefmt-7c26ab7> emitted 1 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 21ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:545: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:561: setting env PRJ_ROOT=/build/TestConfigFiletreefmt.toml907182596/003 treefmt-7c26ab7> root_test.go:561: treefmt --tree-root /build/TestConfigFiletreefmt.toml907182596/001 treefmt-7c26ab7> root_test.go:561: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 15ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:561: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:579: setting env PRJ_ROOT=/build/TestConfigFiletreefmt.toml907182596/003/sub treefmt-7c26ab7> root_test.go:579: treefmt --tree-root /build/TestConfigFiletreefmt.toml907182596/001 treefmt-7c26ab7> root_test.go:579: treefmt-7c26ab7> Error: failed to find treefmt config file: could not find [treefmt.toml .treefmt.toml .config/treefmt.toml] in /build/TestConfigFiletreefmt.toml907182596/002 treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:579: treefmt-7c26ab7> treefmt-7c26ab7> === RUN TestConfigFile/.treefmt.toml treefmt-7c26ab7> root_test.go:514: treefmt --config-file /build/TestConfigFile.treefmt.toml3064741019/003/.treefmt.toml treefmt-7c26ab7> root_test.go:514: treefmt-7c26ab7> traversed 1 files treefmt-7c26ab7> emitted 1 files for processing treefmt-7c26ab7> formatted 1 files (0 changed) in 52ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:514: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:533: treefmt --config-file /build/TestConfigFile.treefmt.toml3064741019/003/.treefmt.toml --tree-root /build/TestConfigFile.treefmt.toml3064741019/001 treefmt-7c26ab7> root_test.go:533: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (0 changed) in 20ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:533: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:545: setting env TREEFMT_CONFIG=/build/TestConfigFile.treefmt.toml3064741019/003/.treefmt.toml treefmt-7c26ab7> root_test.go:545: setting env PRJ_ROOT=/build/TestConfigFile.treefmt.toml3064741019/001 treefmt-7c26ab7> root_test.go:545: treefmt treefmt-7c26ab7> root_test.go:545: treefmt-7c26ab7> traversed 1 files treefmt-7c26ab7> emitted 1 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 26ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:545: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:561: setting env PRJ_ROOT=/build/TestConfigFile.treefmt.toml3064741019/003 treefmt-7c26ab7> root_test.go:561: treefmt --tree-root /build/TestConfigFile.treefmt.toml3064741019/001 treefmt-7c26ab7> root_test.go:561: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 15ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:561: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:579: setting env PRJ_ROOT=/build/TestConfigFile.treefmt.toml3064741019/003/sub treefmt-7c26ab7> root_test.go:579: treefmt --tree-root /build/TestConfigFile.treefmt.toml3064741019/001 treefmt-7c26ab7> root_test.go:579: treefmt-7c26ab7> Error: failed to find treefmt config file: could not find [treefmt.toml .treefmt.toml .config/treefmt.toml] in /build/TestConfigFile.treefmt.toml3064741019/002 treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:579: treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestConfigFile (2.23s) treefmt-7c26ab7> --- PASS: TestConfigFile/treefmt.toml (1.10s) treefmt-7c26ab7> --- PASS: TestConfigFile/.treefmt.toml (1.13s) treefmt-7c26ab7> === RUN TestDotConfigDir treefmt-7c26ab7> === RUN TestDotConfigDir/basic treefmt-7c26ab7> root_test.go:607: treefmt treefmt-7c26ab7> root_test.go:607: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (0 changed) in 37ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:607: treefmt-7c26ab7> treefmt-7c26ab7> === RUN TestDotConfigDir/project_root_ending_in_.config treefmt-7c26ab7> root_test.go:644: treefmt treefmt-7c26ab7> root_test.go:644: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (0 changed) in 28ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:644: treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestDotConfigDir (2.09s) treefmt-7c26ab7> --- PASS: TestDotConfigDir/basic (1.05s) treefmt-7c26ab7> --- PASS: TestDotConfigDir/project_root_ending_in_.config (1.04s) treefmt-7c26ab7> === RUN TestCache treefmt-7c26ab7> root_test.go:684: treefmt treefmt-7c26ab7> root_test.go:684: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (33 changed) in 37ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:684: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:695: treefmt treefmt-7c26ab7> root_test.go:695: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 26ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:695: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:706: treefmt -c treefmt-7c26ab7> root_test.go:706: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (33 changed) in 30ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:706: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:718: treefmt treefmt-7c26ab7> root_test.go:718: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 25ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:718: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:729: treefmt treefmt-7c26ab7> root_test.go:729: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (33 changed) in 29ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:729: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:741: treefmt --no-cache treefmt-7c26ab7> root_test.go:741: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (33 changed) in 25ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:741: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:769: treefmt treefmt-7c26ab7> root_test.go:769: treefmt-7c26ab7> 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-7c26ab7> treefmt-7c26ab7> /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch: unrecognized option '--bad-arg' treefmt-7c26ab7> Try '/nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch --help' for more information. treefmt-7c26ab7> treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 6 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 25ms treefmt-7c26ab7> Error: failed to finalise formatting: formatting failures detected treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:769: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:782: treefmt treefmt-7c26ab7> root_test.go:782: treefmt-7c26ab7> 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-7c26ab7> treefmt-7c26ab7> /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch: unrecognized option '--bad-arg' treefmt-7c26ab7> Try '/nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch --help' for more information. treefmt-7c26ab7> treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 6 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 24ms treefmt-7c26ab7> Error: failed to finalise formatting: formatting failures detected treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:782: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:804: treefmt treefmt-7c26ab7> root_test.go:804: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 6 files for processing treefmt-7c26ab7> formatted 6 files (6 changed) in 25ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:804: treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestCache (1.26s) treefmt-7c26ab7> === RUN TestChangeWorkingDirectory treefmt-7c26ab7> === RUN TestChangeWorkingDirectory/default treefmt-7c26ab7> root_test.go:846: treefmt treefmt-7c26ab7> root_test.go:846: treefmt-7c26ab7> Error: failed to find treefmt config file: could not find [treefmt.toml .treefmt.toml .config/treefmt.toml] in /build/TestChangeWorkingDirectorydefault4010601475/002 treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:846: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:857: treefmt treefmt-7c26ab7> root_test.go:857: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (33 changed) in 37ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:857: treefmt-7c26ab7> treefmt-7c26ab7> === RUN TestChangeWorkingDirectory/arg treefmt-7c26ab7> === RUN TestChangeWorkingDirectory/arg/treefmt.toml treefmt-7c26ab7> root_test.go:893: treefmt -C /build/TestChangeWorkingDirectoryargtreefmt.toml2166062096/001 treefmt-7c26ab7> root_test.go:893: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (33 changed) in 38ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:893: treefmt-7c26ab7> treefmt-7c26ab7> === RUN TestChangeWorkingDirectory/arg/.treefmt.toml treefmt-7c26ab7> root_test.go:893: treefmt -C /build/TestChangeWorkingDirectoryarg.treefmt.toml373484580/001 treefmt-7c26ab7> root_test.go:893: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (33 changed) in 34ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:893: treefmt-7c26ab7> treefmt-7c26ab7> === RUN TestChangeWorkingDirectory/env treefmt-7c26ab7> === RUN TestChangeWorkingDirectory/env/treefmt.toml treefmt-7c26ab7> root_test.go:893: treefmt treefmt-7c26ab7> root_test.go:893: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (33 changed) in 39ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:893: treefmt-7c26ab7> treefmt-7c26ab7> === RUN TestChangeWorkingDirectory/env/.treefmt.toml treefmt-7c26ab7> root_test.go:893: treefmt treefmt-7c26ab7> root_test.go:893: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (33 changed) in 53ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:893: treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestChangeWorkingDirectory (5.26s) treefmt-7c26ab7> --- PASS: TestChangeWorkingDirectory/default (1.05s) treefmt-7c26ab7> --- PASS: TestChangeWorkingDirectory/arg (2.09s) treefmt-7c26ab7> --- PASS: TestChangeWorkingDirectory/arg/treefmt.toml (1.05s) treefmt-7c26ab7> --- PASS: TestChangeWorkingDirectory/arg/.treefmt.toml (1.04s) treefmt-7c26ab7> --- PASS: TestChangeWorkingDirectory/env (2.11s) treefmt-7c26ab7> --- PASS: TestChangeWorkingDirectory/env/treefmt.toml (1.05s) treefmt-7c26ab7> --- PASS: TestChangeWorkingDirectory/env/.treefmt.toml (1.06s) treefmt-7c26ab7> === RUN TestFailOnChange treefmt-7c26ab7> === RUN TestFailOnChange/change_size treefmt-7c26ab7> root_test.go:941: treefmt --fail-on-change treefmt-7c26ab7> root_test.go:941: treefmt-7c26ab7> ERROR file has changed path=rust/Cargo.toml prev_size=233 prev_mod_time="2026-10-08 20:31:10 +0000 UTC" current_size=239 current_mod_time="2026-10-08 20:31:11 +0000 UTC" treefmt-7c26ab7> ERROR file has changed path=rust/src/main.rs prev_size=45 prev_mod_time="2026-10-08 20:31:10 +0000 UTC" current_size=51 current_mod_time="2026-10-08 20:31:11 +0000 UTC" treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 2 files for processing treefmt-7c26ab7> formatted 2 files (2 changed) in 41ms treefmt-7c26ab7> Error: unexpected changes detected, --fail-on-change is enabled treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:941: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:957: treefmt --fail-on-change treefmt-7c26ab7> root_test.go:957: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 2 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 24ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:957: treefmt-7c26ab7> treefmt-7c26ab7> === RUN TestFailOnChange/change_modtime treefmt-7c26ab7> root_test.go:985: treefmt --fail-on-change treefmt-7c26ab7> root_test.go:985: treefmt-7c26ab7> ERROR file has changed path=haskell/CHANGELOG.md prev_size=112 prev_mod_time="2026-10-08 20:31:11 +0000 UTC" current_size=112 current_mod_time="2026-10-08 20:31:13 +0000 UTC" treefmt-7c26ab7> ERROR file has changed path=haskell/Foo.hs prev_size=62 prev_mod_time="2026-10-08 20:31:11 +0000 UTC" current_size=62 current_mod_time="2026-10-08 20:31:13 +0000 UTC" treefmt-7c26ab7> ERROR file has changed path=haskell/Main.hs prev_size=65 prev_mod_time="2026-10-08 20:31:11 +0000 UTC" current_size=65 current_mod_time="2026-10-08 20:31:13 +0000 UTC" treefmt-7c26ab7> ERROR file has changed path=haskell/Nested/Foo.hs prev_size=69 prev_mod_time="2026-10-08 20:31:11 +0000 UTC" current_size=69 current_mod_time="2026-10-08 20:31:13 +0000 UTC" treefmt-7c26ab7> ERROR file has changed path=haskell/Setup.hs prev_size=47 prev_mod_time="2026-10-08 20:31:11 +0000 UTC" current_size=47 current_mod_time="2026-10-08 20:31:13 +0000 UTC" treefmt-7c26ab7> ERROR file has changed path=haskell/haskell.cabal prev_size=688 prev_mod_time="2026-10-08 20:31:11 +0000 UTC" current_size=688 current_mod_time="2026-10-08 20:31:13 +0000 UTC" treefmt-7c26ab7> ERROR file has changed path=haskell/treefmt.toml prev_size=238 prev_mod_time="2026-10-08 20:31:11 +0000 UTC" current_size=238 current_mod_time="2026-10-08 20:31:13 +0000 UTC" treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 7 files for processing treefmt-7c26ab7> formatted 7 files (7 changed) in 56ms treefmt-7c26ab7> Error: unexpected changes detected, --fail-on-change is enabled treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:985: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1018: treefmt --fail-on-change treefmt-7c26ab7> root_test.go:1018: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 7 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 34ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1018: treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestFailOnChange (2.18s) treefmt-7c26ab7> --- PASS: TestFailOnChange/change_size (1.08s) treefmt-7c26ab7> --- PASS: TestFailOnChange/change_modtime (1.10s) treefmt-7c26ab7> === RUN TestCacheBusting treefmt-7c26ab7> === RUN TestCacheBusting/formatter_change_config treefmt-7c26ab7> root_test.go:1056: treefmt treefmt-7c26ab7> root_test.go:1056: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 8 files for processing treefmt-7c26ab7> formatted 8 files (6 changed) in 37ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1056: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1070: treefmt treefmt-7c26ab7> root_test.go:1070: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 8 files for processing treefmt-7c26ab7> formatted 6 files (6 changed) in 32ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1070: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1081: treefmt treefmt-7c26ab7> root_test.go:1081: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 8 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 31ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1081: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1095: treefmt treefmt-7c26ab7> root_test.go:1095: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 8 files for processing treefmt-7c26ab7> formatted 6 files (0 changed) in 32ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1095: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1106: treefmt treefmt-7c26ab7> root_test.go:1106: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 8 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 25ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1106: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1121: treefmt treefmt-7c26ab7> root_test.go:1121: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 6 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 26ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1121: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1136: treefmt treefmt-7c26ab7> root_test.go:1136: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 5 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 24ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1136: treefmt-7c26ab7> treefmt-7c26ab7> === RUN TestCacheBusting/formatter_change_binary treefmt-7c26ab7> root_test.go:1183: treefmt treefmt-7c26ab7> root_test.go:1183: treefmt-7c26ab7> traversed 34 files treefmt-7c26ab7> emitted 3 files for processing treefmt-7c26ab7> formatted 3 files (1 changed) in 31ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1183: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1198: treefmt treefmt-7c26ab7> root_test.go:1198: treefmt-7c26ab7> traversed 34 files treefmt-7c26ab7> emitted 3 files for processing treefmt-7c26ab7> formatted 1 files (1 changed) in 31ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1198: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1209: treefmt treefmt-7c26ab7> root_test.go:1209: treefmt-7c26ab7> traversed 34 files treefmt-7c26ab7> emitted 3 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 25ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1209: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1229: treefmt treefmt-7c26ab7> root_test.go:1229: treefmt-7c26ab7> traversed 34 files treefmt-7c26ab7> emitted 3 files for processing treefmt-7c26ab7> formatted 1 files (1 changed) in 27ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1229: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1240: treefmt treefmt-7c26ab7> root_test.go:1240: treefmt-7c26ab7> traversed 34 files treefmt-7c26ab7> emitted 3 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 25ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1240: treefmt-7c26ab7> treefmt-7c26ab7> === RUN TestCacheBusting/formatter_add_remove treefmt-7c26ab7> root_test.go:1269: treefmt treefmt-7c26ab7> root_test.go:1269: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 2 files for processing treefmt-7c26ab7> formatted 2 files (2 changed) in 30ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1269: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1281: treefmt treefmt-7c26ab7> root_test.go:1281: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 2 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 25ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1281: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1300: treefmt treefmt-7c26ab7> root_test.go:1300: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 3 files for processing treefmt-7c26ab7> formatted 1 files (1 changed) in 27ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1300: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1319: treefmt treefmt-7c26ab7> root_test.go:1319: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 3 files for processing treefmt-7c26ab7> formatted 2 files (2 changed) in 27ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1319: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1331: treefmt treefmt-7c26ab7> root_test.go:1331: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 3 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 25ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1331: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1347: treefmt treefmt-7c26ab7> root_test.go:1347: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 3 files for processing treefmt-7c26ab7> formatted 2 files (2 changed) in 28ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1347: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1359: treefmt treefmt-7c26ab7> root_test.go:1359: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 3 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 28ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1359: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1374: treefmt treefmt-7c26ab7> root_test.go:1374: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 3 files for processing treefmt-7c26ab7> formatted 2 files (2 changed) in 26ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1374: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1386: treefmt treefmt-7c26ab7> root_test.go:1386: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 3 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 23ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1386: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1402: treefmt treefmt-7c26ab7> root_test.go:1402: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 2 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 28ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1402: treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestCacheBusting (3.67s) treefmt-7c26ab7> --- PASS: TestCacheBusting/formatter_change_config (1.23s) treefmt-7c26ab7> --- PASS: TestCacheBusting/formatter_change_binary (1.15s) treefmt-7c26ab7> --- PASS: TestCacheBusting/formatter_add_remove (1.29s) treefmt-7c26ab7> === RUN TestGit treefmt-7c26ab7> root_test.go:1441: treefmt treefmt-7c26ab7> root_test.go:1441: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (0 changed) in 82ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1441: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1456: treefmt treefmt-7c26ab7> root_test.go:1456: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 16ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1456: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1474: treefmt treefmt-7c26ab7> root_test.go:1474: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 14ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1474: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1489: treefmt treefmt-7c26ab7> root_test.go:1489: treefmt-7c26ab7> WARN walk | git: Path /build/TestGit1035869675/001/python/main.py was emitted by git but no file exists at that path treefmt-7c26ab7> WARN walk | git: Path /build/TestGit1035869675/001/python/requirements.txt was emitted by git but no file exists at that path treefmt-7c26ab7> WARN walk | git: Path /build/TestGit1035869675/001/python/virtualenv_proxy.py was emitted by git but no file exists at that path treefmt-7c26ab7> traversed 30 files treefmt-7c26ab7> emitted 30 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 13ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1489: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1506: treefmt --walk filesystem treefmt-7c26ab7> root_test.go:1506: treefmt-7c26ab7> traversed 82 files treefmt-7c26ab7> emitted 82 files for processing treefmt-7c26ab7> formatted 53 files (0 changed) in 12ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1506: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1521: treefmt go treefmt-7c26ab7> root_test.go:1521: treefmt-7c26ab7> traversed 2 files treefmt-7c26ab7> emitted 2 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 8ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1521: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1533: treefmt go haskell treefmt-7c26ab7> root_test.go:1533: treefmt-7c26ab7> traversed 9 files treefmt-7c26ab7> emitted 9 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 8ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1533: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1545: treefmt -C /build/TestGit1035869675/001 go haskell ruby treefmt-7c26ab7> root_test.go:1545: treefmt-7c26ab7> traversed 10 files treefmt-7c26ab7> emitted 10 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 9ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1545: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1558: treefmt -C /build/TestGit1035869675/001 haskell foo treefmt-7c26ab7> root_test.go:1558: treefmt-7c26ab7> Error: failed to create walker: path /build/TestGit1035869675/001/foo not found: lstat /build/TestGit1035869675/001/foo: no such file or directory treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1558: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1570: treefmt haskell foo.txt -vv treefmt-7c26ab7> root_test.go:1570: treefmt-7c26ab7> INFO config: no tree root specified treefmt-7c26ab7> INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> DEBUG tree-root-cmd | stdout: /build/TestGit1035869675/001 treefmt-7c26ab7> treefmt-7c26ab7> INFO config: tree root: /build/TestGit1035869675/001 treefmt-7c26ab7> DEBUG Resolving path '/build/TestGit1035869675/001' treefmt-7c26ab7> DEBUG Resolving path 'haskell' treefmt-7c26ab7> DEBUG Resolving path 'haskell' treefmt-7c26ab7> DEBUG Resolving path 'foo.txt' treefmt-7c26ab7> DEBUG Resolving path 'foo.txt' treefmt-7c26ab7> DEBUG walk | git: processing file: /build/TestGit1035869675/001/foo.txt treefmt-7c26ab7> DEBUG walk | git: processing file: /build/TestGit1035869675/001/haskell/CHANGELOG.md treefmt-7c26ab7> DEBUG walk | git: processing file: /build/TestGit1035869675/001/haskell/Foo.hs treefmt-7c26ab7> DEBUG walk | git: processing file: /build/TestGit1035869675/001/haskell/Main.hs treefmt-7c26ab7> DEBUG walk | git: processing file: /build/TestGit1035869675/001/haskell/Nested/Foo.hs treefmt-7c26ab7> DEBUG walk | git: processing file: /build/TestGit1035869675/001/haskell/Setup.hs treefmt-7c26ab7> DEBUG walk | git: processing file: /build/TestGit1035869675/001/haskell/haskell.cabal treefmt-7c26ab7> DEBUG walk | git: processing file: /build/TestGit1035869675/001/haskell/treefmt.toml treefmt-7c26ab7> DEBUG walk | cache: read 8 files from delegate treefmt-7c26ab7> DEBUG read 8 files treefmt-7c26ab7> DEBUG formatter | echo: match: /build/TestGit1035869675/001/foo.txt treefmt-7c26ab7> DEBUG formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f treefmt-7c26ab7> DEBUG formatter | echo: match: /build/TestGit1035869675/001/haskell/CHANGELOG.md treefmt-7c26ab7> DEBUG formatter | echo: match: /build/TestGit1035869675/001/haskell/Foo.hs treefmt-7c26ab7> DEBUG formatter | echo: match: /build/TestGit1035869675/001/haskell/Main.hs treefmt-7c26ab7> DEBUG formatter | echo: match: /build/TestGit1035869675/001/haskell/Nested/Foo.hs treefmt-7c26ab7> DEBUG formatter | echo: match: /build/TestGit1035869675/001/haskell/Setup.hs treefmt-7c26ab7> DEBUG formatter | echo: match: /build/TestGit1035869675/001/haskell/haskell.cabal treefmt-7c26ab7> DEBUG formatter | echo: match: /build/TestGit1035869675/001/haskell/treefmt.toml treefmt-7c26ab7> DEBUG formatter | echo: executing: /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/echo foo.txt treefmt-7c26ab7> INFO formatter | echo: 1 file(s) processed in 1.474075ms treefmt-7c26ab7> traversed 8 files treefmt-7c26ab7> emitted 8 files for processing treefmt-7c26ab7> formatted 1 files (0 changed) in 15ms treefmt-7c26ab7> DEBUG no more files to read treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1570: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1582: treefmt go foo.txt treefmt-7c26ab7> root_test.go:1582: treefmt-7c26ab7> traversed 3 files treefmt-7c26ab7> emitted 3 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 8ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1582: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1594: treefmt foo.txt treefmt-7c26ab7> root_test.go:1594: treefmt-7c26ab7> traversed 1 files treefmt-7c26ab7> emitted 1 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 10ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1594: treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestGit (1.24s) treefmt-7c26ab7> === RUN TestJujutsu treefmt-7c26ab7> root_test.go:1638: treefmt treefmt-7c26ab7> root_test.go:1638: treefmt-7c26ab7> traversed 0 files treefmt-7c26ab7> emitted 0 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 73ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1638: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1654: treefmt treefmt-7c26ab7> root_test.go:1654: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (0 changed) in 108ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1654: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1677: treefmt treefmt-7c26ab7> root_test.go:1677: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 87ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1677: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1696: treefmt treefmt-7c26ab7> root_test.go:1696: treefmt-7c26ab7> traversed 30 files treefmt-7c26ab7> emitted 30 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 99ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1696: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1712: treefmt --walk filesystem treefmt-7c26ab7> root_test.go:1712: treefmt-7c26ab7> traversed 137 files treefmt-7c26ab7> emitted 137 files for processing treefmt-7c26ab7> formatted 108 files (0 changed) in 67ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1712: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1727: treefmt go treefmt-7c26ab7> root_test.go:1727: treefmt-7c26ab7> traversed 2 files treefmt-7c26ab7> emitted 2 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 120ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1727: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1739: treefmt go haskell treefmt-7c26ab7> root_test.go:1739: treefmt-7c26ab7> traversed 9 files treefmt-7c26ab7> emitted 9 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 127ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1739: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1751: treefmt -C /build/TestJujutsu2503295447/001 go haskell ruby treefmt-7c26ab7> root_test.go:1751: treefmt-7c26ab7> traversed 10 files treefmt-7c26ab7> emitted 10 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 99ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1751: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1764: treefmt -C /build/TestJujutsu2503295447/001 haskell foo treefmt-7c26ab7> root_test.go:1764: treefmt-7c26ab7> Error: failed to create walker: path /build/TestJujutsu2503295447/001/foo not found: lstat /build/TestJujutsu2503295447/001/foo: no such file or directory treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1764: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1780: treefmt haskell foo.txt -vv treefmt-7c26ab7> root_test.go:1780: treefmt-7c26ab7> INFO config: no tree root specified treefmt-7c26ab7> INFO config: attempting to resolve tree root using jujutsu: jj workspace root treefmt-7c26ab7> DEBUG tree-root-cmd | stdout: /build/TestJujutsu2503295447/001 treefmt-7c26ab7> treefmt-7c26ab7> INFO config: tree root: /build/TestJujutsu2503295447/001 treefmt-7c26ab7> DEBUG Resolving path '/build/TestJujutsu2503295447/001' treefmt-7c26ab7> DEBUG Resolving path 'haskell' treefmt-7c26ab7> DEBUG Resolving path 'haskell' treefmt-7c26ab7> DEBUG Resolving path 'foo.txt' treefmt-7c26ab7> DEBUG Resolving path 'foo.txt' treefmt-7c26ab7> DEBUG walk | jujutsu: processing file: /build/TestJujutsu2503295447/001/foo.txt treefmt-7c26ab7> DEBUG walk | jujutsu: processing file: /build/TestJujutsu2503295447/001/haskell/CHANGELOG.md treefmt-7c26ab7> DEBUG walk | jujutsu: processing file: /build/TestJujutsu2503295447/001/haskell/Foo.hs treefmt-7c26ab7> DEBUG walk | jujutsu: processing file: /build/TestJujutsu2503295447/001/haskell/Main.hs treefmt-7c26ab7> DEBUG walk | jujutsu: processing file: /build/TestJujutsu2503295447/001/haskell/Nested/Foo.hs treefmt-7c26ab7> DEBUG walk | jujutsu: processing file: /build/TestJujutsu2503295447/001/haskell/Setup.hs treefmt-7c26ab7> DEBUG walk | jujutsu: processing file: /build/TestJujutsu2503295447/001/haskell/haskell.cabal treefmt-7c26ab7> DEBUG walk | jujutsu: processing file: /build/TestJujutsu2503295447/001/haskell/treefmt.toml treefmt-7c26ab7> DEBUG walk | cache: read 8 files from delegate treefmt-7c26ab7> DEBUG read 8 files treefmt-7c26ab7> DEBUG formatter | echo: match: /build/TestJujutsu2503295447/001/foo.txt treefmt-7c26ab7> DEBUG formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f treefmt-7c26ab7> DEBUG formatter | echo: match: /build/TestJujutsu2503295447/001/haskell/CHANGELOG.md treefmt-7c26ab7> DEBUG formatter | echo: match: /build/TestJujutsu2503295447/001/haskell/Foo.hs treefmt-7c26ab7> DEBUG formatter | echo: match: /build/TestJujutsu2503295447/001/haskell/Main.hs treefmt-7c26ab7> DEBUG formatter | echo: match: /build/TestJujutsu2503295447/001/haskell/Nested/Foo.hs treefmt-7c26ab7> DEBUG formatter | echo: match: /build/TestJujutsu2503295447/001/haskell/Setup.hs treefmt-7c26ab7> DEBUG formatter | echo: match: /build/TestJujutsu2503295447/001/haskell/haskell.cabal treefmt-7c26ab7> DEBUG formatter | echo: match: /build/TestJujutsu2503295447/001/haskell/treefmt.toml treefmt-7c26ab7> DEBUG formatter | echo: executing: /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/echo foo.txt treefmt-7c26ab7> INFO formatter | echo: 1 file(s) processed in 8.492049ms treefmt-7c26ab7> traversed 8 files treefmt-7c26ab7> emitted 8 files for processing treefmt-7c26ab7> formatted 1 files (0 changed) in 126ms treefmt-7c26ab7> DEBUG no more files to read treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1780: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1792: treefmt go foo.txt treefmt-7c26ab7> root_test.go:1792: treefmt-7c26ab7> traversed 3 files treefmt-7c26ab7> emitted 3 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 108ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1792: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1804: treefmt foo.txt treefmt-7c26ab7> root_test.go:1804: treefmt-7c26ab7> traversed 1 files treefmt-7c26ab7> emitted 1 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 99ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1804: treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestJujutsu (2.98s) treefmt-7c26ab7> === RUN TestTreeRootCmd treefmt-7c26ab7> root_test.go:1850: treefmt -vv --tree-root-cmd bash -c '>&2 echo -e "some error text treefmt-7c26ab7> some more error text" && echo /build/TestTreeRootCmd939355288/001' treefmt-7c26ab7> root_test.go:1845: treefmt-7c26ab7> Error Trace: /build/source/cmd/root_test.go:1845 treefmt-7c26ab7> /build/source/cmd/root_test.go:2892 treefmt-7c26ab7> /build/source/cmd/root_test.go:1850 treefmt-7c26ab7> 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/TestTreeRootCmd939355288/001'\nDEBUG tree-root-cmd | stderr: some error text\nDEBUG tree-root-cmd | stderr: some more error text\nDEBUG tree-root-cmd | stdout: /build/TestTreeRootCmd939355288/001\n\nINFO config: tree root: /build/TestTreeRootCmd939355288/001\nDEBUG Resolving path '/build/TestTreeRootCmd939355288/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/TestTreeRootCmd939355288/001/.gitignore\nDEBUG formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/emoji 🕰️/README.md\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/go/go.mod\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/go/main.go\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/haskell/CHANGELOG.md\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/haskell/Foo.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/haskell/Main.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/haskell/Nested/Foo.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/haskell/Setup.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/haskell/haskell.cabal\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/haskell/treefmt.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/haskell-frontend/CHANGELOG.md\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/haskell-frontend/Main.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/haskell-frontend/Setup.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/haskell-frontend/haskell-frontend.cabal\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/html/index.html\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/html/scripts/.gitkeep\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/javascript/source/hello.js\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/just/justfile\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/nix/sources.nix\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/nixpkgs.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/python/main.py\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/python/requirements.txt\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/python/virtualenv_proxy.py\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/ruby/bundler.rb\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/rust/Cargo.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/rust/src/main.rs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/shell/foo.sh\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/terraform/main.tf\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/terraform/two.tf\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/touch.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/001/treefmt.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd939355288/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 6.408304ms\ntraversed 33 files\nemitted 33 files for processing\nformatted 33 files (0 changed) in 77ms\nDEBUG no more files to read\n" does not contain "DEBU tree-root-cmd | stderr: some error text\n" treefmt-7c26ab7> Test: TestTreeRootCmd treefmt-7c26ab7> --- FAIL: TestTreeRootCmd (1.11s) treefmt-7c26ab7> === RUN TestTreeRootExclusivity treefmt-7c26ab7> root_test.go:1997: treefmt --tree-root bar --tree-root-cmd 'echo /foo/bar' treefmt-7c26ab7> root_test.go:1997: treefmt-7c26ab7> 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-7c26ab7> treefmt-7c26ab7> root_test.go:1997: treefmt-7c26ab7> Usage: treefmt-7c26ab7> treefmt [flags] treefmt-7c26ab7> treefmt-7c26ab7> Flags: treefmt-7c26ab7> --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER) treefmt-7c26ab7> --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-7c26ab7> -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE) treefmt-7c26ab7> --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell. treefmt-7c26ab7> --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml). treefmt-7c26ab7> --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE) treefmt-7c26ab7> --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES) treefmt-7c26ab7> --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE) treefmt-7c26ab7> -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS) treefmt-7c26ab7> -h, --help help for treefmt treefmt-7c26ab7> -i, --init Create a treefmt.toml file in the current directory. treefmt-7c26ab7> --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE) treefmt-7c26ab7> -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-7c26ab7> -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET) treefmt-7c26ab7> --stdin Format the context passed in via stdin. treefmt-7c26ab7> --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-7c26ab7> --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-7c26ab7> --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE) treefmt-7c26ab7> -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE) treefmt-7c26ab7> --version version for treefmt treefmt-7c26ab7> --walk string The method used to traverse the files within the tree root. Currently supports . (env $TREEFMT_WALK) (default "auto") treefmt-7c26ab7> -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-7c26ab7> treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2010: setting env TREEFMT_TREE_ROOT=bar treefmt-7c26ab7> root_test.go:2010: setting env TREEFMT_TREE_ROOT_CMD=echo /foo/bar treefmt-7c26ab7> root_test.go:2010: treefmt treefmt-7c26ab7> root_test.go:2010: treefmt-7c26ab7> 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-7c26ab7> treefmt-7c26ab7> root_test.go:2010: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2025: treefmt treefmt-7c26ab7> root_test.go:2025: treefmt-7c26ab7> 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-7c26ab7> treefmt-7c26ab7> root_test.go:2025: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1997: treefmt --tree-root bar --tree-root-file .git/config treefmt-7c26ab7> root_test.go:1997: treefmt-7c26ab7> 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-7c26ab7> treefmt-7c26ab7> root_test.go:1997: treefmt-7c26ab7> Usage: treefmt-7c26ab7> treefmt [flags] treefmt-7c26ab7> treefmt-7c26ab7> Flags: treefmt-7c26ab7> --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER) treefmt-7c26ab7> --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-7c26ab7> -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE) treefmt-7c26ab7> --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell. treefmt-7c26ab7> --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml). treefmt-7c26ab7> --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE) treefmt-7c26ab7> --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES) treefmt-7c26ab7> --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE) treefmt-7c26ab7> -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS) treefmt-7c26ab7> -h, --help help for treefmt treefmt-7c26ab7> -i, --init Create a treefmt.toml file in the current directory. treefmt-7c26ab7> --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE) treefmt-7c26ab7> -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-7c26ab7> -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET) treefmt-7c26ab7> --stdin Format the context passed in via stdin. treefmt-7c26ab7> --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-7c26ab7> --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-7c26ab7> --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE) treefmt-7c26ab7> -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE) treefmt-7c26ab7> --version version for treefmt treefmt-7c26ab7> --walk string The method used to traverse the files within the tree root. Currently supports . (env $TREEFMT_WALK) (default "auto") treefmt-7c26ab7> -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-7c26ab7> treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2010: setting env TREEFMT_TREE_ROOT=bar treefmt-7c26ab7> root_test.go:2010: setting env TREEFMT_TREE_ROOT_FILE=.git/config treefmt-7c26ab7> root_test.go:2010: treefmt treefmt-7c26ab7> root_test.go:2010: treefmt-7c26ab7> 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-7c26ab7> treefmt-7c26ab7> root_test.go:2010: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2025: treefmt treefmt-7c26ab7> root_test.go:2025: treefmt-7c26ab7> 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-7c26ab7> treefmt-7c26ab7> root_test.go:2025: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1997: treefmt --tree-root-cmd 'echo /foo/bar' --tree-root-file .git/config treefmt-7c26ab7> root_test.go:1997: treefmt-7c26ab7> 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-7c26ab7> treefmt-7c26ab7> root_test.go:1997: treefmt-7c26ab7> Usage: treefmt-7c26ab7> treefmt [flags] treefmt-7c26ab7> treefmt-7c26ab7> Flags: treefmt-7c26ab7> --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER) treefmt-7c26ab7> --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-7c26ab7> -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE) treefmt-7c26ab7> --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell. treefmt-7c26ab7> --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml). treefmt-7c26ab7> --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE) treefmt-7c26ab7> --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES) treefmt-7c26ab7> --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE) treefmt-7c26ab7> -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS) treefmt-7c26ab7> -h, --help help for treefmt treefmt-7c26ab7> -i, --init Create a treefmt.toml file in the current directory. treefmt-7c26ab7> --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE) treefmt-7c26ab7> -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-7c26ab7> -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET) treefmt-7c26ab7> --stdin Format the context passed in via stdin. treefmt-7c26ab7> --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-7c26ab7> --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-7c26ab7> --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE) treefmt-7c26ab7> -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE) treefmt-7c26ab7> --version version for treefmt treefmt-7c26ab7> --walk string The method used to traverse the files within the tree root. Currently supports . (env $TREEFMT_WALK) (default "auto") treefmt-7c26ab7> -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-7c26ab7> treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2010: setting env TREEFMT_TREE_ROOT_FILE=.git/config treefmt-7c26ab7> root_test.go:2010: setting env TREEFMT_TREE_ROOT_CMD=echo /foo/bar treefmt-7c26ab7> root_test.go:2010: treefmt treefmt-7c26ab7> root_test.go:2010: treefmt-7c26ab7> 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-7c26ab7> treefmt-7c26ab7> root_test.go:2010: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2025: treefmt treefmt-7c26ab7> root_test.go:2025: treefmt-7c26ab7> 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-7c26ab7> treefmt-7c26ab7> root_test.go:2025: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:1997: treefmt --tree-root bar --tree-root-cmd 'echo /foo/bar' --tree-root-file .git/config treefmt-7c26ab7> root_test.go:1997: treefmt-7c26ab7> 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-7c26ab7> treefmt-7c26ab7> root_test.go:1997: treefmt-7c26ab7> Usage: treefmt-7c26ab7> treefmt [flags] treefmt-7c26ab7> treefmt-7c26ab7> Flags: treefmt-7c26ab7> --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER) treefmt-7c26ab7> --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-7c26ab7> -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE) treefmt-7c26ab7> --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell. treefmt-7c26ab7> --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml). treefmt-7c26ab7> --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE) treefmt-7c26ab7> --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES) treefmt-7c26ab7> --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE) treefmt-7c26ab7> -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS) treefmt-7c26ab7> -h, --help help for treefmt treefmt-7c26ab7> -i, --init Create a treefmt.toml file in the current directory. treefmt-7c26ab7> --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE) treefmt-7c26ab7> -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-7c26ab7> -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET) treefmt-7c26ab7> --stdin Format the context passed in via stdin. treefmt-7c26ab7> --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-7c26ab7> --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-7c26ab7> --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE) treefmt-7c26ab7> -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE) treefmt-7c26ab7> --version version for treefmt treefmt-7c26ab7> --walk string The method used to traverse the files within the tree root. Currently supports . (env $TREEFMT_WALK) (default "auto") treefmt-7c26ab7> -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-7c26ab7> treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2010: setting env TREEFMT_TREE_ROOT=bar treefmt-7c26ab7> root_test.go:2010: setting env TREEFMT_TREE_ROOT_CMD=echo /foo/bar treefmt-7c26ab7> root_test.go:2010: setting env TREEFMT_TREE_ROOT_FILE=.git/config treefmt-7c26ab7> root_test.go:2010: treefmt treefmt-7c26ab7> root_test.go:2010: treefmt-7c26ab7> 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-7c26ab7> treefmt-7c26ab7> root_test.go:2010: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2025: treefmt treefmt-7c26ab7> root_test.go:2025: treefmt-7c26ab7> 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-7c26ab7> treefmt-7c26ab7> root_test.go:2025: treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestTreeRootExclusivity (1.14s) treefmt-7c26ab7> === RUN TestPathsArg treefmt-7c26ab7> root_test.go:2075: treefmt treefmt-7c26ab7> root_test.go:2075: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (0 changed) in 108ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2075: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2086: treefmt rust/src/main.rs haskell/Nested/Foo.hs treefmt-7c26ab7> root_test.go:2086: treefmt-7c26ab7> traversed 2 files treefmt-7c26ab7> emitted 2 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 73ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2086: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2101: treefmt /build/TestPathsArg3302999373/001/tree-root/rust/src/main.rs treefmt-7c26ab7> root_test.go:2101: treefmt-7c26ab7> traversed 1 files treefmt-7c26ab7> emitted 1 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 61ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2101: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2113: treefmt rust/src/main.rs haskell/Nested/Bar.hs treefmt-7c26ab7> root_test.go:2113: treefmt-7c26ab7> Error: failed to create walker: path /build/TestPathsArg3302999373/001/tree-root/haskell/Nested/Bar.hs not found: lstat /build/TestPathsArg3302999373/001/tree-root/haskell/Nested/Bar.hs: no such file or directory treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2113: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2125: treefmt /build/TestPathsArg3302999373/001/outside_tree.go treefmt-7c26ab7> root_test.go:2125: treefmt-7c26ab7> Error: failed to create walker: path /build/TestPathsArg3302999373/001/outside_tree.go not inside the tree root /build/TestPathsArg3302999373/001/tree-root (relative path: ../outside_tree.go) treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2125: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2136: treefmt ../outside_tree.go treefmt-7c26ab7> root_test.go:2136: treefmt-7c26ab7> Error: failed to create walker: path ../outside_tree.go not inside the tree root /build/TestPathsArg3302999373/001/tree-root (relative path: ../outside_tree.go) treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2136: treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestPathsArg (1.41s) treefmt-7c26ab7> === RUN TestStdin treefmt-7c26ab7> root_test.go:2165: treefmt --stdin treefmt-7c26ab7> root_test.go:2165: treefmt-7c26ab7> Error: exactly one path should be specified when using the --stdin flag treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2165: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2178: treefmt --stdin test.nix treefmt-7c26ab7> root_test.go:2178: treefmt-7c26ab7> traversed 1 files treefmt-7c26ab7> emitted 1 files for processing treefmt-7c26ab7> formatted 1 files (1 changed) in 654ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2178: treefmt-7c26ab7> { ...}: "hello" treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2198: treefmt --stdin ../test.nix treefmt-7c26ab7> root_test.go:2198: treefmt-7c26ab7> Error: failed to create walker: path ../test.nix not inside the tree root /build/TestStdin1635999705/001 treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2198: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2211: treefmt --stdin foo/../../test.nix treefmt-7c26ab7> root_test.go:2211: treefmt-7c26ab7> Error: failed to create walker: path foo/../../test.nix not inside the tree root /build/TestStdin1635999705/001 treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2211: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2223: treefmt --stdin ..lotsadots.nix treefmt-7c26ab7> root_test.go:2223: treefmt-7c26ab7> traversed 1 files treefmt-7c26ab7> emitted 1 files for processing treefmt-7c26ab7> formatted 1 files (1 changed) in 353ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2223: treefmt-7c26ab7> { ...}: "hello" treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2247: treefmt --stdin test.md treefmt-7c26ab7> root_test.go:2247: treefmt-7c26ab7> traversed 1 files treefmt-7c26ab7> emitted 1 files for processing treefmt-7c26ab7> formatted 1 files (1 changed) in 475ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2247: treefmt-7c26ab7> | col1 | col2 | treefmt-7c26ab7> | ------ | --------- | treefmt-7c26ab7> | nice | fits | treefmt-7c26ab7> | oh no! | it's ugly | treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2274: treefmt --stdin foo/justfile treefmt-7c26ab7> root_test.go:2274: treefmt-7c26ab7> traversed 1 files treefmt-7c26ab7> emitted 1 files for processing treefmt-7c26ab7> formatted 1 files (1 changed) in 123ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2274: treefmt-7c26ab7> # print this message treefmt-7c26ab7> help: treefmt-7c26ab7> just --list --list-submodules --unsorted treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2299: treefmt -vvv --stdin path/to/foo.embed-path treefmt-7c26ab7> root_test.go:2299: treefmt-7c26ab7> INFO config: no tree root specified treefmt-7c26ab7> INFO config: setting tree root to the directory containing the config file: /build/TestStdin1635999705/001/treefmt.toml treefmt-7c26ab7> INFO config: tree root: /build/TestStdin1635999705/001 treefmt-7c26ab7> DEBUG formatter command not found: foo-fmt treefmt-7c26ab7> DEBUG Resolving path '/build/TestStdin1635999705/001' treefmt-7c26ab7> DEBUG Resolving path 'path/to/foo.embed-path' treefmt-7c26ab7> DEBUG Path '/build/TestStdin1635999705/001/path/to/foo.embed-path' does not exist, treating it as resolved treefmt-7c26ab7> DEBUG Resolving path 'path/to/foo.embed-path' treefmt-7c26ab7> DEBUG Path '/build/TestStdin1635999705/001/path/to/foo.embed-path' does not exist, treating it as resolved treefmt-7c26ab7> DEBUG read 1 files treefmt-7c26ab7> DEBUG formatter | embed-path: match: /build/TestStdin1635999705/001/path/to/foo.embed-path treefmt-7c26ab7> DEBUG formatters signature for key embed-path: 66e6789096713b16f0c8aedd98cdb1d4 treefmt-7c26ab7> 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-7c26ab7> INFO formatter | embed-path: 1 file(s) processed in 13.077339ms treefmt-7c26ab7> DEBUG file has changed path=path/to/foo.embed-path prev_size=52 prev_mod_time="2026-10-08 20:31:26 +0000 UTC" current_size=77 current_mod_time="2026-10-08 20:31:26 +0000 UTC" treefmt-7c26ab7> traversed 1 files treefmt-7c26ab7> emitted 1 files for processing treefmt-7c26ab7> formatted 1 files (1 changed) in 189ms treefmt-7c26ab7> DEBUG no more files to read treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2299: treefmt-7c26ab7> # path/to/foo.embed-path treefmt-7c26ab7> treefmt-7c26ab7> The formatter should add the path above this line. treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2330: treefmt --stdin ../foo/justfile treefmt-7c26ab7> root_test.go:2330: treefmt-7c26ab7> traversed 1 files treefmt-7c26ab7> emitted 1 files for processing treefmt-7c26ab7> formatted 1 files (1 changed) in 123ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2330: treefmt-7c26ab7> # print this message treefmt-7c26ab7> help: treefmt-7c26ab7> just --list --list-submodules --unsorted treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestStdin (3.02s) treefmt-7c26ab7> === RUN TestDeterministicOrderingInPipeline treefmt-7c26ab7> root_test.go:2380: treefmt treefmt-7c26ab7> root_test.go:2380: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 2 files for processing treefmt-7c26ab7> formatted 2 files (2 changed) in 109ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2380: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2418: treefmt --stdin treefmt.toml treefmt-7c26ab7> root_test.go:2418: treefmt-7c26ab7> traversed 1 files treefmt-7c26ab7> emitted 0 files for processing treefmt-7c26ab7> formatted 0 files (0 changed) in 131ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2418: treefmt-7c26ab7> treefmt-7c26ab7> foo = "bla" treefmt-7c26ab7> bar = [ "bla" ] treefmt-7c26ab7> adsfadf; treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestDeterministicOrderingInPipeline (1.27s) treefmt-7c26ab7> === RUN TestRunInSubdir treefmt-7c26ab7> === RUN TestRunInSubdir/auto treefmt-7c26ab7> root_test.go:2487: treefmt treefmt-7c26ab7> root_test.go:2487: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (0 changed) in 118ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2487: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2499: treefmt -c go/main.go haskell/Nested/Foo.hs treefmt-7c26ab7> root_test.go:2499: treefmt-7c26ab7> Error: failed to create walker: path /build/TestRunInSubdirauto744518021/001/go/go/main.go not found: lstat /build/TestRunInSubdirauto744518021/001/go/go/main.go: no such file or directory treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2499: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2507: treefmt -c main.go ../haskell/Nested/Foo.hs treefmt-7c26ab7> root_test.go:2507: treefmt-7c26ab7> traversed 2 files treefmt-7c26ab7> emitted 2 files for processing treefmt-7c26ab7> formatted 2 files (0 changed) in 111ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2507: treefmt-7c26ab7> treefmt-7c26ab7> === RUN TestRunInSubdir/stdin treefmt-7c26ab7> root_test.go:2487: treefmt treefmt-7c26ab7> root_test.go:2487: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (0 changed) in 120ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2487: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2499: treefmt -c go/main.go haskell/Nested/Foo.hs treefmt-7c26ab7> root_test.go:2499: treefmt-7c26ab7> Error: failed to create walker: path /build/TestRunInSubdirstdin285823041/001/go/go/main.go not found: lstat /build/TestRunInSubdirstdin285823041/001/go/go/main.go: no such file or directory treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2499: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2507: treefmt -c main.go ../haskell/Nested/Foo.hs treefmt-7c26ab7> root_test.go:2507: treefmt-7c26ab7> traversed 2 files treefmt-7c26ab7> emitted 2 files for processing treefmt-7c26ab7> formatted 2 files (0 changed) in 121ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2507: treefmt-7c26ab7> treefmt-7c26ab7> === RUN TestRunInSubdir/filesystem treefmt-7c26ab7> root_test.go:2487: treefmt treefmt-7c26ab7> root_test.go:2487: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (0 changed) in 130ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2487: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2499: treefmt -c go/main.go haskell/Nested/Foo.hs treefmt-7c26ab7> root_test.go:2499: treefmt-7c26ab7> Error: failed to create walker: path /build/TestRunInSubdirfilesystem600080816/001/go/go/main.go not found: lstat /build/TestRunInSubdirfilesystem600080816/001/go/go/main.go: no such file or directory treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2499: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2507: treefmt -c main.go ../haskell/Nested/Foo.hs treefmt-7c26ab7> root_test.go:2507: treefmt-7c26ab7> traversed 2 files treefmt-7c26ab7> emitted 2 files for processing treefmt-7c26ab7> formatted 2 files (0 changed) in 110ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2507: treefmt-7c26ab7> treefmt-7c26ab7> === RUN TestRunInSubdir/git treefmt-7c26ab7> root_test.go:2487: treefmt treefmt-7c26ab7> root_test.go:2487: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (0 changed) in 68ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2487: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2499: treefmt -c go/main.go haskell/Nested/Foo.hs treefmt-7c26ab7> root_test.go:2499: treefmt-7c26ab7> Error: failed to create walker: path /build/TestRunInSubdirgit3973561004/001/go/go/main.go not found: lstat /build/TestRunInSubdirgit3973561004/001/go/go/main.go: no such file or directory treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2499: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2507: treefmt -c main.go ../haskell/Nested/Foo.hs treefmt-7c26ab7> root_test.go:2507: treefmt-7c26ab7> traversed 2 files treefmt-7c26ab7> emitted 2 files for processing treefmt-7c26ab7> formatted 2 files (0 changed) in 50ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2507: treefmt-7c26ab7> treefmt-7c26ab7> === RUN TestRunInSubdir/jujutsu treefmt-7c26ab7> root_test.go:2487: treefmt treefmt-7c26ab7> root_test.go:2487: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (0 changed) in 124ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2487: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2499: treefmt -c go/main.go haskell/Nested/Foo.hs treefmt-7c26ab7> root_test.go:2499: treefmt-7c26ab7> Error: failed to create walker: path /build/TestRunInSubdirjujutsu3952967166/001/go/go/main.go not found: lstat /build/TestRunInSubdirjujutsu3952967166/001/go/go/main.go: no such file or directory treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2499: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2507: treefmt -c main.go ../haskell/Nested/Foo.hs treefmt-7c26ab7> root_test.go:2507: treefmt-7c26ab7> traversed 2 files treefmt-7c26ab7> emitted 2 files for processing treefmt-7c26ab7> formatted 2 files (0 changed) in 119ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2507: treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestRunInSubdir (6.53s) treefmt-7c26ab7> --- PASS: TestRunInSubdir/auto (1.31s) treefmt-7c26ab7> --- PASS: TestRunInSubdir/stdin (1.32s) treefmt-7c26ab7> --- PASS: TestRunInSubdir/filesystem (1.32s) treefmt-7c26ab7> --- PASS: TestRunInSubdir/git (1.26s) treefmt-7c26ab7> --- PASS: TestRunInSubdir/jujutsu (1.32s) treefmt-7c26ab7> === RUN TestProjectRootIsSymlink treefmt-7c26ab7> root_test.go:2554: treefmt -c go/main.go treefmt-7c26ab7> root_test.go:2554: treefmt-7c26ab7> traversed 1 files treefmt-7c26ab7> emitted 1 files for processing treefmt-7c26ab7> formatted 1 files (0 changed) in 131ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2554: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2566: treefmt -c symlink-to-yaml-dir treefmt-7c26ab7> root_test.go:2566: treefmt-7c26ab7> traversed 1 files treefmt-7c26ab7> emitted 1 files for processing treefmt-7c26ab7> formatted 1 files (0 changed) in 114ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2566: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2578: treefmt -c . treefmt-7c26ab7> root_test.go:2578: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (0 changed) in 102ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2578: treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestProjectRootIsSymlink (1.37s) treefmt-7c26ab7> === RUN TestConcurrentInvocation treefmt-7c26ab7> root_test.go:2619: treefmt --formatters slow treefmt-7c26ab7> root_test.go:2630: treefmt --formatters echo treefmt-7c26ab7> root_test.go:2630: treefmt-7c26ab7> Error: failed to open cache: failed to open cache db at /build/.cache/treefmt/eval-cache/914fa85715b91ade49f1e276b5562281d7fa3e8d7dea9b4d2cb41137bee5751b.db: timeout treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2630: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2619: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (33 changed) in 2.131s treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2619: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2643: treefmt --formatters slow treefmt-7c26ab7> root_test.go:2654: treefmt -c --formatters echo treefmt-7c26ab7> root_test.go:2654: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (0 changed) in 114ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2654: treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2643: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 1 files (1 changed) in 2.132s treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2643: treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestConcurrentInvocation (5.29s) treefmt-7c26ab7> === RUN TestNoPositionalArgSupport treefmt-7c26ab7> root_test.go:2680: treefmt treefmt-7c26ab7> root_test.go:2680: treefmt-7c26ab7> traversed 33 files treefmt-7c26ab7> emitted 33 files for processing treefmt-7c26ab7> formatted 33 files (33 changed) in 471ms treefmt-7c26ab7> treefmt-7c26ab7> root_test.go:2680: treefmt-7c26ab7> treefmt-7c26ab7> --- PASS: TestNoPositionalArgSupport (1.50s) treefmt-7c26ab7> FAIL treefmt-7c26ab7> coverage: 67.6% of statements treefmt-7c26ab7> FAIL github.com/numtide/treefmt/v2/cmd 52.154s treefmt-7c26ab7> github.com/numtide/treefmt/v2/cmd/format coverage: 0.0% of statements treefmt-7c26ab7> github.com/numtide/treefmt/v2/cmd/init coverage: 0.0% of statements treefmt-7c26ab7> === RUN TestAllowMissingFormatter treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestAllowMissingFormatter2404439841/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestAllowMissingFormatter2404439841/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestAllowMissingFormatter2404439841/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestAllowMissingFormatter2404439841/001 treefmt-7c26ab7> --- PASS: TestAllowMissingFormatter (0.02s) treefmt-7c26ab7> === RUN TestCI treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestCI4052848205/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestCI4052848205/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestCI4052848205/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestCI4052848205/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestCI4052848205/001 treefmt-7c26ab7> --- PASS: TestCI (0.02s) treefmt-7c26ab7> === RUN TestClearCache treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestClearCache2281904769/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestClearCache2281904769/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestClearCache2281904769/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestClearCache2281904769/001 treefmt-7c26ab7> --- PASS: TestClearCache (0.02s) treefmt-7c26ab7> === RUN TestCpuProfile treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestCpuProfile2646587649/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestCpuProfile2646587649/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestCpuProfile2646587649/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestCpuProfile2646587649/001 treefmt-7c26ab7> --- PASS: TestCpuProfile (0.06s) treefmt-7c26ab7> === RUN TestExcludes treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestExcludes3579159250/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestExcludes3579159250/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestExcludes3579159250/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestExcludes3579159250/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestExcludes3579159250/001 treefmt-7c26ab7> --- PASS: TestExcludes (0.02s) treefmt-7c26ab7> === RUN TestFailOnChange treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestFailOnChange4031798800/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestFailOnChange4031798800/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestFailOnChange4031798800/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestFailOnChange4031798800/001 treefmt-7c26ab7> --- PASS: TestFailOnChange (0.02s) treefmt-7c26ab7> === RUN TestFormatters treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestFormatters3374020151/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestFormatters3374020151/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestFormatters3374020151/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestFormatters3374020151/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestFormatters3374020151/001 treefmt-7c26ab7> --- PASS: TestFormatters (0.02s) treefmt-7c26ab7> === RUN TestNoCache treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestNoCache1331306816/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestNoCache1331306816/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestNoCache1331306816/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestNoCache1331306816/001 treefmt-7c26ab7> --- PASS: TestNoCache (0.01s) treefmt-7c26ab7> === RUN TestQuiet treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestQuiet3377921461/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestQuiet3377921461/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestQuiet3377921461/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestQuiet3377921461/001 treefmt-7c26ab7> --- PASS: TestQuiet (0.01s) treefmt-7c26ab7> === RUN TestOnUnmatched treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestOnUnmatched2788764682/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestOnUnmatched2788764682/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestOnUnmatched2788764682/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestOnUnmatched2788764682/001 treefmt-7c26ab7> --- PASS: TestOnUnmatched (0.03s) treefmt-7c26ab7> === RUN TestTreeRoot treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestTreeRoot3032019479/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root specified explicitly: /foo/bar treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /foo/bar treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root specified explicitly: /fizz/buzz treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /fizz/buzz treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root specified explicitly: /flip/flop treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /flip/flop treefmt-7c26ab7> --- PASS: TestTreeRoot (0.01s) treefmt-7c26ab7> === RUN TestTreeRootFile treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestTreeRootFile1284028509/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: searching for tree root using tree-root-file: a.txt treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestTreeRootFile1284028509/002/foo/bar treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: searching for tree root using tree-root-file: go.mod treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestTreeRootFile1284028509/002/foo treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: searching for tree root using tree-root-file: .git/config treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestTreeRootFile1284028509/002 treefmt-7c26ab7> --- PASS: TestTreeRootFile (0.01s) treefmt-7c26ab7> === RUN TestTreeRootCmd treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestTreeRootCmd2307647236/001 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: searching for tree root using tree-root-cmd: echo /build/TestTreeRootCmd2307647236/002 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestTreeRootCmd2307647236/002 treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: searching for tree root using tree-root-cmd: echo "/build/TestTreeRootCmd2307647236/002/foo" treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: tree root: /build/TestTreeRootCmd2307647236/002/foo treefmt-7c26ab7> 2026/10/08 20:30:50 INFO config: searching for tree root using tree-root-cmd: echo '/build/TestTreeRootCmd2307647236/002/bar' treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: tree root: /build/TestTreeRootCmd2307647236/002/bar treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: searching for tree root using tree-root-cmd: echo '' treefmt-7c26ab7> --- PASS: TestTreeRootCmd (0.02s) treefmt-7c26ab7> === RUN TestVerbosity treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: tree root: /build/TestVerbosity4017669135/001 treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: tree root: /build/TestVerbosity4017669135/001 treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: tree root: /build/TestVerbosity4017669135/001 treefmt-7c26ab7> --- PASS: TestVerbosity (0.02s) treefmt-7c26ab7> === RUN TestWalk treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: tree root: /build/TestWalk673790615/001 treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: tree root: /build/TestWalk673790615/001 treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: setting tree root to the directory containing the config file: /build/TestWalk673790615/001/treefmt.toml treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: tree root: /build/TestWalk673790615/001 treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: tree root: /build/TestWalk673790615/001 treefmt-7c26ab7> --- PASS: TestWalk (0.03s) treefmt-7c26ab7> === RUN TestWorkingDirectory treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: tree root: /build/TestWorkingDirectory30153401/001 treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: tree root: /build/TestWorkingDirectory30153401/001 treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 128 treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: attempting to resolve tree root using jujutsu: jj workspace root treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1 treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: setting tree root to the directory containing the config file: /build/TestWorkingDirectory30153401/001/treefmt.toml treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: tree root: /build/TestWorkingDirectory30153401/001 treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 128 treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: attempting to resolve tree root using jujutsu: jj workspace root treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1 treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: setting tree root to the directory containing the config file: /build/TestWorkingDirectory30153401/001/treefmt.toml treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: tree root: /build/TestWorkingDirectory30153401/001 treefmt-7c26ab7> --- PASS: TestWorkingDirectory (0.05s) treefmt-7c26ab7> === RUN TestStdin treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: tree root: /build/TestStdin614061922/001 treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: tree root: /build/TestStdin614061922/001 treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: tree root: /build/TestStdin614061922/001 treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: setting tree root to the directory containing the config file: /build/TestStdin614061922/001/treefmt.toml treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: tree root: /build/TestStdin614061922/001 treefmt-7c26ab7> --- PASS: TestStdin (0.02s) treefmt-7c26ab7> === RUN TestSampleConfigFile treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: no tree root specified treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: setting tree root to the directory containing the config file: ../test/examples/treefmt.toml treefmt-7c26ab7> 2026/10/08 20:30:51 INFO config: tree root: /build/source/test/examples treefmt-7c26ab7> --- PASS: TestSampleConfigFile (0.00s) treefmt-7c26ab7> PASS treefmt-7c26ab7> coverage: 86.4% of statements treefmt-7c26ab7> ok github.com/numtide/treefmt/v2/config 1.434s coverage: 86.4% of statements treefmt-7c26ab7> === RUN TestApplyWithDefaultStdin treefmt-7c26ab7> 2026/10/08 20:30:50 INFO formatter | cat: 1 file(s) processed in 1.525697ms treefmt-7c26ab7> --- PASS: TestApplyWithDefaultStdin (0.00s) treefmt-7c26ab7> === RUN TestInvalidFormatterName treefmt-7c26ab7> --- PASS: TestInvalidFormatterName (0.01s) treefmt-7c26ab7> === RUN TestFormatSignature treefmt-7c26ab7> === RUN TestFormatSignature/change_formatter_mod_time treefmt-7c26ab7> formatter_test.go:120: changing mod time of black treefmt-7c26ab7> formatter_test.go:120: changing mod time of rufo treefmt-7c26ab7> === RUN TestFormatSignature/modify_formatter_options treefmt-7c26ab7> === RUN TestFormatSignature/add/remove_formatters treefmt-7c26ab7> --- PASS: TestFormatSignature (0.01s) treefmt-7c26ab7> --- PASS: TestFormatSignature/change_formatter_mod_time (0.00s) treefmt-7c26ab7> --- PASS: TestFormatSignature/modify_formatter_options (0.00s) treefmt-7c26ab7> --- PASS: TestFormatSignature/add/remove_formatters (0.00s) treefmt-7c26ab7> === RUN TestGlobs treefmt-7c26ab7> --- PASS: TestGlobs (0.00s) treefmt-7c26ab7> PASS treefmt-7c26ab7> coverage: 40.9% of statements treefmt-7c26ab7> ok github.com/numtide/treefmt/v2/format 1.042s coverage: 40.9% of statements treefmt-7c26ab7> github.com/numtide/treefmt/v2/git coverage: 0.0% of statements treefmt-7c26ab7> github.com/numtide/treefmt/v2/jujutsu coverage: 0.0% of statements treefmt-7c26ab7> github.com/numtide/treefmt/v2/stats coverage: 0.0% of statements treefmt-7c26ab7> github.com/numtide/treefmt/v2/test coverage: 0.0% of statements treefmt-7c26ab7> === RUN TestFilesystemReaderCancellation treefmt-7c26ab7> --- PASS: TestFilesystemReaderCancellation (1.01s) treefmt-7c26ab7> === RUN TestFilesystemReader treefmt-7c26ab7> --- PASS: TestFilesystemReader (1.02s) treefmt-7c26ab7> === RUN TestFilesystemReaderSubpaths treefmt-7c26ab7> --- PASS: TestFilesystemReaderSubpaths (1.02s) treefmt-7c26ab7> === RUN TestGitReader treefmt-7c26ab7> --- PASS: TestGitReader (2.13s) treefmt-7c26ab7> === RUN TestJujutsuReader treefmt-7c26ab7> --- PASS: TestJujutsuReader (1.25s) treefmt-7c26ab7> === RUN TestJujutsuReaderUsesTreeRoot treefmt-7c26ab7> --- PASS: TestJujutsuReaderUsesTreeRoot (0.08s) treefmt-7c26ab7> === RUN TestPathStreamReader treefmt-7c26ab7> 2026/10/08 20:30:58 WARN walk | test walker: Path /build/TestPathStreamReader2033232327/001/missing.txt was emitted by test walker but no file exists at that path treefmt-7c26ab7> --- PASS: TestPathStreamReader (1.03s) treefmt-7c26ab7> === RUN TestPathStreamReaderSubpath treefmt-7c26ab7> --- PASS: TestPathStreamReaderSubpath (1.03s) treefmt-7c26ab7> === RUN TestPathStreamReaderPassesPathFilters treefmt-7c26ab7> --- PASS: TestPathStreamReaderPassesPathFilters (1.02s) treefmt-7c26ab7> === RUN TestPathStreamReaderDelimiters treefmt-7c26ab7> --- PASS: TestPathStreamReaderDelimiters (1.01s) treefmt-7c26ab7> === RUN TestPathStreamReaderCloseUnblocks treefmt-7c26ab7> --- PASS: TestPathStreamReaderCloseUnblocks (0.07s) treefmt-7c26ab7> === RUN TestPathStreamReaderCommandFailure treefmt-7c26ab7> --- PASS: TestPathStreamReaderCommandFailure (1.01s) treefmt-7c26ab7> PASS treefmt-7c26ab7> coverage: 35.2% of statements treefmt-7c26ab7> ok github.com/numtide/treefmt/v2/walk 12.685s coverage: 35.2% of statements treefmt-7c26ab7> github.com/numtide/treefmt/v2/walk/cache coverage: 0.0% of statements treefmt-7c26ab7> FAIL error: Cannot build '/nix/store/zq84487pn6r6x24mkgv9n26kf2qqd572-treefmt-7c26ab7.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/13g2dqbsp3k4g5wx5kaa5gryfvpl2pz9-treefmt-7c26ab7 Last 25 log lines: > --- PASS: TestFilesystemReaderSubpaths (1.02s) > === RUN TestGitReader > --- PASS: TestGitReader (2.13s) > === RUN TestJujutsuReader > --- PASS: TestJujutsuReader (1.25s) > === RUN TestJujutsuReaderUsesTreeRoot > --- PASS: TestJujutsuReaderUsesTreeRoot (0.08s) > === RUN TestPathStreamReader > 2026/10/08 20:30:58 WARN walk | test walker: Path /build/TestPathStreamReader2033232327/001/missing.txt was emitted by test walker but no file exists at that path > --- PASS: TestPathStreamReader (1.03s) > === RUN TestPathStreamReaderSubpath > --- PASS: TestPathStreamReaderSubpath (1.03s) > === RUN TestPathStreamReaderPassesPathFilters > --- PASS: TestPathStreamReaderPassesPathFilters (1.02s) > === RUN TestPathStreamReaderDelimiters > --- PASS: TestPathStreamReaderDelimiters (1.01s) > === RUN TestPathStreamReaderCloseUnblocks > --- PASS: TestPathStreamReaderCloseUnblocks (0.07s) > === RUN TestPathStreamReaderCommandFailure > --- PASS: TestPathStreamReaderCommandFailure (1.01s) > PASS > coverage: 35.2% of statements > ok github.com/numtide/treefmt/v2/walk 12.685s 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/zq84487pn6r6x24mkgv9n26kf2qqd572-treefmt-7c26ab7.drv