treefmt-656ed01
checks.x86_64-linux.pkgs-default-coverage
· build #42
· raw
1attached to the build already running on this worker2bld1: building 10gai4k4by445ypak8y246mghfmhwvgj-treefmt-656ed01.drv
unpackPhase
3unpacking source archive /nix/store/dhakrznmdhqj4carscrlmryq7g8r0jl1-source4source root is sourcebuildPhase
5 github.com/numtide/treefmt/v2 coverage: 0.0% of statements6? github.com/numtide/treefmt/v2/build [no test files]7=== RUN TestOnUnmatched8=== RUN TestOnUnmatched/default9 root_test.go:79: treefmt -v10=== NAME TestOnUnmatched11 root_test.go:73: 12 Error Trace: /build/source/cmd/root_test.go:7313 /build/source/cmd/root_test.go:292914 /build/source/cmd/root_test.go:7915 Error: Not equal: 16 expected: []string{".gitignore", "go/go.mod", "haskell/haskell.cabal", "haskell-frontend/haskell-frontend.cabal", "html/scripts/.gitkeep", "python/requirements.txt"}17 actual : []string(nil)18 19 Diff:20 --- Expected21 +++ Actual22 @@ -1,9 +1,2 @@23 -([]string) (len=6) {24 - (string) (len=10) ".gitignore",25 - (string) (len=9) "go/go.mod",26 - (string) (len=21) "haskell/haskell.cabal",27 - (string) (len=39) "haskell-frontend/haskell-frontend.cabal",28 - (string) (len=21) "html/scripts/.gitkeep",29 - (string) (len=23) "python/requirements.txt"30 -}31 +([]string) <nil>32 33 Test: TestOnUnmatched34=== NAME TestOnUnmatched/default35 testing.go:1913: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test36--- FAIL: TestOnUnmatched (1.95s)37 --- FAIL: TestOnUnmatched/default (0.94s)38=== RUN TestQuiet39 root_test.go:149: treefmt -q40 root_test.go:149: 41 42 root_test.go:149: 43 44 root_test.go:150: treefmt --quiet45 root_test.go:150: 46 47 root_test.go:150: 48 49 root_test.go:153: treefmt 50 root_test.go:153: 51 52 root_test.go:153: 53 54 root_test.go:158: treefmt 55 root_test.go:158: 56 Error: failed to create composite formatter: failed to initialise formatter foo-fmt: formatter command not found in PATH: error looking up 'foo-fmt'57 58 root_test.go:158: 59 60--- PASS: TestQuiet (2.43s)61=== RUN TestCpuProfile62 root_test.go:172: treefmt --cpu-profile cpu.pprof63 root_test.go:172: 64 traversed 34 files65 emitted 22 files for processing66 formatted 22 files (4 changed) in 343ms67 68 root_test.go:172: 69 70 root_test.go:182: treefmt 71 root_test.go:182: 72 traversed 35 files73 emitted 22 files for processing74 formatted 0 files (0 changed) in 27ms75 76 root_test.go:182: 77 78--- PASS: TestCpuProfile (1.39s)79=== RUN TestAllowMissingFormatter80=== RUN TestAllowMissingFormatter/default81 root_test.go:202: treefmt 82 root_test.go:202: 83 Error: failed to create composite formatter: failed to initialise formatter foo-fmt: formatter command not found in PATH: error looking up 'foo-fmt'84 85 root_test.go:202: 86 87=== RUN TestAllowMissingFormatter/arg88 root_test.go:210: treefmt --allow-missing-formatter89 root_test.go:210: 90 traversed 33 files91 emitted 0 files for processing92 formatted 0 files (0 changed) in 21ms93 94 root_test.go:210: 95 96=== RUN TestAllowMissingFormatter/env97 root_test.go:224: treefmt 98 root_test.go:224: 99 traversed 33 files100 emitted 0 files for processing101 formatted 0 files (0 changed) in 25ms102 103 root_test.go:224: 104 105--- PASS: TestAllowMissingFormatter (1.10s)106 --- PASS: TestAllowMissingFormatter/default (0.04s)107 --- PASS: TestAllowMissingFormatter/arg (0.02s)108 --- PASS: TestAllowMissingFormatter/env (0.03s)109=== RUN TestSpecifyingFormatters110=== RUN TestSpecifyingFormatters/default111 root_test.go:257: treefmt 112 root_test.go:257: 113 traversed 33 files114 emitted 3 files for processing115 formatted 3 files (3 changed) in 31ms116 117 root_test.go:257: 118 119=== RUN TestSpecifyingFormatters/args120 root_test.go:270: treefmt --formatters rust,nix121 root_test.go:270: 122 traversed 33 files123 emitted 2 files for processing124 formatted 2 files (2 changed) in 27ms125 126 root_test.go:270: 127 128 root_test.go:282: treefmt --formatters ruby,nix129 root_test.go:282: 130 traversed 33 files131 emitted 2 files for processing132 formatted 2 files (2 changed) in 29ms133 134 root_test.go:282: 135 136 root_test.go:294: treefmt --formatters nix137 root_test.go:294: 138 traversed 33 files139 emitted 1 files for processing140 formatted 1 files (1 changed) in 28ms141 142 root_test.go:294: 143 144 root_test.go:307: treefmt --formatters foo145 root_test.go:307: 146 Error: failed to load config: formatter foo not found in config147 148 root_test.go:307: 149 150=== RUN TestSpecifyingFormatters/env151 root_test.go:318: treefmt 152 root_test.go:318: 153 traversed 33 files154 emitted 2 files for processing155 formatted 2 files (2 changed) in 29ms156 157 root_test.go:318: 158 159 root_test.go:331: treefmt 160 root_test.go:331: 161 Error: failed to load config: formatter bar not found in config162 163 root_test.go:331: 164 165=== RUN TestSpecifyingFormatters/bad_names166 root_test.go:340: treefmt --formatters foo$167 root_test.go:340: 168 Error: failed to load config: formatter name "foo$" is invalid, must be of the form ^[a-zA-Z0-9_-]+$169 170 root_test.go:340: 171 172 root_test.go:349: treefmt 173 root_test.go:349: 174 Error: failed to load config: formatter name "foo$" is invalid, must be of the form ^[a-zA-Z0-9_-]+$175 176 root_test.go:349: 177 178 root_test.go:364: treefmt 179 root_test.go:364: 180 Error: failed to load config: formatter name "foo$" is invalid, must be of the form ^[a-zA-Z0-9_-]+$181 182 root_test.go:364: 183 184 root_test.go:340: treefmt --formatters /bar185 root_test.go:340: 186 Error: failed to load config: formatter name "/bar" is invalid, must be of the form ^[a-zA-Z0-9_-]+$187 188 root_test.go:340: 189 190 root_test.go:349: treefmt 191 root_test.go:349: 192 Error: failed to load config: formatter name "/bar" is invalid, must be of the form ^[a-zA-Z0-9_-]+$193 194 root_test.go:349: 195 196 root_test.go:364: treefmt 197 root_test.go:364: 198 Error: failed to load config: formatter name "/bar" is invalid, must be of the form ^[a-zA-Z0-9_-]+$199 200 root_test.go:364: 201 202 root_test.go:340: treefmt --formatters baz%203 root_test.go:340: 204 Error: failed to load config: formatter name "baz%" is invalid, must be of the form ^[a-zA-Z0-9_-]+$205 206 root_test.go:340: 207 208 root_test.go:349: treefmt 209 root_test.go:349: 210 Error: failed to load config: formatter name "baz%" is invalid, must be of the form ^[a-zA-Z0-9_-]+$211 212 root_test.go:349: 213 214 root_test.go:364: treefmt 215 root_test.go:364: 216 Error: failed to load config: formatter name "baz%" is invalid, must be of the form ^[a-zA-Z0-9_-]+$217 218 root_test.go:364: 219 220--- PASS: TestSpecifyingFormatters (1.30s)221 --- PASS: TestSpecifyingFormatters/default (0.03s)222 --- PASS: TestSpecifyingFormatters/args (0.10s)223 --- PASS: TestSpecifyingFormatters/env (0.04s)224 --- PASS: TestSpecifyingFormatters/bad_names (0.11s)225=== RUN TestIncludesAndExcludes226 root_test.go:393: treefmt 227 root_test.go:393: 228 traversed 33 files229 emitted 33 files for processing230 formatted 33 files (0 changed) in 35ms231 232 root_test.go:393: 233 234 root_test.go:407: treefmt -c235 root_test.go:407: 236 traversed 33 files237 emitted 32 files for processing238 formatted 32 files (0 changed) in 29ms239 240 root_test.go:407: 241 242 root_test.go:422: treefmt -c243 root_test.go:422: 244 traversed 33 files245 emitted 26 files for processing246 formatted 26 files (0 changed) in 26ms247 248 root_test.go:422: 249 250 root_test.go:439: treefmt -c251 root_test.go:439: 252 traversed 33 files253 emitted 24 files for processing254 formatted 24 files (0 changed) in 26ms255 256 root_test.go:439: 257 258 root_test.go:454: treefmt -c259 root_test.go:454: 260 traversed 33 files261 emitted 23 files for processing262 formatted 23 files (0 changed) in 29ms263 264 root_test.go:454: 265 266 root_test.go:471: treefmt -c267 root_test.go:471: 268 traversed 33 files269 emitted 1 files for processing270 formatted 1 files (0 changed) in 28ms271 272 root_test.go:471: 273 274 root_test.go:486: treefmt -c275 root_test.go:486: 276 traversed 33 files277 emitted 2 files for processing278 formatted 2 files (0 changed) in 29ms279 280 root_test.go:486: 281 282--- PASS: TestIncludesAndExcludes (1.21s)283=== RUN TestConfigFile284=== RUN TestConfigFile/treefmt.toml285 root_test.go:514: treefmt --config-file /build/TestConfigFiletreefmt.toml1537004873/003/treefmt.toml286 root_test.go:514: 287 traversed 1 files288 emitted 1 files for processing289 formatted 1 files (0 changed) in 24ms290 291 root_test.go:514: 292 293 root_test.go:533: treefmt --config-file /build/TestConfigFiletreefmt.toml1537004873/003/treefmt.toml --tree-root /build/TestConfigFiletreefmt.toml1537004873/001294 root_test.go:533: 295 traversed 33 files296 emitted 33 files for processing297 formatted 33 files (0 changed) in 17ms298 299 root_test.go:533: 300 301 root_test.go:545: setting env TREEFMT_CONFIG=/build/TestConfigFiletreefmt.toml1537004873/003/treefmt.toml302 root_test.go:545: setting env PRJ_ROOT=/build/TestConfigFiletreefmt.toml1537004873/001303 root_test.go:545: treefmt 304 root_test.go:545: 305 traversed 33 files306 emitted 33 files for processing307 formatted 0 files (0 changed) in 13ms308 309 root_test.go:545: 310 311 root_test.go:563: setting env PRJ_ROOT=/build/TestConfigFiletreefmt.toml1537004873/003312 root_test.go:563: treefmt --tree-root /build/TestConfigFiletreefmt.toml1537004873/001313 root_test.go:563: 314 traversed 33 files315 emitted 33 files for processing316 formatted 0 files (0 changed) in 17ms317 318 root_test.go:563: 319 320 root_test.go:581: setting env PRJ_ROOT=/build/TestConfigFiletreefmt.toml1537004873/003/sub321 root_test.go:581: treefmt --tree-root /build/TestConfigFiletreefmt.toml1537004873/001322 root_test.go:581: 323 Error: failed to find treefmt config file: could not find [treefmt.toml .treefmt.toml .config/treefmt.toml] in /build/TestConfigFiletreefmt.toml1537004873/002324 325 root_test.go:581: 326 327=== RUN TestConfigFile/.treefmt.toml328 root_test.go:514: treefmt --config-file /build/TestConfigFile.treefmt.toml2848524740/003/.treefmt.toml329 root_test.go:514: 330 traversed 1 files331 emitted 1 files for processing332 formatted 1 files (0 changed) in 27ms333 334 root_test.go:514: 335 336 root_test.go:533: treefmt --config-file /build/TestConfigFile.treefmt.toml2848524740/003/.treefmt.toml --tree-root /build/TestConfigFile.treefmt.toml2848524740/001337 root_test.go:533: 338 traversed 33 files339 emitted 33 files for processing340 formatted 33 files (0 changed) in 16ms341 342 root_test.go:533: 343 344 root_test.go:545: setting env TREEFMT_CONFIG=/build/TestConfigFile.treefmt.toml2848524740/003/.treefmt.toml345 root_test.go:545: setting env PRJ_ROOT=/build/TestConfigFile.treefmt.toml2848524740/001346 root_test.go:545: treefmt 347 root_test.go:545: 348 traversed 33 files349 emitted 33 files for processing350 formatted 0 files (0 changed) in 12ms351 352 root_test.go:545: 353 354 root_test.go:563: setting env PRJ_ROOT=/build/TestConfigFile.treefmt.toml2848524740/003355 root_test.go:563: treefmt --tree-root /build/TestConfigFile.treefmt.toml2848524740/001356 root_test.go:563: 357 traversed 33 files358 emitted 33 files for processing359 formatted 0 files (0 changed) in 13ms360 361 root_test.go:563: 362 363 root_test.go:581: setting env PRJ_ROOT=/build/TestConfigFile.treefmt.toml2848524740/003/sub364 root_test.go:581: treefmt --tree-root /build/TestConfigFile.treefmt.toml2848524740/001365 root_test.go:581: 366 Error: failed to find treefmt config file: could not find [treefmt.toml .treefmt.toml .config/treefmt.toml] in /build/TestConfigFile.treefmt.toml2848524740/002367 368 root_test.go:581: 369 370--- PASS: TestConfigFile (2.16s)371 --- PASS: TestConfigFile/treefmt.toml (1.08s)372 --- PASS: TestConfigFile/.treefmt.toml (1.08s)373=== RUN TestDotConfigDir374=== RUN TestDotConfigDir/basic375 root_test.go:609: treefmt 376 root_test.go:609: 377 traversed 33 files378 emitted 33 files for processing379 formatted 33 files (0 changed) in 30ms380 381 root_test.go:609: 382 383=== RUN TestDotConfigDir/project_root_ending_in_.config384 root_test.go:646: treefmt 385 root_test.go:646: 386 traversed 33 files387 emitted 33 files for processing388 formatted 33 files (0 changed) in 26ms389 390 root_test.go:646: 391 392--- PASS: TestDotConfigDir (2.07s)393 --- PASS: TestDotConfigDir/basic (1.04s)394 --- PASS: TestDotConfigDir/project_root_ending_in_.config (1.03s)395=== RUN TestCache396 root_test.go:686: treefmt 397 root_test.go:686: 398 traversed 33 files399 emitted 33 files for processing400 formatted 33 files (33 changed) in 30ms401 402 root_test.go:686: 403 404 root_test.go:697: treefmt 405 root_test.go:697: 406 traversed 33 files407 emitted 33 files for processing408 formatted 0 files (0 changed) in 29ms409 410 root_test.go:697: 411 412 root_test.go:708: treefmt -c413 root_test.go:708: 414 traversed 33 files415 emitted 33 files for processing416 formatted 33 files (33 changed) in 31ms417 418 root_test.go:708: 419 420 root_test.go:720: treefmt 421 root_test.go:720: 422 traversed 33 files423 emitted 33 files for processing424 formatted 0 files (0 changed) in 27ms425 426 root_test.go:720: 427 428 root_test.go:731: treefmt 429 root_test.go:731: 430 traversed 33 files431 emitted 33 files for processing432 formatted 33 files (33 changed) in 25ms433 434 root_test.go:731: 435 436 root_test.go:743: treefmt --no-cache437 root_test.go:743: 438 traversed 33 files439 emitted 33 files for processing440 formatted 33 files (33 changed) in 29ms441 442 root_test.go:743: 443 444 root_test.go:771: treefmt 445 root_test.go:771: 446 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 1447 448 /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch: unrecognized option '--bad-arg'449 Try '/nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch --help' for more information.450 451 traversed 33 files452 emitted 6 files for processing453 formatted 0 files (0 changed) in 30ms454 Error: failed to finalise formatting: formatting failures detected455 456 root_test.go:771: 457 458 root_test.go:784: treefmt 459 root_test.go:784: 460 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 1461 462 /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch: unrecognized option '--bad-arg'463 Try '/nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch --help' for more information.464 465 traversed 33 files466 emitted 6 files for processing467 formatted 0 files (0 changed) in 29ms468 Error: failed to finalise formatting: formatting failures detected469 470 root_test.go:784: 471 472 root_test.go:806: treefmt 473 root_test.go:806: 474 traversed 33 files475 emitted 6 files for processing476 formatted 6 files (6 changed) in 27ms477 478 root_test.go:806: 479 480--- PASS: TestCache (1.27s)481=== RUN TestChangeWorkingDirectory482=== RUN TestChangeWorkingDirectory/default483 root_test.go:848: treefmt 484 root_test.go:848: 485 Error: failed to find treefmt config file: could not find [treefmt.toml .treefmt.toml .config/treefmt.toml] in /build/TestChangeWorkingDirectorydefault822055721/002486 487 root_test.go:848: 488 489 root_test.go:859: treefmt 490 root_test.go:859: 491 traversed 33 files492 emitted 33 files for processing493 formatted 33 files (33 changed) in 46ms494 495 root_test.go:859: 496 497=== RUN TestChangeWorkingDirectory/arg498=== RUN TestChangeWorkingDirectory/arg/treefmt.toml499 root_test.go:895: treefmt -C /build/TestChangeWorkingDirectoryargtreefmt.toml2606359859/001500 root_test.go:895: 501 traversed 33 files502 emitted 33 files for processing503 formatted 33 files (33 changed) in 54ms504 505 root_test.go:895: 506 507=== RUN TestChangeWorkingDirectory/arg/.treefmt.toml508 root_test.go:895: treefmt -C /build/TestChangeWorkingDirectoryarg.treefmt.toml1192387088/001509 root_test.go:895: 510 traversed 33 files511 emitted 33 files for processing512 formatted 33 files (33 changed) in 52ms513 514 root_test.go:895: 515 516=== RUN TestChangeWorkingDirectory/env517=== RUN TestChangeWorkingDirectory/env/treefmt.toml518 root_test.go:895: treefmt 519 root_test.go:895: 520 traversed 33 files521 emitted 33 files for processing522 formatted 33 files (33 changed) in 45ms523 524 root_test.go:895: 525 526=== RUN TestChangeWorkingDirectory/env/.treefmt.toml527 root_test.go:895: treefmt 528 root_test.go:895: 529 traversed 33 files530 emitted 33 files for processing531 formatted 33 files (33 changed) in 40ms532 533 root_test.go:895: 534 535--- PASS: TestChangeWorkingDirectory (5.28s)536 --- PASS: TestChangeWorkingDirectory/default (1.06s)537 --- PASS: TestChangeWorkingDirectory/arg (2.12s)538 --- PASS: TestChangeWorkingDirectory/arg/treefmt.toml (1.06s)539 --- PASS: TestChangeWorkingDirectory/arg/.treefmt.toml (1.06s)540 --- PASS: TestChangeWorkingDirectory/env (2.10s)541 --- PASS: TestChangeWorkingDirectory/env/treefmt.toml (1.05s)542 --- PASS: TestChangeWorkingDirectory/env/.treefmt.toml (1.05s)543=== RUN TestFailOnChange544=== RUN TestFailOnChange/change_size545 root_test.go:943: treefmt --fail-on-change546 root_test.go:943: 547 ERROR file has changed path=rust/Cargo.toml prev_size=233 prev_mod_time="2026-10-23 16:08:01 +0000 UTC" current_size=239 current_mod_time="2026-10-23 16:08:02 +0000 UTC"548 ERROR file has changed path=rust/src/main.rs prev_size=45 prev_mod_time="2026-10-23 16:08:01 +0000 UTC" current_size=51 current_mod_time="2026-10-23 16:08:02 +0000 UTC"549 traversed 33 files550 emitted 2 files for processing551 formatted 2 files (2 changed) in 38ms552 Error: unexpected changes detected, --fail-on-change is enabled553 554 root_test.go:943: 555 556 root_test.go:959: treefmt --fail-on-change557 root_test.go:959: 558 traversed 33 files559 emitted 2 files for processing560 formatted 0 files (0 changed) in 34ms561 562 root_test.go:959: 563 564=== RUN TestFailOnChange/change_modtime565 root_test.go:987: treefmt --fail-on-change566 root_test.go:987: 567 ERROR file has changed path=haskell/CHANGELOG.md prev_size=112 prev_mod_time="2026-10-23 16:08:02 +0000 UTC" current_size=112 current_mod_time="2026-10-23 16:08:04 +0000 UTC"568 ERROR file has changed path=haskell/Foo.hs prev_size=62 prev_mod_time="2026-10-23 16:08:02 +0000 UTC" current_size=62 current_mod_time="2026-10-23 16:08:04 +0000 UTC"569 ERROR file has changed path=haskell/Main.hs prev_size=65 prev_mod_time="2026-10-23 16:08:02 +0000 UTC" current_size=65 current_mod_time="2026-10-23 16:08:04 +0000 UTC"570 ERROR file has changed path=haskell/Nested/Foo.hs prev_size=69 prev_mod_time="2026-10-23 16:08:02 +0000 UTC" current_size=69 current_mod_time="2026-10-23 16:08:04 +0000 UTC"571 ERROR file has changed path=haskell/Setup.hs prev_size=47 prev_mod_time="2026-10-23 16:08:02 +0000 UTC" current_size=47 current_mod_time="2026-10-23 16:08:04 +0000 UTC"572 ERROR file has changed path=haskell/haskell.cabal prev_size=688 prev_mod_time="2026-10-23 16:08:02 +0000 UTC" current_size=688 current_mod_time="2026-10-23 16:08:04 +0000 UTC"573 ERROR file has changed path=haskell/treefmt.toml prev_size=238 prev_mod_time="2026-10-23 16:08:02 +0000 UTC" current_size=238 current_mod_time="2026-10-23 16:08:04 +0000 UTC"574 traversed 33 files575 emitted 7 files for processing576 formatted 7 files (7 changed) in 52ms577 Error: unexpected changes detected, --fail-on-change is enabled578 579 root_test.go:987: 580 581 root_test.go:1020: treefmt --fail-on-change582 root_test.go:1020: 583 traversed 33 files584 emitted 7 files for processing585 formatted 0 files (0 changed) in 27ms586 587 root_test.go:1020: 588 589--- PASS: TestFailOnChange (2.17s)590 --- PASS: TestFailOnChange/change_size (1.08s)591 --- PASS: TestFailOnChange/change_modtime (1.09s)592=== RUN TestCacheBusting593=== RUN TestCacheBusting/formatter_change_config594 root_test.go:1058: treefmt 595 root_test.go:1058: 596 traversed 33 files597 emitted 8 files for processing598 formatted 8 files (6 changed) in 39ms599 600 root_test.go:1058: 601 602 root_test.go:1072: treefmt 603 root_test.go:1072: 604 traversed 33 files605 emitted 8 files for processing606 formatted 6 files (6 changed) in 35ms607 608 root_test.go:1072: 609 610 root_test.go:1083: treefmt 611 root_test.go:1083: 612 traversed 33 files613 emitted 8 files for processing614 formatted 0 files (0 changed) in 33ms615 616 root_test.go:1083: 617 618 root_test.go:1097: treefmt 619 root_test.go:1097: 620 traversed 33 files621 emitted 8 files for processing622 formatted 6 files (0 changed) in 37ms623 624 root_test.go:1097: 625 626 root_test.go:1108: treefmt 627 root_test.go:1108: 628 traversed 33 files629 emitted 8 files for processing630 formatted 0 files (0 changed) in 36ms631 632 root_test.go:1108: 633 634 root_test.go:1123: treefmt 635 root_test.go:1123: 636 traversed 33 files637 emitted 6 files for processing638 formatted 0 files (0 changed) in 36ms639 640 root_test.go:1123: 641 642 root_test.go:1138: treefmt 643 root_test.go:1138: 644 traversed 33 files645 emitted 5 files for processing646 formatted 0 files (0 changed) in 31ms647 648 root_test.go:1138: 649 650=== RUN TestCacheBusting/formatter_change_binary651 root_test.go:1185: treefmt 652 root_test.go:1185: 653 traversed 34 files654 emitted 3 files for processing655 formatted 3 files (1 changed) in 41ms656 657 root_test.go:1185: 658 659 root_test.go:1200: treefmt 660 root_test.go:1200: 661 traversed 34 files662 emitted 3 files for processing663 formatted 1 files (1 changed) in 36ms664 665 root_test.go:1200: 666 667 root_test.go:1211: treefmt 668 root_test.go:1211: 669 traversed 34 files670 emitted 3 files for processing671 formatted 0 files (0 changed) in 33ms672 673 root_test.go:1211: 674 675 root_test.go:1231: treefmt 676 root_test.go:1231: 677 traversed 34 files678 emitted 3 files for processing679 formatted 1 files (1 changed) in 36ms680 681 root_test.go:1231: 682 683 root_test.go:1242: treefmt 684 root_test.go:1242: 685 traversed 34 files686 emitted 3 files for processing687 formatted 0 files (0 changed) in 34ms688 689 root_test.go:1242: 690 691=== RUN TestCacheBusting/formatter_add_remove692 root_test.go:1271: treefmt 693 root_test.go:1271: 694 traversed 33 files695 emitted 2 files for processing696 formatted 2 files (2 changed) in 37ms697 698 root_test.go:1271: 699 700 root_test.go:1283: treefmt 701 root_test.go:1283: 702 traversed 33 files703 emitted 2 files for processing704 formatted 0 files (0 changed) in 32ms705 706 root_test.go:1283: 707 708 root_test.go:1302: treefmt 709 root_test.go:1302: 710 traversed 33 files711 emitted 3 files for processing712 formatted 1 files (1 changed) in 35ms713 714 root_test.go:1302: 715 716 root_test.go:1321: treefmt 717 root_test.go:1321: 718 traversed 33 files719 emitted 3 files for processing720 formatted 2 files (2 changed) in 38ms721 722 root_test.go:1321: 723 724 root_test.go:1333: treefmt 725 root_test.go:1333: 726 traversed 33 files727 emitted 3 files for processing728 formatted 0 files (0 changed) in 32ms729 730 root_test.go:1333: 731 732 root_test.go:1349: treefmt 733 root_test.go:1349: 734 traversed 33 files735 emitted 3 files for processing736 formatted 2 files (2 changed) in 36ms737 738 root_test.go:1349: 739 740 root_test.go:1361: treefmt 741 root_test.go:1361: 742 traversed 33 files743 emitted 3 files for processing744 formatted 0 files (0 changed) in 35ms745 746 root_test.go:1361: 747 748 root_test.go:1376: treefmt 749 root_test.go:1376: 750 traversed 33 files751 emitted 3 files for processing752 formatted 2 files (2 changed) in 35ms753 754 root_test.go:1376: 755 756 root_test.go:1388: treefmt 757 root_test.go:1388: 758 traversed 33 files759 emitted 3 files for processing760 formatted 0 files (0 changed) in 32ms761 762 root_test.go:1388: 763 764 root_test.go:1404: treefmt 765 root_test.go:1404: 766 traversed 33 files767 emitted 2 files for processing768 formatted 0 files (0 changed) in 32ms769 770 root_test.go:1404: 771 772--- PASS: TestCacheBusting (3.82s)773 --- PASS: TestCacheBusting/formatter_change_config (1.26s)774 --- PASS: TestCacheBusting/formatter_change_binary (1.20s)775 --- PASS: TestCacheBusting/formatter_add_remove (1.36s)776=== RUN TestGit777 root_test.go:1443: treefmt 778 root_test.go:1443: 779 traversed 33 files780 emitted 33 files for processing781 formatted 33 files (0 changed) in 44ms782 783 root_test.go:1443: 784 785 root_test.go:1458: treefmt 786 root_test.go:1458: 787 traversed 33 files788 emitted 33 files for processing789 formatted 0 files (0 changed) in 36ms790 791 root_test.go:1458: 792 793 root_test.go:1476: treefmt 794 root_test.go:1476: 795 traversed 33 files796 emitted 33 files for processing797 formatted 0 files (0 changed) in 36ms798 799 root_test.go:1476: 800 801 root_test.go:1491: treefmt 802 root_test.go:1491: 803 WARN walk | git: Path /build/TestGit438571287/001/python/main.py was emitted by git but no file exists at that path804 WARN walk | git: Path /build/TestGit438571287/001/python/requirements.txt was emitted by git but no file exists at that path805 WARN walk | git: Path /build/TestGit438571287/001/python/virtualenv_proxy.py was emitted by git but no file exists at that path806 traversed 30 files807 emitted 30 files for processing808 formatted 0 files (0 changed) in 33ms809 810 root_test.go:1491: 811 812 root_test.go:1508: treefmt --walk filesystem813 root_test.go:1508: 814 traversed 82 files815 emitted 82 files for processing816 formatted 53 files (0 changed) in 17ms817 818 root_test.go:1508: 819 820 root_test.go:1523: treefmt go821 root_test.go:1523: 822 traversed 2 files823 emitted 2 files for processing824 formatted 0 files (0 changed) in 26ms825 826 root_test.go:1523: 827 828 root_test.go:1535: treefmt go haskell829 root_test.go:1535: 830 traversed 9 files831 emitted 9 files for processing832 formatted 0 files (0 changed) in 27ms833 834 root_test.go:1535: 835 836 root_test.go:1547: treefmt -C /build/TestGit438571287/001 go haskell ruby837 root_test.go:1547: 838 traversed 10 files839 emitted 10 files for processing840 formatted 0 files (0 changed) in 30ms841 842 root_test.go:1547: 843 844 root_test.go:1560: treefmt -C /build/TestGit438571287/001 haskell foo845 root_test.go:1560: 846 Error: failed to create walker: path /build/TestGit438571287/001/foo not found: lstat /build/TestGit438571287/001/foo: no such file or directory847 848 root_test.go:1560: 849 850 root_test.go:1572: treefmt haskell foo.txt -vv851 root_test.go:1572: 852 INFO config: no tree root specified853 INFO config: attempting to resolve tree root using jujutsu: jj workspace root854 DEBUG tree-root-cmd | stderr: Error: There is no jj repo in "."855 DEBUG tree-root-cmd | stderr: Hint: It looks like this is a git repo. You can create a jj repo backed by it by running this:856 DEBUG tree-root-cmd | stdout:857 DEBUG tree-root-cmd | stderr: jj git init858 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1859 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel860 DEBUG tree-root-cmd | stdout: /build/TestGit438571287/001861 862 INFO config: tree root: /build/TestGit438571287/001863 DEBUG Resolving path '/build/TestGit438571287/001'864 DEBUG Resolving path 'haskell'865 DEBUG Resolving path 'haskell'866 DEBUG Resolving path 'foo.txt'867 DEBUG Resolving path 'foo.txt'868 DEBUG walk | git: processing file: /build/TestGit438571287/001/foo.txt869 DEBUG walk | git: processing file: /build/TestGit438571287/001/haskell/CHANGELOG.md870 DEBUG walk | git: processing file: /build/TestGit438571287/001/haskell/Foo.hs871 DEBUG walk | git: processing file: /build/TestGit438571287/001/haskell/Main.hs872 DEBUG walk | git: processing file: /build/TestGit438571287/001/haskell/Nested/Foo.hs873 DEBUG walk | git: processing file: /build/TestGit438571287/001/haskell/Setup.hs874 DEBUG walk | git: processing file: /build/TestGit438571287/001/haskell/haskell.cabal875 DEBUG walk | git: processing file: /build/TestGit438571287/001/haskell/treefmt.toml876 DEBUG walk | cache: read 8 files from delegate877 DEBUG read 8 files878 DEBUG formatter | echo: match: /build/TestGit438571287/001/foo.txt879 DEBUG formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f880 DEBUG formatter | echo: match: /build/TestGit438571287/001/haskell/CHANGELOG.md881 DEBUG formatter | echo: match: /build/TestGit438571287/001/haskell/Foo.hs882 DEBUG formatter | echo: match: /build/TestGit438571287/001/haskell/Main.hs883 DEBUG formatter | echo: match: /build/TestGit438571287/001/haskell/Nested/Foo.hs884 DEBUG formatter | echo: match: /build/TestGit438571287/001/haskell/Setup.hs885 DEBUG formatter | echo: match: /build/TestGit438571287/001/haskell/haskell.cabal886 DEBUG formatter | echo: match: /build/TestGit438571287/001/haskell/treefmt.toml887 DEBUG formatter | echo: executing: /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/echo foo.txt888 INFO formatter | echo: 1 file(s) processed in 1.25621ms889 traversed 8 files890 emitted 8 files for processing891 formatted 1 files (0 changed) in 33ms892 DEBUG no more files to read893 894 root_test.go:1572: 895 896 root_test.go:1584: treefmt go foo.txt897 root_test.go:1584: 898 traversed 3 files899 emitted 3 files for processing900 formatted 0 files (0 changed) in 24ms901 902 root_test.go:1584: 903 904 root_test.go:1596: treefmt foo.txt905 root_test.go:1596: 906 traversed 1 files907 emitted 1 files for processing908 formatted 0 files (0 changed) in 28ms909 910 root_test.go:1596: 911 912--- PASS: TestGit (1.39s)913=== RUN TestJujutsu914 root_test.go:1640: treefmt 915 root_test.go:1640: 916 traversed 0 files917 emitted 0 files for processing918 formatted 0 files (0 changed) in 38ms919 920 root_test.go:1640: 921 922 root_test.go:1656: treefmt 923 root_test.go:1656: 924 traversed 33 files925 emitted 33 files for processing926 formatted 33 files (0 changed) in 45ms927 928 root_test.go:1656: 929 930 root_test.go:1679: treefmt 931 root_test.go:1679: 932 traversed 33 files933 emitted 33 files for processing934 formatted 0 files (0 changed) in 39ms935 936 root_test.go:1679: 937 938 root_test.go:1698: treefmt 939 root_test.go:1698: 940 traversed 30 files941 emitted 30 files for processing942 formatted 0 files (0 changed) in 42ms943 944 root_test.go:1698: 945 946 root_test.go:1714: treefmt --walk filesystem947 root_test.go:1714: 948 traversed 137 files949 emitted 137 files for processing950 formatted 108 files (0 changed) in 22ms951 952 root_test.go:1714: 953 954 root_test.go:1729: treefmt go955 root_test.go:1729: 956 traversed 2 files957 emitted 2 files for processing958 formatted 0 files (0 changed) in 36ms959 960 root_test.go:1729: 961 962 root_test.go:1741: treefmt go haskell963 root_test.go:1741: 964 traversed 9 files965 emitted 9 files for processing966 formatted 0 files (0 changed) in 37ms967 968 root_test.go:1741: 969 970 root_test.go:1753: treefmt -C /build/TestJujutsu717520144/001 go haskell ruby971 root_test.go:1753: 972 traversed 10 files973 emitted 10 files for processing974 formatted 0 files (0 changed) in 40ms975 976 root_test.go:1753: 977 978 root_test.go:1766: treefmt -C /build/TestJujutsu717520144/001 haskell foo979 root_test.go:1766: 980 Error: failed to create walker: path /build/TestJujutsu717520144/001/foo not found: lstat /build/TestJujutsu717520144/001/foo: no such file or directory981 982 root_test.go:1766: 983 984 root_test.go:1782: treefmt haskell foo.txt -vv985 root_test.go:1782: 986 INFO config: no tree root specified987 INFO config: attempting to resolve tree root using jujutsu: jj workspace root988 DEBUG tree-root-cmd | stdout: /build/TestJujutsu717520144/001989 990 INFO config: tree root: /build/TestJujutsu717520144/001991 DEBUG Resolving path '/build/TestJujutsu717520144/001'992 DEBUG Resolving path 'haskell'993 DEBUG Resolving path 'haskell'994 DEBUG Resolving path 'foo.txt'995 DEBUG Resolving path 'foo.txt'996 DEBUG walk | jujutsu: processing file: /build/TestJujutsu717520144/001/foo.txt997 DEBUG walk | jujutsu: processing file: /build/TestJujutsu717520144/001/haskell/CHANGELOG.md998 DEBUG walk | jujutsu: processing file: /build/TestJujutsu717520144/001/haskell/Foo.hs999 DEBUG walk | jujutsu: processing file: /build/TestJujutsu717520144/001/haskell/Main.hs1000 DEBUG walk | jujutsu: processing file: /build/TestJujutsu717520144/001/haskell/Nested/Foo.hs1001 DEBUG walk | jujutsu: processing file: /build/TestJujutsu717520144/001/haskell/Setup.hs1002 DEBUG walk | jujutsu: processing file: /build/TestJujutsu717520144/001/haskell/haskell.cabal1003 DEBUG walk | jujutsu: processing file: /build/TestJujutsu717520144/001/haskell/treefmt.toml1004 DEBUG walk | cache: read 8 files from delegate1005 DEBUG read 8 files1006 DEBUG formatter | echo: match: /build/TestJujutsu717520144/001/foo.txt1007 DEBUG formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f1008 DEBUG formatter | echo: match: /build/TestJujutsu717520144/001/haskell/CHANGELOG.md1009 DEBUG formatter | echo: match: /build/TestJujutsu717520144/001/haskell/Foo.hs1010 DEBUG formatter | echo: match: /build/TestJujutsu717520144/001/haskell/Main.hs1011 DEBUG formatter | echo: match: /build/TestJujutsu717520144/001/haskell/Nested/Foo.hs1012 DEBUG formatter | echo: match: /build/TestJujutsu717520144/001/haskell/Setup.hs1013 DEBUG formatter | echo: match: /build/TestJujutsu717520144/001/haskell/haskell.cabal1014 DEBUG formatter | echo: match: /build/TestJujutsu717520144/001/haskell/treefmt.toml1015 DEBUG formatter | echo: executing: /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/echo foo.txt1016 INFO formatter | echo: 1 file(s) processed in 1.332981ms1017 traversed 8 files1018 emitted 8 files for processing1019 formatted 1 files (0 changed) in 45ms1020 DEBUG no more files to read1021 1022 root_test.go:1782: 1023 1024 root_test.go:1794: treefmt go foo.txt1025 root_test.go:1794: 1026 traversed 3 files1027 emitted 3 files for processing1028 formatted 0 files (0 changed) in 38ms1029 1030 root_test.go:1794: 1031 1032 root_test.go:1806: treefmt foo.txt1033 root_test.go:1806: 1034 traversed 1 files1035 emitted 1 files for processing1036 formatted 0 files (0 changed) in 37ms1037 1038 root_test.go:1806: 1039 1040--- PASS: TestJujutsu (1.59s)1041=== RUN TestTreeRootCmd1042 root_test.go:1852: treefmt -vv --tree-root-cmd bash -c '>&2 echo -e "some error text1043 some more error text" && echo /build/TestTreeRootCmd1593925719/001'1044 root_test.go:1847: 1045 Error Trace: /build/source/cmd/root_test.go:18471046 /build/source/cmd/root_test.go:29291047 /build/source/cmd/root_test.go:18521048 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/TestTreeRootCmd1593925719/001'\nDEBUG tree-root-cmd | stderr: some error text\nDEBUG tree-root-cmd | stderr: some more error text\nDEBUG tree-root-cmd | stdout: /build/TestTreeRootCmd1593925719/001\n\nINFO config: tree root: /build/TestTreeRootCmd1593925719/001\nDEBUG Resolving path '/build/TestTreeRootCmd1593925719/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/TestTreeRootCmd1593925719/001/.gitignore\nDEBUG formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/emoji 🕰️/README.md\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/go/go.mod\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/go/main.go\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/haskell/CHANGELOG.md\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/haskell/Foo.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/haskell/Main.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/haskell/Nested/Foo.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/haskell/Setup.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/haskell/haskell.cabal\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/haskell/treefmt.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/haskell-frontend/CHANGELOG.md\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/haskell-frontend/Main.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/haskell-frontend/Setup.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/haskell-frontend/haskell-frontend.cabal\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/html/index.html\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/html/scripts/.gitkeep\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/javascript/source/hello.js\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/just/justfile\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/nix/sources.nix\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/nixpkgs.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/python/main.py\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/python/requirements.txt\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/python/virtualenv_proxy.py\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/ruby/bundler.rb\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/rust/Cargo.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/rust/src/main.rs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/shell/foo.sh\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/terraform/main.tf\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/terraform/two.tf\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/touch.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/treefmt.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1593925719/001/yaml/test.yaml\nDEBUG formatter | echo: executing: /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/echo .gitignore emoji 🕰️/README.md go/go.mod go/main.go haskell/CHANGELOG.md haskell/Foo.hs haskell/Main.hs haskell/Nested/Foo.hs haskell/Setup.hs haskell/haskell.cabal haskell/treefmt.toml haskell-frontend/CHANGELOG.md haskell-frontend/Main.hs haskell-frontend/Setup.hs haskell-frontend/haskell-frontend.cabal html/index.html html/scripts/.gitkeep javascript/source/hello.js just/justfile nix/sources.nix nixpkgs.toml python/main.py python/requirements.txt python/virtualenv_proxy.py ruby/bundler.rb rust/Cargo.toml rust/src/main.rs shell/foo.sh terraform/main.tf terraform/two.tf touch.toml treefmt.toml yaml/test.yaml\nINFO formatter | echo: 33 file(s) processed in 2.850317ms\ntraversed 33 files\nemitted 33 files for processing\nformatted 33 files (0 changed) in 40ms\nDEBUG no more files to read\n" does not contain "DEBU tree-root-cmd | stderr: some error text\n"1049 Test: TestTreeRootCmd1050--- FAIL: TestTreeRootCmd (1.05s)1051=== RUN TestTreeRootExclusivity1052 root_test.go:1999: treefmt --tree-root bar --tree-root-cmd 'echo /foo/bar'1053 root_test.go:1999: 1054 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 set1055 1056 root_test.go:1999: 1057 Usage:1058 treefmt <paths...> [flags]1059 1060 Flags:1061 --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER)1062 --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)1063 -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE)1064 --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell.1065 --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml).1066 --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE)1067 --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES)1068 --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE)1069 -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS)1070 -h, --help help for treefmt1071 -i, --init Create a treefmt.toml file in the current directory.1072 --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE)1073 -u, --on-unmatched string Log paths that did not match any formatters at the specified log level. Possible values are <debug|info|warn|error|fatal>. (env $TREEFMT_ON_UNMATCHED) (default "info")1074 -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET)1075 --stdin Format the context passed in via stdin.1076 --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)1077 --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)1078 --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE)1079 -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE)1080 --version version for treefmt1081 --walk string The method used to traverse the files within the tree root. Currently supports <auto|git|jujutsu|filesystem>. (env $TREEFMT_WALK) (default "auto")1082 -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 ".")1083 1084 1085 root_test.go:2012: setting env TREEFMT_TREE_ROOT=bar1086 root_test.go:2012: setting env TREEFMT_TREE_ROOT_CMD=echo /foo/bar1087 root_test.go:2012: treefmt 1088 root_test.go:2012: 1089 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 specified1090 1091 root_test.go:2012: 1092 1093 root_test.go:2027: treefmt 1094 root_test.go:2027: 1095 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 specified1096 1097 root_test.go:2027: 1098 1099 root_test.go:1999: treefmt --tree-root bar --tree-root-file .git/config1100 root_test.go:1999: 1101 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 set1102 1103 root_test.go:1999: 1104 Usage:1105 treefmt <paths...> [flags]1106 1107 Flags:1108 --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER)1109 --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)1110 -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE)1111 --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell.1112 --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml).1113 --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE)1114 --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES)1115 --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE)1116 -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS)1117 -h, --help help for treefmt1118 -i, --init Create a treefmt.toml file in the current directory.1119 --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE)1120 -u, --on-unmatched string Log paths that did not match any formatters at the specified log level. Possible values are <debug|info|warn|error|fatal>. (env $TREEFMT_ON_UNMATCHED) (default "info")1121 -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET)1122 --stdin Format the context passed in via stdin.1123 --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)1124 --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)1125 --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE)1126 -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE)1127 --version version for treefmt1128 --walk string The method used to traverse the files within the tree root. Currently supports <auto|git|jujutsu|filesystem>. (env $TREEFMT_WALK) (default "auto")1129 -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 ".")1130 1131 1132 root_test.go:2012: setting env TREEFMT_TREE_ROOT=bar1133 root_test.go:2012: setting env TREEFMT_TREE_ROOT_FILE=.git/config1134 root_test.go:2012: treefmt 1135 root_test.go:2012: 1136 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 specified1137 1138 root_test.go:2012: 1139 1140 root_test.go:2027: treefmt 1141 root_test.go:2027: 1142 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 specified1143 1144 root_test.go:2027: 1145 1146 root_test.go:1999: treefmt --tree-root-cmd 'echo /foo/bar' --tree-root-file .git/config1147 root_test.go:1999: 1148 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 set1149 1150 root_test.go:1999: 1151 Usage:1152 treefmt <paths...> [flags]1153 1154 Flags:1155 --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER)1156 --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)1157 -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE)1158 --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell.1159 --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml).1160 --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE)1161 --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES)1162 --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE)1163 -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS)1164 -h, --help help for treefmt1165 -i, --init Create a treefmt.toml file in the current directory.1166 --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE)1167 -u, --on-unmatched string Log paths that did not match any formatters at the specified log level. Possible values are <debug|info|warn|error|fatal>. (env $TREEFMT_ON_UNMATCHED) (default "info")1168 -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET)1169 --stdin Format the context passed in via stdin.1170 --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)1171 --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)1172 --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE)1173 -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE)1174 --version version for treefmt1175 --walk string The method used to traverse the files within the tree root. Currently supports <auto|git|jujutsu|filesystem>. (env $TREEFMT_WALK) (default "auto")1176 -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 ".")1177 1178 1179 root_test.go:2012: setting env TREEFMT_TREE_ROOT_CMD=echo /foo/bar1180 root_test.go:2012: setting env TREEFMT_TREE_ROOT_FILE=.git/config1181 root_test.go:2012: treefmt 1182 root_test.go:2012: 1183 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 specified1184 1185 root_test.go:2012: 1186 1187 root_test.go:2027: treefmt 1188 root_test.go:2027: 1189 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 specified1190 1191 root_test.go:2027: 1192 1193 root_test.go:1999: treefmt --tree-root bar --tree-root-cmd 'echo /foo/bar' --tree-root-file .git/config1194 root_test.go:1999: 1195 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 set1196 1197 root_test.go:1999: 1198 Usage:1199 treefmt <paths...> [flags]1200 1201 Flags:1202 --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER)1203 --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)1204 -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE)1205 --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell.1206 --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml).1207 --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE)1208 --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES)1209 --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE)1210 -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS)1211 -h, --help help for treefmt1212 -i, --init Create a treefmt.toml file in the current directory.1213 --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE)1214 -u, --on-unmatched string Log paths that did not match any formatters at the specified log level. Possible values are <debug|info|warn|error|fatal>. (env $TREEFMT_ON_UNMATCHED) (default "info")1215 -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET)1216 --stdin Format the context passed in via stdin.1217 --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)1218 --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)1219 --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE)1220 -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE)1221 --version version for treefmt1222 --walk string The method used to traverse the files within the tree root. Currently supports <auto|git|jujutsu|filesystem>. (env $TREEFMT_WALK) (default "auto")1223 -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 ".")1224 1225 1226 root_test.go:2012: setting env TREEFMT_TREE_ROOT=bar1227 root_test.go:2012: setting env TREEFMT_TREE_ROOT_CMD=echo /foo/bar1228 root_test.go:2012: setting env TREEFMT_TREE_ROOT_FILE=.git/config1229 root_test.go:2012: treefmt 1230 root_test.go:2012: 1231 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 specified1232 1233 root_test.go:2012: 1234 1235 root_test.go:2027: treefmt 1236 root_test.go:2027: 1237 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 specified1238 1239 root_test.go:2027: 1240 1241--- PASS: TestTreeRootExclusivity (1.03s)1242=== RUN TestPathsArg1243 root_test.go:2077: treefmt 1244 root_test.go:2077: 1245 traversed 33 files1246 emitted 33 files for processing1247 formatted 33 files (0 changed) in 35ms1248 1249 root_test.go:2077: 1250 1251 root_test.go:2088: treefmt rust/src/main.rs haskell/Nested/Foo.hs1252 root_test.go:2088: 1253 traversed 2 files1254 emitted 2 files for processing1255 formatted 0 files (0 changed) in 25ms1256 1257 root_test.go:2088: 1258 1259 root_test.go:2103: treefmt /build/TestPathsArg3219290230/001/tree-root/rust/src/main.rs1260 root_test.go:2103: 1261 traversed 1 files1262 emitted 1 files for processing1263 formatted 0 files (0 changed) in 28ms1264 1265 root_test.go:2103: 1266 1267 root_test.go:2115: treefmt rust/src/main.rs haskell/Nested/Bar.hs1268 root_test.go:2115: 1269 Error: failed to create walker: path /build/TestPathsArg3219290230/001/tree-root/haskell/Nested/Bar.hs not found: lstat /build/TestPathsArg3219290230/001/tree-root/haskell/Nested/Bar.hs: no such file or directory1270 1271 root_test.go:2115: 1272 1273 root_test.go:2127: treefmt /build/TestPathsArg3219290230/001/outside_tree.go1274 root_test.go:2127: 1275 Error: failed to create walker: path /build/TestPathsArg3219290230/001/outside_tree.go not inside the tree root /build/TestPathsArg3219290230/001/tree-root (relative path: ../outside_tree.go)1276 1277 root_test.go:2127: 1278 1279 root_test.go:2138: treefmt ../outside_tree.go1280 root_test.go:2138: 1281 Error: failed to create walker: path ../outside_tree.go not inside the tree root /build/TestPathsArg3219290230/001/tree-root (relative path: ../outside_tree.go)1282 1283 root_test.go:2138: 1284 1285--- PASS: TestPathsArg (1.14s)1286=== RUN TestStdin1287 root_test.go:2167: treefmt --stdin1288 root_test.go:2167: 1289 Error: exactly one path should be specified when using the --stdin flag1290 1291 root_test.go:2167: 1292 1293 root_test.go:2180: treefmt --stdin test.nix1294 root_test.go:2180: 1295 traversed 1 files1296 emitted 1 files for processing1297 formatted 1 files (1 changed) in 82ms1298 1299 root_test.go:2180: 1300 { ...}: "hello"1301 1302 root_test.go:2200: treefmt --stdin ../test.nix1303 root_test.go:2200: 1304 Error: failed to create walker: path ../test.nix not inside the tree root /build/TestStdin789446823/0011305 1306 root_test.go:2200: 1307 1308 root_test.go:2213: treefmt --stdin foo/../../test.nix1309 root_test.go:2213: 1310 Error: failed to create walker: path foo/../../test.nix not inside the tree root /build/TestStdin789446823/0011311 1312 root_test.go:2213: 1313 1314 root_test.go:2225: treefmt --stdin ..lotsadots.nix1315 root_test.go:2225: 1316 traversed 1 files1317 emitted 1 files for processing1318 formatted 1 files (1 changed) in 51ms1319 1320 root_test.go:2225: 1321 { ...}: "hello"1322 1323 root_test.go:2249: treefmt --stdin test.md1324 root_test.go:2249: 1325 traversed 1 files1326 emitted 1 files for processing1327 formatted 1 files (1 changed) in 193ms1328 1329 root_test.go:2249: 1330 | col1 | col2 |1331 | ------ | --------- |1332 | nice | fits |1333 | oh no! | it's ugly |1334 1335 root_test.go:2276: treefmt --stdin foo/justfile1336 root_test.go:2276: 1337 traversed 1 files1338 emitted 1 files for processing1339 formatted 1 files (1 changed) in 72ms1340 1341 root_test.go:2276: 1342 # print this message1343 help:1344 just --list --list-submodules --unsorted1345 1346 root_test.go:2301: treefmt -vvv --stdin path/to/foo.embed-path1347 root_test.go:2301: 1348 INFO config: no tree root specified1349 INFO config: setting tree root to the directory containing the config file: /build/TestStdin789446823/001/treefmt.toml1350 INFO config: tree root: /build/TestStdin789446823/0011351 DEBUG formatter command not found: foo-fmt1352 DEBUG Resolving path '/build/TestStdin789446823/001'1353 DEBUG Resolving path 'path/to/foo.embed-path'1354 DEBUG Path '/build/TestStdin789446823/001/path/to/foo.embed-path' does not exist, treating it as resolved1355 DEBUG Resolving path 'path/to/foo.embed-path'1356 DEBUG Path '/build/TestStdin789446823/001/path/to/foo.embed-path' does not exist, treating it as resolved1357 DEBUG read 1 files1358 DEBUG formatter | embed-path: match: /build/TestStdin789446823/001/path/to/foo.embed-path1359 DEBUG formatters signature for key embed-path: 66e6789096713b16f0c8aedd98cdb1d41360 DEBUG formatter | embed-path: executing: /nix/store/7skfgallm2wpgk754y4fbbjlnlfydiwa-test-fmt-embed-path/bin/test-fmt-embed-path fmt --stdin-filepath path/to/foo.embed-path1361 INFO formatter | embed-path: 1 file(s) processed in 3.444511ms1362 DEBUG file has changed path=path/to/foo.embed-path prev_size=52 prev_mod_time="2026-10-23 16:08:14 +0000 UTC" current_size=77 current_mod_time="2026-10-23 16:08:14 +0000 UTC"1363 traversed 1 files1364 emitted 1 files for processing1365 formatted 1 files (1 changed) in 56ms1366 DEBUG no more files to read1367 1368 root_test.go:2301: 1369 # path/to/foo.embed-path1370 1371 The formatter should add the path above this line.1372 1373 root_test.go:2332: treefmt --stdin ../foo/justfile1374 root_test.go:2332: 1375 traversed 1 files1376 emitted 1 files for processing1377 formatted 1 files (1 changed) in 52ms1378 1379 root_test.go:2332: 1380 # print this message1381 help:1382 just --list --list-submodules --unsorted1383 1384--- PASS: TestStdin (1.55s)1385=== RUN TestDeterministicOrderingInPipeline1386 root_test.go:2382: treefmt 1387 root_test.go:2382: 1388 traversed 33 files1389 emitted 2 files for processing1390 formatted 2 files (2 changed) in 43ms1391 1392 root_test.go:2382: 1393 1394 root_test.go:2420: treefmt --stdin treefmt.toml1395 root_test.go:2420: 1396 traversed 1 files1397 emitted 0 files for processing1398 formatted 0 files (0 changed) in 22ms1399 1400 root_test.go:2420: 1401 1402 foo = "bla"1403 bar = [ "bla" ]1404 adsfadf;1405 1406--- PASS: TestDeterministicOrderingInPipeline (1.08s)1407=== RUN TestRunInSubdir1408=== RUN TestRunInSubdir/auto1409 root_test.go:2489: treefmt 1410 root_test.go:2489: 1411 traversed 33 files1412 emitted 33 files for processing1413 formatted 33 files (0 changed) in 31ms1414 1415 root_test.go:2489: 1416 1417 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs1418 root_test.go:2501: 1419 Error: failed to create walker: path /build/TestRunInSubdirauto797832869/001/go/go/main.go not found: lstat /build/TestRunInSubdirauto797832869/001/go/go/main.go: no such file or directory1420 1421 root_test.go:2501: 1422 1423 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs1424 root_test.go:2509: 1425 traversed 2 files1426 emitted 2 files for processing1427 formatted 2 files (0 changed) in 28ms1428 1429 root_test.go:2509: 1430 1431=== RUN TestRunInSubdir/stdin1432 root_test.go:2489: treefmt 1433 root_test.go:2489: 1434 traversed 33 files1435 emitted 33 files for processing1436 formatted 33 files (0 changed) in 33ms1437 1438 root_test.go:2489: 1439 1440 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs1441 root_test.go:2501: 1442 Error: failed to create walker: path /build/TestRunInSubdirstdin3487710206/001/go/go/main.go not found: lstat /build/TestRunInSubdirstdin3487710206/001/go/go/main.go: no such file or directory1443 1444 root_test.go:2501: 1445 1446 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs1447 root_test.go:2509: 1448 traversed 2 files1449 emitted 2 files for processing1450 formatted 2 files (0 changed) in 33ms1451 1452 root_test.go:2509: 1453 1454=== RUN TestRunInSubdir/filesystem1455 root_test.go:2489: treefmt 1456 root_test.go:2489: 1457 traversed 33 files1458 emitted 33 files for processing1459 formatted 33 files (0 changed) in 32ms1460 1461 root_test.go:2489: 1462 1463 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs1464 root_test.go:2501: 1465 Error: failed to create walker: path /build/TestRunInSubdirfilesystem1992200627/001/go/go/main.go not found: lstat /build/TestRunInSubdirfilesystem1992200627/001/go/go/main.go: no such file or directory1466 1467 root_test.go:2501: 1468 1469 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs1470 root_test.go:2509: 1471 traversed 2 files1472 emitted 2 files for processing1473 formatted 2 files (0 changed) in 29ms1474 1475 root_test.go:2509: 1476 1477=== RUN TestRunInSubdir/git1478 root_test.go:2489: treefmt 1479 root_test.go:2489: 1480 traversed 33 files1481 emitted 33 files for processing1482 formatted 33 files (0 changed) in 41ms1483 1484 root_test.go:2489: 1485 1486 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs1487 root_test.go:2501: 1488 Error: failed to create walker: path /build/TestRunInSubdirgit2026391438/001/go/go/main.go not found: lstat /build/TestRunInSubdirgit2026391438/001/go/go/main.go: no such file or directory1489 1490 root_test.go:2501: 1491 1492 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs1493 root_test.go:2509: 1494 traversed 2 files1495 emitted 2 files for processing1496 formatted 2 files (0 changed) in 38ms1497 1498 root_test.go:2509: 1499 1500=== RUN TestRunInSubdir/jujutsu1501 root_test.go:2489: treefmt 1502 root_test.go:2489: 1503 traversed 33 files1504 emitted 33 files for processing1505 formatted 33 files (0 changed) in 40ms1506 1507 root_test.go:2489: 1508 1509 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs1510 root_test.go:2501: 1511 Error: failed to create walker: path /build/TestRunInSubdirjujutsu3708574825/001/go/go/main.go not found: lstat /build/TestRunInSubdirjujutsu3708574825/001/go/go/main.go: no such file or directory1512 1513 root_test.go:2501: 1514 1515 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs1516 root_test.go:2509: 1517 traversed 2 files1518 emitted 2 files for processing1519 formatted 2 files (0 changed) in 34ms1520 1521 root_test.go:2509: 1522 1523--- PASS: TestRunInSubdir (5.49s)1524 --- PASS: TestRunInSubdir/auto (1.08s)1525 --- PASS: TestRunInSubdir/stdin (1.09s)1526 --- PASS: TestRunInSubdir/filesystem (1.09s)1527 --- PASS: TestRunInSubdir/git (1.13s)1528 --- PASS: TestRunInSubdir/jujutsu (1.10s)1529=== RUN TestProjectRootIsSymlink1530 root_test.go:2556: treefmt -c go/main.go1531 root_test.go:2556: 1532 traversed 1 files1533 emitted 1 files for processing1534 formatted 1 files (0 changed) in 37ms1535 1536 root_test.go:2556: 1537 1538 root_test.go:2568: treefmt -c symlink-to-yaml-dir1539 root_test.go:2568: 1540 traversed 1 files1541 emitted 1 files for processing1542 formatted 1 files (0 changed) in 34ms1543 1544 root_test.go:2568: 1545 1546 root_test.go:2580: treefmt -c .1547 root_test.go:2580: 1548 traversed 33 files1549 emitted 33 files for processing1550 formatted 33 files (0 changed) in 35ms1551 1552 root_test.go:2580: 1553 1554--- PASS: TestProjectRootIsSymlink (1.12s)1555=== RUN TestConcurrentInvocation1556 root_test.go:2621: treefmt --formatters slow1557 root_test.go:2632: treefmt --formatters echo1558 root_test.go:2632: 1559 Error: failed to open cache: failed to open cache db at /build/.cache/treefmt/eval-cache/f59076bf8237c2cbd0f1e9a0e8367cad97aa9f46a45a82fc4aaaf348b03ee491.db: timeout1560 1561 root_test.go:2632: 1562 1563 root_test.go:2621: 1564 traversed 33 files1565 emitted 33 files for processing1566 formatted 33 files (33 changed) in 2.046s1567 1568 root_test.go:2621: 1569 1570 root_test.go:2645: treefmt --formatters slow1571 root_test.go:2656: treefmt -c --formatters echo1572 root_test.go:2656: 1573 traversed 33 files1574 emitted 33 files for processing1575 formatted 33 files (0 changed) in 38ms1576 1577 root_test.go:2656: 1578 1579 root_test.go:2645: 1580 traversed 33 files1581 emitted 33 files for processing1582 formatted 1 files (1 changed) in 2.047s1583 1584 root_test.go:2645: 1585 1586--- PASS: TestConcurrentInvocation (5.10s)1587=== RUN TestNoPositionalArgSupport1588 root_test.go:2682: treefmt 1589 root_test.go:2682: 1590 traversed 33 files1591 emitted 33 files for processing1592 formatted 33 files (33 changed) in 158ms1593 1594 root_test.go:2682: 1595 1596--- PASS: TestNoPositionalArgSupport (1.17s)1597=== RUN TestPrjRootBeatsConfigFileLocation1598 root_test.go:2714: setting env PRJ_ROOT=/build/TestPrjRootBeatsConfigFileLocation1420252852/001/go1599 root_test.go:2714: treefmt 1600 root_test.go:2714: 1601 traversed 2 files1602 emitted 2 files for processing1603 formatted 2 files (0 changed) in 25ms1604 1605 root_test.go:2714: 1606 1607--- PASS: TestPrjRootBeatsConfigFileLocation (1.04s)1608FAIL1609coverage: 67.6% of statements1610FAIL github.com/numtide/treefmt/v2/cmd 48.930s1611 github.com/numtide/treefmt/v2/cmd/format coverage: 0.0% of statements1612 github.com/numtide/treefmt/v2/cmd/init coverage: 0.0% of statements1613=== RUN TestAllowMissingFormatter16142026/10/23 16:07:41 INFO config: no tree root specified16152026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16162026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116172026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16182026/10/23 16:07:41 INFO config: tree root: /build/TestAllowMissingFormatter665707261/00116192026/10/23 16:07:41 INFO config: no tree root specified16202026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16212026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116222026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16232026/10/23 16:07:41 INFO config: tree root: /build/TestAllowMissingFormatter665707261/00116242026/10/23 16:07:41 INFO config: no tree root specified16252026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16262026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116272026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16282026/10/23 16:07:41 INFO config: tree root: /build/TestAllowMissingFormatter665707261/00116292026/10/23 16:07:41 INFO config: no tree root specified16302026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16312026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116322026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16332026/10/23 16:07:41 INFO config: tree root: /build/TestAllowMissingFormatter665707261/0011634--- PASS: TestAllowMissingFormatter (0.06s)1635=== RUN TestCI16362026/10/23 16:07:41 INFO config: no tree root specified16372026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16382026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116392026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16402026/10/23 16:07:41 INFO config: tree root: /build/TestCI3324304837/00116412026/10/23 16:07:41 INFO config: no tree root specified16422026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16432026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116442026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16452026/10/23 16:07:41 INFO config: tree root: /build/TestCI3324304837/00116462026/10/23 16:07:41 INFO config: no tree root specified16472026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16482026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116492026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16502026/10/23 16:07:41 INFO config: tree root: /build/TestCI3324304837/00116512026/10/23 16:07:41 INFO config: no tree root specified16522026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16532026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116542026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16552026/10/23 16:07:41 INFO config: tree root: /build/TestCI3324304837/00116562026/10/23 16:07:41 INFO config: no tree root specified16572026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16582026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116592026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16602026/10/23 16:07:41 INFO config: tree root: /build/TestCI3324304837/0011661--- PASS: TestCI (0.08s)1662=== RUN TestClearCache16632026/10/23 16:07:41 INFO config: no tree root specified16642026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16652026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116662026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16672026/10/23 16:07:41 INFO config: tree root: /build/TestClearCache3948198062/00116682026/10/23 16:07:41 INFO config: no tree root specified16692026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16702026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116712026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16722026/10/23 16:07:41 INFO config: tree root: /build/TestClearCache3948198062/00116732026/10/23 16:07:41 INFO config: no tree root specified16742026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16752026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116762026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16772026/10/23 16:07:41 INFO config: tree root: /build/TestClearCache3948198062/00116782026/10/23 16:07:41 INFO config: no tree root specified16792026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16802026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116812026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16822026/10/23 16:07:41 INFO config: tree root: /build/TestClearCache3948198062/0011683--- PASS: TestClearCache (0.08s)1684=== RUN TestCpuProfile16852026/10/23 16:07:41 INFO config: no tree root specified16862026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16872026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116882026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16892026/10/23 16:07:41 INFO config: tree root: /build/TestCpuProfile2468511040/00116902026/10/23 16:07:41 INFO config: no tree root specified16912026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16922026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116932026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16942026/10/23 16:07:41 INFO config: tree root: /build/TestCpuProfile2468511040/00116952026/10/23 16:07:41 INFO config: no tree root specified16962026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16972026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116982026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16992026/10/23 16:07:41 INFO config: tree root: /build/TestCpuProfile2468511040/00117002026/10/23 16:07:41 INFO config: no tree root specified17012026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17022026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117032026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17042026/10/23 16:07:41 INFO config: tree root: /build/TestCpuProfile2468511040/0011705--- PASS: TestCpuProfile (0.08s)1706=== RUN TestExcludes17072026/10/23 16:07:41 INFO config: no tree root specified17082026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17092026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117102026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17112026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes2472821930/00117122026/10/23 16:07:41 INFO config: no tree root specified17132026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17142026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117152026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17162026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes2472821930/00117172026/10/23 16:07:41 INFO config: no tree root specified17182026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17192026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117202026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17212026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes2472821930/00117222026/10/23 16:07:41 INFO config: no tree root specified17232026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17242026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117252026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17262026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes2472821930/00117272026/10/23 16:07:41 INFO config: no tree root specified17282026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17292026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117302026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17312026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes2472821930/0011732--- PASS: TestExcludes (0.09s)1733=== RUN TestFailOnChange17342026/10/23 16:07:41 INFO config: no tree root specified17352026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17362026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117372026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17382026/10/23 16:07:41 INFO config: tree root: /build/TestFailOnChange3140258995/00117392026/10/23 16:07:41 INFO config: no tree root specified17402026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17412026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117422026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17432026/10/23 16:07:41 INFO config: tree root: /build/TestFailOnChange3140258995/00117442026/10/23 16:07:41 INFO config: no tree root specified17452026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17462026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117472026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17482026/10/23 16:07:41 INFO config: tree root: /build/TestFailOnChange3140258995/00117492026/10/23 16:07:41 INFO config: no tree root specified17502026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17512026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117522026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17532026/10/23 16:07:41 INFO config: tree root: /build/TestFailOnChange3140258995/0011754--- PASS: TestFailOnChange (0.08s)1755=== RUN TestFormatters17562026/10/23 16:07:41 INFO config: no tree root specified17572026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17582026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117592026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17602026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters2439135428/00117612026/10/23 16:07:41 INFO config: no tree root specified17622026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17632026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117642026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17652026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters2439135428/00117662026/10/23 16:07:41 INFO config: no tree root specified17672026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17682026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117692026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17702026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters2439135428/00117712026/10/23 16:07:41 INFO config: no tree root specified17722026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17732026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117742026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17752026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters2439135428/00117762026/10/23 16:07:41 INFO config: no tree root specified17772026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17782026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117792026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17802026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters2439135428/0011781--- PASS: TestFormatters (0.09s)1782=== RUN TestNoCache17832026/10/23 16:07:41 INFO config: no tree root specified17842026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17852026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117862026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17872026/10/23 16:07:41 INFO config: tree root: /build/TestNoCache3559199412/00117882026/10/23 16:07:41 INFO config: no tree root specified17892026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17902026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117912026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17922026/10/23 16:07:41 INFO config: tree root: /build/TestNoCache3559199412/00117932026/10/23 16:07:41 INFO config: no tree root specified17942026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17952026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117962026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17972026/10/23 16:07:41 INFO config: tree root: /build/TestNoCache3559199412/00117982026/10/23 16:07:41 INFO config: no tree root specified17992026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18002026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118012026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18022026/10/23 16:07:41 INFO config: tree root: /build/TestNoCache3559199412/0011803--- PASS: TestNoCache (0.06s)1804=== RUN TestQuiet18052026/10/23 16:07:41 INFO config: no tree root specified18062026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18072026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118082026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18092026/10/23 16:07:41 INFO config: tree root: /build/TestQuiet4092860981/00118102026/10/23 16:07:41 INFO config: no tree root specified18112026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18122026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118132026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18142026/10/23 16:07:41 INFO config: tree root: /build/TestQuiet4092860981/00118152026/10/23 16:07:41 INFO config: no tree root specified18162026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18172026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118182026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18192026/10/23 16:07:41 INFO config: tree root: /build/TestQuiet4092860981/00118202026/10/23 16:07:41 INFO config: no tree root specified18212026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18222026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118232026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18242026/10/23 16:07:41 INFO config: tree root: /build/TestQuiet4092860981/0011825--- PASS: TestQuiet (0.06s)1826=== RUN TestOnUnmatched18272026/10/23 16:07:41 INFO config: no tree root specified18282026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18292026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118302026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18312026/10/23 16:07:41 INFO config: tree root: /build/TestOnUnmatched2625935550/00118322026/10/23 16:07:41 INFO config: no tree root specified18332026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18342026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118352026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18362026/10/23 16:07:41 INFO config: tree root: /build/TestOnUnmatched2625935550/00118372026/10/23 16:07:41 INFO config: no tree root specified18382026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18392026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118402026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18412026/10/23 16:07:41 INFO config: tree root: /build/TestOnUnmatched2625935550/00118422026/10/23 16:07:41 INFO config: no tree root specified18432026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18442026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118452026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18462026/10/23 16:07:41 INFO config: tree root: /build/TestOnUnmatched2625935550/0011847--- PASS: TestOnUnmatched (0.04s)1848=== RUN TestTreeRoot18492026/10/23 16:07:41 INFO config: no tree root specified18502026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18512026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118522026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18532026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRoot1665077660/00118542026/10/23 16:07:41 INFO config: tree root specified explicitly: /foo/bar18552026/10/23 16:07:41 INFO config: tree root: /foo/bar18562026/10/23 16:07:41 INFO config: tree root specified explicitly: /fizz/buzz18572026/10/23 16:07:41 INFO config: tree root: /fizz/buzz18582026/10/23 16:07:41 INFO config: tree root specified explicitly: /flip/flop18592026/10/23 16:07:41 INFO config: tree root: /flip/flop1860--- PASS: TestTreeRoot (0.02s)1861=== RUN TestTreeRootFile18622026/10/23 16:07:41 INFO config: no tree root specified18632026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18642026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118652026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18662026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootFile479588525/00118672026/10/23 16:07:41 INFO config: searching for tree root using tree-root-file: a.txt18682026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootFile479588525/002/foo/bar18692026/10/23 16:07:41 INFO config: searching for tree root using tree-root-file: go.mod18702026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootFile479588525/002/foo18712026/10/23 16:07:41 INFO config: searching for tree root using tree-root-file: .git/config18722026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootFile479588525/0021873--- PASS: TestTreeRootFile (0.02s)1874=== RUN TestTreeRootCmd18752026/10/23 16:07:41 INFO config: no tree root specified18762026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18772026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118782026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18792026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootCmd1723934750/00118802026/10/23 16:07:41 INFO config: searching for tree root using tree-root-cmd: echo /build/TestTreeRootCmd1723934750/00218812026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootCmd1723934750/00218822026/10/23 16:07:41 INFO config: searching for tree root using tree-root-cmd: echo "/build/TestTreeRootCmd1723934750/002/foo"18832026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootCmd1723934750/002/foo18842026/10/23 16:07:41 INFO config: searching for tree root using tree-root-cmd: echo '/build/TestTreeRootCmd1723934750/002/bar'18852026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootCmd1723934750/002/bar18862026/10/23 16:07:41 INFO config: searching for tree root using tree-root-cmd: echo ''1887--- PASS: TestTreeRootCmd (0.03s)1888=== RUN TestVerbosity18892026/10/23 16:07:41 INFO config: no tree root specified18902026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18912026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118922026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18932026/10/23 16:07:41 INFO config: tree root: /build/TestVerbosity2614626179/00118942026/10/23 16:07:41 INFO config: no tree root specified18952026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18962026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118972026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18982026/10/23 16:07:41 INFO config: tree root: /build/TestVerbosity2614626179/00118992026/10/23 16:07:41 INFO config: no tree root specified19002026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19012026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119022026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19032026/10/23 16:07:41 INFO config: tree root: /build/TestVerbosity2614626179/0011904--- PASS: TestVerbosity (0.05s)1905=== RUN TestWalk19062026/10/23 16:07:41 INFO config: no tree root specified19072026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19082026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119092026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19102026/10/23 16:07:41 INFO config: tree root: /build/TestWalk1700099824/00119112026/10/23 16:07:41 INFO config: no tree root specified19122026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19132026/10/23 16:07:41 INFO config: tree root: /build/TestWalk1700099824/00119142026/10/23 16:07:41 INFO config: no tree root specified19152026/10/23 16:07:41 INFO config: setting tree root to the directory containing the config file: /build/TestWalk1700099824/001/treefmt.toml19162026/10/23 16:07:41 INFO config: tree root: /build/TestWalk1700099824/00119172026/10/23 16:07:41 INFO config: no tree root specified19182026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19192026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119202026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19212026/10/23 16:07:41 INFO config: tree root: /build/TestWalk1700099824/0011922--- PASS: TestWalk (0.03s)1923=== RUN TestWorkingDirectory19242026/10/23 16:07:41 INFO config: no tree root specified19252026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19262026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119272026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19282026/10/23 16:07:41 INFO config: tree root: /build/TestWorkingDirectory493742046/00119292026/10/23 16:07:41 INFO config: no tree root specified19302026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19312026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119322026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19332026/10/23 16:07:41 INFO config: tree root: /build/TestWorkingDirectory493742046/00119342026/10/23 16:07:41 INFO config: no tree root specified19352026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19362026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119372026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19382026/10/23 16:07:41 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 12819392026/10/23 16:07:41 INFO config: setting tree root to the directory containing the config file: /build/TestWorkingDirectory493742046/001/treefmt.toml19402026/10/23 16:07:41 INFO config: tree root: /build/TestWorkingDirectory493742046/00119412026/10/23 16:07:41 INFO config: no tree root specified19422026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19432026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119442026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19452026/10/23 16:07:41 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 12819462026/10/23 16:07:41 INFO config: setting tree root to the directory containing the config file: /build/TestWorkingDirectory493742046/001/treefmt.toml19472026/10/23 16:07:41 INFO config: tree root: /build/TestWorkingDirectory493742046/0011948--- PASS: TestWorkingDirectory (0.08s)1949=== RUN TestStdin19502026/10/23 16:07:42 INFO config: no tree root specified19512026/10/23 16:07:42 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19522026/10/23 16:07:42 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119532026/10/23 16:07:42 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19542026/10/23 16:07:42 INFO config: tree root: /build/TestStdin4186939486/00119552026/10/23 16:07:42 INFO config: no tree root specified19562026/10/23 16:07:42 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19572026/10/23 16:07:42 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119582026/10/23 16:07:42 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19592026/10/23 16:07:42 INFO config: tree root: /build/TestStdin4186939486/00119602026/10/23 16:07:42 INFO config: no tree root specified19612026/10/23 16:07:42 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19622026/10/23 16:07:42 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119632026/10/23 16:07:42 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19642026/10/23 16:07:42 INFO config: tree root: /build/TestStdin4186939486/00119652026/10/23 16:07:42 INFO config: no tree root specified19662026/10/23 16:07:42 INFO config: setting tree root to the directory containing the config file: /build/TestStdin4186939486/001/treefmt.toml19672026/10/23 16:07:42 INFO config: tree root: /build/TestStdin4186939486/0011968--- PASS: TestStdin (0.05s)1969=== RUN TestSampleConfigFile19702026/10/23 16:07:42 INFO config: no tree root specified19712026/10/23 16:07:42 INFO config: setting tree root to the directory containing the config file: ../test/examples/treefmt.toml19722026/10/23 16:07:42 INFO config: tree root: /build/source/test/examples1973--- PASS: TestSampleConfigFile (0.00s)1974PASS1975coverage: 85.6% of statements1976ok github.com/numtide/treefmt/v2/config 2.069s coverage: 85.6% of statements1977=== RUN TestApplyWithDefaultStdin19782026/10/23 16:07:41 INFO formatter | cat: 1 file(s) processed in 1.886749ms1979--- PASS: TestApplyWithDefaultStdin (0.00s)1980=== RUN TestInvalidFormatterName1981--- PASS: TestInvalidFormatterName (0.00s)1982=== RUN TestFormatSignature1983=== RUN TestFormatSignature/change_formatter_mod_time1984 formatter_test.go:120: changing mod time of black1985 formatter_test.go:120: changing mod time of rufo1986=== RUN TestFormatSignature/modify_formatter_options1987=== RUN TestFormatSignature/add/remove_formatters1988--- PASS: TestFormatSignature (0.01s)1989 --- PASS: TestFormatSignature/change_formatter_mod_time (0.00s)1990 --- PASS: TestFormatSignature/modify_formatter_options (0.00s)1991 --- PASS: TestFormatSignature/add/remove_formatters (0.00s)1992=== RUN TestGlobs1993--- PASS: TestGlobs (0.00s)1994PASS1995coverage: 40.9% of statements1996ok github.com/numtide/treefmt/v2/format 1.041s coverage: 40.9% of statements1997 github.com/numtide/treefmt/v2/git coverage: 0.0% of statements1998 github.com/numtide/treefmt/v2/jujutsu coverage: 0.0% of statements1999 github.com/numtide/treefmt/v2/stats coverage: 0.0% of statements2000 github.com/numtide/treefmt/v2/test coverage: 0.0% of statements2001=== RUN TestFilesystemReaderCancellation2002--- PASS: TestFilesystemReaderCancellation (1.01s)2003=== RUN TestFilesystemReader2004--- PASS: TestFilesystemReader (1.02s)2005=== RUN TestFilesystemReaderSubpaths2006--- PASS: TestFilesystemReaderSubpaths (1.01s)2007=== RUN TestGitReader2008--- PASS: TestGitReader (2.25s)2009=== RUN TestJujutsuReader2010--- PASS: TestJujutsuReader (1.10s)2011=== RUN TestJujutsuReaderUsesTreeRoot2012--- PASS: TestJujutsuReaderUsesTreeRoot (0.05s)2013=== RUN TestAutoReaderPrefersJujutsuInColocatedRepo2014--- PASS: TestAutoReaderPrefersJujutsuInColocatedRepo (0.04s)2015=== RUN TestPathStreamReader20162026/10/23 16:07:48 WARN walk | test walker: Path /build/TestPathStreamReader2478783158/001/missing.txt was emitted by test walker but no file exists at that path2017--- PASS: TestPathStreamReader (1.01s)2018=== RUN TestPathStreamReaderSubpath2019--- PASS: TestPathStreamReaderSubpath (1.01s)2020=== RUN TestPathStreamReaderPassesPathFilters2021--- PASS: TestPathStreamReaderPassesPathFilters (1.01s)2022=== RUN TestPathStreamReaderDelimiters2023--- PASS: TestPathStreamReaderDelimiters (1.01s)2024=== RUN TestPathStreamReaderCloseUnblocks2025--- PASS: TestPathStreamReaderCloseUnblocks (0.06s)2026=== RUN TestPathStreamReaderCommandFailure2027--- PASS: TestPathStreamReaderCommandFailure (1.01s)2028PASS2029coverage: 41.1% of statements2030ok github.com/numtide/treefmt/v2/walk 12.632s coverage: 41.1% of statements2031 github.com/numtide/treefmt/v2/walk/cache coverage: 0.0% of statements2032FAIL