nixbot

builds

succeeded treefmt-97f6e16 checks.x86_64-linux.pkgs-default-coverage · build #41 · raw

1attached to the build already running on this worker2bld1: building 9vmav2k11ka1hm41h4jsyx0ls50x8w3y-treefmt-97f6e16.drv
unpackPhase
3unpacking source archive /nix/store/9qg1zvfm8qpp2qzrqalc45riznks50my-source4source root is source
buildPhase
5 github.com/numtide/treefmt/v2 coverage: 0.0% of statements6? github.com/numtide/treefmt/v2/build [no test files]7=== RUN TestOnUnmatched8=== RUN TestOnUnmatched/default9 root_test.go:79: treefmt -v10 root_test.go:79: 11 INFO config: no tree root specified12 INFO config: attempting to resolve tree root using jujutsu: jj workspace root13 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 114 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel15 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 12816 INFO config: setting tree root to the directory containing the config file: /build/TestOnUnmatched3744448920/001/treefmt.toml17 INFO config: tree root: /build/TestOnUnmatched3744448920/00118 INFO no formatter for path: .gitignore19 INFO no formatter for path: go/go.mod20 INFO no formatter for path: haskell/haskell.cabal21 INFO no formatter for path: haskell-frontend/haskell-frontend.cabal22 INFO no formatter for path: html/scripts/.gitkeep23 INFO no formatter for path: python/requirements.txt24 INFO formatter | just: 1 file(s) processed in 15.458345ms25 INFO formatter | dos2unix: 1 file(s) processed in 5.504491ms26 INFO formatter | go: 1 file(s) processed in 21.808023ms27 INFO formatter | shellcheck[1]: 1 file(s) processed in 19.587018ms28 INFO formatter | rust: 1 file(s) processed in 52.834352ms29 INFO formatter | shfmt[2]: 1 file(s) processed in 27.777318ms30 INFO formatter | alejandra[1]: 1 file(s) processed in 143.542226ms31 INFO formatter | deadnix[2]: 1 file(s) processed in 18.887448ms32 INFO formatter | haskell: 6 file(s) processed in 199.886438ms33 INFO formatter | opentofu: 2 file(s) processed in 219.651377ms34 INFO formatter | prettier: 1 file(s) processed in 285.760433ms35 INFO formatter | yamlfmt: 1 file(s) processed in 16.904064ms36 INFO formatter | ruby: 1 file(s) processed in 376.134542ms37 INFO formatter | prettier: 5 file(s) processed in 681.586958ms38 INFO formatter | python: 2 file(s) processed in 727.238749ms39 traversed 33 files40 emitted 22 files for processing41 formatted 22 files (4 changed) in 789ms42 43 root_test.go:79: 44 45=== RUN TestOnUnmatched/fatal46 root_test.go:88: treefmt --on-unmatched fatal47 root_test.go:88: 48 traversed 33 files49 emitted 0 files for processing50 formatted 0 files (0 changed) in 66ms51 Error: failed to format files: no formatter for path: .gitignore52 53 root_test.go:88: 54 55 root_test.go:92: treefmt 56 root_test.go:92: 57 traversed 33 files58 emitted 0 files for processing59 formatted 0 files (0 changed) in 44ms60 Error: failed to format files: no formatter for path: .gitignore61 62 root_test.go:92: 63 64=== RUN TestOnUnmatched/debug65 root_test.go:101: treefmt -vv --on-unmatched debug66 root_test.go:101: 67 INFO config: no tree root specified68 INFO config: attempting to resolve tree root using jujutsu: jj workspace root69 DEBU tree-root-cmd | stdout:70 DEBU tree-root-cmd | stderr: Error: There is no jj repo in "."71 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 172 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel73 DEBU tree-root-cmd | stdout:74 DEBU tree-root-cmd | stderr: fatal: not a git repository (or any of the parent directories): .git75 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 12876 INFO config: setting tree root to the directory containing the config file: /build/TestOnUnmatched3744448920/001/treefmt.toml77 INFO config: tree root: /build/TestOnUnmatched3744448920/00178 DEBU formatter command not found: foo-fmt79 DEBU Resolving path '/build/TestOnUnmatched3744448920/001'80 DEBU walk | filesystem: file queued .gitignore81 DEBU walk | filesystem: file queued emoji 🕰️/README.md82 DEBU walk | filesystem: file queued go/go.mod83 DEBU walk | filesystem: file queued go/main.go84 DEBU walk | filesystem: file queued haskell/CHANGELOG.md85 DEBU walk | filesystem: file queued haskell/Foo.hs86 DEBU walk | filesystem: file queued haskell/Main.hs87 DEBU walk | filesystem: file queued haskell/Nested/Foo.hs88 DEBU walk | filesystem: file queued haskell/Setup.hs89 DEBU walk | filesystem: file queued haskell/haskell.cabal90 DEBU walk | filesystem: file queued haskell/treefmt.toml91 DEBU walk | filesystem: file queued haskell-frontend/CHANGELOG.md92 DEBU walk | filesystem: file queued haskell-frontend/Main.hs93 DEBU walk | filesystem: file queued haskell-frontend/Setup.hs94 DEBU walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal95 DEBU walk | filesystem: file queued html/index.html96 DEBU walk | filesystem: file queued html/scripts/.gitkeep97 DEBU walk | filesystem: file queued javascript/source/hello.js98 DEBU walk | filesystem: file queued just/justfile99 DEBU walk | filesystem: file queued nix/sources.nix100 DEBU walk | filesystem: file queued nixpkgs.toml101 DEBU walk | filesystem: file queued python/main.py102 DEBU walk | filesystem: file queued python/requirements.txt103 DEBU walk | filesystem: file queued python/virtualenv_proxy.py104 DEBU walk | filesystem: file queued ruby/bundler.rb105 DEBU walk | filesystem: file queued rust/Cargo.toml106 DEBU walk | filesystem: file queued rust/src/main.rs107 DEBU walk | filesystem: file queued shell/foo.sh108 DEBU walk | filesystem: file queued terraform/main.tf109 DEBU walk | filesystem: file queued terraform/two.tf110 DEBU walk | filesystem: file queued touch.toml111 DEBU walk | filesystem: file queued treefmt.toml112 DEBU walk | filesystem: file queued yaml/test.yaml113 DEBU walk | cache: read 33 files from delegate114 DEBU read 33 files115 DEBU no formatter for path: .gitignore116 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/emoji 🕰️/README.md117 DEBU formatters signature for key prettier: 43d4aa9284a561523060faf3c1317913118 DEBU no formatter for path: go/go.mod119 DEBU formatter | go: match: /build/TestOnUnmatched3744448920/001/go/main.go120 DEBU formatters signature for key go: eb842d37c82e3f9ecacbbc7d28914fb2121 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell/CHANGELOG.md122 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Foo.hs123 DEBU formatters signature for key haskell: af7e9dc8b3ac878a1b47756c5cae8ecc124 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Main.hs125 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Nested/Foo.hs126 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Setup.hs127 DEBU no formatter for path: haskell/haskell.cabal128 DEBU path matched global excludes: haskell/treefmt.toml129 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/CHANGELOG.md130 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Main.hs131 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Setup.hs132 DEBU no formatter for path: haskell-frontend/haskell-frontend.cabal133 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/html/index.html134 DEBU no formatter for path: html/scripts/.gitkeep135 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/javascript/source/hello.js136 DEBU formatter | just: match: /build/TestOnUnmatched3744448920/001/just/justfile137 DEBU formatters signature for key just: 3bfe28bbc0d884b31e3c52778c0d0fc7138 DEBU formatter | alejandra[1]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix139 DEBU formatter | deadnix[2]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix140 DEBU formatters signature for key alejandra:deadnix: ab3b921397b21571d862f931fe1255e5141 DEBU path matched global excludes: nixpkgs.toml142 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/main.py143 DEBU formatters signature for key python: f2cecf672e759f0c230c6c0c6d2dcb59144 DEBU no formatter for path: python/requirements.txt145 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/virtualenv_proxy.py146 DEBU formatter | ruby: match: /build/TestOnUnmatched3744448920/001/ruby/bundler.rb147 DEBU formatters signature for key ruby: 28b1acb9bc8afb20ca582eeef6ec0c41148 DEBU path matched global excludes: rust/Cargo.toml149 DEBU formatter | rust: match: /build/TestOnUnmatched3744448920/001/rust/src/main.rs150 DEBU formatters signature for key rust: 927ebef84d202129ca109200eb672169151 DEBU formatter | shfmt[2]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh152 DEBU formatter | shellcheck[1]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh153 DEBU formatters signature for key shellcheck:shfmt: 1c8661bb8d587405273e38ac34ea1406154 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/main.tf155 DEBU formatters signature for key opentofu: ccbae559816e50bde15e044573342597156 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/two.tf157 DEBU path matched global excludes: touch.toml158 DEBU path matched global excludes: treefmt.toml159 DEBU formatter | dos2unix: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml160 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml161 DEBU formatter | yamlfmt: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml162 DEBU formatters signature for key dos2unix:prettier:yamlfmt: 02249c54f7e737333b14d93d03cd89c6163 traversed 33 files164 emitted 22 files for processing165 formatted 0 files (0 changed) in 87ms166 DEBU no more files to read167 168 root_test.go:101: 169 170 root_test.go:109: treefmt -vv171 root_test.go:109: 172 INFO config: no tree root specified173 INFO config: attempting to resolve tree root using jujutsu: jj workspace root174 DEBU tree-root-cmd | stderr: Error: There is no jj repo in "."175 DEBU tree-root-cmd | stdout:176 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1177 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel178 DEBU tree-root-cmd | stderr: fatal: not a git repository (or any of the parent directories): .git179 DEBU tree-root-cmd | stdout:180 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 128181 INFO config: setting tree root to the directory containing the config file: /build/TestOnUnmatched3744448920/001/treefmt.toml182 INFO config: tree root: /build/TestOnUnmatched3744448920/001183 DEBU formatter command not found: foo-fmt184 DEBU Resolving path '/build/TestOnUnmatched3744448920/001'185 DEBU walk | filesystem: file queued .gitignore186 DEBU walk | filesystem: file queued emoji 🕰️/README.md187 DEBU walk | filesystem: file queued go/go.mod188 DEBU walk | filesystem: file queued go/main.go189 DEBU walk | filesystem: file queued haskell/CHANGELOG.md190 DEBU walk | filesystem: file queued haskell/Foo.hs191 DEBU walk | filesystem: file queued haskell/Main.hs192 DEBU walk | filesystem: file queued haskell/Nested/Foo.hs193 DEBU walk | filesystem: file queued haskell/Setup.hs194 DEBU walk | filesystem: file queued haskell/haskell.cabal195 DEBU walk | filesystem: file queued haskell/treefmt.toml196 DEBU walk | filesystem: file queued haskell-frontend/CHANGELOG.md197 DEBU walk | filesystem: file queued haskell-frontend/Main.hs198 DEBU walk | filesystem: file queued haskell-frontend/Setup.hs199 DEBU walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal200 DEBU walk | filesystem: file queued html/index.html201 DEBU walk | filesystem: file queued html/scripts/.gitkeep202 DEBU walk | filesystem: file queued javascript/source/hello.js203 DEBU walk | filesystem: file queued just/justfile204 DEBU walk | filesystem: file queued nix/sources.nix205 DEBU walk | filesystem: file queued nixpkgs.toml206 DEBU walk | filesystem: file queued python/main.py207 DEBU walk | filesystem: file queued python/requirements.txt208 DEBU walk | filesystem: file queued python/virtualenv_proxy.py209 DEBU walk | filesystem: file queued ruby/bundler.rb210 DEBU walk | filesystem: file queued rust/Cargo.toml211 DEBU walk | filesystem: file queued rust/src/main.rs212 DEBU walk | filesystem: file queued shell/foo.sh213 DEBU walk | filesystem: file queued terraform/main.tf214 DEBU walk | filesystem: file queued terraform/two.tf215 DEBU walk | filesystem: file queued touch.toml216 DEBU walk | filesystem: file queued treefmt.toml217 DEBU walk | filesystem: file queued yaml/test.yaml218 DEBU walk | cache: read 33 files from delegate219 DEBU read 33 files220 DEBU no formatter for path: .gitignore221 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/emoji 🕰️/README.md222 DEBU formatters signature for key prettier: 43d4aa9284a561523060faf3c1317913223 DEBU no formatter for path: go/go.mod224 DEBU formatter | go: match: /build/TestOnUnmatched3744448920/001/go/main.go225 DEBU formatters signature for key go: eb842d37c82e3f9ecacbbc7d28914fb2226 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell/CHANGELOG.md227 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Foo.hs228 DEBU formatters signature for key haskell: af7e9dc8b3ac878a1b47756c5cae8ecc229 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Main.hs230 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Nested/Foo.hs231 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Setup.hs232 DEBU no formatter for path: haskell/haskell.cabal233 DEBU path matched global excludes: haskell/treefmt.toml234 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/CHANGELOG.md235 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Main.hs236 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Setup.hs237 DEBU no formatter for path: haskell-frontend/haskell-frontend.cabal238 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/html/index.html239 DEBU no formatter for path: html/scripts/.gitkeep240 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/javascript/source/hello.js241 DEBU formatter | just: match: /build/TestOnUnmatched3744448920/001/just/justfile242 DEBU formatters signature for key just: 3bfe28bbc0d884b31e3c52778c0d0fc7243 DEBU formatter | alejandra[1]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix244 DEBU formatter | deadnix[2]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix245 DEBU formatters signature for key alejandra:deadnix: ab3b921397b21571d862f931fe1255e5246 DEBU path matched global excludes: nixpkgs.toml247 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/main.py248 DEBU formatters signature for key python: f2cecf672e759f0c230c6c0c6d2dcb59249 DEBU no formatter for path: python/requirements.txt250 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/virtualenv_proxy.py251 DEBU formatter | ruby: match: /build/TestOnUnmatched3744448920/001/ruby/bundler.rb252 DEBU formatters signature for key ruby: 28b1acb9bc8afb20ca582eeef6ec0c41253 DEBU path matched global excludes: rust/Cargo.toml254 DEBU formatter | rust: match: /build/TestOnUnmatched3744448920/001/rust/src/main.rs255 DEBU formatters signature for key rust: 927ebef84d202129ca109200eb672169256 DEBU formatter | shfmt[2]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh257 DEBU formatter | shellcheck[1]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh258 DEBU formatters signature for key shellcheck:shfmt: 1c8661bb8d587405273e38ac34ea1406259 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/main.tf260 DEBU formatters signature for key opentofu: ccbae559816e50bde15e044573342597261 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/two.tf262 DEBU path matched global excludes: touch.toml263 DEBU path matched global excludes: treefmt.toml264 DEBU formatter | yamlfmt: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml265 DEBU formatter | dos2unix: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml266 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml267 DEBU formatters signature for key dos2unix:prettier:yamlfmt: 02249c54f7e737333b14d93d03cd89c6268 traversed 33 files269 emitted 22 files for processing270 formatted 0 files (0 changed) in 80ms271 DEBU no more files to read272 273 root_test.go:109: 274 275=== RUN TestOnUnmatched/info276 root_test.go:101: treefmt -vv --on-unmatched info277 root_test.go:101: 278 INFO config: no tree root specified279 INFO config: attempting to resolve tree root using jujutsu: jj workspace root280 DEBU tree-root-cmd | stderr: Error: There is no jj repo in "."281 DEBU tree-root-cmd | stdout:282 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1283 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel284 DEBU tree-root-cmd | stdout:285 DEBU tree-root-cmd | stderr: fatal: not a git repository (or any of the parent directories): .git286 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 128287 INFO config: setting tree root to the directory containing the config file: /build/TestOnUnmatched3744448920/001/treefmt.toml288 INFO config: tree root: /build/TestOnUnmatched3744448920/001289 DEBU formatter command not found: foo-fmt290 DEBU Resolving path '/build/TestOnUnmatched3744448920/001'291 DEBU walk | filesystem: file queued .gitignore292 DEBU walk | filesystem: file queued emoji 🕰️/README.md293 DEBU walk | filesystem: file queued go/go.mod294 DEBU walk | filesystem: file queued go/main.go295 DEBU walk | filesystem: file queued haskell/CHANGELOG.md296 DEBU walk | filesystem: file queued haskell/Foo.hs297 DEBU walk | filesystem: file queued haskell/Main.hs298 DEBU walk | filesystem: file queued haskell/Nested/Foo.hs299 DEBU walk | filesystem: file queued haskell/Setup.hs300 DEBU walk | filesystem: file queued haskell/haskell.cabal301 DEBU walk | filesystem: file queued haskell/treefmt.toml302 DEBU walk | filesystem: file queued haskell-frontend/CHANGELOG.md303 DEBU walk | filesystem: file queued haskell-frontend/Main.hs304 DEBU walk | filesystem: file queued haskell-frontend/Setup.hs305 DEBU walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal306 DEBU walk | filesystem: file queued html/index.html307 DEBU walk | filesystem: file queued html/scripts/.gitkeep308 DEBU walk | filesystem: file queued javascript/source/hello.js309 DEBU walk | filesystem: file queued just/justfile310 DEBU walk | filesystem: file queued nix/sources.nix311 DEBU walk | filesystem: file queued nixpkgs.toml312 DEBU walk | filesystem: file queued python/main.py313 DEBU walk | filesystem: file queued python/requirements.txt314 DEBU walk | filesystem: file queued python/virtualenv_proxy.py315 DEBU walk | filesystem: file queued ruby/bundler.rb316 DEBU walk | filesystem: file queued rust/Cargo.toml317 DEBU walk | filesystem: file queued rust/src/main.rs318 DEBU walk | filesystem: file queued shell/foo.sh319 DEBU walk | filesystem: file queued terraform/main.tf320 DEBU walk | filesystem: file queued terraform/two.tf321 DEBU walk | filesystem: file queued touch.toml322 DEBU walk | filesystem: file queued treefmt.toml323 DEBU walk | filesystem: file queued yaml/test.yaml324 DEBU walk | cache: read 33 files from delegate325 DEBU read 33 files326 INFO no formatter for path: .gitignore327 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/emoji 🕰️/README.md328 DEBU formatters signature for key prettier: 43d4aa9284a561523060faf3c1317913329 INFO no formatter for path: go/go.mod330 DEBU formatter | go: match: /build/TestOnUnmatched3744448920/001/go/main.go331 DEBU formatters signature for key go: eb842d37c82e3f9ecacbbc7d28914fb2332 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell/CHANGELOG.md333 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Foo.hs334 DEBU formatters signature for key haskell: af7e9dc8b3ac878a1b47756c5cae8ecc335 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Main.hs336 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Nested/Foo.hs337 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Setup.hs338 INFO no formatter for path: haskell/haskell.cabal339 DEBU path matched global excludes: haskell/treefmt.toml340 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/CHANGELOG.md341 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Main.hs342 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Setup.hs343 INFO no formatter for path: haskell-frontend/haskell-frontend.cabal344 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/html/index.html345 INFO no formatter for path: html/scripts/.gitkeep346 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/javascript/source/hello.js347 DEBU formatter | just: match: /build/TestOnUnmatched3744448920/001/just/justfile348 DEBU formatters signature for key just: 3bfe28bbc0d884b31e3c52778c0d0fc7349 DEBU formatter | deadnix[2]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix350 DEBU formatter | alejandra[1]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix351 DEBU formatters signature for key alejandra:deadnix: ab3b921397b21571d862f931fe1255e5352 DEBU path matched global excludes: nixpkgs.toml353 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/main.py354 DEBU formatters signature for key python: f2cecf672e759f0c230c6c0c6d2dcb59355 INFO no formatter for path: python/requirements.txt356 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/virtualenv_proxy.py357 DEBU formatter | ruby: match: /build/TestOnUnmatched3744448920/001/ruby/bundler.rb358 DEBU formatters signature for key ruby: 28b1acb9bc8afb20ca582eeef6ec0c41359 DEBU path matched global excludes: rust/Cargo.toml360 DEBU formatter | rust: match: /build/TestOnUnmatched3744448920/001/rust/src/main.rs361 DEBU formatters signature for key rust: 927ebef84d202129ca109200eb672169362 DEBU formatter | shellcheck[1]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh363 DEBU formatter | shfmt[2]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh364 DEBU formatters signature for key shellcheck:shfmt: 1c8661bb8d587405273e38ac34ea1406365 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/main.tf366 DEBU formatters signature for key opentofu: ccbae559816e50bde15e044573342597367 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/two.tf368 DEBU path matched global excludes: touch.toml369 DEBU path matched global excludes: treefmt.toml370 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml371 DEBU formatter | dos2unix: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml372 DEBU formatter | yamlfmt: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml373 DEBU formatters signature for key dos2unix:prettier:yamlfmt: 02249c54f7e737333b14d93d03cd89c6374 traversed 33 files375 emitted 22 files for processing376 formatted 0 files (0 changed) in 58ms377 DEBU no more files to read378 379 root_test.go:101: 380 381 root_test.go:109: treefmt -vv382 root_test.go:109: 383 INFO config: no tree root specified384 INFO config: attempting to resolve tree root using jujutsu: jj workspace root385 DEBU tree-root-cmd | stderr: Error: There is no jj repo in "."386 DEBU tree-root-cmd | stdout:387 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1388 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel389 DEBU tree-root-cmd | stdout:390 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 128391 INFO config: setting tree root to the directory containing the config file: /build/TestOnUnmatched3744448920/001/treefmt.toml392 INFO config: tree root: /build/TestOnUnmatched3744448920/001393 DEBU formatter command not found: foo-fmt394 DEBU Resolving path '/build/TestOnUnmatched3744448920/001'395 DEBU walk | filesystem: file queued .gitignore396 DEBU walk | filesystem: file queued emoji 🕰️/README.md397 DEBU walk | filesystem: file queued go/go.mod398 DEBU walk | filesystem: file queued go/main.go399 DEBU walk | filesystem: file queued haskell/CHANGELOG.md400 DEBU walk | filesystem: file queued haskell/Foo.hs401 DEBU walk | filesystem: file queued haskell/Main.hs402 DEBU walk | filesystem: file queued haskell/Nested/Foo.hs403 DEBU walk | filesystem: file queued haskell/Setup.hs404 DEBU walk | filesystem: file queued haskell/haskell.cabal405 DEBU walk | filesystem: file queued haskell/treefmt.toml406 DEBU walk | filesystem: file queued haskell-frontend/CHANGELOG.md407 DEBU walk | filesystem: file queued haskell-frontend/Main.hs408 DEBU walk | filesystem: file queued haskell-frontend/Setup.hs409 DEBU walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal410 DEBU walk | filesystem: file queued html/index.html411 DEBU walk | filesystem: file queued html/scripts/.gitkeep412 DEBU walk | filesystem: file queued javascript/source/hello.js413 DEBU walk | filesystem: file queued just/justfile414 DEBU walk | filesystem: file queued nix/sources.nix415 DEBU walk | filesystem: file queued nixpkgs.toml416 DEBU walk | filesystem: file queued python/main.py417 DEBU walk | filesystem: file queued python/requirements.txt418 DEBU walk | filesystem: file queued python/virtualenv_proxy.py419 DEBU walk | filesystem: file queued ruby/bundler.rb420 DEBU walk | filesystem: file queued rust/Cargo.toml421 DEBU walk | filesystem: file queued rust/src/main.rs422 DEBU walk | filesystem: file queued shell/foo.sh423 DEBU walk | filesystem: file queued terraform/main.tf424 DEBU walk | filesystem: file queued terraform/two.tf425 DEBU walk | filesystem: file queued touch.toml426 DEBU walk | filesystem: file queued treefmt.toml427 DEBU walk | filesystem: file queued yaml/test.yaml428 DEBU walk | cache: read 33 files from delegate429 DEBU read 33 files430 INFO no formatter for path: .gitignore431 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/emoji 🕰️/README.md432 DEBU formatters signature for key prettier: 43d4aa9284a561523060faf3c1317913433 INFO no formatter for path: go/go.mod434 DEBU formatter | go: match: /build/TestOnUnmatched3744448920/001/go/main.go435 DEBU formatters signature for key go: eb842d37c82e3f9ecacbbc7d28914fb2436 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell/CHANGELOG.md437 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Foo.hs438 DEBU formatters signature for key haskell: af7e9dc8b3ac878a1b47756c5cae8ecc439 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Main.hs440 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Nested/Foo.hs441 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Setup.hs442 INFO no formatter for path: haskell/haskell.cabal443 DEBU path matched global excludes: haskell/treefmt.toml444 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/CHANGELOG.md445 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Main.hs446 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Setup.hs447 INFO no formatter for path: haskell-frontend/haskell-frontend.cabal448 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/html/index.html449 INFO no formatter for path: html/scripts/.gitkeep450 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/javascript/source/hello.js451 DEBU formatter | just: match: /build/TestOnUnmatched3744448920/001/just/justfile452 DEBU formatters signature for key just: 3bfe28bbc0d884b31e3c52778c0d0fc7453 DEBU formatter | deadnix[2]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix454 DEBU formatter | alejandra[1]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix455 DEBU formatters signature for key alejandra:deadnix: ab3b921397b21571d862f931fe1255e5456 DEBU path matched global excludes: nixpkgs.toml457 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/main.py458 DEBU formatters signature for key python: f2cecf672e759f0c230c6c0c6d2dcb59459 INFO no formatter for path: python/requirements.txt460 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/virtualenv_proxy.py461 DEBU formatter | ruby: match: /build/TestOnUnmatched3744448920/001/ruby/bundler.rb462 DEBU formatters signature for key ruby: 28b1acb9bc8afb20ca582eeef6ec0c41463 DEBU path matched global excludes: rust/Cargo.toml464 DEBU formatter | rust: match: /build/TestOnUnmatched3744448920/001/rust/src/main.rs465 DEBU formatters signature for key rust: 927ebef84d202129ca109200eb672169466 DEBU formatter | shfmt[2]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh467 DEBU formatter | shellcheck[1]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh468 DEBU formatters signature for key shellcheck:shfmt: 1c8661bb8d587405273e38ac34ea1406469 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/main.tf470 DEBU formatters signature for key opentofu: ccbae559816e50bde15e044573342597471 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/two.tf472 DEBU path matched global excludes: touch.toml473 DEBU path matched global excludes: treefmt.toml474 DEBU formatter | yamlfmt: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml475 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml476 DEBU formatter | dos2unix: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml477 DEBU formatters signature for key dos2unix:prettier:yamlfmt: 02249c54f7e737333b14d93d03cd89c6478 traversed 33 files479 emitted 22 files for processing480 formatted 0 files (0 changed) in 83ms481 DEBU no more files to read482 483 root_test.go:109: 484 485=== RUN TestOnUnmatched/warn486 root_test.go:101: treefmt -vv --on-unmatched warn487 root_test.go:101: 488 INFO config: no tree root specified489 INFO config: attempting to resolve tree root using jujutsu: jj workspace root490 DEBU tree-root-cmd | stderr: Error: There is no jj repo in "."491 DEBU tree-root-cmd | stdout:492 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1493 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel494 DEBU tree-root-cmd | stdout:495 DEBU tree-root-cmd | stderr: fatal: not a git repository (or any of the parent directories): .git496 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 128497 INFO config: setting tree root to the directory containing the config file: /build/TestOnUnmatched3744448920/001/treefmt.toml498 INFO config: tree root: /build/TestOnUnmatched3744448920/001499 DEBU formatter command not found: foo-fmt500 DEBU Resolving path '/build/TestOnUnmatched3744448920/001'501 DEBU walk | filesystem: file queued .gitignore502 DEBU walk | filesystem: file queued emoji 🕰️/README.md503 DEBU walk | filesystem: file queued go/go.mod504 DEBU walk | filesystem: file queued go/main.go505 DEBU walk | filesystem: file queued haskell/CHANGELOG.md506 DEBU walk | filesystem: file queued haskell/Foo.hs507 DEBU walk | filesystem: file queued haskell/Main.hs508 DEBU walk | filesystem: file queued haskell/Nested/Foo.hs509 DEBU walk | filesystem: file queued haskell/Setup.hs510 DEBU walk | filesystem: file queued haskell/haskell.cabal511 DEBU walk | filesystem: file queued haskell/treefmt.toml512 DEBU walk | filesystem: file queued haskell-frontend/CHANGELOG.md513 DEBU walk | filesystem: file queued haskell-frontend/Main.hs514 DEBU walk | filesystem: file queued haskell-frontend/Setup.hs515 DEBU walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal516 DEBU walk | filesystem: file queued html/index.html517 DEBU walk | filesystem: file queued html/scripts/.gitkeep518 DEBU walk | filesystem: file queued javascript/source/hello.js519 DEBU walk | filesystem: file queued just/justfile520 DEBU walk | filesystem: file queued nix/sources.nix521 DEBU walk | filesystem: file queued nixpkgs.toml522 DEBU walk | filesystem: file queued python/main.py523 DEBU walk | filesystem: file queued python/requirements.txt524 DEBU walk | filesystem: file queued python/virtualenv_proxy.py525 DEBU walk | filesystem: file queued ruby/bundler.rb526 DEBU walk | filesystem: file queued rust/Cargo.toml527 DEBU walk | filesystem: file queued rust/src/main.rs528 DEBU walk | filesystem: file queued shell/foo.sh529 DEBU walk | filesystem: file queued terraform/main.tf530 DEBU walk | filesystem: file queued terraform/two.tf531 DEBU walk | filesystem: file queued touch.toml532 DEBU walk | filesystem: file queued treefmt.toml533 DEBU walk | filesystem: file queued yaml/test.yaml534 DEBU walk | cache: read 33 files from delegate535 DEBU read 33 files536 WARN no formatter for path: .gitignore537 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/emoji 🕰️/README.md538 DEBU formatters signature for key prettier: 43d4aa9284a561523060faf3c1317913539 WARN no formatter for path: go/go.mod540 DEBU formatter | go: match: /build/TestOnUnmatched3744448920/001/go/main.go541 DEBU formatters signature for key go: eb842d37c82e3f9ecacbbc7d28914fb2542 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell/CHANGELOG.md543 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Foo.hs544 DEBU formatters signature for key haskell: af7e9dc8b3ac878a1b47756c5cae8ecc545 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Main.hs546 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Nested/Foo.hs547 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Setup.hs548 WARN no formatter for path: haskell/haskell.cabal549 DEBU path matched global excludes: haskell/treefmt.toml550 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/CHANGELOG.md551 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Main.hs552 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Setup.hs553 WARN no formatter for path: haskell-frontend/haskell-frontend.cabal554 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/html/index.html555 WARN no formatter for path: html/scripts/.gitkeep556 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/javascript/source/hello.js557 DEBU formatter | just: match: /build/TestOnUnmatched3744448920/001/just/justfile558 DEBU formatters signature for key just: 3bfe28bbc0d884b31e3c52778c0d0fc7559 DEBU formatter | deadnix[2]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix560 DEBU formatter | alejandra[1]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix561 DEBU formatters signature for key alejandra:deadnix: ab3b921397b21571d862f931fe1255e5562 DEBU path matched global excludes: nixpkgs.toml563 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/main.py564 DEBU formatters signature for key python: f2cecf672e759f0c230c6c0c6d2dcb59565 WARN no formatter for path: python/requirements.txt566 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/virtualenv_proxy.py567 DEBU formatter | ruby: match: /build/TestOnUnmatched3744448920/001/ruby/bundler.rb568 DEBU formatters signature for key ruby: 28b1acb9bc8afb20ca582eeef6ec0c41569 DEBU path matched global excludes: rust/Cargo.toml570 DEBU formatter | rust: match: /build/TestOnUnmatched3744448920/001/rust/src/main.rs571 DEBU formatters signature for key rust: 927ebef84d202129ca109200eb672169572 DEBU formatter | shfmt[2]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh573 DEBU formatter | shellcheck[1]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh574 DEBU formatters signature for key shellcheck:shfmt: 1c8661bb8d587405273e38ac34ea1406575 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/main.tf576 DEBU formatters signature for key opentofu: ccbae559816e50bde15e044573342597577 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/two.tf578 DEBU path matched global excludes: touch.toml579 DEBU path matched global excludes: treefmt.toml580 DEBU formatter | yamlfmt: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml581 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml582 DEBU formatter | dos2unix: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml583 DEBU formatters signature for key dos2unix:prettier:yamlfmt: 02249c54f7e737333b14d93d03cd89c6584 traversed 33 files585 emitted 22 files for processing586 formatted 0 files (0 changed) in 59ms587 DEBU no more files to read588 589 root_test.go:101: 590 591 root_test.go:109: treefmt -vv592 root_test.go:109: 593 INFO config: no tree root specified594 INFO config: attempting to resolve tree root using jujutsu: jj workspace root595 DEBU tree-root-cmd | stderr: Error: There is no jj repo in "."596 DEBU tree-root-cmd | stdout:597 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1598 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel599 DEBU tree-root-cmd | stderr: fatal: not a git repository (or any of the parent directories): .git600 DEBU tree-root-cmd | stdout:601 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 128602 INFO config: setting tree root to the directory containing the config file: /build/TestOnUnmatched3744448920/001/treefmt.toml603 INFO config: tree root: /build/TestOnUnmatched3744448920/001604 DEBU formatter command not found: foo-fmt605 DEBU Resolving path '/build/TestOnUnmatched3744448920/001'606 DEBU walk | filesystem: file queued .gitignore607 DEBU walk | filesystem: file queued emoji 🕰️/README.md608 DEBU walk | filesystem: file queued go/go.mod609 DEBU walk | filesystem: file queued go/main.go610 DEBU walk | filesystem: file queued haskell/CHANGELOG.md611 DEBU walk | filesystem: file queued haskell/Foo.hs612 DEBU walk | filesystem: file queued haskell/Main.hs613 DEBU walk | filesystem: file queued haskell/Nested/Foo.hs614 DEBU walk | filesystem: file queued haskell/Setup.hs615 DEBU walk | filesystem: file queued haskell/haskell.cabal616 DEBU walk | filesystem: file queued haskell/treefmt.toml617 DEBU walk | filesystem: file queued haskell-frontend/CHANGELOG.md618 DEBU walk | filesystem: file queued haskell-frontend/Main.hs619 DEBU walk | filesystem: file queued haskell-frontend/Setup.hs620 DEBU walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal621 DEBU walk | filesystem: file queued html/index.html622 DEBU walk | filesystem: file queued html/scripts/.gitkeep623 DEBU walk | filesystem: file queued javascript/source/hello.js624 DEBU walk | filesystem: file queued just/justfile625 DEBU walk | filesystem: file queued nix/sources.nix626 DEBU walk | filesystem: file queued nixpkgs.toml627 DEBU walk | filesystem: file queued python/main.py628 DEBU walk | filesystem: file queued python/requirements.txt629 DEBU walk | filesystem: file queued python/virtualenv_proxy.py630 DEBU walk | filesystem: file queued ruby/bundler.rb631 DEBU walk | filesystem: file queued rust/Cargo.toml632 DEBU walk | filesystem: file queued rust/src/main.rs633 DEBU walk | filesystem: file queued shell/foo.sh634 DEBU walk | filesystem: file queued terraform/main.tf635 DEBU walk | filesystem: file queued terraform/two.tf636 DEBU walk | filesystem: file queued touch.toml637 DEBU walk | filesystem: file queued treefmt.toml638 DEBU walk | filesystem: file queued yaml/test.yaml639 DEBU walk | cache: read 33 files from delegate640 DEBU read 33 files641 WARN no formatter for path: .gitignore642 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/emoji 🕰️/README.md643 DEBU formatters signature for key prettier: 43d4aa9284a561523060faf3c1317913644 WARN no formatter for path: go/go.mod645 DEBU formatter | go: match: /build/TestOnUnmatched3744448920/001/go/main.go646 DEBU formatters signature for key go: eb842d37c82e3f9ecacbbc7d28914fb2647 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell/CHANGELOG.md648 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Foo.hs649 DEBU formatters signature for key haskell: af7e9dc8b3ac878a1b47756c5cae8ecc650 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Main.hs651 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Nested/Foo.hs652 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Setup.hs653 WARN no formatter for path: haskell/haskell.cabal654 DEBU path matched global excludes: haskell/treefmt.toml655 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/CHANGELOG.md656 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Main.hs657 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Setup.hs658 WARN no formatter for path: haskell-frontend/haskell-frontend.cabal659 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/html/index.html660 WARN no formatter for path: html/scripts/.gitkeep661 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/javascript/source/hello.js662 DEBU formatter | just: match: /build/TestOnUnmatched3744448920/001/just/justfile663 DEBU formatters signature for key just: 3bfe28bbc0d884b31e3c52778c0d0fc7664 DEBU formatter | alejandra[1]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix665 DEBU formatter | deadnix[2]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix666 DEBU formatters signature for key alejandra:deadnix: ab3b921397b21571d862f931fe1255e5667 DEBU path matched global excludes: nixpkgs.toml668 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/main.py669 DEBU formatters signature for key python: f2cecf672e759f0c230c6c0c6d2dcb59670 WARN no formatter for path: python/requirements.txt671 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/virtualenv_proxy.py672 DEBU formatter | ruby: match: /build/TestOnUnmatched3744448920/001/ruby/bundler.rb673 DEBU formatters signature for key ruby: 28b1acb9bc8afb20ca582eeef6ec0c41674 DEBU path matched global excludes: rust/Cargo.toml675 DEBU formatter | rust: match: /build/TestOnUnmatched3744448920/001/rust/src/main.rs676 DEBU formatters signature for key rust: 927ebef84d202129ca109200eb672169677 DEBU formatter | shellcheck[1]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh678 DEBU formatter | shfmt[2]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh679 DEBU formatters signature for key shellcheck:shfmt: 1c8661bb8d587405273e38ac34ea1406680 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/main.tf681 DEBU formatters signature for key opentofu: ccbae559816e50bde15e044573342597682 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/two.tf683 DEBU path matched global excludes: touch.toml684 DEBU path matched global excludes: treefmt.toml685 DEBU formatter | dos2unix: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml686 DEBU formatter | yamlfmt: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml687 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml688 DEBU formatters signature for key dos2unix:prettier:yamlfmt: 02249c54f7e737333b14d93d03cd89c6689 traversed 33 files690 emitted 22 files for processing691 formatted 0 files (0 changed) in 51ms692 DEBU no more files to read693 694 root_test.go:109: 695 696=== RUN TestOnUnmatched/error697 root_test.go:101: treefmt -vv --on-unmatched error698 root_test.go:101: 699 INFO config: no tree root specified700 INFO config: attempting to resolve tree root using jujutsu: jj workspace root701 DEBU tree-root-cmd | stderr: Error: There is no jj repo in "."702 DEBU tree-root-cmd | stdout:703 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1704 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel705 DEBU tree-root-cmd | stdout:706 DEBU tree-root-cmd | stderr: fatal: not a git repository (or any of the parent directories): .git707 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 128708 INFO config: setting tree root to the directory containing the config file: /build/TestOnUnmatched3744448920/001/treefmt.toml709 INFO config: tree root: /build/TestOnUnmatched3744448920/001710 DEBU formatter command not found: foo-fmt711 DEBU Resolving path '/build/TestOnUnmatched3744448920/001'712 DEBU walk | filesystem: file queued .gitignore713 DEBU walk | filesystem: file queued emoji 🕰️/README.md714 DEBU walk | filesystem: file queued go/go.mod715 DEBU walk | filesystem: file queued go/main.go716 DEBU walk | filesystem: file queued haskell/CHANGELOG.md717 DEBU walk | filesystem: file queued haskell/Foo.hs718 DEBU walk | filesystem: file queued haskell/Main.hs719 DEBU walk | filesystem: file queued haskell/Nested/Foo.hs720 DEBU walk | filesystem: file queued haskell/Setup.hs721 DEBU walk | filesystem: file queued haskell/haskell.cabal722 DEBU walk | filesystem: file queued haskell/treefmt.toml723 DEBU walk | filesystem: file queued haskell-frontend/CHANGELOG.md724 DEBU walk | filesystem: file queued haskell-frontend/Main.hs725 DEBU walk | filesystem: file queued haskell-frontend/Setup.hs726 DEBU walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal727 DEBU walk | filesystem: file queued html/index.html728 DEBU walk | filesystem: file queued html/scripts/.gitkeep729 DEBU walk | filesystem: file queued javascript/source/hello.js730 DEBU walk | filesystem: file queued just/justfile731 DEBU walk | filesystem: file queued nix/sources.nix732 DEBU walk | filesystem: file queued nixpkgs.toml733 DEBU walk | filesystem: file queued python/main.py734 DEBU walk | filesystem: file queued python/requirements.txt735 DEBU walk | filesystem: file queued python/virtualenv_proxy.py736 DEBU walk | filesystem: file queued ruby/bundler.rb737 DEBU walk | filesystem: file queued rust/Cargo.toml738 DEBU walk | filesystem: file queued rust/src/main.rs739 DEBU walk | filesystem: file queued shell/foo.sh740 DEBU walk | filesystem: file queued terraform/main.tf741 DEBU walk | filesystem: file queued terraform/two.tf742 DEBU walk | filesystem: file queued touch.toml743 DEBU walk | filesystem: file queued treefmt.toml744 DEBU walk | filesystem: file queued yaml/test.yaml745 DEBU walk | cache: read 33 files from delegate746 DEBU read 33 files747 ERRO no formatter for path: .gitignore748 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/emoji 🕰️/README.md749 DEBU formatters signature for key prettier: 43d4aa9284a561523060faf3c1317913750 ERRO no formatter for path: go/go.mod751 DEBU formatter | go: match: /build/TestOnUnmatched3744448920/001/go/main.go752 DEBU formatters signature for key go: eb842d37c82e3f9ecacbbc7d28914fb2753 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell/CHANGELOG.md754 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Foo.hs755 DEBU formatters signature for key haskell: af7e9dc8b3ac878a1b47756c5cae8ecc756 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Main.hs757 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Nested/Foo.hs758 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Setup.hs759 ERRO no formatter for path: haskell/haskell.cabal760 DEBU path matched global excludes: haskell/treefmt.toml761 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/CHANGELOG.md762 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Main.hs763 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Setup.hs764 ERRO no formatter for path: haskell-frontend/haskell-frontend.cabal765 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/html/index.html766 ERRO no formatter for path: html/scripts/.gitkeep767 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/javascript/source/hello.js768 DEBU formatter | just: match: /build/TestOnUnmatched3744448920/001/just/justfile769 DEBU formatters signature for key just: 3bfe28bbc0d884b31e3c52778c0d0fc7770 DEBU formatter | alejandra[1]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix771 DEBU formatter | deadnix[2]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix772 DEBU formatters signature for key alejandra:deadnix: ab3b921397b21571d862f931fe1255e5773 DEBU path matched global excludes: nixpkgs.toml774 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/main.py775 DEBU formatters signature for key python: f2cecf672e759f0c230c6c0c6d2dcb59776 ERRO no formatter for path: python/requirements.txt777 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/virtualenv_proxy.py778 DEBU formatter | ruby: match: /build/TestOnUnmatched3744448920/001/ruby/bundler.rb779 DEBU formatters signature for key ruby: 28b1acb9bc8afb20ca582eeef6ec0c41780 DEBU path matched global excludes: rust/Cargo.toml781 DEBU formatter | rust: match: /build/TestOnUnmatched3744448920/001/rust/src/main.rs782 DEBU formatters signature for key rust: 927ebef84d202129ca109200eb672169783 DEBU formatter | shfmt[2]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh784 DEBU formatter | shellcheck[1]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh785 DEBU formatters signature for key shellcheck:shfmt: 1c8661bb8d587405273e38ac34ea1406786 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/main.tf787 DEBU formatters signature for key opentofu: ccbae559816e50bde15e044573342597788 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/two.tf789 DEBU path matched global excludes: touch.toml790 DEBU path matched global excludes: treefmt.toml791 DEBU formatter | yamlfmt: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml792 DEBU formatter | dos2unix: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml793 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml794 DEBU formatters signature for key dos2unix:prettier:yamlfmt: 02249c54f7e737333b14d93d03cd89c6795 traversed 33 files796 emitted 22 files for processing797 formatted 0 files (0 changed) in 262ms798 DEBU no more files to read799 800 root_test.go:101: 801 802 root_test.go:109: treefmt -vv803 root_test.go:109: 804 INFO config: no tree root specified805 INFO config: attempting to resolve tree root using jujutsu: jj workspace root806 DEBU tree-root-cmd | stderr: Error: There is no jj repo in "."807 DEBU tree-root-cmd | stdout:808 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1809 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel810 DEBU tree-root-cmd | stdout:811 DEBU tree-root-cmd | stderr: fatal: not a git repository (or any of the parent directories): .git812 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 128813 INFO config: setting tree root to the directory containing the config file: /build/TestOnUnmatched3744448920/001/treefmt.toml814 INFO config: tree root: /build/TestOnUnmatched3744448920/001815 DEBU formatter command not found: foo-fmt816 DEBU Resolving path '/build/TestOnUnmatched3744448920/001'817 DEBU walk | filesystem: file queued .gitignore818 DEBU walk | filesystem: file queued emoji 🕰️/README.md819 DEBU walk | filesystem: file queued go/go.mod820 DEBU walk | filesystem: file queued go/main.go821 DEBU walk | filesystem: file queued haskell/CHANGELOG.md822 DEBU walk | filesystem: file queued haskell/Foo.hs823 DEBU walk | filesystem: file queued haskell/Main.hs824 DEBU walk | filesystem: file queued haskell/Nested/Foo.hs825 DEBU walk | filesystem: file queued haskell/Setup.hs826 DEBU walk | filesystem: file queued haskell/haskell.cabal827 DEBU walk | filesystem: file queued haskell/treefmt.toml828 DEBU walk | filesystem: file queued haskell-frontend/CHANGELOG.md829 DEBU walk | filesystem: file queued haskell-frontend/Main.hs830 DEBU walk | filesystem: file queued haskell-frontend/Setup.hs831 DEBU walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal832 DEBU walk | filesystem: file queued html/index.html833 DEBU walk | filesystem: file queued html/scripts/.gitkeep834 DEBU walk | filesystem: file queued javascript/source/hello.js835 DEBU walk | filesystem: file queued just/justfile836 DEBU walk | filesystem: file queued nix/sources.nix837 DEBU walk | filesystem: file queued nixpkgs.toml838 DEBU walk | filesystem: file queued python/main.py839 DEBU walk | filesystem: file queued python/requirements.txt840 DEBU walk | filesystem: file queued python/virtualenv_proxy.py841 DEBU walk | filesystem: file queued ruby/bundler.rb842 DEBU walk | filesystem: file queued rust/Cargo.toml843 DEBU walk | filesystem: file queued rust/src/main.rs844 DEBU walk | filesystem: file queued shell/foo.sh845 DEBU walk | filesystem: file queued terraform/main.tf846 DEBU walk | filesystem: file queued terraform/two.tf847 DEBU walk | filesystem: file queued touch.toml848 DEBU walk | filesystem: file queued treefmt.toml849 DEBU walk | filesystem: file queued yaml/test.yaml850 DEBU walk | cache: read 33 files from delegate851 DEBU read 33 files852 ERRO no formatter for path: .gitignore853 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/emoji 🕰️/README.md854 DEBU formatters signature for key prettier: 43d4aa9284a561523060faf3c1317913855 ERRO no formatter for path: go/go.mod856 DEBU formatter | go: match: /build/TestOnUnmatched3744448920/001/go/main.go857 DEBU formatters signature for key go: eb842d37c82e3f9ecacbbc7d28914fb2858 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell/CHANGELOG.md859 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Foo.hs860 DEBU formatters signature for key haskell: af7e9dc8b3ac878a1b47756c5cae8ecc861 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Main.hs862 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Nested/Foo.hs863 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Setup.hs864 ERRO no formatter for path: haskell/haskell.cabal865 DEBU path matched global excludes: haskell/treefmt.toml866 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/CHANGELOG.md867 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Main.hs868 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Setup.hs869 ERRO no formatter for path: haskell-frontend/haskell-frontend.cabal870 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/html/index.html871 ERRO no formatter for path: html/scripts/.gitkeep872 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/javascript/source/hello.js873 DEBU formatter | just: match: /build/TestOnUnmatched3744448920/001/just/justfile874 DEBU formatters signature for key just: 3bfe28bbc0d884b31e3c52778c0d0fc7875 DEBU formatter | deadnix[2]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix876 DEBU formatter | alejandra[1]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix877 DEBU formatters signature for key alejandra:deadnix: ab3b921397b21571d862f931fe1255e5878 DEBU path matched global excludes: nixpkgs.toml879 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/main.py880 DEBU formatters signature for key python: f2cecf672e759f0c230c6c0c6d2dcb59881 ERRO no formatter for path: python/requirements.txt882 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/virtualenv_proxy.py883 DEBU formatter | ruby: match: /build/TestOnUnmatched3744448920/001/ruby/bundler.rb884 DEBU formatters signature for key ruby: 28b1acb9bc8afb20ca582eeef6ec0c41885 DEBU path matched global excludes: rust/Cargo.toml886 DEBU formatter | rust: match: /build/TestOnUnmatched3744448920/001/rust/src/main.rs887 DEBU formatters signature for key rust: 927ebef84d202129ca109200eb672169888 DEBU formatter | shellcheck[1]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh889 DEBU formatter | shfmt[2]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh890 DEBU formatters signature for key shellcheck:shfmt: 1c8661bb8d587405273e38ac34ea1406891 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/main.tf892 DEBU formatters signature for key opentofu: ccbae559816e50bde15e044573342597893 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/two.tf894 DEBU path matched global excludes: touch.toml895 DEBU path matched global excludes: treefmt.toml896 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml897 DEBU formatter | dos2unix: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml898 DEBU formatter | yamlfmt: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml899 DEBU formatters signature for key dos2unix:prettier:yamlfmt: 02249c54f7e737333b14d93d03cd89c6900 traversed 33 files901 emitted 22 files for processing902 formatted 0 files (0 changed) in 128ms903 DEBU no more files to read904 905 root_test.go:109: 906 907=== RUN TestOnUnmatched/invalid908 root_test.go:125: treefmt --on-unmatched foo909 root_test.go:125: 910 Error: failed to create composite formatter: invalid on-unmatched value: invalid level: "foo"911 912 root_test.go:125: 913 914 root_test.go:132: treefmt 915 root_test.go:132: 916 Error: failed to create composite formatter: invalid on-unmatched value: invalid level: "bar"917 918 root_test.go:132: 919 920--- PASS: TestOnUnmatched (2.80s)921 --- PASS: TestOnUnmatched/default (0.79s)922 --- PASS: TestOnUnmatched/fatal (0.11s)923 --- PASS: TestOnUnmatched/debug (0.17s)924 --- PASS: TestOnUnmatched/info (0.15s)925 --- PASS: TestOnUnmatched/warn (0.12s)926 --- PASS: TestOnUnmatched/error (0.39s)927 --- PASS: TestOnUnmatched/invalid (0.05s)928=== RUN TestQuiet929 root_test.go:149: treefmt -q930 root_test.go:149: 931 932 root_test.go:149: 933 934 root_test.go:150: treefmt --quiet935 root_test.go:150: 936 937 root_test.go:150: 938 939 root_test.go:153: treefmt 940 root_test.go:153: 941 942 root_test.go:153: 943 944 root_test.go:158: treefmt 945 root_test.go:158: 946 Error: failed to create composite formatter: failed to initialise formatter foo-fmt: formatter command not found in PATH: error looking up 'foo-fmt'947 948 root_test.go:158: 949 950--- PASS: TestQuiet (1.84s)951=== RUN TestCpuProfile952 root_test.go:172: treefmt --cpu-profile cpu.pprof953 root_test.go:172: 954 traversed 34 files955 emitted 22 files for processing956 formatted 22 files (4 changed) in 355ms957 958 root_test.go:172: 959 960 root_test.go:182: treefmt 961 root_test.go:182: 962 traversed 35 files963 emitted 22 files for processing964 formatted 0 files (0 changed) in 31ms965 966 root_test.go:182: 967 968--- PASS: TestCpuProfile (1.44s)969=== RUN TestAllowMissingFormatter970=== RUN TestAllowMissingFormatter/default971 root_test.go:202: treefmt 972 root_test.go:202: 973 Error: failed to create composite formatter: failed to initialise formatter foo-fmt: formatter command not found in PATH: error looking up 'foo-fmt'974 975 root_test.go:202: 976 977=== RUN TestAllowMissingFormatter/arg978 root_test.go:210: treefmt --allow-missing-formatter979 root_test.go:210: 980 traversed 33 files981 emitted 0 files for processing982 formatted 0 files (0 changed) in 26ms983 984 root_test.go:210: 985 986=== RUN TestAllowMissingFormatter/env987 root_test.go:224: treefmt 988 root_test.go:224: 989 traversed 33 files990 emitted 0 files for processing991 formatted 0 files (0 changed) in 25ms992 993 root_test.go:224: 994 995--- PASS: TestAllowMissingFormatter (1.09s)996 --- PASS: TestAllowMissingFormatter/default (0.03s)997 --- PASS: TestAllowMissingFormatter/arg (0.03s)998 --- PASS: TestAllowMissingFormatter/env (0.03s)999=== RUN TestSpecifyingFormatters1000=== RUN TestSpecifyingFormatters/default1001 root_test.go:257: treefmt 1002 root_test.go:257: 1003 traversed 33 files1004 emitted 3 files for processing1005 formatted 3 files (3 changed) in 31ms1006 1007 root_test.go:257: 1008 1009=== RUN TestSpecifyingFormatters/args1010 root_test.go:270: treefmt --formatters rust,nix1011 root_test.go:270: 1012 traversed 33 files1013 emitted 2 files for processing1014 formatted 2 files (2 changed) in 28ms1015 1016 root_test.go:270: 1017 1018 root_test.go:282: treefmt --formatters ruby,nix1019 root_test.go:282: 1020 traversed 33 files1021 emitted 2 files for processing1022 formatted 2 files (2 changed) in 29ms1023 1024 root_test.go:282: 1025 1026 root_test.go:294: treefmt --formatters nix1027 root_test.go:294: 1028 traversed 33 files1029 emitted 1 files for processing1030 formatted 1 files (1 changed) in 27ms1031 1032 root_test.go:294: 1033 1034 root_test.go:307: treefmt --formatters foo1035 root_test.go:307: 1036 Error: failed to load config: formatter foo not found in config1037 1038 root_test.go:307: 1039 1040=== RUN TestSpecifyingFormatters/env1041 root_test.go:318: treefmt 1042 root_test.go:318: 1043 traversed 33 files1044 emitted 2 files for processing1045 formatted 2 files (2 changed) in 22ms1046 1047 root_test.go:318: 1048 1049 root_test.go:331: treefmt 1050 root_test.go:331: 1051 Error: failed to load config: formatter bar not found in config1052 1053 root_test.go:331: 1054 1055=== RUN TestSpecifyingFormatters/bad_names1056 root_test.go:340: treefmt --formatters foo$1057 root_test.go:340: 1058 Error: failed to load config: formatter name "foo$" is invalid, must be of the form ^[a-zA-Z0-9_-]+$1059 1060 root_test.go:340: 1061 1062 root_test.go:349: treefmt 1063 root_test.go:349: 1064 Error: failed to load config: formatter name "foo$" is invalid, must be of the form ^[a-zA-Z0-9_-]+$1065 1066 root_test.go:349: 1067 1068 root_test.go:364: treefmt 1069 root_test.go:364: 1070 Error: failed to load config: formatter name "foo$" is invalid, must be of the form ^[a-zA-Z0-9_-]+$1071 1072 root_test.go:364: 1073 1074 root_test.go:340: treefmt --formatters /bar1075 root_test.go:340: 1076 Error: failed to load config: formatter name "/bar" is invalid, must be of the form ^[a-zA-Z0-9_-]+$1077 1078 root_test.go:340: 1079 1080 root_test.go:349: treefmt 1081 root_test.go:349: 1082 Error: failed to load config: formatter name "/bar" is invalid, must be of the form ^[a-zA-Z0-9_-]+$1083 1084 root_test.go:349: 1085 1086 root_test.go:364: treefmt 1087 root_test.go:364: 1088 Error: failed to load config: formatter name "/bar" is invalid, must be of the form ^[a-zA-Z0-9_-]+$1089 1090 root_test.go:364: 1091 1092 root_test.go:340: treefmt --formatters baz%1093 root_test.go:340: 1094 Error: failed to load config: formatter name "baz%" is invalid, must be of the form ^[a-zA-Z0-9_-]+$1095 1096 root_test.go:340: 1097 1098 root_test.go:349: treefmt 1099 root_test.go:349: 1100 Error: failed to load config: formatter name "baz%" is invalid, must be of the form ^[a-zA-Z0-9_-]+$1101 1102 root_test.go:349: 1103 1104 root_test.go:364: treefmt 1105 root_test.go:364: 1106 Error: failed to load config: formatter name "baz%" is invalid, must be of the form ^[a-zA-Z0-9_-]+$1107 1108 root_test.go:364: 1109 1110--- PASS: TestSpecifyingFormatters (1.26s)1111 --- PASS: TestSpecifyingFormatters/default (0.03s)1112 --- PASS: TestSpecifyingFormatters/args (0.10s)1113 --- PASS: TestSpecifyingFormatters/env (0.03s)1114 --- PASS: TestSpecifyingFormatters/bad_names (0.09s)1115=== RUN TestIncludesAndExcludes1116 root_test.go:393: treefmt 1117 root_test.go:393: 1118 traversed 33 files1119 emitted 33 files for processing1120 formatted 33 files (0 changed) in 28ms1121 1122 root_test.go:393: 1123 1124 root_test.go:407: treefmt -c1125 root_test.go:407: 1126 traversed 33 files1127 emitted 32 files for processing1128 formatted 32 files (0 changed) in 26ms1129 1130 root_test.go:407: 1131 1132 root_test.go:422: treefmt -c1133 root_test.go:422: 1134 traversed 33 files1135 emitted 26 files for processing1136 formatted 26 files (0 changed) in 29ms1137 1138 root_test.go:422: 1139 1140 root_test.go:439: treefmt -c1141 root_test.go:439: 1142 traversed 33 files1143 emitted 24 files for processing1144 formatted 24 files (0 changed) in 25ms1145 1146 root_test.go:439: 1147 1148 root_test.go:454: treefmt -c1149 root_test.go:454: 1150 traversed 33 files1151 emitted 23 files for processing1152 formatted 23 files (0 changed) in 31ms1153 1154 root_test.go:454: 1155 1156 root_test.go:471: treefmt -c1157 root_test.go:471: 1158 traversed 33 files1159 emitted 1 files for processing1160 formatted 1 files (0 changed) in 23ms1161 1162 root_test.go:471: 1163 1164 root_test.go:486: treefmt -c1165 root_test.go:486: 1166 traversed 33 files1167 emitted 2 files for processing1168 formatted 2 files (0 changed) in 23ms1169 1170 root_test.go:486: 1171 1172--- PASS: TestIncludesAndExcludes (1.20s)1173=== RUN TestConfigFile1174=== RUN TestConfigFile/treefmt.toml1175 root_test.go:514: treefmt --config-file /build/TestConfigFiletreefmt.toml1568426568/003/treefmt.toml1176 root_test.go:514: 1177 traversed 1 files1178 emitted 1 files for processing1179 formatted 1 files (0 changed) in 28ms1180 1181 root_test.go:514: 1182 1183 root_test.go:533: treefmt --config-file /build/TestConfigFiletreefmt.toml1568426568/003/treefmt.toml --tree-root /build/TestConfigFiletreefmt.toml1568426568/0011184 root_test.go:533: 1185 traversed 33 files1186 emitted 33 files for processing1187 formatted 33 files (0 changed) in 15ms1188 1189 root_test.go:533: 1190 1191 root_test.go:545: setting env PRJ_ROOT=/build/TestConfigFiletreefmt.toml1568426568/0011192 root_test.go:545: setting env TREEFMT_CONFIG=/build/TestConfigFiletreefmt.toml1568426568/003/treefmt.toml1193 root_test.go:545: treefmt 1194 root_test.go:545: 1195 traversed 33 files1196 emitted 33 files for processing1197 formatted 0 files (0 changed) in 18ms1198 1199 root_test.go:545: 1200 1201 root_test.go:563: setting env PRJ_ROOT=/build/TestConfigFiletreefmt.toml1568426568/0031202 root_test.go:563: treefmt --tree-root /build/TestConfigFiletreefmt.toml1568426568/0011203 root_test.go:563: 1204 traversed 33 files1205 emitted 33 files for processing1206 formatted 0 files (0 changed) in 12ms1207 1208 root_test.go:563: 1209 1210 root_test.go:581: setting env PRJ_ROOT=/build/TestConfigFiletreefmt.toml1568426568/003/sub1211 root_test.go:581: treefmt --tree-root /build/TestConfigFiletreefmt.toml1568426568/0011212 root_test.go:581: 1213 Error: failed to find treefmt config file: could not find [treefmt.toml .treefmt.toml .config/treefmt.toml] in /build/TestConfigFiletreefmt.toml1568426568/0021214 1215 root_test.go:581: 1216 1217=== RUN TestConfigFile/.treefmt.toml1218 root_test.go:514: treefmt --config-file /build/TestConfigFile.treefmt.toml2547442809/003/.treefmt.toml1219 root_test.go:514: 1220 traversed 1 files1221 emitted 1 files for processing1222 formatted 1 files (0 changed) in 23ms1223 1224 root_test.go:514: 1225 1226 root_test.go:533: treefmt --config-file /build/TestConfigFile.treefmt.toml2547442809/003/.treefmt.toml --tree-root /build/TestConfigFile.treefmt.toml2547442809/0011227 root_test.go:533: 1228 traversed 33 files1229 emitted 33 files for processing1230 formatted 33 files (0 changed) in 18ms1231 1232 root_test.go:533: 1233 1234 root_test.go:545: setting env TREEFMT_CONFIG=/build/TestConfigFile.treefmt.toml2547442809/003/.treefmt.toml1235 root_test.go:545: setting env PRJ_ROOT=/build/TestConfigFile.treefmt.toml2547442809/0011236 root_test.go:545: treefmt 1237 root_test.go:545: 1238 traversed 33 files1239 emitted 33 files for processing1240 formatted 0 files (0 changed) in 13ms1241 1242 root_test.go:545: 1243 1244 root_test.go:563: setting env PRJ_ROOT=/build/TestConfigFile.treefmt.toml2547442809/0031245 root_test.go:563: treefmt --tree-root /build/TestConfigFile.treefmt.toml2547442809/0011246 root_test.go:563: 1247 traversed 33 files1248 emitted 33 files for processing1249 formatted 0 files (0 changed) in 12ms1250 1251 root_test.go:563: 1252 1253 root_test.go:581: setting env PRJ_ROOT=/build/TestConfigFile.treefmt.toml2547442809/003/sub1254 root_test.go:581: treefmt --tree-root /build/TestConfigFile.treefmt.toml2547442809/0011255 root_test.go:581: 1256 Error: failed to find treefmt config file: could not find [treefmt.toml .treefmt.toml .config/treefmt.toml] in /build/TestConfigFile.treefmt.toml2547442809/0021257 1258 root_test.go:581: 1259 1260--- PASS: TestConfigFile (2.16s)1261 --- PASS: TestConfigFile/treefmt.toml (1.08s)1262 --- PASS: TestConfigFile/.treefmt.toml (1.08s)1263=== RUN TestDotConfigDir1264=== RUN TestDotConfigDir/basic1265 root_test.go:609: treefmt 1266 root_test.go:609: 1267 traversed 33 files1268 emitted 33 files for processing1269 formatted 33 files (0 changed) in 25ms1270 1271 root_test.go:609: 1272 1273=== RUN TestDotConfigDir/project_root_ending_in_.config1274 root_test.go:646: treefmt 1275 root_test.go:646: 1276 traversed 33 files1277 emitted 33 files for processing1278 formatted 33 files (0 changed) in 33ms1279 1280 root_test.go:646: 1281 1282--- PASS: TestDotConfigDir (2.07s)1283 --- PASS: TestDotConfigDir/basic (1.03s)1284 --- PASS: TestDotConfigDir/project_root_ending_in_.config (1.04s)1285=== RUN TestCache1286 root_test.go:686: treefmt 1287 root_test.go:686: 1288 traversed 33 files1289 emitted 33 files for processing1290 formatted 33 files (33 changed) in 39ms1291 1292 root_test.go:686: 1293 1294 root_test.go:697: treefmt 1295 root_test.go:697: 1296 traversed 33 files1297 emitted 33 files for processing1298 formatted 0 files (0 changed) in 21ms1299 1300 root_test.go:697: 1301 1302 root_test.go:708: treefmt -c1303 root_test.go:708: 1304 traversed 33 files1305 emitted 33 files for processing1306 formatted 33 files (33 changed) in 30ms1307 1308 root_test.go:708: 1309 1310 root_test.go:720: treefmt 1311 root_test.go:720: 1312 traversed 33 files1313 emitted 33 files for processing1314 formatted 0 files (0 changed) in 28ms1315 1316 root_test.go:720: 1317 1318 root_test.go:731: treefmt 1319 root_test.go:731: 1320 traversed 33 files1321 emitted 33 files for processing1322 formatted 33 files (33 changed) in 34ms1323 1324 root_test.go:731: 1325 1326 root_test.go:743: treefmt --no-cache1327 root_test.go:743: 1328 traversed 33 files1329 emitted 33 files for processing1330 formatted 33 files (33 changed) in 27ms1331 1332 root_test.go:743: 1333 1334 root_test.go:771: treefmt 1335 root_test.go:771: 1336 ERRO 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 11337 1338 /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch: unrecognized option '--bad-arg'1339 Try '/nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch --help' for more information.1340 1341 traversed 33 files1342 emitted 6 files for processing1343 formatted 0 files (0 changed) in 24ms1344 Error: failed to finalise formatting: formatting failures detected1345 1346 root_test.go:771: 1347 1348 root_test.go:784: treefmt 1349 root_test.go:784: 1350 ERRO 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 11351 1352 /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch: unrecognized option '--bad-arg'1353 Try '/nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch --help' for more information.1354 1355 traversed 33 files1356 emitted 6 files for processing1357 formatted 0 files (0 changed) in 28ms1358 Error: failed to finalise formatting: formatting failures detected1359 1360 root_test.go:784: 1361 1362 root_test.go:806: treefmt 1363 root_test.go:806: 1364 traversed 33 files1365 emitted 6 files for processing1366 formatted 6 files (6 changed) in 26ms1367 1368 root_test.go:806: 1369 1370--- PASS: TestCache (1.27s)1371=== RUN TestChangeWorkingDirectory1372=== RUN TestChangeWorkingDirectory/default1373 root_test.go:848: treefmt 1374 root_test.go:848: 1375 Error: failed to find treefmt config file: could not find [treefmt.toml .treefmt.toml .config/treefmt.toml] in /build/TestChangeWorkingDirectorydefault2497182033/0021376 1377 root_test.go:848: 1378 1379 root_test.go:859: treefmt 1380 root_test.go:859: 1381 traversed 33 files1382 emitted 33 files for processing1383 formatted 33 files (33 changed) in 41ms1384 1385 root_test.go:859: 1386 1387=== RUN TestChangeWorkingDirectory/arg1388=== RUN TestChangeWorkingDirectory/arg/treefmt.toml1389 root_test.go:895: treefmt -C /build/TestChangeWorkingDirectoryargtreefmt.toml791705450/0011390 root_test.go:895: 1391 traversed 33 files1392 emitted 33 files for processing1393 formatted 33 files (33 changed) in 44ms1394 1395 root_test.go:895: 1396 1397=== RUN TestChangeWorkingDirectory/arg/.treefmt.toml1398 root_test.go:895: treefmt -C /build/TestChangeWorkingDirectoryarg.treefmt.toml2658777036/0011399 root_test.go:895: 1400 traversed 33 files1401 emitted 33 files for processing1402 formatted 33 files (33 changed) in 46ms1403 1404 root_test.go:895: 1405 1406=== RUN TestChangeWorkingDirectory/env1407=== RUN TestChangeWorkingDirectory/env/treefmt.toml1408 root_test.go:895: treefmt 1409 root_test.go:895: 1410 traversed 33 files1411 emitted 33 files for processing1412 formatted 33 files (33 changed) in 53ms1413 1414 root_test.go:895: 1415 1416=== RUN TestChangeWorkingDirectory/env/.treefmt.toml1417 root_test.go:895: treefmt 1418 root_test.go:895: 1419 traversed 33 files1420 emitted 33 files for processing1421 formatted 33 files (33 changed) in 63ms1422 1423 root_test.go:895: 1424 1425--- PASS: TestChangeWorkingDirectory (5.30s)1426 --- PASS: TestChangeWorkingDirectory/default (1.05s)1427 --- PASS: TestChangeWorkingDirectory/arg (2.11s)1428 --- PASS: TestChangeWorkingDirectory/arg/treefmt.toml (1.05s)1429 --- PASS: TestChangeWorkingDirectory/arg/.treefmt.toml (1.06s)1430 --- PASS: TestChangeWorkingDirectory/env (2.14s)1431 --- PASS: TestChangeWorkingDirectory/env/treefmt.toml (1.06s)1432 --- PASS: TestChangeWorkingDirectory/env/.treefmt.toml (1.07s)1433=== RUN TestFailOnChange1434=== RUN TestFailOnChange/change_size1435 root_test.go:943: treefmt --fail-on-change1436 root_test.go:943: 1437 ERRO 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"1438 ERRO 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"1439 traversed 33 files1440 emitted 2 files for processing1441 formatted 2 files (2 changed) in 39ms1442 Error: unexpected changes detected, --fail-on-change is enabled1443 1444 root_test.go:943: 1445 1446 root_test.go:959: treefmt --fail-on-change1447 root_test.go:959: 1448 traversed 33 files1449 emitted 2 files for processing1450 formatted 0 files (0 changed) in 33ms1451 1452 root_test.go:959: 1453 1454=== RUN TestFailOnChange/change_modtime1455 root_test.go:987: treefmt --fail-on-change1456 root_test.go:987: 1457 ERRO 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"1458 ERRO 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"1459 ERRO 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"1460 ERRO 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"1461 ERRO 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"1462 ERRO 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"1463 ERRO 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"1464 traversed 33 files1465 emitted 7 files for processing1466 formatted 7 files (7 changed) in 53ms1467 Error: unexpected changes detected, --fail-on-change is enabled1468 1469 root_test.go:987: 1470 1471 root_test.go:1020: treefmt --fail-on-change1472 root_test.go:1020: 1473 traversed 33 files1474 emitted 7 files for processing1475 formatted 0 files (0 changed) in 30ms1476 1477 root_test.go:1020: 1478 1479--- PASS: TestFailOnChange (2.18s)1480 --- PASS: TestFailOnChange/change_size (1.08s)1481 --- PASS: TestFailOnChange/change_modtime (1.09s)1482=== RUN TestCacheBusting1483=== RUN TestCacheBusting/formatter_change_config1484 root_test.go:1058: treefmt 1485 root_test.go:1058: 1486 traversed 33 files1487 emitted 8 files for processing1488 formatted 8 files (6 changed) in 34ms1489 1490 root_test.go:1058: 1491 1492 root_test.go:1072: treefmt 1493 root_test.go:1072: 1494 traversed 33 files1495 emitted 8 files for processing1496 formatted 6 files (6 changed) in 33ms1497 1498 root_test.go:1072: 1499 1500 root_test.go:1083: treefmt 1501 root_test.go:1083: 1502 traversed 33 files1503 emitted 8 files for processing1504 formatted 0 files (0 changed) in 29ms1505 1506 root_test.go:1083: 1507 1508 root_test.go:1097: treefmt 1509 root_test.go:1097: 1510 traversed 33 files1511 emitted 8 files for processing1512 formatted 6 files (0 changed) in 36ms1513 1514 root_test.go:1097: 1515 1516 root_test.go:1108: treefmt 1517 root_test.go:1108: 1518 traversed 33 files1519 emitted 8 files for processing1520 formatted 0 files (0 changed) in 37ms1521 1522 root_test.go:1108: 1523 1524 root_test.go:1123: treefmt 1525 root_test.go:1123: 1526 traversed 33 files1527 emitted 6 files for processing1528 formatted 0 files (0 changed) in 38ms1529 1530 root_test.go:1123: 1531 1532 root_test.go:1138: treefmt 1533 root_test.go:1138: 1534 traversed 33 files1535 emitted 5 files for processing1536 formatted 0 files (0 changed) in 37ms1537 1538 root_test.go:1138: 1539 1540=== RUN TestCacheBusting/formatter_change_binary1541 root_test.go:1185: treefmt 1542 root_test.go:1185: 1543 traversed 34 files1544 emitted 3 files for processing1545 formatted 3 files (1 changed) in 42ms1546 1547 root_test.go:1185: 1548 1549 root_test.go:1200: treefmt 1550 root_test.go:1200: 1551 traversed 34 files1552 emitted 3 files for processing1553 formatted 1 files (1 changed) in 37ms1554 1555 root_test.go:1200: 1556 1557 root_test.go:1211: treefmt 1558 root_test.go:1211: 1559 traversed 34 files1560 emitted 3 files for processing1561 formatted 0 files (0 changed) in 32ms1562 1563 root_test.go:1211: 1564 1565 root_test.go:1231: treefmt 1566 root_test.go:1231: 1567 traversed 34 files1568 emitted 3 files for processing1569 formatted 1 files (1 changed) in 37ms1570 1571 root_test.go:1231: 1572 1573 root_test.go:1242: treefmt 1574 root_test.go:1242: 1575 traversed 34 files1576 emitted 3 files for processing1577 formatted 0 files (0 changed) in 35ms1578 1579 root_test.go:1242: 1580 1581=== RUN TestCacheBusting/formatter_add_remove1582 root_test.go:1271: treefmt 1583 root_test.go:1271: 1584 traversed 33 files1585 emitted 2 files for processing1586 formatted 2 files (2 changed) in 34ms1587 1588 root_test.go:1271: 1589 1590 root_test.go:1283: treefmt 1591 root_test.go:1283: 1592 traversed 33 files1593 emitted 2 files for processing1594 formatted 0 files (0 changed) in 27ms1595 1596 root_test.go:1283: 1597 1598 root_test.go:1302: treefmt 1599 root_test.go:1302: 1600 traversed 33 files1601 emitted 3 files for processing1602 formatted 1 files (1 changed) in 32ms1603 1604 root_test.go:1302: 1605 1606 root_test.go:1321: treefmt 1607 root_test.go:1321: 1608 traversed 33 files1609 emitted 3 files for processing1610 formatted 2 files (2 changed) in 36ms1611 1612 root_test.go:1321: 1613 1614 root_test.go:1333: treefmt 1615 root_test.go:1333: 1616 traversed 33 files1617 emitted 3 files for processing1618 formatted 0 files (0 changed) in 35ms1619 1620 root_test.go:1333: 1621 1622 root_test.go:1349: treefmt 1623 root_test.go:1349: 1624 traversed 33 files1625 emitted 3 files for processing1626 formatted 2 files (2 changed) in 36ms1627 1628 root_test.go:1349: 1629 1630 root_test.go:1361: treefmt 1631 root_test.go:1361: 1632 traversed 33 files1633 emitted 3 files for processing1634 formatted 0 files (0 changed) in 31ms1635 1636 root_test.go:1361: 1637 1638 root_test.go:1376: treefmt 1639 root_test.go:1376: 1640 traversed 33 files1641 emitted 3 files for processing1642 formatted 2 files (2 changed) in 37ms1643 1644 root_test.go:1376: 1645 1646 root_test.go:1388: treefmt 1647 root_test.go:1388: 1648 traversed 33 files1649 emitted 3 files for processing1650 formatted 0 files (0 changed) in 32ms1651 1652 root_test.go:1388: 1653 1654 root_test.go:1404: treefmt 1655 root_test.go:1404: 1656 traversed 33 files1657 emitted 2 files for processing1658 formatted 0 files (0 changed) in 27ms1659 1660 root_test.go:1404: 1661 1662--- PASS: TestCacheBusting (3.80s)1663 --- PASS: TestCacheBusting/formatter_change_config (1.26s)1664 --- PASS: TestCacheBusting/formatter_change_binary (1.20s)1665 --- PASS: TestCacheBusting/formatter_add_remove (1.35s)1666=== RUN TestGit1667 root_test.go:1443: treefmt 1668 root_test.go:1443: 1669 traversed 33 files1670 emitted 33 files for processing1671 formatted 33 files (0 changed) in 38ms1672 1673 root_test.go:1443: 1674 1675 root_test.go:1458: treefmt 1676 root_test.go:1458: 1677 traversed 33 files1678 emitted 33 files for processing1679 formatted 0 files (0 changed) in 26ms1680 1681 root_test.go:1458: 1682 1683 root_test.go:1476: treefmt 1684 root_test.go:1476: 1685 traversed 33 files1686 emitted 33 files for processing1687 formatted 0 files (0 changed) in 30ms1688 1689 root_test.go:1476: 1690 1691 root_test.go:1491: treefmt 1692 root_test.go:1491: 1693 WARN walk | git: Path /build/TestGit3637193217/001/python/main.py was emitted by git but no file exists at that path1694 WARN walk | git: Path /build/TestGit3637193217/001/python/requirements.txt was emitted by git but no file exists at that path1695 WARN walk | git: Path /build/TestGit3637193217/001/python/virtualenv_proxy.py was emitted by git but no file exists at that path1696 traversed 30 files1697 emitted 30 files for processing1698 formatted 0 files (0 changed) in 28ms1699 1700 root_test.go:1491: 1701 1702 root_test.go:1508: treefmt --walk filesystem1703 root_test.go:1508: 1704 traversed 82 files1705 emitted 82 files for processing1706 formatted 53 files (0 changed) in 15ms1707 1708 root_test.go:1508: 1709 1710 root_test.go:1523: treefmt go1711 root_test.go:1523: 1712 traversed 2 files1713 emitted 2 files for processing1714 formatted 0 files (0 changed) in 28ms1715 1716 root_test.go:1523: 1717 1718 root_test.go:1535: treefmt go haskell1719 root_test.go:1535: 1720 traversed 9 files1721 emitted 9 files for processing1722 formatted 0 files (0 changed) in 30ms1723 1724 root_test.go:1535: 1725 1726 root_test.go:1547: treefmt -C /build/TestGit3637193217/001 go haskell ruby1727 root_test.go:1547: 1728 traversed 10 files1729 emitted 10 files for processing1730 formatted 0 files (0 changed) in 32ms1731 1732 root_test.go:1547: 1733 1734 root_test.go:1560: treefmt -C /build/TestGit3637193217/001 haskell foo1735 root_test.go:1560: 1736 Error: failed to create walker: path /build/TestGit3637193217/001/foo not found: lstat /build/TestGit3637193217/001/foo: no such file or directory1737 1738 root_test.go:1560: 1739 1740 root_test.go:1572: treefmt haskell foo.txt -vv1741 root_test.go:1572: 1742 INFO config: no tree root specified1743 INFO config: attempting to resolve tree root using jujutsu: jj workspace root1744 DEBU tree-root-cmd | stderr: Error: There is no jj repo in "."1745 DEBU 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:1746 DEBU tree-root-cmd | stderr: jj git init1747 DEBU tree-root-cmd | stdout:1748 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 11749 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel1750 DEBU tree-root-cmd | stdout: /build/TestGit3637193217/0011751 1752 INFO config: tree root: /build/TestGit3637193217/0011753 DEBU Resolving path '/build/TestGit3637193217/001'1754 DEBU Resolving path 'haskell'1755 DEBU Resolving path 'haskell'1756 DEBU Resolving path 'foo.txt'1757 DEBU Resolving path 'foo.txt'1758 DEBU walk | git: processing file: /build/TestGit3637193217/001/foo.txt1759 DEBU walk | git: processing file: /build/TestGit3637193217/001/haskell/CHANGELOG.md1760 DEBU walk | git: processing file: /build/TestGit3637193217/001/haskell/Foo.hs1761 DEBU walk | git: processing file: /build/TestGit3637193217/001/haskell/Main.hs1762 DEBU walk | git: processing file: /build/TestGit3637193217/001/haskell/Nested/Foo.hs1763 DEBU walk | git: processing file: /build/TestGit3637193217/001/haskell/Setup.hs1764 DEBU walk | git: processing file: /build/TestGit3637193217/001/haskell/haskell.cabal1765 DEBU walk | git: processing file: /build/TestGit3637193217/001/haskell/treefmt.toml1766 DEBU walk | cache: read 8 files from delegate1767 DEBU read 8 files1768 DEBU formatter | echo: match: /build/TestGit3637193217/001/foo.txt1769 DEBU formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f1770 DEBU formatter | echo: match: /build/TestGit3637193217/001/haskell/CHANGELOG.md1771 DEBU formatter | echo: match: /build/TestGit3637193217/001/haskell/Foo.hs1772 DEBU formatter | echo: match: /build/TestGit3637193217/001/haskell/Main.hs1773 DEBU formatter | echo: match: /build/TestGit3637193217/001/haskell/Nested/Foo.hs1774 DEBU formatter | echo: match: /build/TestGit3637193217/001/haskell/Setup.hs1775 DEBU formatter | echo: match: /build/TestGit3637193217/001/haskell/haskell.cabal1776 DEBU formatter | echo: match: /build/TestGit3637193217/001/haskell/treefmt.toml1777 DEBU formatter | echo: executing: /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/echo foo.txt1778 INFO formatter | echo: 1 file(s) processed in 2.468693ms1779 traversed 8 files1780 emitted 8 files for processing1781 formatted 1 files (0 changed) in 36ms1782 DEBU no more files to read1783 1784 root_test.go:1572: 1785 1786 root_test.go:1584: treefmt go foo.txt1787 root_test.go:1584: 1788 traversed 3 files1789 emitted 3 files for processing1790 formatted 0 files (0 changed) in 32ms1791 1792 root_test.go:1584: 1793 1794 root_test.go:1596: treefmt foo.txt1795 root_test.go:1596: 1796 traversed 1 files1797 emitted 1 files for processing1798 formatted 0 files (0 changed) in 32ms1799 1800 root_test.go:1596: 1801 1802--- PASS: TestGit (1.38s)1803=== RUN TestJujutsu1804 root_test.go:1640: treefmt 1805 root_test.go:1640: 1806 traversed 0 files1807 emitted 0 files for processing1808 formatted 0 files (0 changed) in 40ms1809 1810 root_test.go:1640: 1811 1812 root_test.go:1656: treefmt 1813 root_test.go:1656: 1814 traversed 33 files1815 emitted 33 files for processing1816 formatted 33 files (0 changed) in 43ms1817 1818 root_test.go:1656: 1819 1820 root_test.go:1679: treefmt 1821 root_test.go:1679: 1822 traversed 33 files1823 emitted 33 files for processing1824 formatted 0 files (0 changed) in 39ms1825 1826 root_test.go:1679: 1827 1828 root_test.go:1698: treefmt 1829 root_test.go:1698: 1830 traversed 30 files1831 emitted 30 files for processing1832 formatted 0 files (0 changed) in 42ms1833 1834 root_test.go:1698: 1835 1836 root_test.go:1714: treefmt --walk filesystem1837 root_test.go:1714: 1838 traversed 137 files1839 emitted 137 files for processing1840 formatted 108 files (0 changed) in 20ms1841 1842 root_test.go:1714: 1843 1844 root_test.go:1729: treefmt go1845 root_test.go:1729: 1846 traversed 2 files1847 emitted 2 files for processing1848 formatted 0 files (0 changed) in 35ms1849 1850 root_test.go:1729: 1851 1852 root_test.go:1741: treefmt go haskell1853 root_test.go:1741: 1854 traversed 9 files1855 emitted 9 files for processing1856 formatted 0 files (0 changed) in 37ms1857 1858 root_test.go:1741: 1859 1860 root_test.go:1753: treefmt -C /build/TestJujutsu3446566435/001 go haskell ruby1861 root_test.go:1753: 1862 traversed 10 files1863 emitted 10 files for processing1864 formatted 0 files (0 changed) in 39ms1865 1866 root_test.go:1753: 1867 1868 root_test.go:1766: treefmt -C /build/TestJujutsu3446566435/001 haskell foo1869 root_test.go:1766: 1870 Error: failed to create walker: path /build/TestJujutsu3446566435/001/foo not found: lstat /build/TestJujutsu3446566435/001/foo: no such file or directory1871 1872 root_test.go:1766: 1873 1874 root_test.go:1782: treefmt haskell foo.txt -vv1875 root_test.go:1782: 1876 INFO config: no tree root specified1877 INFO config: attempting to resolve tree root using jujutsu: jj workspace root1878 DEBU tree-root-cmd | stdout: /build/TestJujutsu3446566435/0011879 1880 INFO config: tree root: /build/TestJujutsu3446566435/0011881 DEBU Resolving path '/build/TestJujutsu3446566435/001'1882 DEBU Resolving path 'haskell'1883 DEBU Resolving path 'haskell'1884 DEBU Resolving path 'foo.txt'1885 DEBU Resolving path 'foo.txt'1886 DEBU walk | jujutsu: processing file: /build/TestJujutsu3446566435/001/foo.txt1887 DEBU walk | jujutsu: processing file: /build/TestJujutsu3446566435/001/haskell/CHANGELOG.md1888 DEBU walk | jujutsu: processing file: /build/TestJujutsu3446566435/001/haskell/Foo.hs1889 DEBU walk | jujutsu: processing file: /build/TestJujutsu3446566435/001/haskell/Main.hs1890 DEBU walk | jujutsu: processing file: /build/TestJujutsu3446566435/001/haskell/Nested/Foo.hs1891 DEBU walk | jujutsu: processing file: /build/TestJujutsu3446566435/001/haskell/Setup.hs1892 DEBU walk | jujutsu: processing file: /build/TestJujutsu3446566435/001/haskell/haskell.cabal1893 DEBU walk | jujutsu: processing file: /build/TestJujutsu3446566435/001/haskell/treefmt.toml1894 DEBU walk | cache: read 8 files from delegate1895 DEBU read 8 files1896 DEBU formatter | echo: match: /build/TestJujutsu3446566435/001/foo.txt1897 DEBU formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f1898 DEBU formatter | echo: match: /build/TestJujutsu3446566435/001/haskell/CHANGELOG.md1899 DEBU formatter | echo: match: /build/TestJujutsu3446566435/001/haskell/Foo.hs1900 DEBU formatter | echo: match: /build/TestJujutsu3446566435/001/haskell/Main.hs1901 DEBU formatter | echo: match: /build/TestJujutsu3446566435/001/haskell/Nested/Foo.hs1902 DEBU formatter | echo: match: /build/TestJujutsu3446566435/001/haskell/Setup.hs1903 DEBU formatter | echo: match: /build/TestJujutsu3446566435/001/haskell/haskell.cabal1904 DEBU formatter | echo: match: /build/TestJujutsu3446566435/001/haskell/treefmt.toml1905 DEBU formatter | echo: executing: /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/echo foo.txt1906 INFO formatter | echo: 1 file(s) processed in 2.191094ms1907 traversed 8 files1908 emitted 8 files for processing1909 formatted 1 files (0 changed) in 47ms1910 DEBU no more files to read1911 1912 root_test.go:1782: 1913 1914 root_test.go:1794: treefmt go foo.txt1915 root_test.go:1794: 1916 traversed 3 files1917 emitted 3 files for processing1918 formatted 0 files (0 changed) in 35ms1919 1920 root_test.go:1794: 1921 1922 root_test.go:1806: treefmt foo.txt1923 root_test.go:1806: 1924 traversed 1 files1925 emitted 1 files for processing1926 formatted 0 files (0 changed) in 37ms1927 1928 root_test.go:1806: 1929 1930--- PASS: TestJujutsu (1.60s)1931=== RUN TestTreeRootCmd1932 root_test.go:1852: treefmt -vv --tree-root-cmd bash -c '>&2 echo -e "some error text1933 some more error text" && echo /build/TestTreeRootCmd531572047/001'1934 root_test.go:1852: 1935 INFO config: searching for tree root using tree-root-cmd: bash -c '>&2 echo -e "some error text1936 some more error text" && echo /build/TestTreeRootCmd531572047/001'1937 DEBU tree-root-cmd | stderr: some error text1938 DEBU tree-root-cmd | stderr: some more error text1939 DEBU tree-root-cmd | stdout: /build/TestTreeRootCmd531572047/0011940 1941 INFO config: tree root: /build/TestTreeRootCmd531572047/0011942 DEBU Resolving path '/build/TestTreeRootCmd531572047/001'1943 DEBU walk | filesystem: file queued .gitignore1944 DEBU walk | filesystem: file queued emoji 🕰️/README.md1945 DEBU walk | filesystem: file queued go/go.mod1946 DEBU walk | filesystem: file queued go/main.go1947 DEBU walk | filesystem: file queued haskell/CHANGELOG.md1948 DEBU walk | filesystem: file queued haskell/Foo.hs1949 DEBU walk | filesystem: file queued haskell/Main.hs1950 DEBU walk | filesystem: file queued haskell/Nested/Foo.hs1951 DEBU walk | filesystem: file queued haskell/Setup.hs1952 DEBU walk | filesystem: file queued haskell/haskell.cabal1953 DEBU walk | filesystem: file queued haskell/treefmt.toml1954 DEBU walk | filesystem: file queued haskell-frontend/CHANGELOG.md1955 DEBU walk | filesystem: file queued haskell-frontend/Main.hs1956 DEBU walk | filesystem: file queued haskell-frontend/Setup.hs1957 DEBU walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal1958 DEBU walk | filesystem: file queued html/index.html1959 DEBU walk | filesystem: file queued html/scripts/.gitkeep1960 DEBU walk | filesystem: file queued javascript/source/hello.js1961 DEBU walk | filesystem: file queued just/justfile1962 DEBU walk | filesystem: file queued nix/sources.nix1963 DEBU walk | filesystem: file queued nixpkgs.toml1964 DEBU walk | filesystem: file queued python/main.py1965 DEBU walk | filesystem: file queued python/requirements.txt1966 DEBU walk | filesystem: file queued python/virtualenv_proxy.py1967 DEBU walk | filesystem: file queued ruby/bundler.rb1968 DEBU walk | filesystem: file queued rust/Cargo.toml1969 DEBU walk | filesystem: file queued rust/src/main.rs1970 DEBU walk | filesystem: file queued shell/foo.sh1971 DEBU walk | filesystem: file queued terraform/main.tf1972 DEBU walk | filesystem: file queued terraform/two.tf1973 DEBU walk | filesystem: file queued touch.toml1974 DEBU walk | filesystem: file queued treefmt.toml1975 DEBU walk | filesystem: file queued yaml/test.yaml1976 DEBU walk | cache: read 33 files from delegate1977 DEBU read 33 files1978 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/.gitignore1979 DEBU formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f1980 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/emoji 🕰️/README.md1981 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/go/go.mod1982 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/go/main.go1983 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/CHANGELOG.md1984 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/Foo.hs1985 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/Main.hs1986 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/Nested/Foo.hs1987 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/Setup.hs1988 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/haskell.cabal1989 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/treefmt.toml1990 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell-frontend/CHANGELOG.md1991 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell-frontend/Main.hs1992 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell-frontend/Setup.hs1993 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell-frontend/haskell-frontend.cabal1994 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/html/index.html1995 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/html/scripts/.gitkeep1996 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/javascript/source/hello.js1997 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/just/justfile1998 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/nix/sources.nix1999 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/nixpkgs.toml2000 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/python/main.py2001 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/python/requirements.txt2002 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/python/virtualenv_proxy.py2003 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/ruby/bundler.rb2004 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/rust/Cargo.toml2005 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/rust/src/main.rs2006 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/shell/foo.sh2007 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/terraform/main.tf2008 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/terraform/two.tf2009 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/touch.toml2010 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/treefmt.toml2011 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/yaml/test.yaml2012 DEBU 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.yaml2013 INFO formatter | echo: 33 file(s) processed in 2.849264ms2014 traversed 33 files2015 emitted 33 files for processing2016 formatted 33 files (0 changed) in 35ms2017 DEBU no more files to read2018 2019 root_test.go:1852: 2020 2021 root_test.go:1866: setting env TREEFMT_TREE_ROOT_CMD=bash -c '>&2 echo -e "some error text2022 some more error text" && echo /build/TestTreeRootCmd531572047/001/go'2023 root_test.go:1866: treefmt -vv2024 root_test.go:1866: 2025 INFO config: searching for tree root using tree-root-cmd: bash -c '>&2 echo -e "some error text2026 some more error text" && echo /build/TestTreeRootCmd531572047/001/go'2027 DEBU tree-root-cmd | stderr: some error text2028 DEBU tree-root-cmd | stderr: some more error text2029 DEBU tree-root-cmd | stdout: /build/TestTreeRootCmd531572047/001/go2030 2031 INFO config: tree root: /build/TestTreeRootCmd531572047/001/go2032 DEBU Resolving path '/build/TestTreeRootCmd531572047/001/go'2033 DEBU walk | filesystem: file queued go.mod2034 DEBU walk | filesystem: file queued main.go2035 DEBU walk | cache: read 2 files from delegate2036 DEBU read 2 files2037 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/go/go.mod2038 DEBU formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f2039 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/go/main.go2040 DEBU formatter | echo: executing: /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/echo go.mod main.go2041 INFO formatter | echo: 2 file(s) processed in 1.509212ms2042 traversed 2 files2043 emitted 2 files for processing2044 formatted 2 files (0 changed) in 24ms2045 DEBU no more files to read2046 2047 root_test.go:1866: 2048 2049 root_test.go:1885: treefmt -vv2050 root_test.go:1885: 2051 INFO config: searching for tree root using tree-root-cmd: bash -c '>&2 echo -e "some error text2052 some more error text" && echo /build/TestTreeRootCmd531572047/001/haskell'2053 DEBU tree-root-cmd | stderr: some error text2054 DEBU tree-root-cmd | stderr: some more error text2055 DEBU tree-root-cmd | stdout: /build/TestTreeRootCmd531572047/001/haskell2056 2057 INFO config: tree root: /build/TestTreeRootCmd531572047/001/haskell2058 DEBU Resolving path '/build/TestTreeRootCmd531572047/001/haskell'2059 DEBU walk | filesystem: file queued CHANGELOG.md2060 DEBU walk | filesystem: file queued Foo.hs2061 DEBU walk | filesystem: file queued Main.hs2062 DEBU walk | filesystem: file queued Nested/Foo.hs2063 DEBU walk | filesystem: file queued Setup.hs2064 DEBU walk | filesystem: file queued haskell.cabal2065 DEBU walk | filesystem: file queued treefmt.toml2066 DEBU walk | cache: read 7 files from delegate2067 DEBU read 7 files2068 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/CHANGELOG.md2069 DEBU formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f2070 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/Foo.hs2071 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/Main.hs2072 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/Nested/Foo.hs2073 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/Setup.hs2074 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/haskell.cabal2075 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/treefmt.toml2076 DEBU formatter | echo: executing: /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/echo CHANGELOG.md Foo.hs Main.hs Nested/Foo.hs Setup.hs haskell.cabal treefmt.toml2077 INFO formatter | echo: 7 file(s) processed in 1.845985ms2078 traversed 7 files2079 emitted 7 files for processing2080 formatted 7 files (0 changed) in 27ms2081 DEBU no more files to read2082 2083 root_test.go:1885: 2084 2085 root_test.go:1899: treefmt -vv --tree-root-cmd bash -c 'sleep 2 && echo /build/TestTreeRootCmd531572047/001'2086 root_test.go:1899: 2087 INFO config: searching for tree root using tree-root-cmd: bash -c 'sleep 2 && echo /build/TestTreeRootCmd531572047/001'2088 DEBU tree-root-cmd | stdout:2089 Error: failed to load config: failed to determine tree root: tree-root-cmd was killed after taking more than 2s to execute2090 2091 root_test.go:1899: 2092 2093 root_test.go:1914: treefmt --tree-root-cmd bash -c 'echo /build/TestTreeRootCmd531572047/001 && echo /build/TestTreeRootCmd531572047/001'2094 root_test.go:1914: 2095 ERRO tree-root-cmd | stdout: 2096 /build/TestTreeRootCmd531572047/0012097 /build/TestTreeRootCmd531572047/0012098 2099 Error: failed to load config: failed to determine tree root: tree-root-cmd cannot output multiple lines: bash -c 'echo /build/TestTreeRootCmd531572047/001 && echo /build/TestTreeRootCmd531572047/001'2100 2101 root_test.go:1914: 2102 2103--- PASS: TestTreeRootCmd (3.11s)2104=== RUN TestTreeRootExclusivity2105 root_test.go:1999: treefmt --tree-root bar --tree-root-cmd 'echo /foo/bar'2106 root_test.go:1999: 2107 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 set2108 2109 root_test.go:1999: 2110 Usage:2111 treefmt <paths...> [flags]2112 2113 Flags:2114 --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER)2115 --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)2116 -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE)2117 --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell.2118 --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml).2119 --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE)2120 --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES)2121 --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE)2122 -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS)2123 -h, --help help for treefmt2124 -i, --init Create a treefmt.toml file in the current directory.2125 --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE)2126 -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")2127 -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET)2128 --stdin Format the context passed in via stdin.2129 --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)2130 --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)2131 --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE)2132 -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE)2133 --version version for treefmt2134 --walk string The method used to traverse the files within the tree root. Currently supports <auto|git|jujutsu|filesystem>. (env $TREEFMT_WALK) (default "auto")2135 -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 ".")2136 2137 2138 root_test.go:2012: setting env TREEFMT_TREE_ROOT=bar2139 root_test.go:2012: setting env TREEFMT_TREE_ROOT_CMD=echo /foo/bar2140 root_test.go:2012: treefmt 2141 root_test.go:2012: 2142 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 specified2143 2144 root_test.go:2012: 2145 2146 root_test.go:2027: treefmt 2147 root_test.go:2027: 2148 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 specified2149 2150 root_test.go:2027: 2151 2152 root_test.go:1999: treefmt --tree-root bar --tree-root-file .git/config2153 root_test.go:1999: 2154 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 set2155 2156 root_test.go:1999: 2157 Usage:2158 treefmt <paths...> [flags]2159 2160 Flags:2161 --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER)2162 --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)2163 -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE)2164 --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell.2165 --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml).2166 --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE)2167 --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES)2168 --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE)2169 -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS)2170 -h, --help help for treefmt2171 -i, --init Create a treefmt.toml file in the current directory.2172 --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE)2173 -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")2174 -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET)2175 --stdin Format the context passed in via stdin.2176 --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)2177 --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)2178 --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE)2179 -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE)2180 --version version for treefmt2181 --walk string The method used to traverse the files within the tree root. Currently supports <auto|git|jujutsu|filesystem>. (env $TREEFMT_WALK) (default "auto")2182 -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 ".")2183 2184 2185 root_test.go:2012: setting env TREEFMT_TREE_ROOT=bar2186 root_test.go:2012: setting env TREEFMT_TREE_ROOT_FILE=.git/config2187 root_test.go:2012: treefmt 2188 root_test.go:2012: 2189 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 specified2190 2191 root_test.go:2012: 2192 2193 root_test.go:2027: treefmt 2194 root_test.go:2027: 2195 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 specified2196 2197 root_test.go:2027: 2198 2199 root_test.go:1999: treefmt --tree-root-cmd 'echo /foo/bar' --tree-root-file .git/config2200 root_test.go:1999: 2201 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 set2202 2203 root_test.go:1999: 2204 Usage:2205 treefmt <paths...> [flags]2206 2207 Flags:2208 --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER)2209 --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)2210 -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE)2211 --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell.2212 --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml).2213 --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE)2214 --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES)2215 --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE)2216 -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS)2217 -h, --help help for treefmt2218 -i, --init Create a treefmt.toml file in the current directory.2219 --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE)2220 -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")2221 -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET)2222 --stdin Format the context passed in via stdin.2223 --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)2224 --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)2225 --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE)2226 -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE)2227 --version version for treefmt2228 --walk string The method used to traverse the files within the tree root. Currently supports <auto|git|jujutsu|filesystem>. (env $TREEFMT_WALK) (default "auto")2229 -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 ".")2230 2231 2232 root_test.go:2012: setting env TREEFMT_TREE_ROOT_CMD=echo /foo/bar2233 root_test.go:2012: setting env TREEFMT_TREE_ROOT_FILE=.git/config2234 root_test.go:2012: treefmt 2235 root_test.go:2012: 2236 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 specified2237 2238 root_test.go:2012: 2239 2240 root_test.go:2027: treefmt 2241 root_test.go:2027: 2242 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 specified2243 2244 root_test.go:2027: 2245 2246 root_test.go:1999: treefmt --tree-root bar --tree-root-cmd 'echo /foo/bar' --tree-root-file .git/config2247 root_test.go:1999: 2248 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 set2249 2250 root_test.go:1999: 2251 Usage:2252 treefmt <paths...> [flags]2253 2254 Flags:2255 --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER)2256 --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)2257 -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE)2258 --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell.2259 --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml).2260 --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE)2261 --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES)2262 --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE)2263 -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS)2264 -h, --help help for treefmt2265 -i, --init Create a treefmt.toml file in the current directory.2266 --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE)2267 -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")2268 -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET)2269 --stdin Format the context passed in via stdin.2270 --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)2271 --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)2272 --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE)2273 -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE)2274 --version version for treefmt2275 --walk string The method used to traverse the files within the tree root. Currently supports <auto|git|jujutsu|filesystem>. (env $TREEFMT_WALK) (default "auto")2276 -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 ".")2277 2278 2279 root_test.go:2012: setting env TREEFMT_TREE_ROOT=bar2280 root_test.go:2012: setting env TREEFMT_TREE_ROOT_CMD=echo /foo/bar2281 root_test.go:2012: setting env TREEFMT_TREE_ROOT_FILE=.git/config2282 root_test.go:2012: treefmt 2283 root_test.go:2012: 2284 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 specified2285 2286 root_test.go:2012: 2287 2288 root_test.go:2027: treefmt 2289 root_test.go:2027: 2290 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 specified2291 2292 root_test.go:2027: 2293 2294--- PASS: TestTreeRootExclusivity (1.03s)2295=== RUN TestPathsArg2296 root_test.go:2077: treefmt 2297 root_test.go:2077: 2298 traversed 33 files2299 emitted 33 files for processing2300 formatted 33 files (0 changed) in 44ms2301 2302 root_test.go:2077: 2303 2304 root_test.go:2088: treefmt rust/src/main.rs haskell/Nested/Foo.hs2305 root_test.go:2088: 2306 traversed 2 files2307 emitted 2 files for processing2308 formatted 0 files (0 changed) in 31ms2309 2310 root_test.go:2088: 2311 2312 root_test.go:2103: treefmt /build/TestPathsArg3091766025/001/tree-root/rust/src/main.rs2313 root_test.go:2103: 2314 traversed 1 files2315 emitted 1 files for processing2316 formatted 0 files (0 changed) in 28ms2317 2318 root_test.go:2103: 2319 2320 root_test.go:2115: treefmt rust/src/main.rs haskell/Nested/Bar.hs2321 root_test.go:2115: 2322 Error: failed to create walker: path /build/TestPathsArg3091766025/001/tree-root/haskell/Nested/Bar.hs not found: lstat /build/TestPathsArg3091766025/001/tree-root/haskell/Nested/Bar.hs: no such file or directory2323 2324 root_test.go:2115: 2325 2326 root_test.go:2127: treefmt /build/TestPathsArg3091766025/001/outside_tree.go2327 root_test.go:2127: 2328 Error: failed to create walker: path /build/TestPathsArg3091766025/001/outside_tree.go not inside the tree root /build/TestPathsArg3091766025/001/tree-root (relative path: ../outside_tree.go)2329 2330 root_test.go:2127: 2331 2332 root_test.go:2138: treefmt ../outside_tree.go2333 root_test.go:2138: 2334 Error: failed to create walker: path ../outside_tree.go not inside the tree root /build/TestPathsArg3091766025/001/tree-root (relative path: ../outside_tree.go)2335 2336 root_test.go:2138: 2337 2338--- PASS: TestPathsArg (1.16s)2339=== RUN TestStdin2340 root_test.go:2167: treefmt --stdin2341 root_test.go:2167: 2342 Error: exactly one path should be specified when using the --stdin flag2343 2344 root_test.go:2167: 2345 2346 root_test.go:2180: treefmt --stdin test.nix2347 root_test.go:2180: 2348 traversed 1 files2349 emitted 1 files for processing2350 formatted 1 files (1 changed) in 61ms2351 2352 root_test.go:2180: 2353 { ...}: "hello"2354 2355 root_test.go:2200: treefmt --stdin ../test.nix2356 root_test.go:2200: 2357 Error: failed to create walker: path ../test.nix not inside the tree root /build/TestStdin3250235904/0012358 2359 root_test.go:2200: 2360 2361 root_test.go:2213: treefmt --stdin foo/../../test.nix2362 root_test.go:2213: 2363 Error: failed to create walker: path foo/../../test.nix not inside the tree root /build/TestStdin3250235904/0012364 2365 root_test.go:2213: 2366 2367 root_test.go:2225: treefmt --stdin ..lotsadots.nix2368 root_test.go:2225: 2369 traversed 1 files2370 emitted 1 files for processing2371 formatted 1 files (1 changed) in 54ms2372 2373 root_test.go:2225: 2374 { ...}: "hello"2375 2376 root_test.go:2249: treefmt --stdin test.md2377 root_test.go:2249: 2378 traversed 1 files2379 emitted 1 files for processing2380 formatted 1 files (1 changed) in 185ms2381 2382 root_test.go:2249: 2383 | col1 | col2 |2384 | ------ | --------- |2385 | nice | fits |2386 | oh no! | it's ugly |2387 2388 root_test.go:2276: treefmt --stdin foo/justfile2389 root_test.go:2276: 2390 traversed 1 files2391 emitted 1 files for processing2392 formatted 1 files (1 changed) in 48ms2393 2394 root_test.go:2276: 2395 # print this message2396 help:2397 just --list --list-submodules --unsorted2398 2399 root_test.go:2301: treefmt -vvv --stdin path/to/foo.embed-path2400 root_test.go:2301: 2401 INFO config: no tree root specified2402 INFO config: setting tree root to the directory containing the config file: /build/TestStdin3250235904/001/treefmt.toml2403 INFO config: tree root: /build/TestStdin3250235904/0012404 DEBU formatter command not found: foo-fmt2405 DEBU Resolving path '/build/TestStdin3250235904/001'2406 DEBU Resolving path 'path/to/foo.embed-path'2407 DEBU Path '/build/TestStdin3250235904/001/path/to/foo.embed-path' does not exist, treating it as resolved2408 DEBU Resolving path 'path/to/foo.embed-path'2409 DEBU Path '/build/TestStdin3250235904/001/path/to/foo.embed-path' does not exist, treating it as resolved2410 DEBU read 1 files2411 DEBU formatter | embed-path: match: /build/TestStdin3250235904/001/path/to/foo.embed-path2412 DEBU formatters signature for key embed-path: 66e6789096713b16f0c8aedd98cdb1d42413 DEBU formatter | embed-path: executing: /nix/store/7skfgallm2wpgk754y4fbbjlnlfydiwa-test-fmt-embed-path/bin/test-fmt-embed-path fmt --stdin-filepath path/to/foo.embed-path2414 INFO formatter | embed-path: 1 file(s) processed in 5.615847ms2415 DEBU file has changed path=path/to/foo.embed-path prev_size=52 prev_mod_time="2026-10-23 16:08:17 +0000 UTC" current_size=77 current_mod_time="2026-10-23 16:08:17 +0000 UTC"2416 traversed 1 files2417 emitted 1 files for processing2418 formatted 1 files (1 changed) in 57ms2419 DEBU no more files to read2420 2421 root_test.go:2301: 2422 # path/to/foo.embed-path2423 2424 The formatter should add the path above this line.2425 2426 root_test.go:2332: treefmt --stdin ../foo/justfile2427 root_test.go:2332: 2428 traversed 1 files2429 emitted 1 files for processing2430 formatted 1 files (1 changed) in 69ms2431 2432 root_test.go:2332: 2433 # print this message2434 help:2435 just --list --list-submodules --unsorted2436 2437--- PASS: TestStdin (1.52s)2438=== RUN TestDeterministicOrderingInPipeline2439 root_test.go:2382: treefmt 2440 root_test.go:2382: 2441 traversed 33 files2442 emitted 2 files for processing2443 formatted 2 files (2 changed) in 41ms2444 2445 root_test.go:2382: 2446 2447 root_test.go:2420: treefmt --stdin treefmt.toml2448 root_test.go:2420: 2449 traversed 1 files2450 emitted 0 files for processing2451 formatted 0 files (0 changed) in 36ms2452 2453 root_test.go:2420: 2454 2455 foo = "bla"2456 bar = [ "bla" ]2457 adsfadf;2458 2459--- PASS: TestDeterministicOrderingInPipeline (1.09s)2460=== RUN TestRunInSubdir2461=== RUN TestRunInSubdir/auto2462 root_test.go:2489: treefmt 2463 root_test.go:2489: 2464 traversed 33 files2465 emitted 33 files for processing2466 formatted 33 files (0 changed) in 31ms2467 2468 root_test.go:2489: 2469 2470 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs2471 root_test.go:2501: 2472 Error: failed to create walker: path /build/TestRunInSubdirauto2780708831/001/go/go/main.go not found: lstat /build/TestRunInSubdirauto2780708831/001/go/go/main.go: no such file or directory2473 2474 root_test.go:2501: 2475 2476 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs2477 root_test.go:2509: 2478 traversed 2 files2479 emitted 2 files for processing2480 formatted 2 files (0 changed) in 31ms2481 2482 root_test.go:2509: 2483 2484=== RUN TestRunInSubdir/stdin2485 root_test.go:2489: treefmt 2486 root_test.go:2489: 2487 traversed 33 files2488 emitted 33 files for processing2489 formatted 33 files (0 changed) in 39ms2490 2491 root_test.go:2489: 2492 2493 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs2494 root_test.go:2501: 2495 Error: failed to create walker: path /build/TestRunInSubdirstdin2596459377/001/go/go/main.go not found: lstat /build/TestRunInSubdirstdin2596459377/001/go/go/main.go: no such file or directory2496 2497 root_test.go:2501: 2498 2499 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs2500 root_test.go:2509: 2501 traversed 2 files2502 emitted 2 files for processing2503 formatted 2 files (0 changed) in 33ms2504 2505 root_test.go:2509: 2506 2507=== RUN TestRunInSubdir/filesystem2508 root_test.go:2489: treefmt 2509 root_test.go:2489: 2510 traversed 33 files2511 emitted 33 files for processing2512 formatted 33 files (0 changed) in 39ms2513 2514 root_test.go:2489: 2515 2516 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs2517 root_test.go:2501: 2518 Error: failed to create walker: path /build/TestRunInSubdirfilesystem3736236554/001/go/go/main.go not found: lstat /build/TestRunInSubdirfilesystem3736236554/001/go/go/main.go: no such file or directory2519 2520 root_test.go:2501: 2521 2522 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs2523 root_test.go:2509: 2524 traversed 2 files2525 emitted 2 files for processing2526 formatted 2 files (0 changed) in 32ms2527 2528 root_test.go:2509: 2529 2530=== RUN TestRunInSubdir/git2531 root_test.go:2489: treefmt 2532 root_test.go:2489: 2533 traversed 33 files2534 emitted 33 files for processing2535 formatted 33 files (0 changed) in 38ms2536 2537 root_test.go:2489: 2538 2539 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs2540 root_test.go:2501: 2541 Error: failed to create walker: path /build/TestRunInSubdirgit2813637273/001/go/go/main.go not found: lstat /build/TestRunInSubdirgit2813637273/001/go/go/main.go: no such file or directory2542 2543 root_test.go:2501: 2544 2545 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs2546 root_test.go:2509: 2547 traversed 2 files2548 emitted 2 files for processing2549 formatted 2 files (0 changed) in 32ms2550 2551 root_test.go:2509: 2552 2553=== RUN TestRunInSubdir/jujutsu2554 root_test.go:2489: treefmt 2555 root_test.go:2489: 2556 traversed 33 files2557 emitted 33 files for processing2558 formatted 33 files (0 changed) in 37ms2559 2560 root_test.go:2489: 2561 2562 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs2563 root_test.go:2501: 2564 Error: failed to create walker: path /build/TestRunInSubdirjujutsu3930310634/001/go/go/main.go not found: lstat /build/TestRunInSubdirjujutsu3930310634/001/go/go/main.go: no such file or directory2565 2566 root_test.go:2501: 2567 2568 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs2569 root_test.go:2509: 2570 traversed 2 files2571 emitted 2 files for processing2572 formatted 2 files (0 changed) in 29ms2573 2574 root_test.go:2509: 2575 2576--- PASS: TestRunInSubdir (5.51s)2577 --- PASS: TestRunInSubdir/auto (1.09s)2578 --- PASS: TestRunInSubdir/stdin (1.10s)2579 --- PASS: TestRunInSubdir/filesystem (1.10s)2580 --- PASS: TestRunInSubdir/git (1.12s)2581 --- PASS: TestRunInSubdir/jujutsu (1.09s)2582=== RUN TestProjectRootIsSymlink2583 root_test.go:2556: treefmt -c go/main.go2584 root_test.go:2556: 2585 traversed 1 files2586 emitted 1 files for processing2587 formatted 1 files (0 changed) in 37ms2588 2589 root_test.go:2556: 2590 2591 root_test.go:2568: treefmt -c symlink-to-yaml-dir2592 root_test.go:2568: 2593 traversed 1 files2594 emitted 1 files for processing2595 formatted 1 files (0 changed) in 38ms2596 2597 root_test.go:2568: 2598 2599 root_test.go:2580: treefmt -c .2600 root_test.go:2580: 2601 traversed 33 files2602 emitted 33 files for processing2603 formatted 33 files (0 changed) in 33ms2604 2605 root_test.go:2580: 2606 2607--- PASS: TestProjectRootIsSymlink (1.12s)2608=== RUN TestConcurrentInvocation2609 root_test.go:2621: treefmt --formatters slow2610 root_test.go:2632: treefmt --formatters echo2611 root_test.go:2632: 2612 Error: failed to open cache: failed to open cache db at /build/.cache/treefmt/eval-cache/ef85987f8899fb91317fa85b32634abeb2f0db9e3d9489353a5647be843a0c98.db: timeout2613 2614 root_test.go:2632: 2615 2616 root_test.go:2621: 2617 traversed 33 files2618 emitted 33 files for processing2619 formatted 33 files (33 changed) in 2.057s2620 2621 root_test.go:2621: 2622 2623 root_test.go:2645: treefmt --formatters slow2624 root_test.go:2656: treefmt -c --formatters echo2625 root_test.go:2656: 2626 traversed 33 files2627 emitted 33 files for processing2628 formatted 33 files (0 changed) in 41ms2629 2630 root_test.go:2656: 2631 2632 root_test.go:2645: 2633 traversed 33 files2634 emitted 33 files for processing2635 formatted 1 files (1 changed) in 2.043s2636 2637 root_test.go:2645: 2638 2639--- PASS: TestConcurrentInvocation (5.11s)2640=== RUN TestNoPositionalArgSupport2641 root_test.go:2682: treefmt 2642 root_test.go:2682: 2643 traversed 33 files2644 emitted 33 files for processing2645 formatted 33 files (33 changed) in 148ms2646 2647 root_test.go:2682: 2648 2649--- PASS: TestNoPositionalArgSupport (1.16s)2650=== RUN TestPrjRootBeatsConfigFileLocation2651 root_test.go:2714: setting env PRJ_ROOT=/build/TestPrjRootBeatsConfigFileLocation2570752619/001/go2652 root_test.go:2714: treefmt 2653 root_test.go:2714: 2654 traversed 2 files2655 emitted 2 files for processing2656 formatted 2 files (0 changed) in 22ms2657 2658 root_test.go:2714: 2659 2660--- PASS: TestPrjRootBeatsConfigFileLocation (1.03s)2661PASS2662coverage: 67.6% of statements2663ok github.com/numtide/treefmt/v2/cmd 52.259s coverage: 67.6% of statements2664 github.com/numtide/treefmt/v2/cmd/format coverage: 0.0% of statements2665 github.com/numtide/treefmt/v2/cmd/init coverage: 0.0% of statements2666=== RUN TestAllowMissingFormatter26672026/10/23 16:07:41 INFO config: no tree root specified26682026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root26692026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 126702026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel26712026/10/23 16:07:41 INFO config: tree root: /build/TestAllowMissingFormatter1801539364/00126722026/10/23 16:07:41 INFO config: no tree root specified26732026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root26742026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 126752026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel26762026/10/23 16:07:41 INFO config: tree root: /build/TestAllowMissingFormatter1801539364/00126772026/10/23 16:07:41 INFO config: no tree root specified26782026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root26792026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 126802026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel26812026/10/23 16:07:41 INFO config: tree root: /build/TestAllowMissingFormatter1801539364/00126822026/10/23 16:07:41 INFO config: no tree root specified26832026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root26842026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 126852026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel26862026/10/23 16:07:41 INFO config: tree root: /build/TestAllowMissingFormatter1801539364/0012687--- PASS: TestAllowMissingFormatter (0.07s)2688=== RUN TestCI26892026/10/23 16:07:41 INFO config: no tree root specified26902026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root26912026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 126922026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel26932026/10/23 16:07:41 INFO config: tree root: /build/TestCI1743384641/00126942026/10/23 16:07:41 INFO config: no tree root specified26952026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root26962026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 126972026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel26982026/10/23 16:07:41 INFO config: tree root: /build/TestCI1743384641/00126992026/10/23 16:07:41 INFO config: no tree root specified27002026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27012026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127022026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27032026/10/23 16:07:41 INFO config: tree root: /build/TestCI1743384641/00127042026/10/23 16:07:41 INFO config: no tree root specified27052026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27062026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127072026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27082026/10/23 16:07:41 INFO config: tree root: /build/TestCI1743384641/00127092026/10/23 16:07:41 INFO config: no tree root specified27102026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27112026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127122026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27132026/10/23 16:07:41 INFO config: tree root: /build/TestCI1743384641/0012714--- PASS: TestCI (0.08s)2715=== RUN TestClearCache27162026/10/23 16:07:41 INFO config: no tree root specified27172026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27182026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127192026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27202026/10/23 16:07:41 INFO config: tree root: /build/TestClearCache1845662673/00127212026/10/23 16:07:41 INFO config: no tree root specified27222026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27232026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127242026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27252026/10/23 16:07:41 INFO config: tree root: /build/TestClearCache1845662673/00127262026/10/23 16:07:41 INFO config: no tree root specified27272026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27282026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127292026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27302026/10/23 16:07:41 INFO config: tree root: /build/TestClearCache1845662673/00127312026/10/23 16:07:41 INFO config: no tree root specified27322026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27332026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127342026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27352026/10/23 16:07:41 INFO config: tree root: /build/TestClearCache1845662673/0012736--- PASS: TestClearCache (0.06s)2737=== RUN TestCpuProfile27382026/10/23 16:07:41 INFO config: no tree root specified27392026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27402026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127412026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27422026/10/23 16:07:41 INFO config: tree root: /build/TestCpuProfile1297821836/00127432026/10/23 16:07:41 INFO config: no tree root specified27442026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27452026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127462026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27472026/10/23 16:07:41 INFO config: tree root: /build/TestCpuProfile1297821836/00127482026/10/23 16:07:41 INFO config: no tree root specified27492026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27502026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127512026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27522026/10/23 16:07:41 INFO config: tree root: /build/TestCpuProfile1297821836/00127532026/10/23 16:07:41 INFO config: no tree root specified27542026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27552026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127562026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27572026/10/23 16:07:41 INFO config: tree root: /build/TestCpuProfile1297821836/0012758--- PASS: TestCpuProfile (0.08s)2759=== RUN TestExcludes27602026/10/23 16:07:41 INFO config: no tree root specified27612026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27622026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127632026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27642026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes1399660189/00127652026/10/23 16:07:41 INFO config: no tree root specified27662026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27672026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127682026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27692026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes1399660189/00127702026/10/23 16:07:41 INFO config: no tree root specified27712026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27722026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127732026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27742026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes1399660189/00127752026/10/23 16:07:41 INFO config: no tree root specified27762026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27772026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127782026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27792026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes1399660189/00127802026/10/23 16:07:41 INFO config: no tree root specified27812026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27822026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127832026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27842026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes1399660189/0012785--- PASS: TestExcludes (0.11s)2786=== RUN TestFailOnChange27872026/10/23 16:07:41 INFO config: no tree root specified27882026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27892026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127902026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27912026/10/23 16:07:41 INFO config: tree root: /build/TestFailOnChange2486702626/00127922026/10/23 16:07:41 INFO config: no tree root specified27932026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27942026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127952026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27962026/10/23 16:07:41 INFO config: tree root: /build/TestFailOnChange2486702626/00127972026/10/23 16:07:41 INFO config: no tree root specified27982026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27992026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128002026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28012026/10/23 16:07:41 INFO config: tree root: /build/TestFailOnChange2486702626/00128022026/10/23 16:07:41 INFO config: no tree root specified28032026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28042026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128052026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28062026/10/23 16:07:41 INFO config: tree root: /build/TestFailOnChange2486702626/0012807--- PASS: TestFailOnChange (0.07s)2808=== RUN TestFormatters28092026/10/23 16:07:41 INFO config: no tree root specified28102026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28112026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128122026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28132026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters1955079533/00128142026/10/23 16:07:41 INFO config: no tree root specified28152026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28162026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128172026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28182026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters1955079533/00128192026/10/23 16:07:41 INFO config: no tree root specified28202026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28212026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128222026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28232026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters1955079533/00128242026/10/23 16:07:41 INFO config: no tree root specified28252026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28262026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128272026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28282026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters1955079533/00128292026/10/23 16:07:41 INFO config: no tree root specified28302026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28312026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128322026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28332026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters1955079533/0012834--- PASS: TestFormatters (0.09s)2835=== RUN TestNoCache28362026/10/23 16:07:41 INFO config: no tree root specified28372026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28382026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128392026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28402026/10/23 16:07:41 INFO config: tree root: /build/TestNoCache2298826622/00128412026/10/23 16:07:41 INFO config: no tree root specified28422026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28432026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128442026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28452026/10/23 16:07:41 INFO config: tree root: /build/TestNoCache2298826622/00128462026/10/23 16:07:41 INFO config: no tree root specified28472026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28482026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128492026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28502026/10/23 16:07:41 INFO config: tree root: /build/TestNoCache2298826622/00128512026/10/23 16:07:41 INFO config: no tree root specified28522026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28532026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128542026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28552026/10/23 16:07:41 INFO config: tree root: /build/TestNoCache2298826622/0012856--- PASS: TestNoCache (0.06s)2857=== RUN TestQuiet28582026/10/23 16:07:41 INFO config: no tree root specified28592026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28602026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128612026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28622026/10/23 16:07:41 INFO config: tree root: /build/TestQuiet2254565334/00128632026/10/23 16:07:41 INFO config: no tree root specified28642026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28652026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128662026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28672026/10/23 16:07:41 INFO config: tree root: /build/TestQuiet2254565334/00128682026/10/23 16:07:41 INFO config: no tree root specified28692026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28702026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128712026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28722026/10/23 16:07:41 INFO config: tree root: /build/TestQuiet2254565334/00128732026/10/23 16:07:41 INFO config: no tree root specified28742026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28752026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128762026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28772026/10/23 16:07:41 INFO config: tree root: /build/TestQuiet2254565334/0012878--- PASS: TestQuiet (0.07s)2879=== RUN TestOnUnmatched28802026/10/23 16:07:41 INFO config: no tree root specified28812026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28822026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128832026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28842026/10/23 16:07:41 INFO config: tree root: /build/TestOnUnmatched4155497741/00128852026/10/23 16:07:41 INFO config: no tree root specified28862026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28872026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128882026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28892026/10/23 16:07:41 INFO config: tree root: /build/TestOnUnmatched4155497741/00128902026/10/23 16:07:41 INFO config: no tree root specified28912026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28922026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128932026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28942026/10/23 16:07:41 INFO config: tree root: /build/TestOnUnmatched4155497741/00128952026/10/23 16:07:41 INFO config: no tree root specified28962026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28972026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128982026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28992026/10/23 16:07:41 INFO config: tree root: /build/TestOnUnmatched4155497741/0012900--- PASS: TestOnUnmatched (0.04s)2901=== RUN TestTreeRoot29022026/10/23 16:07:41 INFO config: no tree root specified29032026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29042026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129052026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29062026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRoot2912401277/00129072026/10/23 16:07:41 INFO config: tree root specified explicitly: /foo/bar29082026/10/23 16:07:41 INFO config: tree root: /foo/bar29092026/10/23 16:07:41 INFO config: tree root specified explicitly: /fizz/buzz29102026/10/23 16:07:41 INFO config: tree root: /fizz/buzz29112026/10/23 16:07:41 INFO config: tree root specified explicitly: /flip/flop29122026/10/23 16:07:41 INFO config: tree root: /flip/flop2913--- PASS: TestTreeRoot (0.02s)2914=== RUN TestTreeRootFile29152026/10/23 16:07:41 INFO config: no tree root specified29162026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29172026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129182026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29192026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootFile1175100646/00129202026/10/23 16:07:41 INFO config: searching for tree root using tree-root-file: a.txt29212026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootFile1175100646/002/foo/bar29222026/10/23 16:07:41 INFO config: searching for tree root using tree-root-file: go.mod29232026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootFile1175100646/002/foo29242026/10/23 16:07:41 INFO config: searching for tree root using tree-root-file: .git/config29252026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootFile1175100646/0022926--- PASS: TestTreeRootFile (0.02s)2927=== RUN TestTreeRootCmd29282026/10/23 16:07:41 INFO config: no tree root specified29292026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29302026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129312026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29322026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootCmd4112707232/00129332026/10/23 16:07:41 INFO config: searching for tree root using tree-root-cmd: echo /build/TestTreeRootCmd4112707232/00229342026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootCmd4112707232/00229352026/10/23 16:07:41 INFO config: searching for tree root using tree-root-cmd: echo "/build/TestTreeRootCmd4112707232/002/foo"29362026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootCmd4112707232/002/foo29372026/10/23 16:07:41 INFO config: searching for tree root using tree-root-cmd: echo '/build/TestTreeRootCmd4112707232/002/bar'29382026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootCmd4112707232/002/bar29392026/10/23 16:07:41 INFO config: searching for tree root using tree-root-cmd: echo ''2940--- PASS: TestTreeRootCmd (0.03s)2941=== RUN TestVerbosity29422026/10/23 16:07:41 INFO config: no tree root specified29432026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29442026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129452026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29462026/10/23 16:07:41 INFO config: tree root: /build/TestVerbosity3814000416/00129472026/10/23 16:07:41 INFO config: no tree root specified29482026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29492026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129502026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29512026/10/23 16:07:41 INFO config: tree root: /build/TestVerbosity3814000416/00129522026/10/23 16:07:41 INFO config: no tree root specified29532026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29542026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129552026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29562026/10/23 16:07:41 INFO config: tree root: /build/TestVerbosity3814000416/0012957--- PASS: TestVerbosity (0.04s)2958=== RUN TestWalk29592026/10/23 16:07:41 INFO config: no tree root specified29602026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29612026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129622026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29632026/10/23 16:07:41 INFO config: tree root: /build/TestWalk860145176/00129642026/10/23 16:07:41 INFO config: no tree root specified29652026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29662026/10/23 16:07:41 INFO config: tree root: /build/TestWalk860145176/00129672026/10/23 16:07:41 INFO config: no tree root specified29682026/10/23 16:07:41 INFO config: setting tree root to the directory containing the config file: /build/TestWalk860145176/001/treefmt.toml29692026/10/23 16:07:41 INFO config: tree root: /build/TestWalk860145176/00129702026/10/23 16:07:41 INFO config: no tree root specified29712026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29722026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129732026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29742026/10/23 16:07:41 INFO config: tree root: /build/TestWalk860145176/0012975--- PASS: TestWalk (0.03s)2976=== RUN TestWorkingDirectory29772026/10/23 16:07:41 INFO config: no tree root specified29782026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29792026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129802026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29812026/10/23 16:07:41 INFO config: tree root: /build/TestWorkingDirectory1836811988/00129822026/10/23 16:07:41 INFO config: no tree root specified29832026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29842026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129852026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29862026/10/23 16:07:41 INFO config: tree root: /build/TestWorkingDirectory1836811988/00129872026/10/23 16:07:41 INFO config: no tree root specified29882026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29892026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129902026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29912026/10/23 16:07:41 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 12829922026/10/23 16:07:41 INFO config: setting tree root to the directory containing the config file: /build/TestWorkingDirectory1836811988/001/treefmt.toml29932026/10/23 16:07:41 INFO config: tree root: /build/TestWorkingDirectory1836811988/00129942026/10/23 16:07:41 INFO config: no tree root specified29952026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29962026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129972026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29982026/10/23 16:07:41 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 12829992026/10/23 16:07:41 INFO config: setting tree root to the directory containing the config file: /build/TestWorkingDirectory1836811988/001/treefmt.toml30002026/10/23 16:07:41 INFO config: tree root: /build/TestWorkingDirectory1836811988/0013001--- PASS: TestWorkingDirectory (0.07s)3002=== RUN TestStdin30032026/10/23 16:07:41 INFO config: no tree root specified30042026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root30052026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 130062026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel30072026/10/23 16:07:41 INFO config: tree root: /build/TestStdin3542950993/00130082026/10/23 16:07:41 INFO config: no tree root specified30092026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root30102026/10/23 16:07:42 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 130112026/10/23 16:07:42 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel30122026/10/23 16:07:42 INFO config: tree root: /build/TestStdin3542950993/00130132026/10/23 16:07:42 INFO config: no tree root specified30142026/10/23 16:07:42 INFO config: attempting to resolve tree root using jujutsu: jj workspace root30152026/10/23 16:07:42 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 130162026/10/23 16:07:42 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel30172026/10/23 16:07:42 INFO config: tree root: /build/TestStdin3542950993/00130182026/10/23 16:07:42 INFO config: no tree root specified30192026/10/23 16:07:42 INFO config: setting tree root to the directory containing the config file: /build/TestStdin3542950993/001/treefmt.toml30202026/10/23 16:07:42 INFO config: tree root: /build/TestStdin3542950993/0013021--- PASS: TestStdin (0.05s)3022=== RUN TestSampleConfigFile30232026/10/23 16:07:42 INFO config: no tree root specified30242026/10/23 16:07:42 INFO config: setting tree root to the directory containing the config file: ../test/examples/treefmt.toml30252026/10/23 16:07:42 INFO config: tree root: /build/source/test/examples3026--- PASS: TestSampleConfigFile (0.00s)3027PASS3028coverage: 85.6% of statements3029ok github.com/numtide/treefmt/v2/config 2.057s coverage: 85.6% of statements3030=== RUN TestApplyWithDefaultStdin30312026/10/23 16:07:41 INFO formatter | cat: 1 file(s) processed in 7.447497ms3032--- PASS: TestApplyWithDefaultStdin (0.01s)3033=== RUN TestInvalidFormatterName3034--- PASS: TestInvalidFormatterName (0.01s)3035=== RUN TestFormatSignature3036=== RUN TestFormatSignature/change_formatter_mod_time3037 formatter_test.go:120: changing mod time of black3038 formatter_test.go:120: changing mod time of rufo3039=== RUN TestFormatSignature/modify_formatter_options3040=== RUN TestFormatSignature/add/remove_formatters3041--- PASS: TestFormatSignature (0.01s)3042 --- PASS: TestFormatSignature/change_formatter_mod_time (0.00s)3043 --- PASS: TestFormatSignature/modify_formatter_options (0.00s)3044 --- PASS: TestFormatSignature/add/remove_formatters (0.00s)3045=== RUN TestGlobs3046--- PASS: TestGlobs (0.00s)3047PASS3048coverage: 40.9% of statements3049ok github.com/numtide/treefmt/v2/format 1.049s coverage: 40.9% of statements3050 github.com/numtide/treefmt/v2/git coverage: 0.0% of statements3051 github.com/numtide/treefmt/v2/jujutsu coverage: 0.0% of statements3052 github.com/numtide/treefmt/v2/stats coverage: 0.0% of statements3053 github.com/numtide/treefmt/v2/test coverage: 0.0% of statements3054=== RUN TestFilesystemReaderCancellation3055--- PASS: TestFilesystemReaderCancellation (1.01s)3056=== RUN TestFilesystemReader3057--- PASS: TestFilesystemReader (1.02s)3058=== RUN TestFilesystemReaderSubpaths3059--- PASS: TestFilesystemReaderSubpaths (1.01s)3060=== RUN TestGitReader3061--- PASS: TestGitReader (2.28s)3062=== RUN TestJujutsuReader3063--- PASS: TestJujutsuReader (1.10s)3064=== RUN TestJujutsuReaderUsesTreeRoot3065--- PASS: TestJujutsuReaderUsesTreeRoot (0.05s)3066=== RUN TestAutoReaderPrefersJujutsuInColocatedRepo3067--- PASS: TestAutoReaderPrefersJujutsuInColocatedRepo (0.03s)3068=== RUN TestPathStreamReader30692026/10/23 16:07:48 WARN walk | test walker: Path /build/TestPathStreamReader1313138800/001/missing.txt was emitted by test walker but no file exists at that path3070--- PASS: TestPathStreamReader (1.01s)3071=== RUN TestPathStreamReaderSubpath3072--- PASS: TestPathStreamReaderSubpath (1.01s)3073=== RUN TestPathStreamReaderPassesPathFilters3074--- PASS: TestPathStreamReaderPassesPathFilters (1.01s)3075=== RUN TestPathStreamReaderDelimiters3076--- PASS: TestPathStreamReaderDelimiters (1.01s)3077=== RUN TestPathStreamReaderCloseUnblocks3078--- PASS: TestPathStreamReaderCloseUnblocks (0.06s)3079=== RUN TestPathStreamReaderCommandFailure3080--- PASS: TestPathStreamReaderCommandFailure (1.01s)3081PASS3082coverage: 41.1% of statements3083ok github.com/numtide/treefmt/v2/walk 12.647s coverage: 41.1% of statements3084 github.com/numtide/treefmt/v2/walk/cache coverage: 0.0% of statements3085buildPhase completed in 1 minutes 12 seconds
checkPhase
3086/nix/store/zkiy4zv8wz3v95bj6fdmkqwql8x1vnhb-stdenv-linux/setup: line 1769: getGoDirs: command not found
fixupPhase
3087shrinking RPATHs of ELF executables and libraries in /nix/store/52wljc4gg0hxmi36kf7i63s53kkcagn5-treefmt-97f6e163088checking for references to /build/ in /nix/store/52wljc4gg0hxmi36kf7i63s53kkcagn5-treefmt-97f6e16...3089patching script interpreter paths in /nix/store/52wljc4gg0hxmi36kf7i63s53kkcagn5-treefmt-97f6e16