treefmt-656ed01
checks.x86_64-linux.pkgs-treefmt-coverage
· build #42
· raw
1bld1: building 10gai4k4by445ypak8y246mghfmhwvgj-treefmt-656ed01.drv
unpackPhase
2unpacking source archive /nix/store/dhakrznmdhqj4carscrlmryq7g8r0jl1-source3source root is sourcebuildPhase
4 github.com/numtide/treefmt/v2 coverage: 0.0% of statements5? github.com/numtide/treefmt/v2/build [no test files]6=== RUN TestOnUnmatched7=== RUN TestOnUnmatched/default8 root_test.go:79: treefmt -v9=== NAME TestOnUnmatched10 root_test.go:73: 11 Error Trace: /build/source/cmd/root_test.go:7312 /build/source/cmd/root_test.go:292913 /build/source/cmd/root_test.go:7914 Error: Not equal: 15 expected: []string{".gitignore", "go/go.mod", "haskell/haskell.cabal", "haskell-frontend/haskell-frontend.cabal", "html/scripts/.gitkeep", "python/requirements.txt"}16 actual : []string(nil)17 18 Diff:19 --- Expected20 +++ Actual21 @@ -1,9 +1,2 @@22 -([]string) (len=6) {23 - (string) (len=10) ".gitignore",24 - (string) (len=9) "go/go.mod",25 - (string) (len=21) "haskell/haskell.cabal",26 - (string) (len=39) "haskell-frontend/haskell-frontend.cabal",27 - (string) (len=21) "html/scripts/.gitkeep",28 - (string) (len=23) "python/requirements.txt"29 -}30 +([]string) <nil>31 32 Test: TestOnUnmatched33=== NAME TestOnUnmatched/default34 testing.go:1913: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test35--- FAIL: TestOnUnmatched (1.95s)36 --- FAIL: TestOnUnmatched/default (0.94s)37=== RUN TestQuiet38 root_test.go:149: treefmt -q39 root_test.go:149: 40 41 root_test.go:149: 42 43 root_test.go:150: treefmt --quiet44 root_test.go:150: 45 46 root_test.go:150: 47 48 root_test.go:153: treefmt 49 root_test.go:153: 50 51 root_test.go:153: 52 53 root_test.go:158: treefmt 54 root_test.go:158: 55 Error: failed to create composite formatter: failed to initialise formatter foo-fmt: formatter command not found in PATH: error looking up 'foo-fmt'56 57 root_test.go:158: 58 59--- PASS: TestQuiet (2.43s)60=== RUN TestCpuProfile61 root_test.go:172: treefmt --cpu-profile cpu.pprof62 root_test.go:172: 63 traversed 34 files64 emitted 22 files for processing65 formatted 22 files (4 changed) in 343ms66 67 root_test.go:172: 68 69 root_test.go:182: treefmt 70 root_test.go:182: 71 traversed 35 files72 emitted 22 files for processing73 formatted 0 files (0 changed) in 27ms74 75 root_test.go:182: 76 77--- PASS: TestCpuProfile (1.39s)78=== RUN TestAllowMissingFormatter79=== RUN TestAllowMissingFormatter/default80 root_test.go:202: treefmt 81 root_test.go:202: 82 Error: failed to create composite formatter: failed to initialise formatter foo-fmt: formatter command not found in PATH: error looking up 'foo-fmt'83 84 root_test.go:202: 85 86=== RUN TestAllowMissingFormatter/arg87 root_test.go:210: treefmt --allow-missing-formatter88 root_test.go:210: 89 traversed 33 files90 emitted 0 files for processing91 formatted 0 files (0 changed) in 21ms92 93 root_test.go:210: 94 95=== RUN TestAllowMissingFormatter/env96 root_test.go:224: treefmt 97 root_test.go:224: 98 traversed 33 files99 emitted 0 files for processing100 formatted 0 files (0 changed) in 25ms101 102 root_test.go:224: 103 104--- PASS: TestAllowMissingFormatter (1.10s)105 --- PASS: TestAllowMissingFormatter/default (0.04s)106 --- PASS: TestAllowMissingFormatter/arg (0.02s)107 --- PASS: TestAllowMissingFormatter/env (0.03s)108=== RUN TestSpecifyingFormatters109=== RUN TestSpecifyingFormatters/default110 root_test.go:257: treefmt 111 root_test.go:257: 112 traversed 33 files113 emitted 3 files for processing114 formatted 3 files (3 changed) in 31ms115 116 root_test.go:257: 117 118=== RUN TestSpecifyingFormatters/args119 root_test.go:270: treefmt --formatters rust,nix120 root_test.go:270: 121 traversed 33 files122 emitted 2 files for processing123 formatted 2 files (2 changed) in 27ms124 125 root_test.go:270: 126 127 root_test.go:282: treefmt --formatters ruby,nix128 root_test.go:282: 129 traversed 33 files130 emitted 2 files for processing131 formatted 2 files (2 changed) in 29ms132 133 root_test.go:282: 134 135 root_test.go:294: treefmt --formatters nix136 root_test.go:294: 137 traversed 33 files138 emitted 1 files for processing139 formatted 1 files (1 changed) in 28ms140 141 root_test.go:294: 142 143 root_test.go:307: treefmt --formatters foo144 root_test.go:307: 145 Error: failed to load config: formatter foo not found in config146 147 root_test.go:307: 148 149=== RUN TestSpecifyingFormatters/env150 root_test.go:318: treefmt 151 root_test.go:318: 152 traversed 33 files153 emitted 2 files for processing154 formatted 2 files (2 changed) in 29ms155 156 root_test.go:318: 157 158 root_test.go:331: treefmt 159 root_test.go:331: 160 Error: failed to load config: formatter bar not found in config161 162 root_test.go:331: 163 164=== RUN TestSpecifyingFormatters/bad_names165 root_test.go:340: treefmt --formatters foo$166 root_test.go:340: 167 Error: failed to load config: formatter name "foo$" is invalid, must be of the form ^[a-zA-Z0-9_-]+$168 169 root_test.go:340: 170 171 root_test.go:349: treefmt 172 root_test.go:349: 173 Error: failed to load config: formatter name "foo$" is invalid, must be of the form ^[a-zA-Z0-9_-]+$174 175 root_test.go:349: 176 177 root_test.go:364: treefmt 178 root_test.go:364: 179 Error: failed to load config: formatter name "foo$" is invalid, must be of the form ^[a-zA-Z0-9_-]+$180 181 root_test.go:364: 182 183 root_test.go:340: treefmt --formatters /bar184 root_test.go:340: 185 Error: failed to load config: formatter name "/bar" is invalid, must be of the form ^[a-zA-Z0-9_-]+$186 187 root_test.go:340: 188 189 root_test.go:349: treefmt 190 root_test.go:349: 191 Error: failed to load config: formatter name "/bar" is invalid, must be of the form ^[a-zA-Z0-9_-]+$192 193 root_test.go:349: 194 195 root_test.go:364: treefmt 196 root_test.go:364: 197 Error: failed to load config: formatter name "/bar" is invalid, must be of the form ^[a-zA-Z0-9_-]+$198 199 root_test.go:364: 200 201 root_test.go:340: treefmt --formatters baz%202 root_test.go:340: 203 Error: failed to load config: formatter name "baz%" is invalid, must be of the form ^[a-zA-Z0-9_-]+$204 205 root_test.go:340: 206 207 root_test.go:349: treefmt 208 root_test.go:349: 209 Error: failed to load config: formatter name "baz%" is invalid, must be of the form ^[a-zA-Z0-9_-]+$210 211 root_test.go:349: 212 213 root_test.go:364: treefmt 214 root_test.go:364: 215 Error: failed to load config: formatter name "baz%" is invalid, must be of the form ^[a-zA-Z0-9_-]+$216 217 root_test.go:364: 218 219--- PASS: TestSpecifyingFormatters (1.30s)220 --- PASS: TestSpecifyingFormatters/default (0.03s)221 --- PASS: TestSpecifyingFormatters/args (0.10s)222 --- PASS: TestSpecifyingFormatters/env (0.04s)223 --- PASS: TestSpecifyingFormatters/bad_names (0.11s)224=== RUN TestIncludesAndExcludes225 root_test.go:393: treefmt 226 root_test.go:393: 227 traversed 33 files228 emitted 33 files for processing229 formatted 33 files (0 changed) in 35ms230 231 root_test.go:393: 232 233 root_test.go:407: treefmt -c234 root_test.go:407: 235 traversed 33 files236 emitted 32 files for processing237 formatted 32 files (0 changed) in 29ms238 239 root_test.go:407: 240 241 root_test.go:422: treefmt -c242 root_test.go:422: 243 traversed 33 files244 emitted 26 files for processing245 formatted 26 files (0 changed) in 26ms246 247 root_test.go:422: 248 249 root_test.go:439: treefmt -c250 root_test.go:439: 251 traversed 33 files252 emitted 24 files for processing253 formatted 24 files (0 changed) in 26ms254 255 root_test.go:439: 256 257 root_test.go:454: treefmt -c258 root_test.go:454: 259 traversed 33 files260 emitted 23 files for processing261 formatted 23 files (0 changed) in 29ms262 263 root_test.go:454: 264 265 root_test.go:471: treefmt -c266 root_test.go:471: 267 traversed 33 files268 emitted 1 files for processing269 formatted 1 files (0 changed) in 28ms270 271 root_test.go:471: 272 273 root_test.go:486: treefmt -c274 root_test.go:486: 275 traversed 33 files276 emitted 2 files for processing277 formatted 2 files (0 changed) in 29ms278 279 root_test.go:486: 280 281--- PASS: TestIncludesAndExcludes (1.21s)282=== RUN TestConfigFile283=== RUN TestConfigFile/treefmt.toml284 root_test.go:514: treefmt --config-file /build/TestConfigFiletreefmt.toml1537004873/003/treefmt.toml285 root_test.go:514: 286 traversed 1 files287 emitted 1 files for processing288 formatted 1 files (0 changed) in 24ms289 290 root_test.go:514: 291 292 root_test.go:533: treefmt --config-file /build/TestConfigFiletreefmt.toml1537004873/003/treefmt.toml --tree-root /build/TestConfigFiletreefmt.toml1537004873/001293 root_test.go:533: 294 traversed 33 files295 emitted 33 files for processing296 formatted 33 files (0 changed) in 17ms297 298 root_test.go:533: 299 300 root_test.go:545: setting env TREEFMT_CONFIG=/build/TestConfigFiletreefmt.toml1537004873/003/treefmt.toml301 root_test.go:545: setting env PRJ_ROOT=/build/TestConfigFiletreefmt.toml1537004873/001302 root_test.go:545: treefmt 303 root_test.go:545: 304 traversed 33 files305 emitted 33 files for processing306 formatted 0 files (0 changed) in 13ms307 308 root_test.go:545: 309 310 root_test.go:563: setting env PRJ_ROOT=/build/TestConfigFiletreefmt.toml1537004873/003311 root_test.go:563: treefmt --tree-root /build/TestConfigFiletreefmt.toml1537004873/001312 root_test.go:563: 313 traversed 33 files314 emitted 33 files for processing315 formatted 0 files (0 changed) in 17ms316 317 root_test.go:563: 318 319 root_test.go:581: setting env PRJ_ROOT=/build/TestConfigFiletreefmt.toml1537004873/003/sub320 root_test.go:581: treefmt --tree-root /build/TestConfigFiletreefmt.toml1537004873/001321 root_test.go:581: 322 Error: failed to find treefmt config file: could not find [treefmt.toml .treefmt.toml .config/treefmt.toml] in /build/TestConfigFiletreefmt.toml1537004873/002323 324 root_test.go:581: 325 326=== RUN TestConfigFile/.treefmt.toml327 root_test.go:514: treefmt --config-file /build/TestConfigFile.treefmt.toml2848524740/003/.treefmt.toml328 root_test.go:514: 329 traversed 1 files330 emitted 1 files for processing331 formatted 1 files (0 changed) in 27ms332 333 root_test.go:514: 334 335 root_test.go:533: treefmt --config-file /build/TestConfigFile.treefmt.toml2848524740/003/.treefmt.toml --tree-root /build/TestConfigFile.treefmt.toml2848524740/001336 root_test.go:533: 337 traversed 33 files338 emitted 33 files for processing339 formatted 33 files (0 changed) in 16ms340 341 root_test.go:533: 342 343 root_test.go:545: setting env TREEFMT_CONFIG=/build/TestConfigFile.treefmt.toml2848524740/003/.treefmt.toml344 root_test.go:545: setting env PRJ_ROOT=/build/TestConfigFile.treefmt.toml2848524740/001345 root_test.go:545: treefmt 346 root_test.go:545: 347 traversed 33 files348 emitted 33 files for processing349 formatted 0 files (0 changed) in 12ms350 351 root_test.go:545: 352 353 root_test.go:563: setting env PRJ_ROOT=/build/TestConfigFile.treefmt.toml2848524740/003354 root_test.go:563: treefmt --tree-root /build/TestConfigFile.treefmt.toml2848524740/001355 root_test.go:563: 356 traversed 33 files357 emitted 33 files for processing358 formatted 0 files (0 changed) in 13ms359 360 root_test.go:563: 361 362 root_test.go:581: setting env PRJ_ROOT=/build/TestConfigFile.treefmt.toml2848524740/003/sub363 root_test.go:581: treefmt --tree-root /build/TestConfigFile.treefmt.toml2848524740/001364 root_test.go:581: 365 Error: failed to find treefmt config file: could not find [treefmt.toml .treefmt.toml .config/treefmt.toml] in /build/TestConfigFile.treefmt.toml2848524740/002366 367 root_test.go:581: 368 369--- PASS: TestConfigFile (2.16s)370 --- PASS: TestConfigFile/treefmt.toml (1.08s)371 --- PASS: TestConfigFile/.treefmt.toml (1.08s)372=== RUN TestDotConfigDir373=== RUN TestDotConfigDir/basic374 root_test.go:609: treefmt 375 root_test.go:609: 376 traversed 33 files377 emitted 33 files for processing378 formatted 33 files (0 changed) in 30ms379 380 root_test.go:609: 381 382=== RUN TestDotConfigDir/project_root_ending_in_.config383 root_test.go:646: treefmt 384 root_test.go:646: 385 traversed 33 files386 emitted 33 files for processing387 formatted 33 files (0 changed) in 26ms388 389 root_test.go:646: 390 391--- PASS: TestDotConfigDir (2.07s)392 --- PASS: TestDotConfigDir/basic (1.04s)393 --- PASS: TestDotConfigDir/project_root_ending_in_.config (1.03s)394=== RUN TestCache395 root_test.go:686: treefmt 396 root_test.go:686: 397 traversed 33 files398 emitted 33 files for processing399 formatted 33 files (33 changed) in 30ms400 401 root_test.go:686: 402 403 root_test.go:697: treefmt 404 root_test.go:697: 405 traversed 33 files406 emitted 33 files for processing407 formatted 0 files (0 changed) in 29ms408 409 root_test.go:697: 410 411 root_test.go:708: treefmt -c412 root_test.go:708: 413 traversed 33 files414 emitted 33 files for processing415 formatted 33 files (33 changed) in 31ms416 417 root_test.go:708: 418 419 root_test.go:720: treefmt 420 root_test.go:720: 421 traversed 33 files422 emitted 33 files for processing423 formatted 0 files (0 changed) in 27ms424 425 root_test.go:720: 426 427 root_test.go:731: treefmt 428 root_test.go:731: 429 traversed 33 files430 emitted 33 files for processing431 formatted 33 files (33 changed) in 25ms432 433 root_test.go:731: 434 435 root_test.go:743: treefmt --no-cache436 root_test.go:743: 437 traversed 33 files438 emitted 33 files for processing439 formatted 33 files (33 changed) in 29ms440 441 root_test.go:743: 442 443 root_test.go:771: treefmt 444 root_test.go:771: 445 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 1446 447 /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch: unrecognized option '--bad-arg'448 Try '/nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch --help' for more information.449 450 traversed 33 files451 emitted 6 files for processing452 formatted 0 files (0 changed) in 30ms453 Error: failed to finalise formatting: formatting failures detected454 455 root_test.go:771: 456 457 root_test.go:784: treefmt 458 root_test.go:784: 459 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 1460 461 /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch: unrecognized option '--bad-arg'462 Try '/nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch --help' for more information.463 464 traversed 33 files465 emitted 6 files for processing466 formatted 0 files (0 changed) in 29ms467 Error: failed to finalise formatting: formatting failures detected468 469 root_test.go:784: 470 471 root_test.go:806: treefmt 472 root_test.go:806: 473 traversed 33 files474 emitted 6 files for processing475 formatted 6 files (6 changed) in 27ms476 477 root_test.go:806: 478 479--- PASS: TestCache (1.27s)480=== RUN TestChangeWorkingDirectory481=== RUN TestChangeWorkingDirectory/default482 root_test.go:848: treefmt 483 root_test.go:848: 484 Error: failed to find treefmt config file: could not find [treefmt.toml .treefmt.toml .config/treefmt.toml] in /build/TestChangeWorkingDirectorydefault822055721/002485 486 root_test.go:848: 487 488 root_test.go:859: treefmt 489 root_test.go:859: 490 traversed 33 files491 emitted 33 files for processing492 formatted 33 files (33 changed) in 46ms493 494 root_test.go:859: 495 496=== RUN TestChangeWorkingDirectory/arg497=== RUN TestChangeWorkingDirectory/arg/treefmt.toml498 root_test.go:895: treefmt -C /build/TestChangeWorkingDirectoryargtreefmt.toml2606359859/001499 root_test.go:895: 500 traversed 33 files501 emitted 33 files for processing502 formatted 33 files (33 changed) in 54ms503 504 root_test.go:895: 505 506=== RUN TestChangeWorkingDirectory/arg/.treefmt.toml507 root_test.go:895: treefmt -C /build/TestChangeWorkingDirectoryarg.treefmt.toml1192387088/001508 root_test.go:895: 509 traversed 33 files510 emitted 33 files for processing511 formatted 33 files (33 changed) in 52ms512 513 root_test.go:895: 514 515=== RUN TestChangeWorkingDirectory/env516=== RUN TestChangeWorkingDirectory/env/treefmt.toml517 root_test.go:895: treefmt 518 root_test.go:895: 519 traversed 33 files520 emitted 33 files for processing521 formatted 33 files (33 changed) in 45ms522 523 root_test.go:895: 524 525=== RUN TestChangeWorkingDirectory/env/.treefmt.toml526 root_test.go:895: treefmt 527 root_test.go:895: 528 traversed 33 files529 emitted 33 files for processing530 formatted 33 files (33 changed) in 40ms531 532 root_test.go:895: 533 534--- PASS: TestChangeWorkingDirectory (5.28s)535 --- PASS: TestChangeWorkingDirectory/default (1.06s)536 --- PASS: TestChangeWorkingDirectory/arg (2.12s)537 --- PASS: TestChangeWorkingDirectory/arg/treefmt.toml (1.06s)538 --- PASS: TestChangeWorkingDirectory/arg/.treefmt.toml (1.06s)539 --- PASS: TestChangeWorkingDirectory/env (2.10s)540 --- PASS: TestChangeWorkingDirectory/env/treefmt.toml (1.05s)541 --- PASS: TestChangeWorkingDirectory/env/.treefmt.toml (1.05s)542=== RUN TestFailOnChange543=== RUN TestFailOnChange/change_size544 root_test.go:943: treefmt --fail-on-change545 root_test.go:943: 546 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"547 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"548 traversed 33 files549 emitted 2 files for processing550 formatted 2 files (2 changed) in 38ms551 Error: unexpected changes detected, --fail-on-change is enabled552 553 root_test.go:943: 554 555 root_test.go:959: treefmt --fail-on-change556 root_test.go:959: 557 traversed 33 files558 emitted 2 files for processing559 formatted 0 files (0 changed) in 34ms560 561 root_test.go:959: 562 563=== RUN TestFailOnChange/change_modtime564 root_test.go:987: treefmt --fail-on-change565 root_test.go:987: 566 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"567 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"568 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"569 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"570 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"571 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"572 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"573 traversed 33 files574 emitted 7 files for processing575 formatted 7 files (7 changed) in 52ms576 Error: unexpected changes detected, --fail-on-change is enabled577 578 root_test.go:987: 579 580 root_test.go:1020: treefmt --fail-on-change581 root_test.go:1020: 582 traversed 33 files583 emitted 7 files for processing584 formatted 0 files (0 changed) in 27ms585 586 root_test.go:1020: 587 588--- PASS: TestFailOnChange (2.17s)589 --- PASS: TestFailOnChange/change_size (1.08s)590 --- PASS: TestFailOnChange/change_modtime (1.09s)591=== RUN TestCacheBusting592=== RUN TestCacheBusting/formatter_change_config593 root_test.go:1058: treefmt 594 root_test.go:1058: 595 traversed 33 files596 emitted 8 files for processing597 formatted 8 files (6 changed) in 39ms598 599 root_test.go:1058: 600 601 root_test.go:1072: treefmt 602 root_test.go:1072: 603 traversed 33 files604 emitted 8 files for processing605 formatted 6 files (6 changed) in 35ms606 607 root_test.go:1072: 608 609 root_test.go:1083: treefmt 610 root_test.go:1083: 611 traversed 33 files612 emitted 8 files for processing613 formatted 0 files (0 changed) in 33ms614 615 root_test.go:1083: 616 617 root_test.go:1097: treefmt 618 root_test.go:1097: 619 traversed 33 files620 emitted 8 files for processing621 formatted 6 files (0 changed) in 37ms622 623 root_test.go:1097: 624 625 root_test.go:1108: treefmt 626 root_test.go:1108: 627 traversed 33 files628 emitted 8 files for processing629 formatted 0 files (0 changed) in 36ms630 631 root_test.go:1108: 632 633 root_test.go:1123: treefmt 634 root_test.go:1123: 635 traversed 33 files636 emitted 6 files for processing637 formatted 0 files (0 changed) in 36ms638 639 root_test.go:1123: 640 641 root_test.go:1138: treefmt 642 root_test.go:1138: 643 traversed 33 files644 emitted 5 files for processing645 formatted 0 files (0 changed) in 31ms646 647 root_test.go:1138: 648 649=== RUN TestCacheBusting/formatter_change_binary650 root_test.go:1185: treefmt 651 root_test.go:1185: 652 traversed 34 files653 emitted 3 files for processing654 formatted 3 files (1 changed) in 41ms655 656 root_test.go:1185: 657 658 root_test.go:1200: treefmt 659 root_test.go:1200: 660 traversed 34 files661 emitted 3 files for processing662 formatted 1 files (1 changed) in 36ms663 664 root_test.go:1200: 665 666 root_test.go:1211: treefmt 667 root_test.go:1211: 668 traversed 34 files669 emitted 3 files for processing670 formatted 0 files (0 changed) in 33ms671 672 root_test.go:1211: 673 674 root_test.go:1231: treefmt 675 root_test.go:1231: 676 traversed 34 files677 emitted 3 files for processing678 formatted 1 files (1 changed) in 36ms679 680 root_test.go:1231: 681 682 root_test.go:1242: treefmt 683 root_test.go:1242: 684 traversed 34 files685 emitted 3 files for processing686 formatted 0 files (0 changed) in 34ms687 688 root_test.go:1242: 689 690=== RUN TestCacheBusting/formatter_add_remove691 root_test.go:1271: treefmt 692 root_test.go:1271: 693 traversed 33 files694 emitted 2 files for processing695 formatted 2 files (2 changed) in 37ms696 697 root_test.go:1271: 698 699 root_test.go:1283: treefmt 700 root_test.go:1283: 701 traversed 33 files702 emitted 2 files for processing703 formatted 0 files (0 changed) in 32ms704 705 root_test.go:1283: 706 707 root_test.go:1302: treefmt 708 root_test.go:1302: 709 traversed 33 files710 emitted 3 files for processing711 formatted 1 files (1 changed) in 35ms712 713 root_test.go:1302: 714 715 root_test.go:1321: treefmt 716 root_test.go:1321: 717 traversed 33 files718 emitted 3 files for processing719 formatted 2 files (2 changed) in 38ms720 721 root_test.go:1321: 722 723 root_test.go:1333: treefmt 724 root_test.go:1333: 725 traversed 33 files726 emitted 3 files for processing727 formatted 0 files (0 changed) in 32ms728 729 root_test.go:1333: 730 731 root_test.go:1349: treefmt 732 root_test.go:1349: 733 traversed 33 files734 emitted 3 files for processing735 formatted 2 files (2 changed) in 36ms736 737 root_test.go:1349: 738 739 root_test.go:1361: treefmt 740 root_test.go:1361: 741 traversed 33 files742 emitted 3 files for processing743 formatted 0 files (0 changed) in 35ms744 745 root_test.go:1361: 746 747 root_test.go:1376: treefmt 748 root_test.go:1376: 749 traversed 33 files750 emitted 3 files for processing751 formatted 2 files (2 changed) in 35ms752 753 root_test.go:1376: 754 755 root_test.go:1388: treefmt 756 root_test.go:1388: 757 traversed 33 files758 emitted 3 files for processing759 formatted 0 files (0 changed) in 32ms760 761 root_test.go:1388: 762 763 root_test.go:1404: treefmt 764 root_test.go:1404: 765 traversed 33 files766 emitted 2 files for processing767 formatted 0 files (0 changed) in 32ms768 769 root_test.go:1404: 770 771--- PASS: TestCacheBusting (3.82s)772 --- PASS: TestCacheBusting/formatter_change_config (1.26s)773 --- PASS: TestCacheBusting/formatter_change_binary (1.20s)774 --- PASS: TestCacheBusting/formatter_add_remove (1.36s)775=== RUN TestGit776 root_test.go:1443: treefmt 777 root_test.go:1443: 778 traversed 33 files779 emitted 33 files for processing780 formatted 33 files (0 changed) in 44ms781 782 root_test.go:1443: 783 784 root_test.go:1458: treefmt 785 root_test.go:1458: 786 traversed 33 files787 emitted 33 files for processing788 formatted 0 files (0 changed) in 36ms789 790 root_test.go:1458: 791 792 root_test.go:1476: treefmt 793 root_test.go:1476: 794 traversed 33 files795 emitted 33 files for processing796 formatted 0 files (0 changed) in 36ms797 798 root_test.go:1476: 799 800 root_test.go:1491: treefmt 801 root_test.go:1491: 802 WARN walk | git: Path /build/TestGit438571287/001/python/main.py was emitted by git but no file exists at that path803 WARN walk | git: Path /build/TestGit438571287/001/python/requirements.txt was emitted by git but no file exists at that path804 WARN walk | git: Path /build/TestGit438571287/001/python/virtualenv_proxy.py was emitted by git but no file exists at that path805 traversed 30 files806 emitted 30 files for processing807 formatted 0 files (0 changed) in 33ms808 809 root_test.go:1491: 810 811 root_test.go:1508: treefmt --walk filesystem812 root_test.go:1508: 813 traversed 82 files814 emitted 82 files for processing815 formatted 53 files (0 changed) in 17ms816 817 root_test.go:1508: 818 819 root_test.go:1523: treefmt go820 root_test.go:1523: 821 traversed 2 files822 emitted 2 files for processing823 formatted 0 files (0 changed) in 26ms824 825 root_test.go:1523: 826 827 root_test.go:1535: treefmt go haskell828 root_test.go:1535: 829 traversed 9 files830 emitted 9 files for processing831 formatted 0 files (0 changed) in 27ms832 833 root_test.go:1535: 834 835 root_test.go:1547: treefmt -C /build/TestGit438571287/001 go haskell ruby836 root_test.go:1547: 837 traversed 10 files838 emitted 10 files for processing839 formatted 0 files (0 changed) in 30ms840 841 root_test.go:1547: 842 843 root_test.go:1560: treefmt -C /build/TestGit438571287/001 haskell foo844 root_test.go:1560: 845 Error: failed to create walker: path /build/TestGit438571287/001/foo not found: lstat /build/TestGit438571287/001/foo: no such file or directory846 847 root_test.go:1560: 848 849 root_test.go:1572: treefmt haskell foo.txt -vv850 root_test.go:1572: 851 INFO config: no tree root specified852 INFO config: attempting to resolve tree root using jujutsu: jj workspace root853 DEBUG tree-root-cmd | stderr: Error: There is no jj repo in "."854 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:855 DEBUG tree-root-cmd | stdout:856 DEBUG tree-root-cmd | stderr: jj git init857 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1858 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel859 DEBUG tree-root-cmd | stdout: /build/TestGit438571287/001860 861 INFO config: tree root: /build/TestGit438571287/001862 DEBUG Resolving path '/build/TestGit438571287/001'863 DEBUG Resolving path 'haskell'864 DEBUG Resolving path 'haskell'865 DEBUG Resolving path 'foo.txt'866 DEBUG Resolving path 'foo.txt'867 DEBUG walk | git: processing file: /build/TestGit438571287/001/foo.txt868 DEBUG walk | git: processing file: /build/TestGit438571287/001/haskell/CHANGELOG.md869 DEBUG walk | git: processing file: /build/TestGit438571287/001/haskell/Foo.hs870 DEBUG walk | git: processing file: /build/TestGit438571287/001/haskell/Main.hs871 DEBUG walk | git: processing file: /build/TestGit438571287/001/haskell/Nested/Foo.hs872 DEBUG walk | git: processing file: /build/TestGit438571287/001/haskell/Setup.hs873 DEBUG walk | git: processing file: /build/TestGit438571287/001/haskell/haskell.cabal874 DEBUG walk | git: processing file: /build/TestGit438571287/001/haskell/treefmt.toml875 DEBUG walk | cache: read 8 files from delegate876 DEBUG read 8 files877 DEBUG formatter | echo: match: /build/TestGit438571287/001/foo.txt878 DEBUG formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f879 DEBUG formatter | echo: match: /build/TestGit438571287/001/haskell/CHANGELOG.md880 DEBUG formatter | echo: match: /build/TestGit438571287/001/haskell/Foo.hs881 DEBUG formatter | echo: match: /build/TestGit438571287/001/haskell/Main.hs882 DEBUG formatter | echo: match: /build/TestGit438571287/001/haskell/Nested/Foo.hs883 DEBUG formatter | echo: match: /build/TestGit438571287/001/haskell/Setup.hs884 DEBUG formatter | echo: match: /build/TestGit438571287/001/haskell/haskell.cabal885 DEBUG formatter | echo: match: /build/TestGit438571287/001/haskell/treefmt.toml886 DEBUG formatter | echo: executing: /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/echo foo.txt887 INFO formatter | echo: 1 file(s) processed in 1.25621ms888 traversed 8 files889 emitted 8 files for processing890 formatted 1 files (0 changed) in 33ms891 DEBUG no more files to read892 893 root_test.go:1572: 894 895 root_test.go:1584: treefmt go foo.txt896 root_test.go:1584: 897 traversed 3 files898 emitted 3 files for processing899 formatted 0 files (0 changed) in 24ms900 901 root_test.go:1584: 902 903 root_test.go:1596: treefmt foo.txt904 root_test.go:1596: 905 traversed 1 files906 emitted 1 files for processing907 formatted 0 files (0 changed) in 28ms908 909 root_test.go:1596: 910 911--- PASS: TestGit (1.39s)912=== RUN TestJujutsu913 root_test.go:1640: treefmt 914 root_test.go:1640: 915 traversed 0 files916 emitted 0 files for processing917 formatted 0 files (0 changed) in 38ms918 919 root_test.go:1640: 920 921 root_test.go:1656: treefmt 922 root_test.go:1656: 923 traversed 33 files924 emitted 33 files for processing925 formatted 33 files (0 changed) in 45ms926 927 root_test.go:1656: 928 929 root_test.go:1679: treefmt 930 root_test.go:1679: 931 traversed 33 files932 emitted 33 files for processing933 formatted 0 files (0 changed) in 39ms934 935 root_test.go:1679: 936 937 root_test.go:1698: treefmt 938 root_test.go:1698: 939 traversed 30 files940 emitted 30 files for processing941 formatted 0 files (0 changed) in 42ms942 943 root_test.go:1698: 944 945 root_test.go:1714: treefmt --walk filesystem946 root_test.go:1714: 947 traversed 137 files948 emitted 137 files for processing949 formatted 108 files (0 changed) in 22ms950 951 root_test.go:1714: 952 953 root_test.go:1729: treefmt go954 root_test.go:1729: 955 traversed 2 files956 emitted 2 files for processing957 formatted 0 files (0 changed) in 36ms958 959 root_test.go:1729: 960 961 root_test.go:1741: treefmt go haskell962 root_test.go:1741: 963 traversed 9 files964 emitted 9 files for processing965 formatted 0 files (0 changed) in 37ms966 967 root_test.go:1741: 968 969 root_test.go:1753: treefmt -C /build/TestJujutsu717520144/001 go haskell ruby970 root_test.go:1753: 971 traversed 10 files972 emitted 10 files for processing973 formatted 0 files (0 changed) in 40ms974 975 root_test.go:1753: 976 977 root_test.go:1766: treefmt -C /build/TestJujutsu717520144/001 haskell foo978 root_test.go:1766: 979 Error: failed to create walker: path /build/TestJujutsu717520144/001/foo not found: lstat /build/TestJujutsu717520144/001/foo: no such file or directory980 981 root_test.go:1766: 982 983 root_test.go:1782: treefmt haskell foo.txt -vv984 root_test.go:1782: 985 INFO config: no tree root specified986 INFO config: attempting to resolve tree root using jujutsu: jj workspace root987 DEBUG tree-root-cmd | stdout: /build/TestJujutsu717520144/001988 989 INFO config: tree root: /build/TestJujutsu717520144/001990 DEBUG Resolving path '/build/TestJujutsu717520144/001'991 DEBUG Resolving path 'haskell'992 DEBUG Resolving path 'haskell'993 DEBUG Resolving path 'foo.txt'994 DEBUG Resolving path 'foo.txt'995 DEBUG walk | jujutsu: processing file: /build/TestJujutsu717520144/001/foo.txt996 DEBUG walk | jujutsu: processing file: /build/TestJujutsu717520144/001/haskell/CHANGELOG.md997 DEBUG walk | jujutsu: processing file: /build/TestJujutsu717520144/001/haskell/Foo.hs998 DEBUG walk | jujutsu: processing file: /build/TestJujutsu717520144/001/haskell/Main.hs999 DEBUG walk | jujutsu: processing file: /build/TestJujutsu717520144/001/haskell/Nested/Foo.hs1000 DEBUG walk | jujutsu: processing file: /build/TestJujutsu717520144/001/haskell/Setup.hs1001 DEBUG walk | jujutsu: processing file: /build/TestJujutsu717520144/001/haskell/haskell.cabal1002 DEBUG walk | jujutsu: processing file: /build/TestJujutsu717520144/001/haskell/treefmt.toml1003 DEBUG walk | cache: read 8 files from delegate1004 DEBUG read 8 files1005 DEBUG formatter | echo: match: /build/TestJujutsu717520144/001/foo.txt1006 DEBUG formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f1007 DEBUG formatter | echo: match: /build/TestJujutsu717520144/001/haskell/CHANGELOG.md1008 DEBUG formatter | echo: match: /build/TestJujutsu717520144/001/haskell/Foo.hs1009 DEBUG formatter | echo: match: /build/TestJujutsu717520144/001/haskell/Main.hs1010 DEBUG formatter | echo: match: /build/TestJujutsu717520144/001/haskell/Nested/Foo.hs1011 DEBUG formatter | echo: match: /build/TestJujutsu717520144/001/haskell/Setup.hs1012 DEBUG formatter | echo: match: /build/TestJujutsu717520144/001/haskell/haskell.cabal1013 DEBUG formatter | echo: match: /build/TestJujutsu717520144/001/haskell/treefmt.toml1014 DEBUG formatter | echo: executing: /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/echo foo.txt1015 INFO formatter | echo: 1 file(s) processed in 1.332981ms1016 traversed 8 files1017 emitted 8 files for processing1018 formatted 1 files (0 changed) in 45ms1019 DEBUG no more files to read1020 1021 root_test.go:1782: 1022 1023 root_test.go:1794: treefmt go foo.txt1024 root_test.go:1794: 1025 traversed 3 files1026 emitted 3 files for processing1027 formatted 0 files (0 changed) in 38ms1028 1029 root_test.go:1794: 1030 1031 root_test.go:1806: treefmt foo.txt1032 root_test.go:1806: 1033 traversed 1 files1034 emitted 1 files for processing1035 formatted 0 files (0 changed) in 37ms1036 1037 root_test.go:1806: 1038 1039--- PASS: TestJujutsu (1.59s)1040=== RUN TestTreeRootCmd1041 root_test.go:1852: treefmt -vv --tree-root-cmd bash -c '>&2 echo -e "some error text1042 some more error text" && echo /build/TestTreeRootCmd1593925719/001'1043 root_test.go:1847: 1044 Error Trace: /build/source/cmd/root_test.go:18471045 /build/source/cmd/root_test.go:29291046 /build/source/cmd/root_test.go:18521047 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"1048 Test: TestTreeRootCmd1049--- FAIL: TestTreeRootCmd (1.05s)1050=== RUN TestTreeRootExclusivity1051 root_test.go:1999: treefmt --tree-root bar --tree-root-cmd 'echo /foo/bar'1052 root_test.go:1999: 1053 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 set1054 1055 root_test.go:1999: 1056 Usage:1057 treefmt <paths...> [flags]1058 1059 Flags:1060 --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER)1061 --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)1062 -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE)1063 --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell.1064 --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml).1065 --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE)1066 --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES)1067 --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE)1068 -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS)1069 -h, --help help for treefmt1070 -i, --init Create a treefmt.toml file in the current directory.1071 --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE)1072 -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")1073 -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET)1074 --stdin Format the context passed in via stdin.1075 --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)1076 --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)1077 --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE)1078 -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE)1079 --version version for treefmt1080 --walk string The method used to traverse the files within the tree root. Currently supports <auto|git|jujutsu|filesystem>. (env $TREEFMT_WALK) (default "auto")1081 -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 ".")1082 1083 1084 root_test.go:2012: setting env TREEFMT_TREE_ROOT=bar1085 root_test.go:2012: setting env TREEFMT_TREE_ROOT_CMD=echo /foo/bar1086 root_test.go:2012: treefmt 1087 root_test.go:2012: 1088 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 specified1089 1090 root_test.go:2012: 1091 1092 root_test.go:2027: treefmt 1093 root_test.go:2027: 1094 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 specified1095 1096 root_test.go:2027: 1097 1098 root_test.go:1999: treefmt --tree-root bar --tree-root-file .git/config1099 root_test.go:1999: 1100 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 set1101 1102 root_test.go:1999: 1103 Usage:1104 treefmt <paths...> [flags]1105 1106 Flags:1107 --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER)1108 --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)1109 -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE)1110 --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell.1111 --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml).1112 --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE)1113 --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES)1114 --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE)1115 -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS)1116 -h, --help help for treefmt1117 -i, --init Create a treefmt.toml file in the current directory.1118 --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE)1119 -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")1120 -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET)1121 --stdin Format the context passed in via stdin.1122 --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)1123 --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)1124 --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE)1125 -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE)1126 --version version for treefmt1127 --walk string The method used to traverse the files within the tree root. Currently supports <auto|git|jujutsu|filesystem>. (env $TREEFMT_WALK) (default "auto")1128 -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 ".")1129 1130 1131 root_test.go:2012: setting env TREEFMT_TREE_ROOT=bar1132 root_test.go:2012: setting env TREEFMT_TREE_ROOT_FILE=.git/config1133 root_test.go:2012: treefmt 1134 root_test.go:2012: 1135 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 specified1136 1137 root_test.go:2012: 1138 1139 root_test.go:2027: treefmt 1140 root_test.go:2027: 1141 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 specified1142 1143 root_test.go:2027: 1144 1145 root_test.go:1999: treefmt --tree-root-cmd 'echo /foo/bar' --tree-root-file .git/config1146 root_test.go:1999: 1147 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 set1148 1149 root_test.go:1999: 1150 Usage:1151 treefmt <paths...> [flags]1152 1153 Flags:1154 --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER)1155 --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)1156 -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE)1157 --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell.1158 --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml).1159 --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE)1160 --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES)1161 --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE)1162 -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS)1163 -h, --help help for treefmt1164 -i, --init Create a treefmt.toml file in the current directory.1165 --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE)1166 -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")1167 -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET)1168 --stdin Format the context passed in via stdin.1169 --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)1170 --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)1171 --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE)1172 -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE)1173 --version version for treefmt1174 --walk string The method used to traverse the files within the tree root. Currently supports <auto|git|jujutsu|filesystem>. (env $TREEFMT_WALK) (default "auto")1175 -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 ".")1176 1177 1178 root_test.go:2012: setting env TREEFMT_TREE_ROOT_CMD=echo /foo/bar1179 root_test.go:2012: setting env TREEFMT_TREE_ROOT_FILE=.git/config1180 root_test.go:2012: treefmt 1181 root_test.go:2012: 1182 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 specified1183 1184 root_test.go:2012: 1185 1186 root_test.go:2027: treefmt 1187 root_test.go:2027: 1188 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 specified1189 1190 root_test.go:2027: 1191 1192 root_test.go:1999: treefmt --tree-root bar --tree-root-cmd 'echo /foo/bar' --tree-root-file .git/config1193 root_test.go:1999: 1194 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 set1195 1196 root_test.go:1999: 1197 Usage:1198 treefmt <paths...> [flags]1199 1200 Flags:1201 --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER)1202 --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)1203 -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE)1204 --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell.1205 --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml).1206 --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE)1207 --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES)1208 --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE)1209 -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS)1210 -h, --help help for treefmt1211 -i, --init Create a treefmt.toml file in the current directory.1212 --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE)1213 -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")1214 -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET)1215 --stdin Format the context passed in via stdin.1216 --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)1217 --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)1218 --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE)1219 -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE)1220 --version version for treefmt1221 --walk string The method used to traverse the files within the tree root. Currently supports <auto|git|jujutsu|filesystem>. (env $TREEFMT_WALK) (default "auto")1222 -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 ".")1223 1224 1225 root_test.go:2012: setting env TREEFMT_TREE_ROOT=bar1226 root_test.go:2012: setting env TREEFMT_TREE_ROOT_CMD=echo /foo/bar1227 root_test.go:2012: setting env TREEFMT_TREE_ROOT_FILE=.git/config1228 root_test.go:2012: treefmt 1229 root_test.go:2012: 1230 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 specified1231 1232 root_test.go:2012: 1233 1234 root_test.go:2027: treefmt 1235 root_test.go:2027: 1236 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 specified1237 1238 root_test.go:2027: 1239 1240--- PASS: TestTreeRootExclusivity (1.03s)1241=== RUN TestPathsArg1242 root_test.go:2077: treefmt 1243 root_test.go:2077: 1244 traversed 33 files1245 emitted 33 files for processing1246 formatted 33 files (0 changed) in 35ms1247 1248 root_test.go:2077: 1249 1250 root_test.go:2088: treefmt rust/src/main.rs haskell/Nested/Foo.hs1251 root_test.go:2088: 1252 traversed 2 files1253 emitted 2 files for processing1254 formatted 0 files (0 changed) in 25ms1255 1256 root_test.go:2088: 1257 1258 root_test.go:2103: treefmt /build/TestPathsArg3219290230/001/tree-root/rust/src/main.rs1259 root_test.go:2103: 1260 traversed 1 files1261 emitted 1 files for processing1262 formatted 0 files (0 changed) in 28ms1263 1264 root_test.go:2103: 1265 1266 root_test.go:2115: treefmt rust/src/main.rs haskell/Nested/Bar.hs1267 root_test.go:2115: 1268 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 directory1269 1270 root_test.go:2115: 1271 1272 root_test.go:2127: treefmt /build/TestPathsArg3219290230/001/outside_tree.go1273 root_test.go:2127: 1274 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)1275 1276 root_test.go:2127: 1277 1278 root_test.go:2138: treefmt ../outside_tree.go1279 root_test.go:2138: 1280 Error: failed to create walker: path ../outside_tree.go not inside the tree root /build/TestPathsArg3219290230/001/tree-root (relative path: ../outside_tree.go)1281 1282 root_test.go:2138: 1283 1284--- PASS: TestPathsArg (1.14s)1285=== RUN TestStdin1286 root_test.go:2167: treefmt --stdin1287 root_test.go:2167: 1288 Error: exactly one path should be specified when using the --stdin flag1289 1290 root_test.go:2167: 1291 1292 root_test.go:2180: treefmt --stdin test.nix1293 root_test.go:2180: 1294 traversed 1 files1295 emitted 1 files for processing1296 formatted 1 files (1 changed) in 82ms1297 1298 root_test.go:2180: 1299 { ...}: "hello"1300 1301 root_test.go:2200: treefmt --stdin ../test.nix1302 root_test.go:2200: 1303 Error: failed to create walker: path ../test.nix not inside the tree root /build/TestStdin789446823/0011304 1305 root_test.go:2200: 1306 1307 root_test.go:2213: treefmt --stdin foo/../../test.nix1308 root_test.go:2213: 1309 Error: failed to create walker: path foo/../../test.nix not inside the tree root /build/TestStdin789446823/0011310 1311 root_test.go:2213: 1312 1313 root_test.go:2225: treefmt --stdin ..lotsadots.nix1314 root_test.go:2225: 1315 traversed 1 files1316 emitted 1 files for processing1317 formatted 1 files (1 changed) in 51ms1318 1319 root_test.go:2225: 1320 { ...}: "hello"1321 1322 root_test.go:2249: treefmt --stdin test.md1323 root_test.go:2249: 1324 traversed 1 files1325 emitted 1 files for processing1326 formatted 1 files (1 changed) in 193ms1327 1328 root_test.go:2249: 1329 | col1 | col2 |1330 | ------ | --------- |1331 | nice | fits |1332 | oh no! | it's ugly |1333 1334 root_test.go:2276: treefmt --stdin foo/justfile1335 root_test.go:2276: 1336 traversed 1 files1337 emitted 1 files for processing1338 formatted 1 files (1 changed) in 72ms1339 1340 root_test.go:2276: 1341 # print this message1342 help:1343 just --list --list-submodules --unsorted1344 1345 root_test.go:2301: treefmt -vvv --stdin path/to/foo.embed-path1346 root_test.go:2301: 1347 INFO config: no tree root specified1348 INFO config: setting tree root to the directory containing the config file: /build/TestStdin789446823/001/treefmt.toml1349 INFO config: tree root: /build/TestStdin789446823/0011350 DEBUG formatter command not found: foo-fmt1351 DEBUG Resolving path '/build/TestStdin789446823/001'1352 DEBUG Resolving path 'path/to/foo.embed-path'1353 DEBUG Path '/build/TestStdin789446823/001/path/to/foo.embed-path' does not exist, treating it as resolved1354 DEBUG Resolving path 'path/to/foo.embed-path'1355 DEBUG Path '/build/TestStdin789446823/001/path/to/foo.embed-path' does not exist, treating it as resolved1356 DEBUG read 1 files1357 DEBUG formatter | embed-path: match: /build/TestStdin789446823/001/path/to/foo.embed-path1358 DEBUG formatters signature for key embed-path: 66e6789096713b16f0c8aedd98cdb1d41359 DEBUG formatter | embed-path: executing: /nix/store/7skfgallm2wpgk754y4fbbjlnlfydiwa-test-fmt-embed-path/bin/test-fmt-embed-path fmt --stdin-filepath path/to/foo.embed-path1360 INFO formatter | embed-path: 1 file(s) processed in 3.444511ms1361 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"1362 traversed 1 files1363 emitted 1 files for processing1364 formatted 1 files (1 changed) in 56ms1365 DEBUG no more files to read1366 1367 root_test.go:2301: 1368 # path/to/foo.embed-path1369 1370 The formatter should add the path above this line.1371 1372 root_test.go:2332: treefmt --stdin ../foo/justfile1373 root_test.go:2332: 1374 traversed 1 files1375 emitted 1 files for processing1376 formatted 1 files (1 changed) in 52ms1377 1378 root_test.go:2332: 1379 # print this message1380 help:1381 just --list --list-submodules --unsorted1382 1383--- PASS: TestStdin (1.55s)1384=== RUN TestDeterministicOrderingInPipeline1385 root_test.go:2382: treefmt 1386 root_test.go:2382: 1387 traversed 33 files1388 emitted 2 files for processing1389 formatted 2 files (2 changed) in 43ms1390 1391 root_test.go:2382: 1392 1393 root_test.go:2420: treefmt --stdin treefmt.toml1394 root_test.go:2420: 1395 traversed 1 files1396 emitted 0 files for processing1397 formatted 0 files (0 changed) in 22ms1398 1399 root_test.go:2420: 1400 1401 foo = "bla"1402 bar = [ "bla" ]1403 adsfadf;1404 1405--- PASS: TestDeterministicOrderingInPipeline (1.08s)1406=== RUN TestRunInSubdir1407=== RUN TestRunInSubdir/auto1408 root_test.go:2489: treefmt 1409 root_test.go:2489: 1410 traversed 33 files1411 emitted 33 files for processing1412 formatted 33 files (0 changed) in 31ms1413 1414 root_test.go:2489: 1415 1416 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs1417 root_test.go:2501: 1418 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 directory1419 1420 root_test.go:2501: 1421 1422 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs1423 root_test.go:2509: 1424 traversed 2 files1425 emitted 2 files for processing1426 formatted 2 files (0 changed) in 28ms1427 1428 root_test.go:2509: 1429 1430=== RUN TestRunInSubdir/stdin1431 root_test.go:2489: treefmt 1432 root_test.go:2489: 1433 traversed 33 files1434 emitted 33 files for processing1435 formatted 33 files (0 changed) in 33ms1436 1437 root_test.go:2489: 1438 1439 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs1440 root_test.go:2501: 1441 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 directory1442 1443 root_test.go:2501: 1444 1445 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs1446 root_test.go:2509: 1447 traversed 2 files1448 emitted 2 files for processing1449 formatted 2 files (0 changed) in 33ms1450 1451 root_test.go:2509: 1452 1453=== RUN TestRunInSubdir/filesystem1454 root_test.go:2489: treefmt 1455 root_test.go:2489: 1456 traversed 33 files1457 emitted 33 files for processing1458 formatted 33 files (0 changed) in 32ms1459 1460 root_test.go:2489: 1461 1462 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs1463 root_test.go:2501: 1464 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 directory1465 1466 root_test.go:2501: 1467 1468 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs1469 root_test.go:2509: 1470 traversed 2 files1471 emitted 2 files for processing1472 formatted 2 files (0 changed) in 29ms1473 1474 root_test.go:2509: 1475 1476=== RUN TestRunInSubdir/git1477 root_test.go:2489: treefmt 1478 root_test.go:2489: 1479 traversed 33 files1480 emitted 33 files for processing1481 formatted 33 files (0 changed) in 41ms1482 1483 root_test.go:2489: 1484 1485 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs1486 root_test.go:2501: 1487 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 directory1488 1489 root_test.go:2501: 1490 1491 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs1492 root_test.go:2509: 1493 traversed 2 files1494 emitted 2 files for processing1495 formatted 2 files (0 changed) in 38ms1496 1497 root_test.go:2509: 1498 1499=== RUN TestRunInSubdir/jujutsu1500 root_test.go:2489: treefmt 1501 root_test.go:2489: 1502 traversed 33 files1503 emitted 33 files for processing1504 formatted 33 files (0 changed) in 40ms1505 1506 root_test.go:2489: 1507 1508 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs1509 root_test.go:2501: 1510 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 directory1511 1512 root_test.go:2501: 1513 1514 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs1515 root_test.go:2509: 1516 traversed 2 files1517 emitted 2 files for processing1518 formatted 2 files (0 changed) in 34ms1519 1520 root_test.go:2509: 1521 1522--- PASS: TestRunInSubdir (5.49s)1523 --- PASS: TestRunInSubdir/auto (1.08s)1524 --- PASS: TestRunInSubdir/stdin (1.09s)1525 --- PASS: TestRunInSubdir/filesystem (1.09s)1526 --- PASS: TestRunInSubdir/git (1.13s)1527 --- PASS: TestRunInSubdir/jujutsu (1.10s)1528=== RUN TestProjectRootIsSymlink1529 root_test.go:2556: treefmt -c go/main.go1530 root_test.go:2556: 1531 traversed 1 files1532 emitted 1 files for processing1533 formatted 1 files (0 changed) in 37ms1534 1535 root_test.go:2556: 1536 1537 root_test.go:2568: treefmt -c symlink-to-yaml-dir1538 root_test.go:2568: 1539 traversed 1 files1540 emitted 1 files for processing1541 formatted 1 files (0 changed) in 34ms1542 1543 root_test.go:2568: 1544 1545 root_test.go:2580: treefmt -c .1546 root_test.go:2580: 1547 traversed 33 files1548 emitted 33 files for processing1549 formatted 33 files (0 changed) in 35ms1550 1551 root_test.go:2580: 1552 1553--- PASS: TestProjectRootIsSymlink (1.12s)1554=== RUN TestConcurrentInvocation1555 root_test.go:2621: treefmt --formatters slow1556 root_test.go:2632: treefmt --formatters echo1557 root_test.go:2632: 1558 Error: failed to open cache: failed to open cache db at /build/.cache/treefmt/eval-cache/f59076bf8237c2cbd0f1e9a0e8367cad97aa9f46a45a82fc4aaaf348b03ee491.db: timeout1559 1560 root_test.go:2632: 1561 1562 root_test.go:2621: 1563 traversed 33 files1564 emitted 33 files for processing1565 formatted 33 files (33 changed) in 2.046s1566 1567 root_test.go:2621: 1568 1569 root_test.go:2645: treefmt --formatters slow1570 root_test.go:2656: treefmt -c --formatters echo1571 root_test.go:2656: 1572 traversed 33 files1573 emitted 33 files for processing1574 formatted 33 files (0 changed) in 38ms1575 1576 root_test.go:2656: 1577 1578 root_test.go:2645: 1579 traversed 33 files1580 emitted 33 files for processing1581 formatted 1 files (1 changed) in 2.047s1582 1583 root_test.go:2645: 1584 1585--- PASS: TestConcurrentInvocation (5.10s)1586=== RUN TestNoPositionalArgSupport1587 root_test.go:2682: treefmt 1588 root_test.go:2682: 1589 traversed 33 files1590 emitted 33 files for processing1591 formatted 33 files (33 changed) in 158ms1592 1593 root_test.go:2682: 1594 1595--- PASS: TestNoPositionalArgSupport (1.17s)1596=== RUN TestPrjRootBeatsConfigFileLocation1597 root_test.go:2714: setting env PRJ_ROOT=/build/TestPrjRootBeatsConfigFileLocation1420252852/001/go1598 root_test.go:2714: treefmt 1599 root_test.go:2714: 1600 traversed 2 files1601 emitted 2 files for processing1602 formatted 2 files (0 changed) in 25ms1603 1604 root_test.go:2714: 1605 1606--- PASS: TestPrjRootBeatsConfigFileLocation (1.04s)1607FAIL1608coverage: 67.6% of statements1609FAIL github.com/numtide/treefmt/v2/cmd 48.930s1610 github.com/numtide/treefmt/v2/cmd/format coverage: 0.0% of statements1611 github.com/numtide/treefmt/v2/cmd/init coverage: 0.0% of statements1612=== RUN TestAllowMissingFormatter16132026/10/23 16:07:41 INFO config: no tree root specified16142026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16152026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116162026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16172026/10/23 16:07:41 INFO config: tree root: /build/TestAllowMissingFormatter665707261/00116182026/10/23 16:07:41 INFO config: no tree root specified16192026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16202026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116212026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16222026/10/23 16:07:41 INFO config: tree root: /build/TestAllowMissingFormatter665707261/00116232026/10/23 16:07:41 INFO config: no tree root specified16242026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16252026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116262026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16272026/10/23 16:07:41 INFO config: tree root: /build/TestAllowMissingFormatter665707261/00116282026/10/23 16:07:41 INFO config: no tree root specified16292026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16302026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116312026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16322026/10/23 16:07:41 INFO config: tree root: /build/TestAllowMissingFormatter665707261/0011633--- PASS: TestAllowMissingFormatter (0.06s)1634=== RUN TestCI16352026/10/23 16:07:41 INFO config: no tree root specified16362026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16372026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116382026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16392026/10/23 16:07:41 INFO config: tree root: /build/TestCI3324304837/00116402026/10/23 16:07:41 INFO config: no tree root specified16412026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16422026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116432026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16442026/10/23 16:07:41 INFO config: tree root: /build/TestCI3324304837/00116452026/10/23 16:07:41 INFO config: no tree root specified16462026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16472026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116482026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16492026/10/23 16:07:41 INFO config: tree root: /build/TestCI3324304837/00116502026/10/23 16:07:41 INFO config: no tree root specified16512026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16522026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116532026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16542026/10/23 16:07:41 INFO config: tree root: /build/TestCI3324304837/00116552026/10/23 16:07:41 INFO config: no tree root specified16562026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16572026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116582026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16592026/10/23 16:07:41 INFO config: tree root: /build/TestCI3324304837/0011660--- PASS: TestCI (0.08s)1661=== RUN TestClearCache16622026/10/23 16:07:41 INFO config: no tree root specified16632026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16642026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116652026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16662026/10/23 16:07:41 INFO config: tree root: /build/TestClearCache3948198062/00116672026/10/23 16:07:41 INFO config: no tree root specified16682026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16692026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116702026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16712026/10/23 16:07:41 INFO config: tree root: /build/TestClearCache3948198062/00116722026/10/23 16:07:41 INFO config: no tree root specified16732026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16742026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116752026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16762026/10/23 16:07:41 INFO config: tree root: /build/TestClearCache3948198062/00116772026/10/23 16:07:41 INFO config: no tree root specified16782026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16792026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116802026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16812026/10/23 16:07:41 INFO config: tree root: /build/TestClearCache3948198062/0011682--- PASS: TestClearCache (0.08s)1683=== RUN TestCpuProfile16842026/10/23 16:07:41 INFO config: no tree root specified16852026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16862026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116872026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16882026/10/23 16:07:41 INFO config: tree root: /build/TestCpuProfile2468511040/00116892026/10/23 16:07:41 INFO config: no tree root specified16902026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16912026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116922026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16932026/10/23 16:07:41 INFO config: tree root: /build/TestCpuProfile2468511040/00116942026/10/23 16:07:41 INFO config: no tree root specified16952026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root16962026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 116972026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel16982026/10/23 16:07:41 INFO config: tree root: /build/TestCpuProfile2468511040/00116992026/10/23 16:07:41 INFO config: no tree root specified17002026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17012026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117022026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17032026/10/23 16:07:41 INFO config: tree root: /build/TestCpuProfile2468511040/0011704--- PASS: TestCpuProfile (0.08s)1705=== RUN TestExcludes17062026/10/23 16:07:41 INFO config: no tree root specified17072026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17082026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117092026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17102026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes2472821930/00117112026/10/23 16:07:41 INFO config: no tree root specified17122026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17132026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117142026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17152026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes2472821930/00117162026/10/23 16:07:41 INFO config: no tree root specified17172026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17182026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117192026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17202026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes2472821930/00117212026/10/23 16:07:41 INFO config: no tree root specified17222026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17232026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117242026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17252026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes2472821930/00117262026/10/23 16:07:41 INFO config: no tree root specified17272026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17282026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117292026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17302026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes2472821930/0011731--- PASS: TestExcludes (0.09s)1732=== RUN TestFailOnChange17332026/10/23 16:07:41 INFO config: no tree root specified17342026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17352026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117362026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17372026/10/23 16:07:41 INFO config: tree root: /build/TestFailOnChange3140258995/00117382026/10/23 16:07:41 INFO config: no tree root specified17392026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17402026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117412026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17422026/10/23 16:07:41 INFO config: tree root: /build/TestFailOnChange3140258995/00117432026/10/23 16:07:41 INFO config: no tree root specified17442026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17452026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117462026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17472026/10/23 16:07:41 INFO config: tree root: /build/TestFailOnChange3140258995/00117482026/10/23 16:07:41 INFO config: no tree root specified17492026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17502026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117512026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17522026/10/23 16:07:41 INFO config: tree root: /build/TestFailOnChange3140258995/0011753--- PASS: TestFailOnChange (0.08s)1754=== RUN TestFormatters17552026/10/23 16:07:41 INFO config: no tree root specified17562026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17572026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117582026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17592026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters2439135428/00117602026/10/23 16:07:41 INFO config: no tree root specified17612026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17622026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117632026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17642026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters2439135428/00117652026/10/23 16:07:41 INFO config: no tree root specified17662026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17672026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117682026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17692026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters2439135428/00117702026/10/23 16:07:41 INFO config: no tree root specified17712026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17722026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117732026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17742026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters2439135428/00117752026/10/23 16:07:41 INFO config: no tree root specified17762026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17772026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117782026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17792026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters2439135428/0011780--- PASS: TestFormatters (0.09s)1781=== RUN TestNoCache17822026/10/23 16:07:41 INFO config: no tree root specified17832026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17842026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117852026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17862026/10/23 16:07:41 INFO config: tree root: /build/TestNoCache3559199412/00117872026/10/23 16:07:41 INFO config: no tree root specified17882026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17892026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117902026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17912026/10/23 16:07:41 INFO config: tree root: /build/TestNoCache3559199412/00117922026/10/23 16:07:41 INFO config: no tree root specified17932026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17942026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 117952026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel17962026/10/23 16:07:41 INFO config: tree root: /build/TestNoCache3559199412/00117972026/10/23 16:07:41 INFO config: no tree root specified17982026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root17992026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118002026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18012026/10/23 16:07:41 INFO config: tree root: /build/TestNoCache3559199412/0011802--- PASS: TestNoCache (0.06s)1803=== RUN TestQuiet18042026/10/23 16:07:41 INFO config: no tree root specified18052026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18062026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118072026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18082026/10/23 16:07:41 INFO config: tree root: /build/TestQuiet4092860981/00118092026/10/23 16:07:41 INFO config: no tree root specified18102026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18112026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118122026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18132026/10/23 16:07:41 INFO config: tree root: /build/TestQuiet4092860981/00118142026/10/23 16:07:41 INFO config: no tree root specified18152026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18162026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118172026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18182026/10/23 16:07:41 INFO config: tree root: /build/TestQuiet4092860981/00118192026/10/23 16:07:41 INFO config: no tree root specified18202026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18212026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118222026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18232026/10/23 16:07:41 INFO config: tree root: /build/TestQuiet4092860981/0011824--- PASS: TestQuiet (0.06s)1825=== RUN TestOnUnmatched18262026/10/23 16:07:41 INFO config: no tree root specified18272026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18282026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118292026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18302026/10/23 16:07:41 INFO config: tree root: /build/TestOnUnmatched2625935550/00118312026/10/23 16:07:41 INFO config: no tree root specified18322026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18332026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118342026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18352026/10/23 16:07:41 INFO config: tree root: /build/TestOnUnmatched2625935550/00118362026/10/23 16:07:41 INFO config: no tree root specified18372026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18382026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118392026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18402026/10/23 16:07:41 INFO config: tree root: /build/TestOnUnmatched2625935550/00118412026/10/23 16:07:41 INFO config: no tree root specified18422026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18432026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118442026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18452026/10/23 16:07:41 INFO config: tree root: /build/TestOnUnmatched2625935550/0011846--- PASS: TestOnUnmatched (0.04s)1847=== RUN TestTreeRoot18482026/10/23 16:07:41 INFO config: no tree root specified18492026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18502026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118512026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18522026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRoot1665077660/00118532026/10/23 16:07:41 INFO config: tree root specified explicitly: /foo/bar18542026/10/23 16:07:41 INFO config: tree root: /foo/bar18552026/10/23 16:07:41 INFO config: tree root specified explicitly: /fizz/buzz18562026/10/23 16:07:41 INFO config: tree root: /fizz/buzz18572026/10/23 16:07:41 INFO config: tree root specified explicitly: /flip/flop18582026/10/23 16:07:41 INFO config: tree root: /flip/flop1859--- PASS: TestTreeRoot (0.02s)1860=== RUN TestTreeRootFile18612026/10/23 16:07:41 INFO config: no tree root specified18622026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18632026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118642026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18652026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootFile479588525/00118662026/10/23 16:07:41 INFO config: searching for tree root using tree-root-file: a.txt18672026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootFile479588525/002/foo/bar18682026/10/23 16:07:41 INFO config: searching for tree root using tree-root-file: go.mod18692026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootFile479588525/002/foo18702026/10/23 16:07:41 INFO config: searching for tree root using tree-root-file: .git/config18712026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootFile479588525/0021872--- PASS: TestTreeRootFile (0.02s)1873=== RUN TestTreeRootCmd18742026/10/23 16:07:41 INFO config: no tree root specified18752026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18762026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118772026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18782026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootCmd1723934750/00118792026/10/23 16:07:41 INFO config: searching for tree root using tree-root-cmd: echo /build/TestTreeRootCmd1723934750/00218802026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootCmd1723934750/00218812026/10/23 16:07:41 INFO config: searching for tree root using tree-root-cmd: echo "/build/TestTreeRootCmd1723934750/002/foo"18822026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootCmd1723934750/002/foo18832026/10/23 16:07:41 INFO config: searching for tree root using tree-root-cmd: echo '/build/TestTreeRootCmd1723934750/002/bar'18842026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootCmd1723934750/002/bar18852026/10/23 16:07:41 INFO config: searching for tree root using tree-root-cmd: echo ''1886--- PASS: TestTreeRootCmd (0.03s)1887=== RUN TestVerbosity18882026/10/23 16:07:41 INFO config: no tree root specified18892026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18902026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118912026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18922026/10/23 16:07:41 INFO config: tree root: /build/TestVerbosity2614626179/00118932026/10/23 16:07:41 INFO config: no tree root specified18942026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root18952026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 118962026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel18972026/10/23 16:07:41 INFO config: tree root: /build/TestVerbosity2614626179/00118982026/10/23 16:07:41 INFO config: no tree root specified18992026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19002026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119012026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19022026/10/23 16:07:41 INFO config: tree root: /build/TestVerbosity2614626179/0011903--- PASS: TestVerbosity (0.05s)1904=== RUN TestWalk19052026/10/23 16:07:41 INFO config: no tree root specified19062026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19072026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119082026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19092026/10/23 16:07:41 INFO config: tree root: /build/TestWalk1700099824/00119102026/10/23 16:07:41 INFO config: no tree root specified19112026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19122026/10/23 16:07:41 INFO config: tree root: /build/TestWalk1700099824/00119132026/10/23 16:07:41 INFO config: no tree root specified19142026/10/23 16:07:41 INFO config: setting tree root to the directory containing the config file: /build/TestWalk1700099824/001/treefmt.toml19152026/10/23 16:07:41 INFO config: tree root: /build/TestWalk1700099824/00119162026/10/23 16:07:41 INFO config: no tree root specified19172026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19182026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119192026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19202026/10/23 16:07:41 INFO config: tree root: /build/TestWalk1700099824/0011921--- PASS: TestWalk (0.03s)1922=== RUN TestWorkingDirectory19232026/10/23 16:07:41 INFO config: no tree root specified19242026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19252026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119262026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19272026/10/23 16:07:41 INFO config: tree root: /build/TestWorkingDirectory493742046/00119282026/10/23 16:07:41 INFO config: no tree root specified19292026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19302026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119312026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19322026/10/23 16:07:41 INFO config: tree root: /build/TestWorkingDirectory493742046/00119332026/10/23 16:07:41 INFO config: no tree root specified19342026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19352026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119362026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19372026/10/23 16:07:41 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 12819382026/10/23 16:07:41 INFO config: setting tree root to the directory containing the config file: /build/TestWorkingDirectory493742046/001/treefmt.toml19392026/10/23 16:07:41 INFO config: tree root: /build/TestWorkingDirectory493742046/00119402026/10/23 16:07:41 INFO config: no tree root specified19412026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19422026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119432026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19442026/10/23 16:07:41 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 12819452026/10/23 16:07:41 INFO config: setting tree root to the directory containing the config file: /build/TestWorkingDirectory493742046/001/treefmt.toml19462026/10/23 16:07:41 INFO config: tree root: /build/TestWorkingDirectory493742046/0011947--- PASS: TestWorkingDirectory (0.08s)1948=== RUN TestStdin19492026/10/23 16:07:42 INFO config: no tree root specified19502026/10/23 16:07:42 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19512026/10/23 16:07:42 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119522026/10/23 16:07:42 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19532026/10/23 16:07:42 INFO config: tree root: /build/TestStdin4186939486/00119542026/10/23 16:07:42 INFO config: no tree root specified19552026/10/23 16:07:42 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19562026/10/23 16:07:42 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119572026/10/23 16:07:42 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19582026/10/23 16:07:42 INFO config: tree root: /build/TestStdin4186939486/00119592026/10/23 16:07:42 INFO config: no tree root specified19602026/10/23 16:07:42 INFO config: attempting to resolve tree root using jujutsu: jj workspace root19612026/10/23 16:07:42 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 119622026/10/23 16:07:42 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel19632026/10/23 16:07:42 INFO config: tree root: /build/TestStdin4186939486/00119642026/10/23 16:07:42 INFO config: no tree root specified19652026/10/23 16:07:42 INFO config: setting tree root to the directory containing the config file: /build/TestStdin4186939486/001/treefmt.toml19662026/10/23 16:07:42 INFO config: tree root: /build/TestStdin4186939486/0011967--- PASS: TestStdin (0.05s)1968=== RUN TestSampleConfigFile19692026/10/23 16:07:42 INFO config: no tree root specified19702026/10/23 16:07:42 INFO config: setting tree root to the directory containing the config file: ../test/examples/treefmt.toml19712026/10/23 16:07:42 INFO config: tree root: /build/source/test/examples1972--- PASS: TestSampleConfigFile (0.00s)1973PASS1974coverage: 85.6% of statements1975ok github.com/numtide/treefmt/v2/config 2.069s coverage: 85.6% of statements1976=== RUN TestApplyWithDefaultStdin19772026/10/23 16:07:41 INFO formatter | cat: 1 file(s) processed in 1.886749ms1978--- PASS: TestApplyWithDefaultStdin (0.00s)1979=== RUN TestInvalidFormatterName1980--- PASS: TestInvalidFormatterName (0.00s)1981=== RUN TestFormatSignature1982=== RUN TestFormatSignature/change_formatter_mod_time1983 formatter_test.go:120: changing mod time of black1984 formatter_test.go:120: changing mod time of rufo1985=== RUN TestFormatSignature/modify_formatter_options1986=== RUN TestFormatSignature/add/remove_formatters1987--- PASS: TestFormatSignature (0.01s)1988 --- PASS: TestFormatSignature/change_formatter_mod_time (0.00s)1989 --- PASS: TestFormatSignature/modify_formatter_options (0.00s)1990 --- PASS: TestFormatSignature/add/remove_formatters (0.00s)1991=== RUN TestGlobs1992--- PASS: TestGlobs (0.00s)1993PASS1994coverage: 40.9% of statements1995ok github.com/numtide/treefmt/v2/format 1.041s coverage: 40.9% of statements1996 github.com/numtide/treefmt/v2/git coverage: 0.0% of statements1997 github.com/numtide/treefmt/v2/jujutsu coverage: 0.0% of statements1998 github.com/numtide/treefmt/v2/stats coverage: 0.0% of statements1999 github.com/numtide/treefmt/v2/test coverage: 0.0% of statements2000=== RUN TestFilesystemReaderCancellation2001--- PASS: TestFilesystemReaderCancellation (1.01s)2002=== RUN TestFilesystemReader2003--- PASS: TestFilesystemReader (1.02s)2004=== RUN TestFilesystemReaderSubpaths2005--- PASS: TestFilesystemReaderSubpaths (1.01s)2006=== RUN TestGitReader2007--- PASS: TestGitReader (2.25s)2008=== RUN TestJujutsuReader2009--- PASS: TestJujutsuReader (1.10s)2010=== RUN TestJujutsuReaderUsesTreeRoot2011--- PASS: TestJujutsuReaderUsesTreeRoot (0.05s)2012=== RUN TestAutoReaderPrefersJujutsuInColocatedRepo2013--- PASS: TestAutoReaderPrefersJujutsuInColocatedRepo (0.04s)2014=== RUN TestPathStreamReader20152026/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 path2016--- PASS: TestPathStreamReader (1.01s)2017=== RUN TestPathStreamReaderSubpath2018--- PASS: TestPathStreamReaderSubpath (1.01s)2019=== RUN TestPathStreamReaderPassesPathFilters2020--- PASS: TestPathStreamReaderPassesPathFilters (1.01s)2021=== RUN TestPathStreamReaderDelimiters2022--- PASS: TestPathStreamReaderDelimiters (1.01s)2023=== RUN TestPathStreamReaderCloseUnblocks2024--- PASS: TestPathStreamReaderCloseUnblocks (0.06s)2025=== RUN TestPathStreamReaderCommandFailure2026--- PASS: TestPathStreamReaderCommandFailure (1.01s)2027PASS2028coverage: 41.1% of statements2029ok github.com/numtide/treefmt/v2/walk 12.632s coverage: 41.1% of statements2030 github.com/numtide/treefmt/v2/walk/cache coverage: 0.0% of statements2031FAIL