treefmt-97f6e16
checks.x86_64-linux.pkgs-treefmt-coverage
· build #41
· raw
1bld1: building 9vmav2k11ka1hm41h4jsyx0ls50x8w3y-treefmt-97f6e16.drv
unpackPhase
2unpacking source archive /nix/store/9qg1zvfm8qpp2qzrqalc45riznks50my-source3source root is sourcebuildPhase
4 github.com/numtide/treefmt/v2 coverage: 0.0% of statements5? github.com/numtide/treefmt/v2/build [no test files]6=== RUN TestOnUnmatched7=== RUN TestOnUnmatched/default8 root_test.go:79: treefmt -v9 root_test.go:79: 10 INFO config: no tree root specified11 INFO config: attempting to resolve tree root using jujutsu: jj workspace root12 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 113 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel14 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 12815 INFO config: setting tree root to the directory containing the config file: /build/TestOnUnmatched3744448920/001/treefmt.toml16 INFO config: tree root: /build/TestOnUnmatched3744448920/00117 INFO no formatter for path: .gitignore18 INFO no formatter for path: go/go.mod19 INFO no formatter for path: haskell/haskell.cabal20 INFO no formatter for path: haskell-frontend/haskell-frontend.cabal21 INFO no formatter for path: html/scripts/.gitkeep22 INFO no formatter for path: python/requirements.txt23 INFO formatter | just: 1 file(s) processed in 15.458345ms24 INFO formatter | dos2unix: 1 file(s) processed in 5.504491ms25 INFO formatter | go: 1 file(s) processed in 21.808023ms26 INFO formatter | shellcheck[1]: 1 file(s) processed in 19.587018ms27 INFO formatter | rust: 1 file(s) processed in 52.834352ms28 INFO formatter | shfmt[2]: 1 file(s) processed in 27.777318ms29 INFO formatter | alejandra[1]: 1 file(s) processed in 143.542226ms30 INFO formatter | deadnix[2]: 1 file(s) processed in 18.887448ms31 INFO formatter | haskell: 6 file(s) processed in 199.886438ms32 INFO formatter | opentofu: 2 file(s) processed in 219.651377ms33 INFO formatter | prettier: 1 file(s) processed in 285.760433ms34 INFO formatter | yamlfmt: 1 file(s) processed in 16.904064ms35 INFO formatter | ruby: 1 file(s) processed in 376.134542ms36 INFO formatter | prettier: 5 file(s) processed in 681.586958ms37 INFO formatter | python: 2 file(s) processed in 727.238749ms38 traversed 33 files39 emitted 22 files for processing40 formatted 22 files (4 changed) in 789ms41 42 root_test.go:79: 43 44=== RUN TestOnUnmatched/fatal45 root_test.go:88: treefmt --on-unmatched fatal46 root_test.go:88: 47 traversed 33 files48 emitted 0 files for processing49 formatted 0 files (0 changed) in 66ms50 Error: failed to format files: no formatter for path: .gitignore51 52 root_test.go:88: 53 54 root_test.go:92: treefmt 55 root_test.go:92: 56 traversed 33 files57 emitted 0 files for processing58 formatted 0 files (0 changed) in 44ms59 Error: failed to format files: no formatter for path: .gitignore60 61 root_test.go:92: 62 63=== RUN TestOnUnmatched/debug64 root_test.go:101: treefmt -vv --on-unmatched debug65 root_test.go:101: 66 INFO config: no tree root specified67 INFO config: attempting to resolve tree root using jujutsu: jj workspace root68 DEBU tree-root-cmd | stdout:69 DEBU tree-root-cmd | stderr: Error: There is no jj repo in "."70 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 171 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel72 DEBU tree-root-cmd | stdout:73 DEBU tree-root-cmd | stderr: fatal: not a git repository (or any of the parent directories): .git74 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 12875 INFO config: setting tree root to the directory containing the config file: /build/TestOnUnmatched3744448920/001/treefmt.toml76 INFO config: tree root: /build/TestOnUnmatched3744448920/00177 DEBU formatter command not found: foo-fmt78 DEBU Resolving path '/build/TestOnUnmatched3744448920/001'79 DEBU walk | filesystem: file queued .gitignore80 DEBU walk | filesystem: file queued emoji 🕰️/README.md81 DEBU walk | filesystem: file queued go/go.mod82 DEBU walk | filesystem: file queued go/main.go83 DEBU walk | filesystem: file queued haskell/CHANGELOG.md84 DEBU walk | filesystem: file queued haskell/Foo.hs85 DEBU walk | filesystem: file queued haskell/Main.hs86 DEBU walk | filesystem: file queued haskell/Nested/Foo.hs87 DEBU walk | filesystem: file queued haskell/Setup.hs88 DEBU walk | filesystem: file queued haskell/haskell.cabal89 DEBU walk | filesystem: file queued haskell/treefmt.toml90 DEBU walk | filesystem: file queued haskell-frontend/CHANGELOG.md91 DEBU walk | filesystem: file queued haskell-frontend/Main.hs92 DEBU walk | filesystem: file queued haskell-frontend/Setup.hs93 DEBU walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal94 DEBU walk | filesystem: file queued html/index.html95 DEBU walk | filesystem: file queued html/scripts/.gitkeep96 DEBU walk | filesystem: file queued javascript/source/hello.js97 DEBU walk | filesystem: file queued just/justfile98 DEBU walk | filesystem: file queued nix/sources.nix99 DEBU walk | filesystem: file queued nixpkgs.toml100 DEBU walk | filesystem: file queued python/main.py101 DEBU walk | filesystem: file queued python/requirements.txt102 DEBU walk | filesystem: file queued python/virtualenv_proxy.py103 DEBU walk | filesystem: file queued ruby/bundler.rb104 DEBU walk | filesystem: file queued rust/Cargo.toml105 DEBU walk | filesystem: file queued rust/src/main.rs106 DEBU walk | filesystem: file queued shell/foo.sh107 DEBU walk | filesystem: file queued terraform/main.tf108 DEBU walk | filesystem: file queued terraform/two.tf109 DEBU walk | filesystem: file queued touch.toml110 DEBU walk | filesystem: file queued treefmt.toml111 DEBU walk | filesystem: file queued yaml/test.yaml112 DEBU walk | cache: read 33 files from delegate113 DEBU read 33 files114 DEBU no formatter for path: .gitignore115 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/emoji 🕰️/README.md116 DEBU formatters signature for key prettier: 43d4aa9284a561523060faf3c1317913117 DEBU no formatter for path: go/go.mod118 DEBU formatter | go: match: /build/TestOnUnmatched3744448920/001/go/main.go119 DEBU formatters signature for key go: eb842d37c82e3f9ecacbbc7d28914fb2120 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell/CHANGELOG.md121 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Foo.hs122 DEBU formatters signature for key haskell: af7e9dc8b3ac878a1b47756c5cae8ecc123 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Main.hs124 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Nested/Foo.hs125 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Setup.hs126 DEBU no formatter for path: haskell/haskell.cabal127 DEBU path matched global excludes: haskell/treefmt.toml128 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/CHANGELOG.md129 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Main.hs130 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Setup.hs131 DEBU no formatter for path: haskell-frontend/haskell-frontend.cabal132 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/html/index.html133 DEBU no formatter for path: html/scripts/.gitkeep134 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/javascript/source/hello.js135 DEBU formatter | just: match: /build/TestOnUnmatched3744448920/001/just/justfile136 DEBU formatters signature for key just: 3bfe28bbc0d884b31e3c52778c0d0fc7137 DEBU formatter | alejandra[1]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix138 DEBU formatter | deadnix[2]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix139 DEBU formatters signature for key alejandra:deadnix: ab3b921397b21571d862f931fe1255e5140 DEBU path matched global excludes: nixpkgs.toml141 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/main.py142 DEBU formatters signature for key python: f2cecf672e759f0c230c6c0c6d2dcb59143 DEBU no formatter for path: python/requirements.txt144 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/virtualenv_proxy.py145 DEBU formatter | ruby: match: /build/TestOnUnmatched3744448920/001/ruby/bundler.rb146 DEBU formatters signature for key ruby: 28b1acb9bc8afb20ca582eeef6ec0c41147 DEBU path matched global excludes: rust/Cargo.toml148 DEBU formatter | rust: match: /build/TestOnUnmatched3744448920/001/rust/src/main.rs149 DEBU formatters signature for key rust: 927ebef84d202129ca109200eb672169150 DEBU formatter | shfmt[2]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh151 DEBU formatter | shellcheck[1]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh152 DEBU formatters signature for key shellcheck:shfmt: 1c8661bb8d587405273e38ac34ea1406153 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/main.tf154 DEBU formatters signature for key opentofu: ccbae559816e50bde15e044573342597155 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/two.tf156 DEBU path matched global excludes: touch.toml157 DEBU path matched global excludes: treefmt.toml158 DEBU formatter | dos2unix: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml159 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml160 DEBU formatter | yamlfmt: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml161 DEBU formatters signature for key dos2unix:prettier:yamlfmt: 02249c54f7e737333b14d93d03cd89c6162 traversed 33 files163 emitted 22 files for processing164 formatted 0 files (0 changed) in 87ms165 DEBU no more files to read166 167 root_test.go:101: 168 169 root_test.go:109: treefmt -vv170 root_test.go:109: 171 INFO config: no tree root specified172 INFO config: attempting to resolve tree root using jujutsu: jj workspace root173 DEBU tree-root-cmd | stderr: Error: There is no jj repo in "."174 DEBU tree-root-cmd | stdout:175 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1176 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel177 DEBU tree-root-cmd | stderr: fatal: not a git repository (or any of the parent directories): .git178 DEBU tree-root-cmd | stdout:179 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 128180 INFO config: setting tree root to the directory containing the config file: /build/TestOnUnmatched3744448920/001/treefmt.toml181 INFO config: tree root: /build/TestOnUnmatched3744448920/001182 DEBU formatter command not found: foo-fmt183 DEBU Resolving path '/build/TestOnUnmatched3744448920/001'184 DEBU walk | filesystem: file queued .gitignore185 DEBU walk | filesystem: file queued emoji 🕰️/README.md186 DEBU walk | filesystem: file queued go/go.mod187 DEBU walk | filesystem: file queued go/main.go188 DEBU walk | filesystem: file queued haskell/CHANGELOG.md189 DEBU walk | filesystem: file queued haskell/Foo.hs190 DEBU walk | filesystem: file queued haskell/Main.hs191 DEBU walk | filesystem: file queued haskell/Nested/Foo.hs192 DEBU walk | filesystem: file queued haskell/Setup.hs193 DEBU walk | filesystem: file queued haskell/haskell.cabal194 DEBU walk | filesystem: file queued haskell/treefmt.toml195 DEBU walk | filesystem: file queued haskell-frontend/CHANGELOG.md196 DEBU walk | filesystem: file queued haskell-frontend/Main.hs197 DEBU walk | filesystem: file queued haskell-frontend/Setup.hs198 DEBU walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal199 DEBU walk | filesystem: file queued html/index.html200 DEBU walk | filesystem: file queued html/scripts/.gitkeep201 DEBU walk | filesystem: file queued javascript/source/hello.js202 DEBU walk | filesystem: file queued just/justfile203 DEBU walk | filesystem: file queued nix/sources.nix204 DEBU walk | filesystem: file queued nixpkgs.toml205 DEBU walk | filesystem: file queued python/main.py206 DEBU walk | filesystem: file queued python/requirements.txt207 DEBU walk | filesystem: file queued python/virtualenv_proxy.py208 DEBU walk | filesystem: file queued ruby/bundler.rb209 DEBU walk | filesystem: file queued rust/Cargo.toml210 DEBU walk | filesystem: file queued rust/src/main.rs211 DEBU walk | filesystem: file queued shell/foo.sh212 DEBU walk | filesystem: file queued terraform/main.tf213 DEBU walk | filesystem: file queued terraform/two.tf214 DEBU walk | filesystem: file queued touch.toml215 DEBU walk | filesystem: file queued treefmt.toml216 DEBU walk | filesystem: file queued yaml/test.yaml217 DEBU walk | cache: read 33 files from delegate218 DEBU read 33 files219 DEBU no formatter for path: .gitignore220 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/emoji 🕰️/README.md221 DEBU formatters signature for key prettier: 43d4aa9284a561523060faf3c1317913222 DEBU no formatter for path: go/go.mod223 DEBU formatter | go: match: /build/TestOnUnmatched3744448920/001/go/main.go224 DEBU formatters signature for key go: eb842d37c82e3f9ecacbbc7d28914fb2225 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell/CHANGELOG.md226 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Foo.hs227 DEBU formatters signature for key haskell: af7e9dc8b3ac878a1b47756c5cae8ecc228 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Main.hs229 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Nested/Foo.hs230 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Setup.hs231 DEBU no formatter for path: haskell/haskell.cabal232 DEBU path matched global excludes: haskell/treefmt.toml233 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/CHANGELOG.md234 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Main.hs235 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Setup.hs236 DEBU no formatter for path: haskell-frontend/haskell-frontend.cabal237 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/html/index.html238 DEBU no formatter for path: html/scripts/.gitkeep239 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/javascript/source/hello.js240 DEBU formatter | just: match: /build/TestOnUnmatched3744448920/001/just/justfile241 DEBU formatters signature for key just: 3bfe28bbc0d884b31e3c52778c0d0fc7242 DEBU formatter | alejandra[1]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix243 DEBU formatter | deadnix[2]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix244 DEBU formatters signature for key alejandra:deadnix: ab3b921397b21571d862f931fe1255e5245 DEBU path matched global excludes: nixpkgs.toml246 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/main.py247 DEBU formatters signature for key python: f2cecf672e759f0c230c6c0c6d2dcb59248 DEBU no formatter for path: python/requirements.txt249 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/virtualenv_proxy.py250 DEBU formatter | ruby: match: /build/TestOnUnmatched3744448920/001/ruby/bundler.rb251 DEBU formatters signature for key ruby: 28b1acb9bc8afb20ca582eeef6ec0c41252 DEBU path matched global excludes: rust/Cargo.toml253 DEBU formatter | rust: match: /build/TestOnUnmatched3744448920/001/rust/src/main.rs254 DEBU formatters signature for key rust: 927ebef84d202129ca109200eb672169255 DEBU formatter | shfmt[2]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh256 DEBU formatter | shellcheck[1]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh257 DEBU formatters signature for key shellcheck:shfmt: 1c8661bb8d587405273e38ac34ea1406258 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/main.tf259 DEBU formatters signature for key opentofu: ccbae559816e50bde15e044573342597260 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/two.tf261 DEBU path matched global excludes: touch.toml262 DEBU path matched global excludes: treefmt.toml263 DEBU formatter | yamlfmt: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml264 DEBU formatter | dos2unix: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml265 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml266 DEBU formatters signature for key dos2unix:prettier:yamlfmt: 02249c54f7e737333b14d93d03cd89c6267 traversed 33 files268 emitted 22 files for processing269 formatted 0 files (0 changed) in 80ms270 DEBU no more files to read271 272 root_test.go:109: 273 274=== RUN TestOnUnmatched/info275 root_test.go:101: treefmt -vv --on-unmatched info276 root_test.go:101: 277 INFO config: no tree root specified278 INFO config: attempting to resolve tree root using jujutsu: jj workspace root279 DEBU tree-root-cmd | stderr: Error: There is no jj repo in "."280 DEBU tree-root-cmd | stdout:281 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1282 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel283 DEBU tree-root-cmd | stdout:284 DEBU tree-root-cmd | stderr: fatal: not a git repository (or any of the parent directories): .git285 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 128286 INFO config: setting tree root to the directory containing the config file: /build/TestOnUnmatched3744448920/001/treefmt.toml287 INFO config: tree root: /build/TestOnUnmatched3744448920/001288 DEBU formatter command not found: foo-fmt289 DEBU Resolving path '/build/TestOnUnmatched3744448920/001'290 DEBU walk | filesystem: file queued .gitignore291 DEBU walk | filesystem: file queued emoji 🕰️/README.md292 DEBU walk | filesystem: file queued go/go.mod293 DEBU walk | filesystem: file queued go/main.go294 DEBU walk | filesystem: file queued haskell/CHANGELOG.md295 DEBU walk | filesystem: file queued haskell/Foo.hs296 DEBU walk | filesystem: file queued haskell/Main.hs297 DEBU walk | filesystem: file queued haskell/Nested/Foo.hs298 DEBU walk | filesystem: file queued haskell/Setup.hs299 DEBU walk | filesystem: file queued haskell/haskell.cabal300 DEBU walk | filesystem: file queued haskell/treefmt.toml301 DEBU walk | filesystem: file queued haskell-frontend/CHANGELOG.md302 DEBU walk | filesystem: file queued haskell-frontend/Main.hs303 DEBU walk | filesystem: file queued haskell-frontend/Setup.hs304 DEBU walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal305 DEBU walk | filesystem: file queued html/index.html306 DEBU walk | filesystem: file queued html/scripts/.gitkeep307 DEBU walk | filesystem: file queued javascript/source/hello.js308 DEBU walk | filesystem: file queued just/justfile309 DEBU walk | filesystem: file queued nix/sources.nix310 DEBU walk | filesystem: file queued nixpkgs.toml311 DEBU walk | filesystem: file queued python/main.py312 DEBU walk | filesystem: file queued python/requirements.txt313 DEBU walk | filesystem: file queued python/virtualenv_proxy.py314 DEBU walk | filesystem: file queued ruby/bundler.rb315 DEBU walk | filesystem: file queued rust/Cargo.toml316 DEBU walk | filesystem: file queued rust/src/main.rs317 DEBU walk | filesystem: file queued shell/foo.sh318 DEBU walk | filesystem: file queued terraform/main.tf319 DEBU walk | filesystem: file queued terraform/two.tf320 DEBU walk | filesystem: file queued touch.toml321 DEBU walk | filesystem: file queued treefmt.toml322 DEBU walk | filesystem: file queued yaml/test.yaml323 DEBU walk | cache: read 33 files from delegate324 DEBU read 33 files325 INFO no formatter for path: .gitignore326 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/emoji 🕰️/README.md327 DEBU formatters signature for key prettier: 43d4aa9284a561523060faf3c1317913328 INFO no formatter for path: go/go.mod329 DEBU formatter | go: match: /build/TestOnUnmatched3744448920/001/go/main.go330 DEBU formatters signature for key go: eb842d37c82e3f9ecacbbc7d28914fb2331 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell/CHANGELOG.md332 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Foo.hs333 DEBU formatters signature for key haskell: af7e9dc8b3ac878a1b47756c5cae8ecc334 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Main.hs335 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Nested/Foo.hs336 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Setup.hs337 INFO no formatter for path: haskell/haskell.cabal338 DEBU path matched global excludes: haskell/treefmt.toml339 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/CHANGELOG.md340 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Main.hs341 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Setup.hs342 INFO no formatter for path: haskell-frontend/haskell-frontend.cabal343 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/html/index.html344 INFO no formatter for path: html/scripts/.gitkeep345 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/javascript/source/hello.js346 DEBU formatter | just: match: /build/TestOnUnmatched3744448920/001/just/justfile347 DEBU formatters signature for key just: 3bfe28bbc0d884b31e3c52778c0d0fc7348 DEBU formatter | deadnix[2]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix349 DEBU formatter | alejandra[1]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix350 DEBU formatters signature for key alejandra:deadnix: ab3b921397b21571d862f931fe1255e5351 DEBU path matched global excludes: nixpkgs.toml352 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/main.py353 DEBU formatters signature for key python: f2cecf672e759f0c230c6c0c6d2dcb59354 INFO no formatter for path: python/requirements.txt355 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/virtualenv_proxy.py356 DEBU formatter | ruby: match: /build/TestOnUnmatched3744448920/001/ruby/bundler.rb357 DEBU formatters signature for key ruby: 28b1acb9bc8afb20ca582eeef6ec0c41358 DEBU path matched global excludes: rust/Cargo.toml359 DEBU formatter | rust: match: /build/TestOnUnmatched3744448920/001/rust/src/main.rs360 DEBU formatters signature for key rust: 927ebef84d202129ca109200eb672169361 DEBU formatter | shellcheck[1]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh362 DEBU formatter | shfmt[2]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh363 DEBU formatters signature for key shellcheck:shfmt: 1c8661bb8d587405273e38ac34ea1406364 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/main.tf365 DEBU formatters signature for key opentofu: ccbae559816e50bde15e044573342597366 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/two.tf367 DEBU path matched global excludes: touch.toml368 DEBU path matched global excludes: treefmt.toml369 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml370 DEBU formatter | dos2unix: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml371 DEBU formatter | yamlfmt: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml372 DEBU formatters signature for key dos2unix:prettier:yamlfmt: 02249c54f7e737333b14d93d03cd89c6373 traversed 33 files374 emitted 22 files for processing375 formatted 0 files (0 changed) in 58ms376 DEBU no more files to read377 378 root_test.go:101: 379 380 root_test.go:109: treefmt -vv381 root_test.go:109: 382 INFO config: no tree root specified383 INFO config: attempting to resolve tree root using jujutsu: jj workspace root384 DEBU tree-root-cmd | stderr: Error: There is no jj repo in "."385 DEBU tree-root-cmd | stdout:386 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1387 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel388 DEBU tree-root-cmd | stdout:389 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 128390 INFO config: setting tree root to the directory containing the config file: /build/TestOnUnmatched3744448920/001/treefmt.toml391 INFO config: tree root: /build/TestOnUnmatched3744448920/001392 DEBU formatter command not found: foo-fmt393 DEBU Resolving path '/build/TestOnUnmatched3744448920/001'394 DEBU walk | filesystem: file queued .gitignore395 DEBU walk | filesystem: file queued emoji 🕰️/README.md396 DEBU walk | filesystem: file queued go/go.mod397 DEBU walk | filesystem: file queued go/main.go398 DEBU walk | filesystem: file queued haskell/CHANGELOG.md399 DEBU walk | filesystem: file queued haskell/Foo.hs400 DEBU walk | filesystem: file queued haskell/Main.hs401 DEBU walk | filesystem: file queued haskell/Nested/Foo.hs402 DEBU walk | filesystem: file queued haskell/Setup.hs403 DEBU walk | filesystem: file queued haskell/haskell.cabal404 DEBU walk | filesystem: file queued haskell/treefmt.toml405 DEBU walk | filesystem: file queued haskell-frontend/CHANGELOG.md406 DEBU walk | filesystem: file queued haskell-frontend/Main.hs407 DEBU walk | filesystem: file queued haskell-frontend/Setup.hs408 DEBU walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal409 DEBU walk | filesystem: file queued html/index.html410 DEBU walk | filesystem: file queued html/scripts/.gitkeep411 DEBU walk | filesystem: file queued javascript/source/hello.js412 DEBU walk | filesystem: file queued just/justfile413 DEBU walk | filesystem: file queued nix/sources.nix414 DEBU walk | filesystem: file queued nixpkgs.toml415 DEBU walk | filesystem: file queued python/main.py416 DEBU walk | filesystem: file queued python/requirements.txt417 DEBU walk | filesystem: file queued python/virtualenv_proxy.py418 DEBU walk | filesystem: file queued ruby/bundler.rb419 DEBU walk | filesystem: file queued rust/Cargo.toml420 DEBU walk | filesystem: file queued rust/src/main.rs421 DEBU walk | filesystem: file queued shell/foo.sh422 DEBU walk | filesystem: file queued terraform/main.tf423 DEBU walk | filesystem: file queued terraform/two.tf424 DEBU walk | filesystem: file queued touch.toml425 DEBU walk | filesystem: file queued treefmt.toml426 DEBU walk | filesystem: file queued yaml/test.yaml427 DEBU walk | cache: read 33 files from delegate428 DEBU read 33 files429 INFO no formatter for path: .gitignore430 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/emoji 🕰️/README.md431 DEBU formatters signature for key prettier: 43d4aa9284a561523060faf3c1317913432 INFO no formatter for path: go/go.mod433 DEBU formatter | go: match: /build/TestOnUnmatched3744448920/001/go/main.go434 DEBU formatters signature for key go: eb842d37c82e3f9ecacbbc7d28914fb2435 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell/CHANGELOG.md436 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Foo.hs437 DEBU formatters signature for key haskell: af7e9dc8b3ac878a1b47756c5cae8ecc438 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Main.hs439 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Nested/Foo.hs440 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Setup.hs441 INFO no formatter for path: haskell/haskell.cabal442 DEBU path matched global excludes: haskell/treefmt.toml443 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/CHANGELOG.md444 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Main.hs445 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Setup.hs446 INFO no formatter for path: haskell-frontend/haskell-frontend.cabal447 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/html/index.html448 INFO no formatter for path: html/scripts/.gitkeep449 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/javascript/source/hello.js450 DEBU formatter | just: match: /build/TestOnUnmatched3744448920/001/just/justfile451 DEBU formatters signature for key just: 3bfe28bbc0d884b31e3c52778c0d0fc7452 DEBU formatter | deadnix[2]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix453 DEBU formatter | alejandra[1]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix454 DEBU formatters signature for key alejandra:deadnix: ab3b921397b21571d862f931fe1255e5455 DEBU path matched global excludes: nixpkgs.toml456 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/main.py457 DEBU formatters signature for key python: f2cecf672e759f0c230c6c0c6d2dcb59458 INFO no formatter for path: python/requirements.txt459 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/virtualenv_proxy.py460 DEBU formatter | ruby: match: /build/TestOnUnmatched3744448920/001/ruby/bundler.rb461 DEBU formatters signature for key ruby: 28b1acb9bc8afb20ca582eeef6ec0c41462 DEBU path matched global excludes: rust/Cargo.toml463 DEBU formatter | rust: match: /build/TestOnUnmatched3744448920/001/rust/src/main.rs464 DEBU formatters signature for key rust: 927ebef84d202129ca109200eb672169465 DEBU formatter | shfmt[2]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh466 DEBU formatter | shellcheck[1]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh467 DEBU formatters signature for key shellcheck:shfmt: 1c8661bb8d587405273e38ac34ea1406468 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/main.tf469 DEBU formatters signature for key opentofu: ccbae559816e50bde15e044573342597470 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/two.tf471 DEBU path matched global excludes: touch.toml472 DEBU path matched global excludes: treefmt.toml473 DEBU formatter | yamlfmt: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml474 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml475 DEBU formatter | dos2unix: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml476 DEBU formatters signature for key dos2unix:prettier:yamlfmt: 02249c54f7e737333b14d93d03cd89c6477 traversed 33 files478 emitted 22 files for processing479 formatted 0 files (0 changed) in 83ms480 DEBU no more files to read481 482 root_test.go:109: 483 484=== RUN TestOnUnmatched/warn485 root_test.go:101: treefmt -vv --on-unmatched warn486 root_test.go:101: 487 INFO config: no tree root specified488 INFO config: attempting to resolve tree root using jujutsu: jj workspace root489 DEBU tree-root-cmd | stderr: Error: There is no jj repo in "."490 DEBU tree-root-cmd | stdout:491 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1492 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel493 DEBU tree-root-cmd | stdout:494 DEBU tree-root-cmd | stderr: fatal: not a git repository (or any of the parent directories): .git495 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 128496 INFO config: setting tree root to the directory containing the config file: /build/TestOnUnmatched3744448920/001/treefmt.toml497 INFO config: tree root: /build/TestOnUnmatched3744448920/001498 DEBU formatter command not found: foo-fmt499 DEBU Resolving path '/build/TestOnUnmatched3744448920/001'500 DEBU walk | filesystem: file queued .gitignore501 DEBU walk | filesystem: file queued emoji 🕰️/README.md502 DEBU walk | filesystem: file queued go/go.mod503 DEBU walk | filesystem: file queued go/main.go504 DEBU walk | filesystem: file queued haskell/CHANGELOG.md505 DEBU walk | filesystem: file queued haskell/Foo.hs506 DEBU walk | filesystem: file queued haskell/Main.hs507 DEBU walk | filesystem: file queued haskell/Nested/Foo.hs508 DEBU walk | filesystem: file queued haskell/Setup.hs509 DEBU walk | filesystem: file queued haskell/haskell.cabal510 DEBU walk | filesystem: file queued haskell/treefmt.toml511 DEBU walk | filesystem: file queued haskell-frontend/CHANGELOG.md512 DEBU walk | filesystem: file queued haskell-frontend/Main.hs513 DEBU walk | filesystem: file queued haskell-frontend/Setup.hs514 DEBU walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal515 DEBU walk | filesystem: file queued html/index.html516 DEBU walk | filesystem: file queued html/scripts/.gitkeep517 DEBU walk | filesystem: file queued javascript/source/hello.js518 DEBU walk | filesystem: file queued just/justfile519 DEBU walk | filesystem: file queued nix/sources.nix520 DEBU walk | filesystem: file queued nixpkgs.toml521 DEBU walk | filesystem: file queued python/main.py522 DEBU walk | filesystem: file queued python/requirements.txt523 DEBU walk | filesystem: file queued python/virtualenv_proxy.py524 DEBU walk | filesystem: file queued ruby/bundler.rb525 DEBU walk | filesystem: file queued rust/Cargo.toml526 DEBU walk | filesystem: file queued rust/src/main.rs527 DEBU walk | filesystem: file queued shell/foo.sh528 DEBU walk | filesystem: file queued terraform/main.tf529 DEBU walk | filesystem: file queued terraform/two.tf530 DEBU walk | filesystem: file queued touch.toml531 DEBU walk | filesystem: file queued treefmt.toml532 DEBU walk | filesystem: file queued yaml/test.yaml533 DEBU walk | cache: read 33 files from delegate534 DEBU read 33 files535 WARN no formatter for path: .gitignore536 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/emoji 🕰️/README.md537 DEBU formatters signature for key prettier: 43d4aa9284a561523060faf3c1317913538 WARN no formatter for path: go/go.mod539 DEBU formatter | go: match: /build/TestOnUnmatched3744448920/001/go/main.go540 DEBU formatters signature for key go: eb842d37c82e3f9ecacbbc7d28914fb2541 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell/CHANGELOG.md542 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Foo.hs543 DEBU formatters signature for key haskell: af7e9dc8b3ac878a1b47756c5cae8ecc544 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Main.hs545 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Nested/Foo.hs546 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Setup.hs547 WARN no formatter for path: haskell/haskell.cabal548 DEBU path matched global excludes: haskell/treefmt.toml549 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/CHANGELOG.md550 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Main.hs551 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Setup.hs552 WARN no formatter for path: haskell-frontend/haskell-frontend.cabal553 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/html/index.html554 WARN no formatter for path: html/scripts/.gitkeep555 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/javascript/source/hello.js556 DEBU formatter | just: match: /build/TestOnUnmatched3744448920/001/just/justfile557 DEBU formatters signature for key just: 3bfe28bbc0d884b31e3c52778c0d0fc7558 DEBU formatter | deadnix[2]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix559 DEBU formatter | alejandra[1]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix560 DEBU formatters signature for key alejandra:deadnix: ab3b921397b21571d862f931fe1255e5561 DEBU path matched global excludes: nixpkgs.toml562 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/main.py563 DEBU formatters signature for key python: f2cecf672e759f0c230c6c0c6d2dcb59564 WARN no formatter for path: python/requirements.txt565 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/virtualenv_proxy.py566 DEBU formatter | ruby: match: /build/TestOnUnmatched3744448920/001/ruby/bundler.rb567 DEBU formatters signature for key ruby: 28b1acb9bc8afb20ca582eeef6ec0c41568 DEBU path matched global excludes: rust/Cargo.toml569 DEBU formatter | rust: match: /build/TestOnUnmatched3744448920/001/rust/src/main.rs570 DEBU formatters signature for key rust: 927ebef84d202129ca109200eb672169571 DEBU formatter | shfmt[2]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh572 DEBU formatter | shellcheck[1]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh573 DEBU formatters signature for key shellcheck:shfmt: 1c8661bb8d587405273e38ac34ea1406574 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/main.tf575 DEBU formatters signature for key opentofu: ccbae559816e50bde15e044573342597576 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/two.tf577 DEBU path matched global excludes: touch.toml578 DEBU path matched global excludes: treefmt.toml579 DEBU formatter | yamlfmt: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml580 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml581 DEBU formatter | dos2unix: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml582 DEBU formatters signature for key dos2unix:prettier:yamlfmt: 02249c54f7e737333b14d93d03cd89c6583 traversed 33 files584 emitted 22 files for processing585 formatted 0 files (0 changed) in 59ms586 DEBU no more files to read587 588 root_test.go:101: 589 590 root_test.go:109: treefmt -vv591 root_test.go:109: 592 INFO config: no tree root specified593 INFO config: attempting to resolve tree root using jujutsu: jj workspace root594 DEBU tree-root-cmd | stderr: Error: There is no jj repo in "."595 DEBU tree-root-cmd | stdout:596 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1597 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel598 DEBU tree-root-cmd | stderr: fatal: not a git repository (or any of the parent directories): .git599 DEBU tree-root-cmd | stdout:600 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 128601 INFO config: setting tree root to the directory containing the config file: /build/TestOnUnmatched3744448920/001/treefmt.toml602 INFO config: tree root: /build/TestOnUnmatched3744448920/001603 DEBU formatter command not found: foo-fmt604 DEBU Resolving path '/build/TestOnUnmatched3744448920/001'605 DEBU walk | filesystem: file queued .gitignore606 DEBU walk | filesystem: file queued emoji 🕰️/README.md607 DEBU walk | filesystem: file queued go/go.mod608 DEBU walk | filesystem: file queued go/main.go609 DEBU walk | filesystem: file queued haskell/CHANGELOG.md610 DEBU walk | filesystem: file queued haskell/Foo.hs611 DEBU walk | filesystem: file queued haskell/Main.hs612 DEBU walk | filesystem: file queued haskell/Nested/Foo.hs613 DEBU walk | filesystem: file queued haskell/Setup.hs614 DEBU walk | filesystem: file queued haskell/haskell.cabal615 DEBU walk | filesystem: file queued haskell/treefmt.toml616 DEBU walk | filesystem: file queued haskell-frontend/CHANGELOG.md617 DEBU walk | filesystem: file queued haskell-frontend/Main.hs618 DEBU walk | filesystem: file queued haskell-frontend/Setup.hs619 DEBU walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal620 DEBU walk | filesystem: file queued html/index.html621 DEBU walk | filesystem: file queued html/scripts/.gitkeep622 DEBU walk | filesystem: file queued javascript/source/hello.js623 DEBU walk | filesystem: file queued just/justfile624 DEBU walk | filesystem: file queued nix/sources.nix625 DEBU walk | filesystem: file queued nixpkgs.toml626 DEBU walk | filesystem: file queued python/main.py627 DEBU walk | filesystem: file queued python/requirements.txt628 DEBU walk | filesystem: file queued python/virtualenv_proxy.py629 DEBU walk | filesystem: file queued ruby/bundler.rb630 DEBU walk | filesystem: file queued rust/Cargo.toml631 DEBU walk | filesystem: file queued rust/src/main.rs632 DEBU walk | filesystem: file queued shell/foo.sh633 DEBU walk | filesystem: file queued terraform/main.tf634 DEBU walk | filesystem: file queued terraform/two.tf635 DEBU walk | filesystem: file queued touch.toml636 DEBU walk | filesystem: file queued treefmt.toml637 DEBU walk | filesystem: file queued yaml/test.yaml638 DEBU walk | cache: read 33 files from delegate639 DEBU read 33 files640 WARN no formatter for path: .gitignore641 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/emoji 🕰️/README.md642 DEBU formatters signature for key prettier: 43d4aa9284a561523060faf3c1317913643 WARN no formatter for path: go/go.mod644 DEBU formatter | go: match: /build/TestOnUnmatched3744448920/001/go/main.go645 DEBU formatters signature for key go: eb842d37c82e3f9ecacbbc7d28914fb2646 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell/CHANGELOG.md647 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Foo.hs648 DEBU formatters signature for key haskell: af7e9dc8b3ac878a1b47756c5cae8ecc649 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Main.hs650 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Nested/Foo.hs651 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Setup.hs652 WARN no formatter for path: haskell/haskell.cabal653 DEBU path matched global excludes: haskell/treefmt.toml654 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/CHANGELOG.md655 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Main.hs656 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Setup.hs657 WARN no formatter for path: haskell-frontend/haskell-frontend.cabal658 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/html/index.html659 WARN no formatter for path: html/scripts/.gitkeep660 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/javascript/source/hello.js661 DEBU formatter | just: match: /build/TestOnUnmatched3744448920/001/just/justfile662 DEBU formatters signature for key just: 3bfe28bbc0d884b31e3c52778c0d0fc7663 DEBU formatter | alejandra[1]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix664 DEBU formatter | deadnix[2]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix665 DEBU formatters signature for key alejandra:deadnix: ab3b921397b21571d862f931fe1255e5666 DEBU path matched global excludes: nixpkgs.toml667 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/main.py668 DEBU formatters signature for key python: f2cecf672e759f0c230c6c0c6d2dcb59669 WARN no formatter for path: python/requirements.txt670 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/virtualenv_proxy.py671 DEBU formatter | ruby: match: /build/TestOnUnmatched3744448920/001/ruby/bundler.rb672 DEBU formatters signature for key ruby: 28b1acb9bc8afb20ca582eeef6ec0c41673 DEBU path matched global excludes: rust/Cargo.toml674 DEBU formatter | rust: match: /build/TestOnUnmatched3744448920/001/rust/src/main.rs675 DEBU formatters signature for key rust: 927ebef84d202129ca109200eb672169676 DEBU formatter | shellcheck[1]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh677 DEBU formatter | shfmt[2]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh678 DEBU formatters signature for key shellcheck:shfmt: 1c8661bb8d587405273e38ac34ea1406679 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/main.tf680 DEBU formatters signature for key opentofu: ccbae559816e50bde15e044573342597681 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/two.tf682 DEBU path matched global excludes: touch.toml683 DEBU path matched global excludes: treefmt.toml684 DEBU formatter | dos2unix: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml685 DEBU formatter | yamlfmt: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml686 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml687 DEBU formatters signature for key dos2unix:prettier:yamlfmt: 02249c54f7e737333b14d93d03cd89c6688 traversed 33 files689 emitted 22 files for processing690 formatted 0 files (0 changed) in 51ms691 DEBU no more files to read692 693 root_test.go:109: 694 695=== RUN TestOnUnmatched/error696 root_test.go:101: treefmt -vv --on-unmatched error697 root_test.go:101: 698 INFO config: no tree root specified699 INFO config: attempting to resolve tree root using jujutsu: jj workspace root700 DEBU tree-root-cmd | stderr: Error: There is no jj repo in "."701 DEBU tree-root-cmd | stdout:702 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1703 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel704 DEBU tree-root-cmd | stdout:705 DEBU tree-root-cmd | stderr: fatal: not a git repository (or any of the parent directories): .git706 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 128707 INFO config: setting tree root to the directory containing the config file: /build/TestOnUnmatched3744448920/001/treefmt.toml708 INFO config: tree root: /build/TestOnUnmatched3744448920/001709 DEBU formatter command not found: foo-fmt710 DEBU Resolving path '/build/TestOnUnmatched3744448920/001'711 DEBU walk | filesystem: file queued .gitignore712 DEBU walk | filesystem: file queued emoji 🕰️/README.md713 DEBU walk | filesystem: file queued go/go.mod714 DEBU walk | filesystem: file queued go/main.go715 DEBU walk | filesystem: file queued haskell/CHANGELOG.md716 DEBU walk | filesystem: file queued haskell/Foo.hs717 DEBU walk | filesystem: file queued haskell/Main.hs718 DEBU walk | filesystem: file queued haskell/Nested/Foo.hs719 DEBU walk | filesystem: file queued haskell/Setup.hs720 DEBU walk | filesystem: file queued haskell/haskell.cabal721 DEBU walk | filesystem: file queued haskell/treefmt.toml722 DEBU walk | filesystem: file queued haskell-frontend/CHANGELOG.md723 DEBU walk | filesystem: file queued haskell-frontend/Main.hs724 DEBU walk | filesystem: file queued haskell-frontend/Setup.hs725 DEBU walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal726 DEBU walk | filesystem: file queued html/index.html727 DEBU walk | filesystem: file queued html/scripts/.gitkeep728 DEBU walk | filesystem: file queued javascript/source/hello.js729 DEBU walk | filesystem: file queued just/justfile730 DEBU walk | filesystem: file queued nix/sources.nix731 DEBU walk | filesystem: file queued nixpkgs.toml732 DEBU walk | filesystem: file queued python/main.py733 DEBU walk | filesystem: file queued python/requirements.txt734 DEBU walk | filesystem: file queued python/virtualenv_proxy.py735 DEBU walk | filesystem: file queued ruby/bundler.rb736 DEBU walk | filesystem: file queued rust/Cargo.toml737 DEBU walk | filesystem: file queued rust/src/main.rs738 DEBU walk | filesystem: file queued shell/foo.sh739 DEBU walk | filesystem: file queued terraform/main.tf740 DEBU walk | filesystem: file queued terraform/two.tf741 DEBU walk | filesystem: file queued touch.toml742 DEBU walk | filesystem: file queued treefmt.toml743 DEBU walk | filesystem: file queued yaml/test.yaml744 DEBU walk | cache: read 33 files from delegate745 DEBU read 33 files746 ERRO no formatter for path: .gitignore747 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/emoji 🕰️/README.md748 DEBU formatters signature for key prettier: 43d4aa9284a561523060faf3c1317913749 ERRO no formatter for path: go/go.mod750 DEBU formatter | go: match: /build/TestOnUnmatched3744448920/001/go/main.go751 DEBU formatters signature for key go: eb842d37c82e3f9ecacbbc7d28914fb2752 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell/CHANGELOG.md753 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Foo.hs754 DEBU formatters signature for key haskell: af7e9dc8b3ac878a1b47756c5cae8ecc755 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Main.hs756 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Nested/Foo.hs757 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Setup.hs758 ERRO no formatter for path: haskell/haskell.cabal759 DEBU path matched global excludes: haskell/treefmt.toml760 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/CHANGELOG.md761 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Main.hs762 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Setup.hs763 ERRO no formatter for path: haskell-frontend/haskell-frontend.cabal764 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/html/index.html765 ERRO no formatter for path: html/scripts/.gitkeep766 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/javascript/source/hello.js767 DEBU formatter | just: match: /build/TestOnUnmatched3744448920/001/just/justfile768 DEBU formatters signature for key just: 3bfe28bbc0d884b31e3c52778c0d0fc7769 DEBU formatter | alejandra[1]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix770 DEBU formatter | deadnix[2]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix771 DEBU formatters signature for key alejandra:deadnix: ab3b921397b21571d862f931fe1255e5772 DEBU path matched global excludes: nixpkgs.toml773 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/main.py774 DEBU formatters signature for key python: f2cecf672e759f0c230c6c0c6d2dcb59775 ERRO no formatter for path: python/requirements.txt776 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/virtualenv_proxy.py777 DEBU formatter | ruby: match: /build/TestOnUnmatched3744448920/001/ruby/bundler.rb778 DEBU formatters signature for key ruby: 28b1acb9bc8afb20ca582eeef6ec0c41779 DEBU path matched global excludes: rust/Cargo.toml780 DEBU formatter | rust: match: /build/TestOnUnmatched3744448920/001/rust/src/main.rs781 DEBU formatters signature for key rust: 927ebef84d202129ca109200eb672169782 DEBU formatter | shfmt[2]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh783 DEBU formatter | shellcheck[1]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh784 DEBU formatters signature for key shellcheck:shfmt: 1c8661bb8d587405273e38ac34ea1406785 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/main.tf786 DEBU formatters signature for key opentofu: ccbae559816e50bde15e044573342597787 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/two.tf788 DEBU path matched global excludes: touch.toml789 DEBU path matched global excludes: treefmt.toml790 DEBU formatter | yamlfmt: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml791 DEBU formatter | dos2unix: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml792 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml793 DEBU formatters signature for key dos2unix:prettier:yamlfmt: 02249c54f7e737333b14d93d03cd89c6794 traversed 33 files795 emitted 22 files for processing796 formatted 0 files (0 changed) in 262ms797 DEBU no more files to read798 799 root_test.go:101: 800 801 root_test.go:109: treefmt -vv802 root_test.go:109: 803 INFO config: no tree root specified804 INFO config: attempting to resolve tree root using jujutsu: jj workspace root805 DEBU tree-root-cmd | stderr: Error: There is no jj repo in "."806 DEBU tree-root-cmd | stdout:807 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 1808 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel809 DEBU tree-root-cmd | stdout:810 DEBU tree-root-cmd | stderr: fatal: not a git repository (or any of the parent directories): .git811 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 128812 INFO config: setting tree root to the directory containing the config file: /build/TestOnUnmatched3744448920/001/treefmt.toml813 INFO config: tree root: /build/TestOnUnmatched3744448920/001814 DEBU formatter command not found: foo-fmt815 DEBU Resolving path '/build/TestOnUnmatched3744448920/001'816 DEBU walk | filesystem: file queued .gitignore817 DEBU walk | filesystem: file queued emoji 🕰️/README.md818 DEBU walk | filesystem: file queued go/go.mod819 DEBU walk | filesystem: file queued go/main.go820 DEBU walk | filesystem: file queued haskell/CHANGELOG.md821 DEBU walk | filesystem: file queued haskell/Foo.hs822 DEBU walk | filesystem: file queued haskell/Main.hs823 DEBU walk | filesystem: file queued haskell/Nested/Foo.hs824 DEBU walk | filesystem: file queued haskell/Setup.hs825 DEBU walk | filesystem: file queued haskell/haskell.cabal826 DEBU walk | filesystem: file queued haskell/treefmt.toml827 DEBU walk | filesystem: file queued haskell-frontend/CHANGELOG.md828 DEBU walk | filesystem: file queued haskell-frontend/Main.hs829 DEBU walk | filesystem: file queued haskell-frontend/Setup.hs830 DEBU walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal831 DEBU walk | filesystem: file queued html/index.html832 DEBU walk | filesystem: file queued html/scripts/.gitkeep833 DEBU walk | filesystem: file queued javascript/source/hello.js834 DEBU walk | filesystem: file queued just/justfile835 DEBU walk | filesystem: file queued nix/sources.nix836 DEBU walk | filesystem: file queued nixpkgs.toml837 DEBU walk | filesystem: file queued python/main.py838 DEBU walk | filesystem: file queued python/requirements.txt839 DEBU walk | filesystem: file queued python/virtualenv_proxy.py840 DEBU walk | filesystem: file queued ruby/bundler.rb841 DEBU walk | filesystem: file queued rust/Cargo.toml842 DEBU walk | filesystem: file queued rust/src/main.rs843 DEBU walk | filesystem: file queued shell/foo.sh844 DEBU walk | filesystem: file queued terraform/main.tf845 DEBU walk | filesystem: file queued terraform/two.tf846 DEBU walk | filesystem: file queued touch.toml847 DEBU walk | filesystem: file queued treefmt.toml848 DEBU walk | filesystem: file queued yaml/test.yaml849 DEBU walk | cache: read 33 files from delegate850 DEBU read 33 files851 ERRO no formatter for path: .gitignore852 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/emoji 🕰️/README.md853 DEBU formatters signature for key prettier: 43d4aa9284a561523060faf3c1317913854 ERRO no formatter for path: go/go.mod855 DEBU formatter | go: match: /build/TestOnUnmatched3744448920/001/go/main.go856 DEBU formatters signature for key go: eb842d37c82e3f9ecacbbc7d28914fb2857 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell/CHANGELOG.md858 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Foo.hs859 DEBU formatters signature for key haskell: af7e9dc8b3ac878a1b47756c5cae8ecc860 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Main.hs861 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Nested/Foo.hs862 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell/Setup.hs863 ERRO no formatter for path: haskell/haskell.cabal864 DEBU path matched global excludes: haskell/treefmt.toml865 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/CHANGELOG.md866 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Main.hs867 DEBU formatter | haskell: match: /build/TestOnUnmatched3744448920/001/haskell-frontend/Setup.hs868 ERRO no formatter for path: haskell-frontend/haskell-frontend.cabal869 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/html/index.html870 ERRO no formatter for path: html/scripts/.gitkeep871 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/javascript/source/hello.js872 DEBU formatter | just: match: /build/TestOnUnmatched3744448920/001/just/justfile873 DEBU formatters signature for key just: 3bfe28bbc0d884b31e3c52778c0d0fc7874 DEBU formatter | deadnix[2]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix875 DEBU formatter | alejandra[1]: match: /build/TestOnUnmatched3744448920/001/nix/sources.nix876 DEBU formatters signature for key alejandra:deadnix: ab3b921397b21571d862f931fe1255e5877 DEBU path matched global excludes: nixpkgs.toml878 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/main.py879 DEBU formatters signature for key python: f2cecf672e759f0c230c6c0c6d2dcb59880 ERRO no formatter for path: python/requirements.txt881 DEBU formatter | python: match: /build/TestOnUnmatched3744448920/001/python/virtualenv_proxy.py882 DEBU formatter | ruby: match: /build/TestOnUnmatched3744448920/001/ruby/bundler.rb883 DEBU formatters signature for key ruby: 28b1acb9bc8afb20ca582eeef6ec0c41884 DEBU path matched global excludes: rust/Cargo.toml885 DEBU formatter | rust: match: /build/TestOnUnmatched3744448920/001/rust/src/main.rs886 DEBU formatters signature for key rust: 927ebef84d202129ca109200eb672169887 DEBU formatter | shellcheck[1]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh888 DEBU formatter | shfmt[2]: match: /build/TestOnUnmatched3744448920/001/shell/foo.sh889 DEBU formatters signature for key shellcheck:shfmt: 1c8661bb8d587405273e38ac34ea1406890 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/main.tf891 DEBU formatters signature for key opentofu: ccbae559816e50bde15e044573342597892 DEBU formatter | opentofu: match: /build/TestOnUnmatched3744448920/001/terraform/two.tf893 DEBU path matched global excludes: touch.toml894 DEBU path matched global excludes: treefmt.toml895 DEBU formatter | prettier: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml896 DEBU formatter | dos2unix: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml897 DEBU formatter | yamlfmt: match: /build/TestOnUnmatched3744448920/001/yaml/test.yaml898 DEBU formatters signature for key dos2unix:prettier:yamlfmt: 02249c54f7e737333b14d93d03cd89c6899 traversed 33 files900 emitted 22 files for processing901 formatted 0 files (0 changed) in 128ms902 DEBU no more files to read903 904 root_test.go:109: 905 906=== RUN TestOnUnmatched/invalid907 root_test.go:125: treefmt --on-unmatched foo908 root_test.go:125: 909 Error: failed to create composite formatter: invalid on-unmatched value: invalid level: "foo"910 911 root_test.go:125: 912 913 root_test.go:132: treefmt 914 root_test.go:132: 915 Error: failed to create composite formatter: invalid on-unmatched value: invalid level: "bar"916 917 root_test.go:132: 918 919--- PASS: TestOnUnmatched (2.80s)920 --- PASS: TestOnUnmatched/default (0.79s)921 --- PASS: TestOnUnmatched/fatal (0.11s)922 --- PASS: TestOnUnmatched/debug (0.17s)923 --- PASS: TestOnUnmatched/info (0.15s)924 --- PASS: TestOnUnmatched/warn (0.12s)925 --- PASS: TestOnUnmatched/error (0.39s)926 --- PASS: TestOnUnmatched/invalid (0.05s)927=== RUN TestQuiet928 root_test.go:149: treefmt -q929 root_test.go:149: 930 931 root_test.go:149: 932 933 root_test.go:150: treefmt --quiet934 root_test.go:150: 935 936 root_test.go:150: 937 938 root_test.go:153: treefmt 939 root_test.go:153: 940 941 root_test.go:153: 942 943 root_test.go:158: treefmt 944 root_test.go:158: 945 Error: failed to create composite formatter: failed to initialise formatter foo-fmt: formatter command not found in PATH: error looking up 'foo-fmt'946 947 root_test.go:158: 948 949--- PASS: TestQuiet (1.84s)950=== RUN TestCpuProfile951 root_test.go:172: treefmt --cpu-profile cpu.pprof952 root_test.go:172: 953 traversed 34 files954 emitted 22 files for processing955 formatted 22 files (4 changed) in 355ms956 957 root_test.go:172: 958 959 root_test.go:182: treefmt 960 root_test.go:182: 961 traversed 35 files962 emitted 22 files for processing963 formatted 0 files (0 changed) in 31ms964 965 root_test.go:182: 966 967--- PASS: TestCpuProfile (1.44s)968=== RUN TestAllowMissingFormatter969=== RUN TestAllowMissingFormatter/default970 root_test.go:202: treefmt 971 root_test.go:202: 972 Error: failed to create composite formatter: failed to initialise formatter foo-fmt: formatter command not found in PATH: error looking up 'foo-fmt'973 974 root_test.go:202: 975 976=== RUN TestAllowMissingFormatter/arg977 root_test.go:210: treefmt --allow-missing-formatter978 root_test.go:210: 979 traversed 33 files980 emitted 0 files for processing981 formatted 0 files (0 changed) in 26ms982 983 root_test.go:210: 984 985=== RUN TestAllowMissingFormatter/env986 root_test.go:224: treefmt 987 root_test.go:224: 988 traversed 33 files989 emitted 0 files for processing990 formatted 0 files (0 changed) in 25ms991 992 root_test.go:224: 993 994--- PASS: TestAllowMissingFormatter (1.09s)995 --- PASS: TestAllowMissingFormatter/default (0.03s)996 --- PASS: TestAllowMissingFormatter/arg (0.03s)997 --- PASS: TestAllowMissingFormatter/env (0.03s)998=== RUN TestSpecifyingFormatters999=== RUN TestSpecifyingFormatters/default1000 root_test.go:257: treefmt 1001 root_test.go:257: 1002 traversed 33 files1003 emitted 3 files for processing1004 formatted 3 files (3 changed) in 31ms1005 1006 root_test.go:257: 1007 1008=== RUN TestSpecifyingFormatters/args1009 root_test.go:270: treefmt --formatters rust,nix1010 root_test.go:270: 1011 traversed 33 files1012 emitted 2 files for processing1013 formatted 2 files (2 changed) in 28ms1014 1015 root_test.go:270: 1016 1017 root_test.go:282: treefmt --formatters ruby,nix1018 root_test.go:282: 1019 traversed 33 files1020 emitted 2 files for processing1021 formatted 2 files (2 changed) in 29ms1022 1023 root_test.go:282: 1024 1025 root_test.go:294: treefmt --formatters nix1026 root_test.go:294: 1027 traversed 33 files1028 emitted 1 files for processing1029 formatted 1 files (1 changed) in 27ms1030 1031 root_test.go:294: 1032 1033 root_test.go:307: treefmt --formatters foo1034 root_test.go:307: 1035 Error: failed to load config: formatter foo not found in config1036 1037 root_test.go:307: 1038 1039=== RUN TestSpecifyingFormatters/env1040 root_test.go:318: treefmt 1041 root_test.go:318: 1042 traversed 33 files1043 emitted 2 files for processing1044 formatted 2 files (2 changed) in 22ms1045 1046 root_test.go:318: 1047 1048 root_test.go:331: treefmt 1049 root_test.go:331: 1050 Error: failed to load config: formatter bar not found in config1051 1052 root_test.go:331: 1053 1054=== RUN TestSpecifyingFormatters/bad_names1055 root_test.go:340: treefmt --formatters foo$1056 root_test.go:340: 1057 Error: failed to load config: formatter name "foo$" is invalid, must be of the form ^[a-zA-Z0-9_-]+$1058 1059 root_test.go:340: 1060 1061 root_test.go:349: treefmt 1062 root_test.go:349: 1063 Error: failed to load config: formatter name "foo$" is invalid, must be of the form ^[a-zA-Z0-9_-]+$1064 1065 root_test.go:349: 1066 1067 root_test.go:364: treefmt 1068 root_test.go:364: 1069 Error: failed to load config: formatter name "foo$" is invalid, must be of the form ^[a-zA-Z0-9_-]+$1070 1071 root_test.go:364: 1072 1073 root_test.go:340: treefmt --formatters /bar1074 root_test.go:340: 1075 Error: failed to load config: formatter name "/bar" is invalid, must be of the form ^[a-zA-Z0-9_-]+$1076 1077 root_test.go:340: 1078 1079 root_test.go:349: treefmt 1080 root_test.go:349: 1081 Error: failed to load config: formatter name "/bar" is invalid, must be of the form ^[a-zA-Z0-9_-]+$1082 1083 root_test.go:349: 1084 1085 root_test.go:364: treefmt 1086 root_test.go:364: 1087 Error: failed to load config: formatter name "/bar" is invalid, must be of the form ^[a-zA-Z0-9_-]+$1088 1089 root_test.go:364: 1090 1091 root_test.go:340: treefmt --formatters baz%1092 root_test.go:340: 1093 Error: failed to load config: formatter name "baz%" is invalid, must be of the form ^[a-zA-Z0-9_-]+$1094 1095 root_test.go:340: 1096 1097 root_test.go:349: treefmt 1098 root_test.go:349: 1099 Error: failed to load config: formatter name "baz%" is invalid, must be of the form ^[a-zA-Z0-9_-]+$1100 1101 root_test.go:349: 1102 1103 root_test.go:364: treefmt 1104 root_test.go:364: 1105 Error: failed to load config: formatter name "baz%" is invalid, must be of the form ^[a-zA-Z0-9_-]+$1106 1107 root_test.go:364: 1108 1109--- PASS: TestSpecifyingFormatters (1.26s)1110 --- PASS: TestSpecifyingFormatters/default (0.03s)1111 --- PASS: TestSpecifyingFormatters/args (0.10s)1112 --- PASS: TestSpecifyingFormatters/env (0.03s)1113 --- PASS: TestSpecifyingFormatters/bad_names (0.09s)1114=== RUN TestIncludesAndExcludes1115 root_test.go:393: treefmt 1116 root_test.go:393: 1117 traversed 33 files1118 emitted 33 files for processing1119 formatted 33 files (0 changed) in 28ms1120 1121 root_test.go:393: 1122 1123 root_test.go:407: treefmt -c1124 root_test.go:407: 1125 traversed 33 files1126 emitted 32 files for processing1127 formatted 32 files (0 changed) in 26ms1128 1129 root_test.go:407: 1130 1131 root_test.go:422: treefmt -c1132 root_test.go:422: 1133 traversed 33 files1134 emitted 26 files for processing1135 formatted 26 files (0 changed) in 29ms1136 1137 root_test.go:422: 1138 1139 root_test.go:439: treefmt -c1140 root_test.go:439: 1141 traversed 33 files1142 emitted 24 files for processing1143 formatted 24 files (0 changed) in 25ms1144 1145 root_test.go:439: 1146 1147 root_test.go:454: treefmt -c1148 root_test.go:454: 1149 traversed 33 files1150 emitted 23 files for processing1151 formatted 23 files (0 changed) in 31ms1152 1153 root_test.go:454: 1154 1155 root_test.go:471: treefmt -c1156 root_test.go:471: 1157 traversed 33 files1158 emitted 1 files for processing1159 formatted 1 files (0 changed) in 23ms1160 1161 root_test.go:471: 1162 1163 root_test.go:486: treefmt -c1164 root_test.go:486: 1165 traversed 33 files1166 emitted 2 files for processing1167 formatted 2 files (0 changed) in 23ms1168 1169 root_test.go:486: 1170 1171--- PASS: TestIncludesAndExcludes (1.20s)1172=== RUN TestConfigFile1173=== RUN TestConfigFile/treefmt.toml1174 root_test.go:514: treefmt --config-file /build/TestConfigFiletreefmt.toml1568426568/003/treefmt.toml1175 root_test.go:514: 1176 traversed 1 files1177 emitted 1 files for processing1178 formatted 1 files (0 changed) in 28ms1179 1180 root_test.go:514: 1181 1182 root_test.go:533: treefmt --config-file /build/TestConfigFiletreefmt.toml1568426568/003/treefmt.toml --tree-root /build/TestConfigFiletreefmt.toml1568426568/0011183 root_test.go:533: 1184 traversed 33 files1185 emitted 33 files for processing1186 formatted 33 files (0 changed) in 15ms1187 1188 root_test.go:533: 1189 1190 root_test.go:545: setting env PRJ_ROOT=/build/TestConfigFiletreefmt.toml1568426568/0011191 root_test.go:545: setting env TREEFMT_CONFIG=/build/TestConfigFiletreefmt.toml1568426568/003/treefmt.toml1192 root_test.go:545: treefmt 1193 root_test.go:545: 1194 traversed 33 files1195 emitted 33 files for processing1196 formatted 0 files (0 changed) in 18ms1197 1198 root_test.go:545: 1199 1200 root_test.go:563: setting env PRJ_ROOT=/build/TestConfigFiletreefmt.toml1568426568/0031201 root_test.go:563: treefmt --tree-root /build/TestConfigFiletreefmt.toml1568426568/0011202 root_test.go:563: 1203 traversed 33 files1204 emitted 33 files for processing1205 formatted 0 files (0 changed) in 12ms1206 1207 root_test.go:563: 1208 1209 root_test.go:581: setting env PRJ_ROOT=/build/TestConfigFiletreefmt.toml1568426568/003/sub1210 root_test.go:581: treefmt --tree-root /build/TestConfigFiletreefmt.toml1568426568/0011211 root_test.go:581: 1212 Error: failed to find treefmt config file: could not find [treefmt.toml .treefmt.toml .config/treefmt.toml] in /build/TestConfigFiletreefmt.toml1568426568/0021213 1214 root_test.go:581: 1215 1216=== RUN TestConfigFile/.treefmt.toml1217 root_test.go:514: treefmt --config-file /build/TestConfigFile.treefmt.toml2547442809/003/.treefmt.toml1218 root_test.go:514: 1219 traversed 1 files1220 emitted 1 files for processing1221 formatted 1 files (0 changed) in 23ms1222 1223 root_test.go:514: 1224 1225 root_test.go:533: treefmt --config-file /build/TestConfigFile.treefmt.toml2547442809/003/.treefmt.toml --tree-root /build/TestConfigFile.treefmt.toml2547442809/0011226 root_test.go:533: 1227 traversed 33 files1228 emitted 33 files for processing1229 formatted 33 files (0 changed) in 18ms1230 1231 root_test.go:533: 1232 1233 root_test.go:545: setting env TREEFMT_CONFIG=/build/TestConfigFile.treefmt.toml2547442809/003/.treefmt.toml1234 root_test.go:545: setting env PRJ_ROOT=/build/TestConfigFile.treefmt.toml2547442809/0011235 root_test.go:545: treefmt 1236 root_test.go:545: 1237 traversed 33 files1238 emitted 33 files for processing1239 formatted 0 files (0 changed) in 13ms1240 1241 root_test.go:545: 1242 1243 root_test.go:563: setting env PRJ_ROOT=/build/TestConfigFile.treefmt.toml2547442809/0031244 root_test.go:563: treefmt --tree-root /build/TestConfigFile.treefmt.toml2547442809/0011245 root_test.go:563: 1246 traversed 33 files1247 emitted 33 files for processing1248 formatted 0 files (0 changed) in 12ms1249 1250 root_test.go:563: 1251 1252 root_test.go:581: setting env PRJ_ROOT=/build/TestConfigFile.treefmt.toml2547442809/003/sub1253 root_test.go:581: treefmt --tree-root /build/TestConfigFile.treefmt.toml2547442809/0011254 root_test.go:581: 1255 Error: failed to find treefmt config file: could not find [treefmt.toml .treefmt.toml .config/treefmt.toml] in /build/TestConfigFile.treefmt.toml2547442809/0021256 1257 root_test.go:581: 1258 1259--- PASS: TestConfigFile (2.16s)1260 --- PASS: TestConfigFile/treefmt.toml (1.08s)1261 --- PASS: TestConfigFile/.treefmt.toml (1.08s)1262=== RUN TestDotConfigDir1263=== RUN TestDotConfigDir/basic1264 root_test.go:609: treefmt 1265 root_test.go:609: 1266 traversed 33 files1267 emitted 33 files for processing1268 formatted 33 files (0 changed) in 25ms1269 1270 root_test.go:609: 1271 1272=== RUN TestDotConfigDir/project_root_ending_in_.config1273 root_test.go:646: treefmt 1274 root_test.go:646: 1275 traversed 33 files1276 emitted 33 files for processing1277 formatted 33 files (0 changed) in 33ms1278 1279 root_test.go:646: 1280 1281--- PASS: TestDotConfigDir (2.07s)1282 --- PASS: TestDotConfigDir/basic (1.03s)1283 --- PASS: TestDotConfigDir/project_root_ending_in_.config (1.04s)1284=== RUN TestCache1285 root_test.go:686: treefmt 1286 root_test.go:686: 1287 traversed 33 files1288 emitted 33 files for processing1289 formatted 33 files (33 changed) in 39ms1290 1291 root_test.go:686: 1292 1293 root_test.go:697: treefmt 1294 root_test.go:697: 1295 traversed 33 files1296 emitted 33 files for processing1297 formatted 0 files (0 changed) in 21ms1298 1299 root_test.go:697: 1300 1301 root_test.go:708: treefmt -c1302 root_test.go:708: 1303 traversed 33 files1304 emitted 33 files for processing1305 formatted 33 files (33 changed) in 30ms1306 1307 root_test.go:708: 1308 1309 root_test.go:720: treefmt 1310 root_test.go:720: 1311 traversed 33 files1312 emitted 33 files for processing1313 formatted 0 files (0 changed) in 28ms1314 1315 root_test.go:720: 1316 1317 root_test.go:731: treefmt 1318 root_test.go:731: 1319 traversed 33 files1320 emitted 33 files for processing1321 formatted 33 files (33 changed) in 34ms1322 1323 root_test.go:731: 1324 1325 root_test.go:743: treefmt --no-cache1326 root_test.go:743: 1327 traversed 33 files1328 emitted 33 files for processing1329 formatted 33 files (33 changed) in 27ms1330 1331 root_test.go:743: 1332 1333 root_test.go:771: treefmt 1334 root_test.go:771: 1335 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 11336 1337 /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch: unrecognized option '--bad-arg'1338 Try '/nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch --help' for more information.1339 1340 traversed 33 files1341 emitted 6 files for processing1342 formatted 0 files (0 changed) in 24ms1343 Error: failed to finalise formatting: formatting failures detected1344 1345 root_test.go:771: 1346 1347 root_test.go:784: treefmt 1348 root_test.go:784: 1349 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 11350 1351 /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch: unrecognized option '--bad-arg'1352 Try '/nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/touch --help' for more information.1353 1354 traversed 33 files1355 emitted 6 files for processing1356 formatted 0 files (0 changed) in 28ms1357 Error: failed to finalise formatting: formatting failures detected1358 1359 root_test.go:784: 1360 1361 root_test.go:806: treefmt 1362 root_test.go:806: 1363 traversed 33 files1364 emitted 6 files for processing1365 formatted 6 files (6 changed) in 26ms1366 1367 root_test.go:806: 1368 1369--- PASS: TestCache (1.27s)1370=== RUN TestChangeWorkingDirectory1371=== RUN TestChangeWorkingDirectory/default1372 root_test.go:848: treefmt 1373 root_test.go:848: 1374 Error: failed to find treefmt config file: could not find [treefmt.toml .treefmt.toml .config/treefmt.toml] in /build/TestChangeWorkingDirectorydefault2497182033/0021375 1376 root_test.go:848: 1377 1378 root_test.go:859: treefmt 1379 root_test.go:859: 1380 traversed 33 files1381 emitted 33 files for processing1382 formatted 33 files (33 changed) in 41ms1383 1384 root_test.go:859: 1385 1386=== RUN TestChangeWorkingDirectory/arg1387=== RUN TestChangeWorkingDirectory/arg/treefmt.toml1388 root_test.go:895: treefmt -C /build/TestChangeWorkingDirectoryargtreefmt.toml791705450/0011389 root_test.go:895: 1390 traversed 33 files1391 emitted 33 files for processing1392 formatted 33 files (33 changed) in 44ms1393 1394 root_test.go:895: 1395 1396=== RUN TestChangeWorkingDirectory/arg/.treefmt.toml1397 root_test.go:895: treefmt -C /build/TestChangeWorkingDirectoryarg.treefmt.toml2658777036/0011398 root_test.go:895: 1399 traversed 33 files1400 emitted 33 files for processing1401 formatted 33 files (33 changed) in 46ms1402 1403 root_test.go:895: 1404 1405=== RUN TestChangeWorkingDirectory/env1406=== RUN TestChangeWorkingDirectory/env/treefmt.toml1407 root_test.go:895: treefmt 1408 root_test.go:895: 1409 traversed 33 files1410 emitted 33 files for processing1411 formatted 33 files (33 changed) in 53ms1412 1413 root_test.go:895: 1414 1415=== RUN TestChangeWorkingDirectory/env/.treefmt.toml1416 root_test.go:895: treefmt 1417 root_test.go:895: 1418 traversed 33 files1419 emitted 33 files for processing1420 formatted 33 files (33 changed) in 63ms1421 1422 root_test.go:895: 1423 1424--- PASS: TestChangeWorkingDirectory (5.30s)1425 --- PASS: TestChangeWorkingDirectory/default (1.05s)1426 --- PASS: TestChangeWorkingDirectory/arg (2.11s)1427 --- PASS: TestChangeWorkingDirectory/arg/treefmt.toml (1.05s)1428 --- PASS: TestChangeWorkingDirectory/arg/.treefmt.toml (1.06s)1429 --- PASS: TestChangeWorkingDirectory/env (2.14s)1430 --- PASS: TestChangeWorkingDirectory/env/treefmt.toml (1.06s)1431 --- PASS: TestChangeWorkingDirectory/env/.treefmt.toml (1.07s)1432=== RUN TestFailOnChange1433=== RUN TestFailOnChange/change_size1434 root_test.go:943: treefmt --fail-on-change1435 root_test.go:943: 1436 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"1437 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"1438 traversed 33 files1439 emitted 2 files for processing1440 formatted 2 files (2 changed) in 39ms1441 Error: unexpected changes detected, --fail-on-change is enabled1442 1443 root_test.go:943: 1444 1445 root_test.go:959: treefmt --fail-on-change1446 root_test.go:959: 1447 traversed 33 files1448 emitted 2 files for processing1449 formatted 0 files (0 changed) in 33ms1450 1451 root_test.go:959: 1452 1453=== RUN TestFailOnChange/change_modtime1454 root_test.go:987: treefmt --fail-on-change1455 root_test.go:987: 1456 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"1457 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"1458 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"1459 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"1460 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"1461 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"1462 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"1463 traversed 33 files1464 emitted 7 files for processing1465 formatted 7 files (7 changed) in 53ms1466 Error: unexpected changes detected, --fail-on-change is enabled1467 1468 root_test.go:987: 1469 1470 root_test.go:1020: treefmt --fail-on-change1471 root_test.go:1020: 1472 traversed 33 files1473 emitted 7 files for processing1474 formatted 0 files (0 changed) in 30ms1475 1476 root_test.go:1020: 1477 1478--- PASS: TestFailOnChange (2.18s)1479 --- PASS: TestFailOnChange/change_size (1.08s)1480 --- PASS: TestFailOnChange/change_modtime (1.09s)1481=== RUN TestCacheBusting1482=== RUN TestCacheBusting/formatter_change_config1483 root_test.go:1058: treefmt 1484 root_test.go:1058: 1485 traversed 33 files1486 emitted 8 files for processing1487 formatted 8 files (6 changed) in 34ms1488 1489 root_test.go:1058: 1490 1491 root_test.go:1072: treefmt 1492 root_test.go:1072: 1493 traversed 33 files1494 emitted 8 files for processing1495 formatted 6 files (6 changed) in 33ms1496 1497 root_test.go:1072: 1498 1499 root_test.go:1083: treefmt 1500 root_test.go:1083: 1501 traversed 33 files1502 emitted 8 files for processing1503 formatted 0 files (0 changed) in 29ms1504 1505 root_test.go:1083: 1506 1507 root_test.go:1097: treefmt 1508 root_test.go:1097: 1509 traversed 33 files1510 emitted 8 files for processing1511 formatted 6 files (0 changed) in 36ms1512 1513 root_test.go:1097: 1514 1515 root_test.go:1108: treefmt 1516 root_test.go:1108: 1517 traversed 33 files1518 emitted 8 files for processing1519 formatted 0 files (0 changed) in 37ms1520 1521 root_test.go:1108: 1522 1523 root_test.go:1123: treefmt 1524 root_test.go:1123: 1525 traversed 33 files1526 emitted 6 files for processing1527 formatted 0 files (0 changed) in 38ms1528 1529 root_test.go:1123: 1530 1531 root_test.go:1138: treefmt 1532 root_test.go:1138: 1533 traversed 33 files1534 emitted 5 files for processing1535 formatted 0 files (0 changed) in 37ms1536 1537 root_test.go:1138: 1538 1539=== RUN TestCacheBusting/formatter_change_binary1540 root_test.go:1185: treefmt 1541 root_test.go:1185: 1542 traversed 34 files1543 emitted 3 files for processing1544 formatted 3 files (1 changed) in 42ms1545 1546 root_test.go:1185: 1547 1548 root_test.go:1200: treefmt 1549 root_test.go:1200: 1550 traversed 34 files1551 emitted 3 files for processing1552 formatted 1 files (1 changed) in 37ms1553 1554 root_test.go:1200: 1555 1556 root_test.go:1211: treefmt 1557 root_test.go:1211: 1558 traversed 34 files1559 emitted 3 files for processing1560 formatted 0 files (0 changed) in 32ms1561 1562 root_test.go:1211: 1563 1564 root_test.go:1231: treefmt 1565 root_test.go:1231: 1566 traversed 34 files1567 emitted 3 files for processing1568 formatted 1 files (1 changed) in 37ms1569 1570 root_test.go:1231: 1571 1572 root_test.go:1242: treefmt 1573 root_test.go:1242: 1574 traversed 34 files1575 emitted 3 files for processing1576 formatted 0 files (0 changed) in 35ms1577 1578 root_test.go:1242: 1579 1580=== RUN TestCacheBusting/formatter_add_remove1581 root_test.go:1271: treefmt 1582 root_test.go:1271: 1583 traversed 33 files1584 emitted 2 files for processing1585 formatted 2 files (2 changed) in 34ms1586 1587 root_test.go:1271: 1588 1589 root_test.go:1283: treefmt 1590 root_test.go:1283: 1591 traversed 33 files1592 emitted 2 files for processing1593 formatted 0 files (0 changed) in 27ms1594 1595 root_test.go:1283: 1596 1597 root_test.go:1302: treefmt 1598 root_test.go:1302: 1599 traversed 33 files1600 emitted 3 files for processing1601 formatted 1 files (1 changed) in 32ms1602 1603 root_test.go:1302: 1604 1605 root_test.go:1321: treefmt 1606 root_test.go:1321: 1607 traversed 33 files1608 emitted 3 files for processing1609 formatted 2 files (2 changed) in 36ms1610 1611 root_test.go:1321: 1612 1613 root_test.go:1333: treefmt 1614 root_test.go:1333: 1615 traversed 33 files1616 emitted 3 files for processing1617 formatted 0 files (0 changed) in 35ms1618 1619 root_test.go:1333: 1620 1621 root_test.go:1349: treefmt 1622 root_test.go:1349: 1623 traversed 33 files1624 emitted 3 files for processing1625 formatted 2 files (2 changed) in 36ms1626 1627 root_test.go:1349: 1628 1629 root_test.go:1361: treefmt 1630 root_test.go:1361: 1631 traversed 33 files1632 emitted 3 files for processing1633 formatted 0 files (0 changed) in 31ms1634 1635 root_test.go:1361: 1636 1637 root_test.go:1376: treefmt 1638 root_test.go:1376: 1639 traversed 33 files1640 emitted 3 files for processing1641 formatted 2 files (2 changed) in 37ms1642 1643 root_test.go:1376: 1644 1645 root_test.go:1388: treefmt 1646 root_test.go:1388: 1647 traversed 33 files1648 emitted 3 files for processing1649 formatted 0 files (0 changed) in 32ms1650 1651 root_test.go:1388: 1652 1653 root_test.go:1404: treefmt 1654 root_test.go:1404: 1655 traversed 33 files1656 emitted 2 files for processing1657 formatted 0 files (0 changed) in 27ms1658 1659 root_test.go:1404: 1660 1661--- PASS: TestCacheBusting (3.80s)1662 --- PASS: TestCacheBusting/formatter_change_config (1.26s)1663 --- PASS: TestCacheBusting/formatter_change_binary (1.20s)1664 --- PASS: TestCacheBusting/formatter_add_remove (1.35s)1665=== RUN TestGit1666 root_test.go:1443: treefmt 1667 root_test.go:1443: 1668 traversed 33 files1669 emitted 33 files for processing1670 formatted 33 files (0 changed) in 38ms1671 1672 root_test.go:1443: 1673 1674 root_test.go:1458: treefmt 1675 root_test.go:1458: 1676 traversed 33 files1677 emitted 33 files for processing1678 formatted 0 files (0 changed) in 26ms1679 1680 root_test.go:1458: 1681 1682 root_test.go:1476: treefmt 1683 root_test.go:1476: 1684 traversed 33 files1685 emitted 33 files for processing1686 formatted 0 files (0 changed) in 30ms1687 1688 root_test.go:1476: 1689 1690 root_test.go:1491: treefmt 1691 root_test.go:1491: 1692 WARN walk | git: Path /build/TestGit3637193217/001/python/main.py was emitted by git but no file exists at that path1693 WARN walk | git: Path /build/TestGit3637193217/001/python/requirements.txt was emitted by git but no file exists at that path1694 WARN walk | git: Path /build/TestGit3637193217/001/python/virtualenv_proxy.py was emitted by git but no file exists at that path1695 traversed 30 files1696 emitted 30 files for processing1697 formatted 0 files (0 changed) in 28ms1698 1699 root_test.go:1491: 1700 1701 root_test.go:1508: treefmt --walk filesystem1702 root_test.go:1508: 1703 traversed 82 files1704 emitted 82 files for processing1705 formatted 53 files (0 changed) in 15ms1706 1707 root_test.go:1508: 1708 1709 root_test.go:1523: treefmt go1710 root_test.go:1523: 1711 traversed 2 files1712 emitted 2 files for processing1713 formatted 0 files (0 changed) in 28ms1714 1715 root_test.go:1523: 1716 1717 root_test.go:1535: treefmt go haskell1718 root_test.go:1535: 1719 traversed 9 files1720 emitted 9 files for processing1721 formatted 0 files (0 changed) in 30ms1722 1723 root_test.go:1535: 1724 1725 root_test.go:1547: treefmt -C /build/TestGit3637193217/001 go haskell ruby1726 root_test.go:1547: 1727 traversed 10 files1728 emitted 10 files for processing1729 formatted 0 files (0 changed) in 32ms1730 1731 root_test.go:1547: 1732 1733 root_test.go:1560: treefmt -C /build/TestGit3637193217/001 haskell foo1734 root_test.go:1560: 1735 Error: failed to create walker: path /build/TestGit3637193217/001/foo not found: lstat /build/TestGit3637193217/001/foo: no such file or directory1736 1737 root_test.go:1560: 1738 1739 root_test.go:1572: treefmt haskell foo.txt -vv1740 root_test.go:1572: 1741 INFO config: no tree root specified1742 INFO config: attempting to resolve tree root using jujutsu: jj workspace root1743 DEBU tree-root-cmd | stderr: Error: There is no jj repo in "."1744 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:1745 DEBU tree-root-cmd | stderr: jj git init1746 DEBU tree-root-cmd | stdout:1747 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 11748 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel1749 DEBU tree-root-cmd | stdout: /build/TestGit3637193217/0011750 1751 INFO config: tree root: /build/TestGit3637193217/0011752 DEBU Resolving path '/build/TestGit3637193217/001'1753 DEBU Resolving path 'haskell'1754 DEBU Resolving path 'haskell'1755 DEBU Resolving path 'foo.txt'1756 DEBU Resolving path 'foo.txt'1757 DEBU walk | git: processing file: /build/TestGit3637193217/001/foo.txt1758 DEBU walk | git: processing file: /build/TestGit3637193217/001/haskell/CHANGELOG.md1759 DEBU walk | git: processing file: /build/TestGit3637193217/001/haskell/Foo.hs1760 DEBU walk | git: processing file: /build/TestGit3637193217/001/haskell/Main.hs1761 DEBU walk | git: processing file: /build/TestGit3637193217/001/haskell/Nested/Foo.hs1762 DEBU walk | git: processing file: /build/TestGit3637193217/001/haskell/Setup.hs1763 DEBU walk | git: processing file: /build/TestGit3637193217/001/haskell/haskell.cabal1764 DEBU walk | git: processing file: /build/TestGit3637193217/001/haskell/treefmt.toml1765 DEBU walk | cache: read 8 files from delegate1766 DEBU read 8 files1767 DEBU formatter | echo: match: /build/TestGit3637193217/001/foo.txt1768 DEBU formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f1769 DEBU formatter | echo: match: /build/TestGit3637193217/001/haskell/CHANGELOG.md1770 DEBU formatter | echo: match: /build/TestGit3637193217/001/haskell/Foo.hs1771 DEBU formatter | echo: match: /build/TestGit3637193217/001/haskell/Main.hs1772 DEBU formatter | echo: match: /build/TestGit3637193217/001/haskell/Nested/Foo.hs1773 DEBU formatter | echo: match: /build/TestGit3637193217/001/haskell/Setup.hs1774 DEBU formatter | echo: match: /build/TestGit3637193217/001/haskell/haskell.cabal1775 DEBU formatter | echo: match: /build/TestGit3637193217/001/haskell/treefmt.toml1776 DEBU formatter | echo: executing: /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/echo foo.txt1777 INFO formatter | echo: 1 file(s) processed in 2.468693ms1778 traversed 8 files1779 emitted 8 files for processing1780 formatted 1 files (0 changed) in 36ms1781 DEBU no more files to read1782 1783 root_test.go:1572: 1784 1785 root_test.go:1584: treefmt go foo.txt1786 root_test.go:1584: 1787 traversed 3 files1788 emitted 3 files for processing1789 formatted 0 files (0 changed) in 32ms1790 1791 root_test.go:1584: 1792 1793 root_test.go:1596: treefmt foo.txt1794 root_test.go:1596: 1795 traversed 1 files1796 emitted 1 files for processing1797 formatted 0 files (0 changed) in 32ms1798 1799 root_test.go:1596: 1800 1801--- PASS: TestGit (1.38s)1802=== RUN TestJujutsu1803 root_test.go:1640: treefmt 1804 root_test.go:1640: 1805 traversed 0 files1806 emitted 0 files for processing1807 formatted 0 files (0 changed) in 40ms1808 1809 root_test.go:1640: 1810 1811 root_test.go:1656: treefmt 1812 root_test.go:1656: 1813 traversed 33 files1814 emitted 33 files for processing1815 formatted 33 files (0 changed) in 43ms1816 1817 root_test.go:1656: 1818 1819 root_test.go:1679: treefmt 1820 root_test.go:1679: 1821 traversed 33 files1822 emitted 33 files for processing1823 formatted 0 files (0 changed) in 39ms1824 1825 root_test.go:1679: 1826 1827 root_test.go:1698: treefmt 1828 root_test.go:1698: 1829 traversed 30 files1830 emitted 30 files for processing1831 formatted 0 files (0 changed) in 42ms1832 1833 root_test.go:1698: 1834 1835 root_test.go:1714: treefmt --walk filesystem1836 root_test.go:1714: 1837 traversed 137 files1838 emitted 137 files for processing1839 formatted 108 files (0 changed) in 20ms1840 1841 root_test.go:1714: 1842 1843 root_test.go:1729: treefmt go1844 root_test.go:1729: 1845 traversed 2 files1846 emitted 2 files for processing1847 formatted 0 files (0 changed) in 35ms1848 1849 root_test.go:1729: 1850 1851 root_test.go:1741: treefmt go haskell1852 root_test.go:1741: 1853 traversed 9 files1854 emitted 9 files for processing1855 formatted 0 files (0 changed) in 37ms1856 1857 root_test.go:1741: 1858 1859 root_test.go:1753: treefmt -C /build/TestJujutsu3446566435/001 go haskell ruby1860 root_test.go:1753: 1861 traversed 10 files1862 emitted 10 files for processing1863 formatted 0 files (0 changed) in 39ms1864 1865 root_test.go:1753: 1866 1867 root_test.go:1766: treefmt -C /build/TestJujutsu3446566435/001 haskell foo1868 root_test.go:1766: 1869 Error: failed to create walker: path /build/TestJujutsu3446566435/001/foo not found: lstat /build/TestJujutsu3446566435/001/foo: no such file or directory1870 1871 root_test.go:1766: 1872 1873 root_test.go:1782: treefmt haskell foo.txt -vv1874 root_test.go:1782: 1875 INFO config: no tree root specified1876 INFO config: attempting to resolve tree root using jujutsu: jj workspace root1877 DEBU tree-root-cmd | stdout: /build/TestJujutsu3446566435/0011878 1879 INFO config: tree root: /build/TestJujutsu3446566435/0011880 DEBU Resolving path '/build/TestJujutsu3446566435/001'1881 DEBU Resolving path 'haskell'1882 DEBU Resolving path 'haskell'1883 DEBU Resolving path 'foo.txt'1884 DEBU Resolving path 'foo.txt'1885 DEBU walk | jujutsu: processing file: /build/TestJujutsu3446566435/001/foo.txt1886 DEBU walk | jujutsu: processing file: /build/TestJujutsu3446566435/001/haskell/CHANGELOG.md1887 DEBU walk | jujutsu: processing file: /build/TestJujutsu3446566435/001/haskell/Foo.hs1888 DEBU walk | jujutsu: processing file: /build/TestJujutsu3446566435/001/haskell/Main.hs1889 DEBU walk | jujutsu: processing file: /build/TestJujutsu3446566435/001/haskell/Nested/Foo.hs1890 DEBU walk | jujutsu: processing file: /build/TestJujutsu3446566435/001/haskell/Setup.hs1891 DEBU walk | jujutsu: processing file: /build/TestJujutsu3446566435/001/haskell/haskell.cabal1892 DEBU walk | jujutsu: processing file: /build/TestJujutsu3446566435/001/haskell/treefmt.toml1893 DEBU walk | cache: read 8 files from delegate1894 DEBU read 8 files1895 DEBU formatter | echo: match: /build/TestJujutsu3446566435/001/foo.txt1896 DEBU formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f1897 DEBU formatter | echo: match: /build/TestJujutsu3446566435/001/haskell/CHANGELOG.md1898 DEBU formatter | echo: match: /build/TestJujutsu3446566435/001/haskell/Foo.hs1899 DEBU formatter | echo: match: /build/TestJujutsu3446566435/001/haskell/Main.hs1900 DEBU formatter | echo: match: /build/TestJujutsu3446566435/001/haskell/Nested/Foo.hs1901 DEBU formatter | echo: match: /build/TestJujutsu3446566435/001/haskell/Setup.hs1902 DEBU formatter | echo: match: /build/TestJujutsu3446566435/001/haskell/haskell.cabal1903 DEBU formatter | echo: match: /build/TestJujutsu3446566435/001/haskell/treefmt.toml1904 DEBU formatter | echo: executing: /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/echo foo.txt1905 INFO formatter | echo: 1 file(s) processed in 2.191094ms1906 traversed 8 files1907 emitted 8 files for processing1908 formatted 1 files (0 changed) in 47ms1909 DEBU no more files to read1910 1911 root_test.go:1782: 1912 1913 root_test.go:1794: treefmt go foo.txt1914 root_test.go:1794: 1915 traversed 3 files1916 emitted 3 files for processing1917 formatted 0 files (0 changed) in 35ms1918 1919 root_test.go:1794: 1920 1921 root_test.go:1806: treefmt foo.txt1922 root_test.go:1806: 1923 traversed 1 files1924 emitted 1 files for processing1925 formatted 0 files (0 changed) in 37ms1926 1927 root_test.go:1806: 1928 1929--- PASS: TestJujutsu (1.60s)1930=== RUN TestTreeRootCmd1931 root_test.go:1852: treefmt -vv --tree-root-cmd bash -c '>&2 echo -e "some error text1932 some more error text" && echo /build/TestTreeRootCmd531572047/001'1933 root_test.go:1852: 1934 INFO config: searching for tree root using tree-root-cmd: bash -c '>&2 echo -e "some error text1935 some more error text" && echo /build/TestTreeRootCmd531572047/001'1936 DEBU tree-root-cmd | stderr: some error text1937 DEBU tree-root-cmd | stderr: some more error text1938 DEBU tree-root-cmd | stdout: /build/TestTreeRootCmd531572047/0011939 1940 INFO config: tree root: /build/TestTreeRootCmd531572047/0011941 DEBU Resolving path '/build/TestTreeRootCmd531572047/001'1942 DEBU walk | filesystem: file queued .gitignore1943 DEBU walk | filesystem: file queued emoji 🕰️/README.md1944 DEBU walk | filesystem: file queued go/go.mod1945 DEBU walk | filesystem: file queued go/main.go1946 DEBU walk | filesystem: file queued haskell/CHANGELOG.md1947 DEBU walk | filesystem: file queued haskell/Foo.hs1948 DEBU walk | filesystem: file queued haskell/Main.hs1949 DEBU walk | filesystem: file queued haskell/Nested/Foo.hs1950 DEBU walk | filesystem: file queued haskell/Setup.hs1951 DEBU walk | filesystem: file queued haskell/haskell.cabal1952 DEBU walk | filesystem: file queued haskell/treefmt.toml1953 DEBU walk | filesystem: file queued haskell-frontend/CHANGELOG.md1954 DEBU walk | filesystem: file queued haskell-frontend/Main.hs1955 DEBU walk | filesystem: file queued haskell-frontend/Setup.hs1956 DEBU walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal1957 DEBU walk | filesystem: file queued html/index.html1958 DEBU walk | filesystem: file queued html/scripts/.gitkeep1959 DEBU walk | filesystem: file queued javascript/source/hello.js1960 DEBU walk | filesystem: file queued just/justfile1961 DEBU walk | filesystem: file queued nix/sources.nix1962 DEBU walk | filesystem: file queued nixpkgs.toml1963 DEBU walk | filesystem: file queued python/main.py1964 DEBU walk | filesystem: file queued python/requirements.txt1965 DEBU walk | filesystem: file queued python/virtualenv_proxy.py1966 DEBU walk | filesystem: file queued ruby/bundler.rb1967 DEBU walk | filesystem: file queued rust/Cargo.toml1968 DEBU walk | filesystem: file queued rust/src/main.rs1969 DEBU walk | filesystem: file queued shell/foo.sh1970 DEBU walk | filesystem: file queued terraform/main.tf1971 DEBU walk | filesystem: file queued terraform/two.tf1972 DEBU walk | filesystem: file queued touch.toml1973 DEBU walk | filesystem: file queued treefmt.toml1974 DEBU walk | filesystem: file queued yaml/test.yaml1975 DEBU walk | cache: read 33 files from delegate1976 DEBU read 33 files1977 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/.gitignore1978 DEBU formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f1979 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/emoji 🕰️/README.md1980 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/go/go.mod1981 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/go/main.go1982 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/CHANGELOG.md1983 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/Foo.hs1984 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/Main.hs1985 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/Nested/Foo.hs1986 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/Setup.hs1987 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/haskell.cabal1988 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/treefmt.toml1989 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell-frontend/CHANGELOG.md1990 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell-frontend/Main.hs1991 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell-frontend/Setup.hs1992 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell-frontend/haskell-frontend.cabal1993 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/html/index.html1994 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/html/scripts/.gitkeep1995 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/javascript/source/hello.js1996 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/just/justfile1997 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/nix/sources.nix1998 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/nixpkgs.toml1999 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/python/main.py2000 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/python/requirements.txt2001 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/python/virtualenv_proxy.py2002 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/ruby/bundler.rb2003 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/rust/Cargo.toml2004 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/rust/src/main.rs2005 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/shell/foo.sh2006 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/terraform/main.tf2007 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/terraform/two.tf2008 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/touch.toml2009 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/treefmt.toml2010 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/yaml/test.yaml2011 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.yaml2012 INFO formatter | echo: 33 file(s) processed in 2.849264ms2013 traversed 33 files2014 emitted 33 files for processing2015 formatted 33 files (0 changed) in 35ms2016 DEBU no more files to read2017 2018 root_test.go:1852: 2019 2020 root_test.go:1866: setting env TREEFMT_TREE_ROOT_CMD=bash -c '>&2 echo -e "some error text2021 some more error text" && echo /build/TestTreeRootCmd531572047/001/go'2022 root_test.go:1866: treefmt -vv2023 root_test.go:1866: 2024 INFO config: searching for tree root using tree-root-cmd: bash -c '>&2 echo -e "some error text2025 some more error text" && echo /build/TestTreeRootCmd531572047/001/go'2026 DEBU tree-root-cmd | stderr: some error text2027 DEBU tree-root-cmd | stderr: some more error text2028 DEBU tree-root-cmd | stdout: /build/TestTreeRootCmd531572047/001/go2029 2030 INFO config: tree root: /build/TestTreeRootCmd531572047/001/go2031 DEBU Resolving path '/build/TestTreeRootCmd531572047/001/go'2032 DEBU walk | filesystem: file queued go.mod2033 DEBU walk | filesystem: file queued main.go2034 DEBU walk | cache: read 2 files from delegate2035 DEBU read 2 files2036 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/go/go.mod2037 DEBU formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f2038 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/go/main.go2039 DEBU formatter | echo: executing: /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/echo go.mod main.go2040 INFO formatter | echo: 2 file(s) processed in 1.509212ms2041 traversed 2 files2042 emitted 2 files for processing2043 formatted 2 files (0 changed) in 24ms2044 DEBU no more files to read2045 2046 root_test.go:1866: 2047 2048 root_test.go:1885: treefmt -vv2049 root_test.go:1885: 2050 INFO config: searching for tree root using tree-root-cmd: bash -c '>&2 echo -e "some error text2051 some more error text" && echo /build/TestTreeRootCmd531572047/001/haskell'2052 DEBU tree-root-cmd | stderr: some error text2053 DEBU tree-root-cmd | stderr: some more error text2054 DEBU tree-root-cmd | stdout: /build/TestTreeRootCmd531572047/001/haskell2055 2056 INFO config: tree root: /build/TestTreeRootCmd531572047/001/haskell2057 DEBU Resolving path '/build/TestTreeRootCmd531572047/001/haskell'2058 DEBU walk | filesystem: file queued CHANGELOG.md2059 DEBU walk | filesystem: file queued Foo.hs2060 DEBU walk | filesystem: file queued Main.hs2061 DEBU walk | filesystem: file queued Nested/Foo.hs2062 DEBU walk | filesystem: file queued Setup.hs2063 DEBU walk | filesystem: file queued haskell.cabal2064 DEBU walk | filesystem: file queued treefmt.toml2065 DEBU walk | cache: read 7 files from delegate2066 DEBU read 7 files2067 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/CHANGELOG.md2068 DEBU formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f2069 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/Foo.hs2070 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/Main.hs2071 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/Nested/Foo.hs2072 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/Setup.hs2073 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/haskell.cabal2074 DEBU formatter | echo: match: /build/TestTreeRootCmd531572047/001/haskell/treefmt.toml2075 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.toml2076 INFO formatter | echo: 7 file(s) processed in 1.845985ms2077 traversed 7 files2078 emitted 7 files for processing2079 formatted 7 files (0 changed) in 27ms2080 DEBU no more files to read2081 2082 root_test.go:1885: 2083 2084 root_test.go:1899: treefmt -vv --tree-root-cmd bash -c 'sleep 2 && echo /build/TestTreeRootCmd531572047/001'2085 root_test.go:1899: 2086 INFO config: searching for tree root using tree-root-cmd: bash -c 'sleep 2 && echo /build/TestTreeRootCmd531572047/001'2087 DEBU tree-root-cmd | stdout:2088 Error: failed to load config: failed to determine tree root: tree-root-cmd was killed after taking more than 2s to execute2089 2090 root_test.go:1899: 2091 2092 root_test.go:1914: treefmt --tree-root-cmd bash -c 'echo /build/TestTreeRootCmd531572047/001 && echo /build/TestTreeRootCmd531572047/001'2093 root_test.go:1914: 2094 ERRO tree-root-cmd | stdout: 2095 /build/TestTreeRootCmd531572047/0012096 /build/TestTreeRootCmd531572047/0012097 2098 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'2099 2100 root_test.go:1914: 2101 2102--- PASS: TestTreeRootCmd (3.11s)2103=== RUN TestTreeRootExclusivity2104 root_test.go:1999: treefmt --tree-root bar --tree-root-cmd 'echo /foo/bar'2105 root_test.go:1999: 2106 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 set2107 2108 root_test.go:1999: 2109 Usage:2110 treefmt <paths...> [flags]2111 2112 Flags:2113 --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER)2114 --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)2115 -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE)2116 --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell.2117 --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml).2118 --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE)2119 --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES)2120 --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE)2121 -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS)2122 -h, --help help for treefmt2123 -i, --init Create a treefmt.toml file in the current directory.2124 --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE)2125 -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")2126 -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET)2127 --stdin Format the context passed in via stdin.2128 --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)2129 --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)2130 --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE)2131 -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE)2132 --version version for treefmt2133 --walk string The method used to traverse the files within the tree root. Currently supports <auto|git|jujutsu|filesystem>. (env $TREEFMT_WALK) (default "auto")2134 -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 ".")2135 2136 2137 root_test.go:2012: setting env TREEFMT_TREE_ROOT=bar2138 root_test.go:2012: setting env TREEFMT_TREE_ROOT_CMD=echo /foo/bar2139 root_test.go:2012: treefmt 2140 root_test.go:2012: 2141 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 specified2142 2143 root_test.go:2012: 2144 2145 root_test.go:2027: treefmt 2146 root_test.go:2027: 2147 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 specified2148 2149 root_test.go:2027: 2150 2151 root_test.go:1999: treefmt --tree-root bar --tree-root-file .git/config2152 root_test.go:1999: 2153 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 set2154 2155 root_test.go:1999: 2156 Usage:2157 treefmt <paths...> [flags]2158 2159 Flags:2160 --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER)2161 --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)2162 -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE)2163 --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell.2164 --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml).2165 --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE)2166 --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES)2167 --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE)2168 -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS)2169 -h, --help help for treefmt2170 -i, --init Create a treefmt.toml file in the current directory.2171 --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE)2172 -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")2173 -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET)2174 --stdin Format the context passed in via stdin.2175 --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)2176 --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)2177 --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE)2178 -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE)2179 --version version for treefmt2180 --walk string The method used to traverse the files within the tree root. Currently supports <auto|git|jujutsu|filesystem>. (env $TREEFMT_WALK) (default "auto")2181 -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 ".")2182 2183 2184 root_test.go:2012: setting env TREEFMT_TREE_ROOT=bar2185 root_test.go:2012: setting env TREEFMT_TREE_ROOT_FILE=.git/config2186 root_test.go:2012: treefmt 2187 root_test.go:2012: 2188 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 specified2189 2190 root_test.go:2012: 2191 2192 root_test.go:2027: treefmt 2193 root_test.go:2027: 2194 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 specified2195 2196 root_test.go:2027: 2197 2198 root_test.go:1999: treefmt --tree-root-cmd 'echo /foo/bar' --tree-root-file .git/config2199 root_test.go:1999: 2200 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 set2201 2202 root_test.go:1999: 2203 Usage:2204 treefmt <paths...> [flags]2205 2206 Flags:2207 --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER)2208 --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)2209 -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE)2210 --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell.2211 --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml).2212 --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE)2213 --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES)2214 --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE)2215 -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS)2216 -h, --help help for treefmt2217 -i, --init Create a treefmt.toml file in the current directory.2218 --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE)2219 -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")2220 -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET)2221 --stdin Format the context passed in via stdin.2222 --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)2223 --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)2224 --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE)2225 -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE)2226 --version version for treefmt2227 --walk string The method used to traverse the files within the tree root. Currently supports <auto|git|jujutsu|filesystem>. (env $TREEFMT_WALK) (default "auto")2228 -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 ".")2229 2230 2231 root_test.go:2012: setting env TREEFMT_TREE_ROOT_CMD=echo /foo/bar2232 root_test.go:2012: setting env TREEFMT_TREE_ROOT_FILE=.git/config2233 root_test.go:2012: treefmt 2234 root_test.go:2012: 2235 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 specified2236 2237 root_test.go:2012: 2238 2239 root_test.go:2027: treefmt 2240 root_test.go:2027: 2241 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 specified2242 2243 root_test.go:2027: 2244 2245 root_test.go:1999: treefmt --tree-root bar --tree-root-cmd 'echo /foo/bar' --tree-root-file .git/config2246 root_test.go:1999: 2247 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 set2248 2249 root_test.go:1999: 2250 Usage:2251 treefmt <paths...> [flags]2252 2253 Flags:2254 --allow-missing-formatter Do not exit with error if a configured formatter is missing. (env $TREEFMT_ALLOW_MISSING_FORMATTER)2255 --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)2256 -c, --clear-cache Reset the evaluation cache. Use in case the cache is not precise enough. (env $TREEFMT_CLEAR_CACHE)2257 --completion string [bash|zsh|fish] Generate shell completion scripts for the specified shell.2258 --config-file string Load the config file from the given path (defaults to searching upwards for treefmt.toml or .treefmt.toml).2259 --cpu-profile string The file into which a cpu profile will be written. (env $TREEFMT_CPU_PROFILE)2260 --excludes strings Exclude files or directories matching the specified globs. (env $TREEFMT_EXCLUDES)2261 --fail-on-change Exit with error if any changes were made. Useful for CI. (env $TREEFMT_FAIL_ON_CHANGE)2262 -f, --formatters strings Specify formatters to apply. Defaults to all configured formatters. (env $TREEFMT_FORMATTERS)2263 -h, --help help for treefmt2264 -i, --init Create a treefmt.toml file in the current directory.2265 --no-cache Ignore the evaluation cache entirely. Useful for CI. (env $TREEFMT_NO_CACHE)2266 -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")2267 -q, --quiet Disable all logs except errors. (env $TREEFMT_QUIET)2268 --stdin Format the context passed in via stdin.2269 --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)2270 --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)2271 --tree-root-file string File to search for to find the tree root. (env $TREEFMT_TREE_ROOT_FILE)2272 -v, --verbose count Set the verbosity of logs e.g. -vv. (env $TREEFMT_VERBOSE)2273 --version version for treefmt2274 --walk string The method used to traverse the files within the tree root. Currently supports <auto|git|jujutsu|filesystem>. (env $TREEFMT_WALK) (default "auto")2275 -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 ".")2276 2277 2278 root_test.go:2012: setting env TREEFMT_TREE_ROOT=bar2279 root_test.go:2012: setting env TREEFMT_TREE_ROOT_CMD=echo /foo/bar2280 root_test.go:2012: setting env TREEFMT_TREE_ROOT_FILE=.git/config2281 root_test.go:2012: treefmt 2282 root_test.go:2012: 2283 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 specified2284 2285 root_test.go:2012: 2286 2287 root_test.go:2027: treefmt 2288 root_test.go:2027: 2289 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 specified2290 2291 root_test.go:2027: 2292 2293--- PASS: TestTreeRootExclusivity (1.03s)2294=== RUN TestPathsArg2295 root_test.go:2077: treefmt 2296 root_test.go:2077: 2297 traversed 33 files2298 emitted 33 files for processing2299 formatted 33 files (0 changed) in 44ms2300 2301 root_test.go:2077: 2302 2303 root_test.go:2088: treefmt rust/src/main.rs haskell/Nested/Foo.hs2304 root_test.go:2088: 2305 traversed 2 files2306 emitted 2 files for processing2307 formatted 0 files (0 changed) in 31ms2308 2309 root_test.go:2088: 2310 2311 root_test.go:2103: treefmt /build/TestPathsArg3091766025/001/tree-root/rust/src/main.rs2312 root_test.go:2103: 2313 traversed 1 files2314 emitted 1 files for processing2315 formatted 0 files (0 changed) in 28ms2316 2317 root_test.go:2103: 2318 2319 root_test.go:2115: treefmt rust/src/main.rs haskell/Nested/Bar.hs2320 root_test.go:2115: 2321 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 directory2322 2323 root_test.go:2115: 2324 2325 root_test.go:2127: treefmt /build/TestPathsArg3091766025/001/outside_tree.go2326 root_test.go:2127: 2327 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)2328 2329 root_test.go:2127: 2330 2331 root_test.go:2138: treefmt ../outside_tree.go2332 root_test.go:2138: 2333 Error: failed to create walker: path ../outside_tree.go not inside the tree root /build/TestPathsArg3091766025/001/tree-root (relative path: ../outside_tree.go)2334 2335 root_test.go:2138: 2336 2337--- PASS: TestPathsArg (1.16s)2338=== RUN TestStdin2339 root_test.go:2167: treefmt --stdin2340 root_test.go:2167: 2341 Error: exactly one path should be specified when using the --stdin flag2342 2343 root_test.go:2167: 2344 2345 root_test.go:2180: treefmt --stdin test.nix2346 root_test.go:2180: 2347 traversed 1 files2348 emitted 1 files for processing2349 formatted 1 files (1 changed) in 61ms2350 2351 root_test.go:2180: 2352 { ...}: "hello"2353 2354 root_test.go:2200: treefmt --stdin ../test.nix2355 root_test.go:2200: 2356 Error: failed to create walker: path ../test.nix not inside the tree root /build/TestStdin3250235904/0012357 2358 root_test.go:2200: 2359 2360 root_test.go:2213: treefmt --stdin foo/../../test.nix2361 root_test.go:2213: 2362 Error: failed to create walker: path foo/../../test.nix not inside the tree root /build/TestStdin3250235904/0012363 2364 root_test.go:2213: 2365 2366 root_test.go:2225: treefmt --stdin ..lotsadots.nix2367 root_test.go:2225: 2368 traversed 1 files2369 emitted 1 files for processing2370 formatted 1 files (1 changed) in 54ms2371 2372 root_test.go:2225: 2373 { ...}: "hello"2374 2375 root_test.go:2249: treefmt --stdin test.md2376 root_test.go:2249: 2377 traversed 1 files2378 emitted 1 files for processing2379 formatted 1 files (1 changed) in 185ms2380 2381 root_test.go:2249: 2382 | col1 | col2 |2383 | ------ | --------- |2384 | nice | fits |2385 | oh no! | it's ugly |2386 2387 root_test.go:2276: treefmt --stdin foo/justfile2388 root_test.go:2276: 2389 traversed 1 files2390 emitted 1 files for processing2391 formatted 1 files (1 changed) in 48ms2392 2393 root_test.go:2276: 2394 # print this message2395 help:2396 just --list --list-submodules --unsorted2397 2398 root_test.go:2301: treefmt -vvv --stdin path/to/foo.embed-path2399 root_test.go:2301: 2400 INFO config: no tree root specified2401 INFO config: setting tree root to the directory containing the config file: /build/TestStdin3250235904/001/treefmt.toml2402 INFO config: tree root: /build/TestStdin3250235904/0012403 DEBU formatter command not found: foo-fmt2404 DEBU Resolving path '/build/TestStdin3250235904/001'2405 DEBU Resolving path 'path/to/foo.embed-path'2406 DEBU Path '/build/TestStdin3250235904/001/path/to/foo.embed-path' does not exist, treating it as resolved2407 DEBU Resolving path 'path/to/foo.embed-path'2408 DEBU Path '/build/TestStdin3250235904/001/path/to/foo.embed-path' does not exist, treating it as resolved2409 DEBU read 1 files2410 DEBU formatter | embed-path: match: /build/TestStdin3250235904/001/path/to/foo.embed-path2411 DEBU formatters signature for key embed-path: 66e6789096713b16f0c8aedd98cdb1d42412 DEBU formatter | embed-path: executing: /nix/store/7skfgallm2wpgk754y4fbbjlnlfydiwa-test-fmt-embed-path/bin/test-fmt-embed-path fmt --stdin-filepath path/to/foo.embed-path2413 INFO formatter | embed-path: 1 file(s) processed in 5.615847ms2414 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"2415 traversed 1 files2416 emitted 1 files for processing2417 formatted 1 files (1 changed) in 57ms2418 DEBU no more files to read2419 2420 root_test.go:2301: 2421 # path/to/foo.embed-path2422 2423 The formatter should add the path above this line.2424 2425 root_test.go:2332: treefmt --stdin ../foo/justfile2426 root_test.go:2332: 2427 traversed 1 files2428 emitted 1 files for processing2429 formatted 1 files (1 changed) in 69ms2430 2431 root_test.go:2332: 2432 # print this message2433 help:2434 just --list --list-submodules --unsorted2435 2436--- PASS: TestStdin (1.52s)2437=== RUN TestDeterministicOrderingInPipeline2438 root_test.go:2382: treefmt 2439 root_test.go:2382: 2440 traversed 33 files2441 emitted 2 files for processing2442 formatted 2 files (2 changed) in 41ms2443 2444 root_test.go:2382: 2445 2446 root_test.go:2420: treefmt --stdin treefmt.toml2447 root_test.go:2420: 2448 traversed 1 files2449 emitted 0 files for processing2450 formatted 0 files (0 changed) in 36ms2451 2452 root_test.go:2420: 2453 2454 foo = "bla"2455 bar = [ "bla" ]2456 adsfadf;2457 2458--- PASS: TestDeterministicOrderingInPipeline (1.09s)2459=== RUN TestRunInSubdir2460=== RUN TestRunInSubdir/auto2461 root_test.go:2489: treefmt 2462 root_test.go:2489: 2463 traversed 33 files2464 emitted 33 files for processing2465 formatted 33 files (0 changed) in 31ms2466 2467 root_test.go:2489: 2468 2469 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs2470 root_test.go:2501: 2471 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 directory2472 2473 root_test.go:2501: 2474 2475 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs2476 root_test.go:2509: 2477 traversed 2 files2478 emitted 2 files for processing2479 formatted 2 files (0 changed) in 31ms2480 2481 root_test.go:2509: 2482 2483=== RUN TestRunInSubdir/stdin2484 root_test.go:2489: treefmt 2485 root_test.go:2489: 2486 traversed 33 files2487 emitted 33 files for processing2488 formatted 33 files (0 changed) in 39ms2489 2490 root_test.go:2489: 2491 2492 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs2493 root_test.go:2501: 2494 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 directory2495 2496 root_test.go:2501: 2497 2498 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs2499 root_test.go:2509: 2500 traversed 2 files2501 emitted 2 files for processing2502 formatted 2 files (0 changed) in 33ms2503 2504 root_test.go:2509: 2505 2506=== RUN TestRunInSubdir/filesystem2507 root_test.go:2489: treefmt 2508 root_test.go:2489: 2509 traversed 33 files2510 emitted 33 files for processing2511 formatted 33 files (0 changed) in 39ms2512 2513 root_test.go:2489: 2514 2515 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs2516 root_test.go:2501: 2517 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 directory2518 2519 root_test.go:2501: 2520 2521 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs2522 root_test.go:2509: 2523 traversed 2 files2524 emitted 2 files for processing2525 formatted 2 files (0 changed) in 32ms2526 2527 root_test.go:2509: 2528 2529=== RUN TestRunInSubdir/git2530 root_test.go:2489: treefmt 2531 root_test.go:2489: 2532 traversed 33 files2533 emitted 33 files for processing2534 formatted 33 files (0 changed) in 38ms2535 2536 root_test.go:2489: 2537 2538 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs2539 root_test.go:2501: 2540 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 directory2541 2542 root_test.go:2501: 2543 2544 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs2545 root_test.go:2509: 2546 traversed 2 files2547 emitted 2 files for processing2548 formatted 2 files (0 changed) in 32ms2549 2550 root_test.go:2509: 2551 2552=== RUN TestRunInSubdir/jujutsu2553 root_test.go:2489: treefmt 2554 root_test.go:2489: 2555 traversed 33 files2556 emitted 33 files for processing2557 formatted 33 files (0 changed) in 37ms2558 2559 root_test.go:2489: 2560 2561 root_test.go:2501: treefmt -c go/main.go haskell/Nested/Foo.hs2562 root_test.go:2501: 2563 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 directory2564 2565 root_test.go:2501: 2566 2567 root_test.go:2509: treefmt -c main.go ../haskell/Nested/Foo.hs2568 root_test.go:2509: 2569 traversed 2 files2570 emitted 2 files for processing2571 formatted 2 files (0 changed) in 29ms2572 2573 root_test.go:2509: 2574 2575--- PASS: TestRunInSubdir (5.51s)2576 --- PASS: TestRunInSubdir/auto (1.09s)2577 --- PASS: TestRunInSubdir/stdin (1.10s)2578 --- PASS: TestRunInSubdir/filesystem (1.10s)2579 --- PASS: TestRunInSubdir/git (1.12s)2580 --- PASS: TestRunInSubdir/jujutsu (1.09s)2581=== RUN TestProjectRootIsSymlink2582 root_test.go:2556: treefmt -c go/main.go2583 root_test.go:2556: 2584 traversed 1 files2585 emitted 1 files for processing2586 formatted 1 files (0 changed) in 37ms2587 2588 root_test.go:2556: 2589 2590 root_test.go:2568: treefmt -c symlink-to-yaml-dir2591 root_test.go:2568: 2592 traversed 1 files2593 emitted 1 files for processing2594 formatted 1 files (0 changed) in 38ms2595 2596 root_test.go:2568: 2597 2598 root_test.go:2580: treefmt -c .2599 root_test.go:2580: 2600 traversed 33 files2601 emitted 33 files for processing2602 formatted 33 files (0 changed) in 33ms2603 2604 root_test.go:2580: 2605 2606--- PASS: TestProjectRootIsSymlink (1.12s)2607=== RUN TestConcurrentInvocation2608 root_test.go:2621: treefmt --formatters slow2609 root_test.go:2632: treefmt --formatters echo2610 root_test.go:2632: 2611 Error: failed to open cache: failed to open cache db at /build/.cache/treefmt/eval-cache/ef85987f8899fb91317fa85b32634abeb2f0db9e3d9489353a5647be843a0c98.db: timeout2612 2613 root_test.go:2632: 2614 2615 root_test.go:2621: 2616 traversed 33 files2617 emitted 33 files for processing2618 formatted 33 files (33 changed) in 2.057s2619 2620 root_test.go:2621: 2621 2622 root_test.go:2645: treefmt --formatters slow2623 root_test.go:2656: treefmt -c --formatters echo2624 root_test.go:2656: 2625 traversed 33 files2626 emitted 33 files for processing2627 formatted 33 files (0 changed) in 41ms2628 2629 root_test.go:2656: 2630 2631 root_test.go:2645: 2632 traversed 33 files2633 emitted 33 files for processing2634 formatted 1 files (1 changed) in 2.043s2635 2636 root_test.go:2645: 2637 2638--- PASS: TestConcurrentInvocation (5.11s)2639=== RUN TestNoPositionalArgSupport2640 root_test.go:2682: treefmt 2641 root_test.go:2682: 2642 traversed 33 files2643 emitted 33 files for processing2644 formatted 33 files (33 changed) in 148ms2645 2646 root_test.go:2682: 2647 2648--- PASS: TestNoPositionalArgSupport (1.16s)2649=== RUN TestPrjRootBeatsConfigFileLocation2650 root_test.go:2714: setting env PRJ_ROOT=/build/TestPrjRootBeatsConfigFileLocation2570752619/001/go2651 root_test.go:2714: treefmt 2652 root_test.go:2714: 2653 traversed 2 files2654 emitted 2 files for processing2655 formatted 2 files (0 changed) in 22ms2656 2657 root_test.go:2714: 2658 2659--- PASS: TestPrjRootBeatsConfigFileLocation (1.03s)2660PASS2661coverage: 67.6% of statements2662ok github.com/numtide/treefmt/v2/cmd 52.259s coverage: 67.6% of statements2663 github.com/numtide/treefmt/v2/cmd/format coverage: 0.0% of statements2664 github.com/numtide/treefmt/v2/cmd/init coverage: 0.0% of statements2665=== RUN TestAllowMissingFormatter26662026/10/23 16:07:41 INFO config: no tree root specified26672026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root26682026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 126692026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel26702026/10/23 16:07:41 INFO config: tree root: /build/TestAllowMissingFormatter1801539364/00126712026/10/23 16:07:41 INFO config: no tree root specified26722026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root26732026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 126742026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel26752026/10/23 16:07:41 INFO config: tree root: /build/TestAllowMissingFormatter1801539364/00126762026/10/23 16:07:41 INFO config: no tree root specified26772026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root26782026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 126792026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel26802026/10/23 16:07:41 INFO config: tree root: /build/TestAllowMissingFormatter1801539364/00126812026/10/23 16:07:41 INFO config: no tree root specified26822026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root26832026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 126842026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel26852026/10/23 16:07:41 INFO config: tree root: /build/TestAllowMissingFormatter1801539364/0012686--- PASS: TestAllowMissingFormatter (0.07s)2687=== RUN TestCI26882026/10/23 16:07:41 INFO config: no tree root specified26892026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root26902026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 126912026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel26922026/10/23 16:07:41 INFO config: tree root: /build/TestCI1743384641/00126932026/10/23 16:07:41 INFO config: no tree root specified26942026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root26952026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 126962026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel26972026/10/23 16:07:41 INFO config: tree root: /build/TestCI1743384641/00126982026/10/23 16:07:41 INFO config: no tree root specified26992026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27002026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127012026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27022026/10/23 16:07:41 INFO config: tree root: /build/TestCI1743384641/00127032026/10/23 16:07:41 INFO config: no tree root specified27042026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27052026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127062026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27072026/10/23 16:07:41 INFO config: tree root: /build/TestCI1743384641/00127082026/10/23 16:07:41 INFO config: no tree root specified27092026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27102026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127112026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27122026/10/23 16:07:41 INFO config: tree root: /build/TestCI1743384641/0012713--- PASS: TestCI (0.08s)2714=== RUN TestClearCache27152026/10/23 16:07:41 INFO config: no tree root specified27162026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27172026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127182026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27192026/10/23 16:07:41 INFO config: tree root: /build/TestClearCache1845662673/00127202026/10/23 16:07:41 INFO config: no tree root specified27212026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27222026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127232026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27242026/10/23 16:07:41 INFO config: tree root: /build/TestClearCache1845662673/00127252026/10/23 16:07:41 INFO config: no tree root specified27262026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27272026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127282026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27292026/10/23 16:07:41 INFO config: tree root: /build/TestClearCache1845662673/00127302026/10/23 16:07:41 INFO config: no tree root specified27312026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27322026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127332026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27342026/10/23 16:07:41 INFO config: tree root: /build/TestClearCache1845662673/0012735--- PASS: TestClearCache (0.06s)2736=== RUN TestCpuProfile27372026/10/23 16:07:41 INFO config: no tree root specified27382026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27392026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127402026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27412026/10/23 16:07:41 INFO config: tree root: /build/TestCpuProfile1297821836/00127422026/10/23 16:07:41 INFO config: no tree root specified27432026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27442026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127452026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27462026/10/23 16:07:41 INFO config: tree root: /build/TestCpuProfile1297821836/00127472026/10/23 16:07:41 INFO config: no tree root specified27482026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27492026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127502026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27512026/10/23 16:07:41 INFO config: tree root: /build/TestCpuProfile1297821836/00127522026/10/23 16:07:41 INFO config: no tree root specified27532026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27542026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127552026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27562026/10/23 16:07:41 INFO config: tree root: /build/TestCpuProfile1297821836/0012757--- PASS: TestCpuProfile (0.08s)2758=== RUN TestExcludes27592026/10/23 16:07:41 INFO config: no tree root specified27602026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27612026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127622026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27632026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes1399660189/00127642026/10/23 16:07:41 INFO config: no tree root specified27652026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27662026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127672026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27682026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes1399660189/00127692026/10/23 16:07:41 INFO config: no tree root specified27702026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27712026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127722026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27732026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes1399660189/00127742026/10/23 16:07:41 INFO config: no tree root specified27752026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27762026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127772026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27782026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes1399660189/00127792026/10/23 16:07:41 INFO config: no tree root specified27802026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27812026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127822026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27832026/10/23 16:07:41 INFO config: tree root: /build/TestExcludes1399660189/0012784--- PASS: TestExcludes (0.11s)2785=== RUN TestFailOnChange27862026/10/23 16:07:41 INFO config: no tree root specified27872026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27882026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127892026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27902026/10/23 16:07:41 INFO config: tree root: /build/TestFailOnChange2486702626/00127912026/10/23 16:07:41 INFO config: no tree root specified27922026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27932026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127942026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel27952026/10/23 16:07:41 INFO config: tree root: /build/TestFailOnChange2486702626/00127962026/10/23 16:07:41 INFO config: no tree root specified27972026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root27982026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 127992026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28002026/10/23 16:07:41 INFO config: tree root: /build/TestFailOnChange2486702626/00128012026/10/23 16:07:41 INFO config: no tree root specified28022026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28032026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128042026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28052026/10/23 16:07:41 INFO config: tree root: /build/TestFailOnChange2486702626/0012806--- PASS: TestFailOnChange (0.07s)2807=== RUN TestFormatters28082026/10/23 16:07:41 INFO config: no tree root specified28092026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28102026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128112026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28122026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters1955079533/00128132026/10/23 16:07:41 INFO config: no tree root specified28142026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28152026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128162026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28172026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters1955079533/00128182026/10/23 16:07:41 INFO config: no tree root specified28192026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28202026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128212026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28222026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters1955079533/00128232026/10/23 16:07:41 INFO config: no tree root specified28242026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28252026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128262026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28272026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters1955079533/00128282026/10/23 16:07:41 INFO config: no tree root specified28292026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28302026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128312026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28322026/10/23 16:07:41 INFO config: tree root: /build/TestFormatters1955079533/0012833--- PASS: TestFormatters (0.09s)2834=== RUN TestNoCache28352026/10/23 16:07:41 INFO config: no tree root specified28362026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28372026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128382026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28392026/10/23 16:07:41 INFO config: tree root: /build/TestNoCache2298826622/00128402026/10/23 16:07:41 INFO config: no tree root specified28412026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28422026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128432026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28442026/10/23 16:07:41 INFO config: tree root: /build/TestNoCache2298826622/00128452026/10/23 16:07:41 INFO config: no tree root specified28462026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28472026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128482026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28492026/10/23 16:07:41 INFO config: tree root: /build/TestNoCache2298826622/00128502026/10/23 16:07:41 INFO config: no tree root specified28512026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28522026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128532026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28542026/10/23 16:07:41 INFO config: tree root: /build/TestNoCache2298826622/0012855--- PASS: TestNoCache (0.06s)2856=== RUN TestQuiet28572026/10/23 16:07:41 INFO config: no tree root specified28582026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28592026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128602026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28612026/10/23 16:07:41 INFO config: tree root: /build/TestQuiet2254565334/00128622026/10/23 16:07:41 INFO config: no tree root specified28632026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28642026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128652026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28662026/10/23 16:07:41 INFO config: tree root: /build/TestQuiet2254565334/00128672026/10/23 16:07:41 INFO config: no tree root specified28682026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28692026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128702026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28712026/10/23 16:07:41 INFO config: tree root: /build/TestQuiet2254565334/00128722026/10/23 16:07:41 INFO config: no tree root specified28732026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28742026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128752026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28762026/10/23 16:07:41 INFO config: tree root: /build/TestQuiet2254565334/0012877--- PASS: TestQuiet (0.07s)2878=== RUN TestOnUnmatched28792026/10/23 16:07:41 INFO config: no tree root specified28802026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28812026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128822026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28832026/10/23 16:07:41 INFO config: tree root: /build/TestOnUnmatched4155497741/00128842026/10/23 16:07:41 INFO config: no tree root specified28852026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28862026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128872026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28882026/10/23 16:07:41 INFO config: tree root: /build/TestOnUnmatched4155497741/00128892026/10/23 16:07:41 INFO config: no tree root specified28902026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28912026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128922026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28932026/10/23 16:07:41 INFO config: tree root: /build/TestOnUnmatched4155497741/00128942026/10/23 16:07:41 INFO config: no tree root specified28952026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root28962026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 128972026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel28982026/10/23 16:07:41 INFO config: tree root: /build/TestOnUnmatched4155497741/0012899--- PASS: TestOnUnmatched (0.04s)2900=== RUN TestTreeRoot29012026/10/23 16:07:41 INFO config: no tree root specified29022026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29032026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129042026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29052026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRoot2912401277/00129062026/10/23 16:07:41 INFO config: tree root specified explicitly: /foo/bar29072026/10/23 16:07:41 INFO config: tree root: /foo/bar29082026/10/23 16:07:41 INFO config: tree root specified explicitly: /fizz/buzz29092026/10/23 16:07:41 INFO config: tree root: /fizz/buzz29102026/10/23 16:07:41 INFO config: tree root specified explicitly: /flip/flop29112026/10/23 16:07:41 INFO config: tree root: /flip/flop2912--- PASS: TestTreeRoot (0.02s)2913=== RUN TestTreeRootFile29142026/10/23 16:07:41 INFO config: no tree root specified29152026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29162026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129172026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29182026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootFile1175100646/00129192026/10/23 16:07:41 INFO config: searching for tree root using tree-root-file: a.txt29202026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootFile1175100646/002/foo/bar29212026/10/23 16:07:41 INFO config: searching for tree root using tree-root-file: go.mod29222026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootFile1175100646/002/foo29232026/10/23 16:07:41 INFO config: searching for tree root using tree-root-file: .git/config29242026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootFile1175100646/0022925--- PASS: TestTreeRootFile (0.02s)2926=== RUN TestTreeRootCmd29272026/10/23 16:07:41 INFO config: no tree root specified29282026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29292026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129302026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29312026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootCmd4112707232/00129322026/10/23 16:07:41 INFO config: searching for tree root using tree-root-cmd: echo /build/TestTreeRootCmd4112707232/00229332026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootCmd4112707232/00229342026/10/23 16:07:41 INFO config: searching for tree root using tree-root-cmd: echo "/build/TestTreeRootCmd4112707232/002/foo"29352026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootCmd4112707232/002/foo29362026/10/23 16:07:41 INFO config: searching for tree root using tree-root-cmd: echo '/build/TestTreeRootCmd4112707232/002/bar'29372026/10/23 16:07:41 INFO config: tree root: /build/TestTreeRootCmd4112707232/002/bar29382026/10/23 16:07:41 INFO config: searching for tree root using tree-root-cmd: echo ''2939--- PASS: TestTreeRootCmd (0.03s)2940=== RUN TestVerbosity29412026/10/23 16:07:41 INFO config: no tree root specified29422026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29432026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129442026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29452026/10/23 16:07:41 INFO config: tree root: /build/TestVerbosity3814000416/00129462026/10/23 16:07:41 INFO config: no tree root specified29472026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29482026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129492026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29502026/10/23 16:07:41 INFO config: tree root: /build/TestVerbosity3814000416/00129512026/10/23 16:07:41 INFO config: no tree root specified29522026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29532026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129542026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29552026/10/23 16:07:41 INFO config: tree root: /build/TestVerbosity3814000416/0012956--- PASS: TestVerbosity (0.04s)2957=== RUN TestWalk29582026/10/23 16:07:41 INFO config: no tree root specified29592026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29602026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129612026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29622026/10/23 16:07:41 INFO config: tree root: /build/TestWalk860145176/00129632026/10/23 16:07:41 INFO config: no tree root specified29642026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29652026/10/23 16:07:41 INFO config: tree root: /build/TestWalk860145176/00129662026/10/23 16:07:41 INFO config: no tree root specified29672026/10/23 16:07:41 INFO config: setting tree root to the directory containing the config file: /build/TestWalk860145176/001/treefmt.toml29682026/10/23 16:07:41 INFO config: tree root: /build/TestWalk860145176/00129692026/10/23 16:07:41 INFO config: no tree root specified29702026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29712026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129722026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29732026/10/23 16:07:41 INFO config: tree root: /build/TestWalk860145176/0012974--- PASS: TestWalk (0.03s)2975=== RUN TestWorkingDirectory29762026/10/23 16:07:41 INFO config: no tree root specified29772026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29782026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129792026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29802026/10/23 16:07:41 INFO config: tree root: /build/TestWorkingDirectory1836811988/00129812026/10/23 16:07:41 INFO config: no tree root specified29822026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29832026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129842026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29852026/10/23 16:07:41 INFO config: tree root: /build/TestWorkingDirectory1836811988/00129862026/10/23 16:07:41 INFO config: no tree root specified29872026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29882026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129892026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29902026/10/23 16:07:41 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 12829912026/10/23 16:07:41 INFO config: setting tree root to the directory containing the config file: /build/TestWorkingDirectory1836811988/001/treefmt.toml29922026/10/23 16:07:41 INFO config: tree root: /build/TestWorkingDirectory1836811988/00129932026/10/23 16:07:41 INFO config: no tree root specified29942026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root29952026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 129962026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel29972026/10/23 16:07:41 INFO config: failed to resolve tree root with git: failed to execute tree-root-cmd: exit status 12829982026/10/23 16:07:41 INFO config: setting tree root to the directory containing the config file: /build/TestWorkingDirectory1836811988/001/treefmt.toml29992026/10/23 16:07:41 INFO config: tree root: /build/TestWorkingDirectory1836811988/0013000--- PASS: TestWorkingDirectory (0.07s)3001=== RUN TestStdin30022026/10/23 16:07:41 INFO config: no tree root specified30032026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root30042026/10/23 16:07:41 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 130052026/10/23 16:07:41 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel30062026/10/23 16:07:41 INFO config: tree root: /build/TestStdin3542950993/00130072026/10/23 16:07:41 INFO config: no tree root specified30082026/10/23 16:07:41 INFO config: attempting to resolve tree root using jujutsu: jj workspace root30092026/10/23 16:07:42 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 130102026/10/23 16:07:42 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel30112026/10/23 16:07:42 INFO config: tree root: /build/TestStdin3542950993/00130122026/10/23 16:07:42 INFO config: no tree root specified30132026/10/23 16:07:42 INFO config: attempting to resolve tree root using jujutsu: jj workspace root30142026/10/23 16:07:42 INFO config: failed to resolve tree root with jujutsu: failed to execute tree-root-cmd: exit status 130152026/10/23 16:07:42 INFO config: attempting to resolve tree root using git: git rev-parse --show-toplevel30162026/10/23 16:07:42 INFO config: tree root: /build/TestStdin3542950993/00130172026/10/23 16:07:42 INFO config: no tree root specified30182026/10/23 16:07:42 INFO config: setting tree root to the directory containing the config file: /build/TestStdin3542950993/001/treefmt.toml30192026/10/23 16:07:42 INFO config: tree root: /build/TestStdin3542950993/0013020--- PASS: TestStdin (0.05s)3021=== RUN TestSampleConfigFile30222026/10/23 16:07:42 INFO config: no tree root specified30232026/10/23 16:07:42 INFO config: setting tree root to the directory containing the config file: ../test/examples/treefmt.toml30242026/10/23 16:07:42 INFO config: tree root: /build/source/test/examples3025--- PASS: TestSampleConfigFile (0.00s)3026PASS3027coverage: 85.6% of statements3028ok github.com/numtide/treefmt/v2/config 2.057s coverage: 85.6% of statements3029=== RUN TestApplyWithDefaultStdin30302026/10/23 16:07:41 INFO formatter | cat: 1 file(s) processed in 7.447497ms3031--- PASS: TestApplyWithDefaultStdin (0.01s)3032=== RUN TestInvalidFormatterName3033--- PASS: TestInvalidFormatterName (0.01s)3034=== RUN TestFormatSignature3035=== RUN TestFormatSignature/change_formatter_mod_time3036 formatter_test.go:120: changing mod time of black3037 formatter_test.go:120: changing mod time of rufo3038=== RUN TestFormatSignature/modify_formatter_options3039=== RUN TestFormatSignature/add/remove_formatters3040--- PASS: TestFormatSignature (0.01s)3041 --- PASS: TestFormatSignature/change_formatter_mod_time (0.00s)3042 --- PASS: TestFormatSignature/modify_formatter_options (0.00s)3043 --- PASS: TestFormatSignature/add/remove_formatters (0.00s)3044=== RUN TestGlobs3045--- PASS: TestGlobs (0.00s)3046PASS3047coverage: 40.9% of statements3048ok github.com/numtide/treefmt/v2/format 1.049s coverage: 40.9% of statements3049 github.com/numtide/treefmt/v2/git coverage: 0.0% of statements3050 github.com/numtide/treefmt/v2/jujutsu coverage: 0.0% of statements3051 github.com/numtide/treefmt/v2/stats coverage: 0.0% of statements3052 github.com/numtide/treefmt/v2/test coverage: 0.0% of statements3053=== RUN TestFilesystemReaderCancellation3054--- PASS: TestFilesystemReaderCancellation (1.01s)3055=== RUN TestFilesystemReader3056--- PASS: TestFilesystemReader (1.02s)3057=== RUN TestFilesystemReaderSubpaths3058--- PASS: TestFilesystemReaderSubpaths (1.01s)3059=== RUN TestGitReader3060--- PASS: TestGitReader (2.28s)3061=== RUN TestJujutsuReader3062--- PASS: TestJujutsuReader (1.10s)3063=== RUN TestJujutsuReaderUsesTreeRoot3064--- PASS: TestJujutsuReaderUsesTreeRoot (0.05s)3065=== RUN TestAutoReaderPrefersJujutsuInColocatedRepo3066--- PASS: TestAutoReaderPrefersJujutsuInColocatedRepo (0.03s)3067=== RUN TestPathStreamReader30682026/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 path3069--- PASS: TestPathStreamReader (1.01s)3070=== RUN TestPathStreamReaderSubpath3071--- PASS: TestPathStreamReaderSubpath (1.01s)3072=== RUN TestPathStreamReaderPassesPathFilters3073--- PASS: TestPathStreamReaderPassesPathFilters (1.01s)3074=== RUN TestPathStreamReaderDelimiters3075--- PASS: TestPathStreamReaderDelimiters (1.01s)3076=== RUN TestPathStreamReaderCloseUnblocks3077--- PASS: TestPathStreamReaderCloseUnblocks (0.06s)3078=== RUN TestPathStreamReaderCommandFailure3079--- PASS: TestPathStreamReaderCommandFailure (1.01s)3080PASS3081coverage: 41.1% of statements3082ok github.com/numtide/treefmt/v2/walk 12.647s coverage: 41.1% of statements3083 github.com/numtide/treefmt/v2/walk/cache coverage: 0.0% of statements3084buildPhase completed in 1 minutes 12 secondscheckPhase
3085/nix/store/zkiy4zv8wz3v95bj6fdmkqwql8x1vnhb-stdenv-linux/setup: line 1769: getGoDirs: command not foundfixupPhase
3086shrinking RPATHs of ELF executables and libraries in /nix/store/52wljc4gg0hxmi36kf7i63s53kkcagn5-treefmt-97f6e163087checking for references to /build/ in /nix/store/52wljc4gg0hxmi36kf7i63s53kkcagn5-treefmt-97f6e16...3088patching script interpreter paths in /nix/store/52wljc4gg0hxmi36kf7i63s53kkcagn5-treefmt-97f6e16