mac02: building lffrqhza36qhy76n7zh0c9a5rlfald3h-treefmt-7c26ab7.drv Running phase: unpackPhase unpacking source archive /nix/store/xn6hyw22r8lrkk696dz6zxkkcyjqhpgw-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase Building subPackage . Building subPackage ./build Building subPackage ./cmd Building subPackage ./cmd/format Building subPackage ./cmd/init Building subPackage ./config Building subPackage ./format Building subPackage ./git Building subPackage ./jujutsu Building subPackage ./stats Building subPackage ./test Building subPackage ./walk Building subPackage ./walk/cache buildPhase completed in 39 seconds Running phase: checkPhase --- FAIL: TestOnUnmatched (1.77s) root_test.go:73: Error Trace: /nix/var/nix/builds/nix-95215-1815830081/source/cmd/root_test.go:73 /nix/var/nix/builds/nix-95215-1815830081/source/cmd/root_test.go:2892 /nix/var/nix/builds/nix-95215-1815830081/source/cmd/root_test.go:79 Error: Not equal: expected: []string{".gitignore", "go/go.mod", "haskell/haskell.cabal", "haskell-frontend/haskell-frontend.cabal", "html/scripts/.gitkeep", "python/requirements.txt"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,9 +1,2 @@ -([]string) (len=6) { - (string) (len=10) ".gitignore", - (string) (len=9) "go/go.mod", - (string) (len=21) "haskell/haskell.cabal", - (string) (len=39) "haskell-frontend/haskell-frontend.cabal", - (string) (len=21) "html/scripts/.gitkeep", - (string) (len=23) "python/requirements.txt" -} +([]string) Test: TestOnUnmatched --- FAIL: TestOnUnmatched/default (0.76s) root_test.go:79: treefmt -v testing.go:1913: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test --- FAIL: TestTreeRootCmd (1.12s) root_test.go:1850: treefmt -vv --tree-root-cmd bash -c '>&2 echo -e "some error text some more error text" && echo /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001' root_test.go:1845: Error Trace: /nix/var/nix/builds/nix-95215-1815830081/source/cmd/root_test.go:1845 /nix/var/nix/builds/nix-95215-1815830081/source/cmd/root_test.go:2892 /nix/var/nix/builds/nix-95215-1815830081/source/cmd/root_test.go:1850 Error: "INFO config: searching for tree root using tree-root-cmd: bash -c '>&2 echo -e \"some error text\nsome more error text\" && echo /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001'\nDEBUG tree-root-cmd | stderr: some error text\nDEBUG tree-root-cmd | stderr: some more error text\nDEBUG tree-root-cmd | stdout: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001\n\nINFO config: tree root: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001\nDEBUG Resolving path '/nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001'\nDEBUG walk | filesystem: file queued .gitignore\nDEBUG walk | filesystem: file queued emoji 🕰️/README.md\nDEBUG walk | filesystem: file queued go/go.mod\nDEBUG walk | filesystem: file queued go/main.go\nDEBUG walk | filesystem: file queued haskell/CHANGELOG.md\nDEBUG walk | filesystem: file queued haskell/Foo.hs\nDEBUG walk | filesystem: file queued haskell/Main.hs\nDEBUG walk | filesystem: file queued haskell/Nested/Foo.hs\nDEBUG walk | filesystem: file queued haskell/Setup.hs\nDEBUG walk | filesystem: file queued haskell/haskell.cabal\nDEBUG walk | filesystem: file queued haskell/treefmt.toml\nDEBUG walk | filesystem: file queued haskell-frontend/CHANGELOG.md\nDEBUG walk | filesystem: file queued haskell-frontend/Main.hs\nDEBUG walk | filesystem: file queued haskell-frontend/Setup.hs\nDEBUG walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal\nDEBUG walk | filesystem: file queued html/index.html\nDEBUG walk | filesystem: file queued html/scripts/.gitkeep\nDEBUG walk | filesystem: file queued javascript/source/hello.js\nDEBUG walk | filesystem: file queued just/justfile\nDEBUG walk | filesystem: file queued nix/sources.nix\nDEBUG walk | filesystem: file queued nixpkgs.toml\nDEBUG walk | filesystem: file queued python/main.py\nDEBUG walk | filesystem: file queued python/requirements.txt\nDEBUG walk | filesystem: file queued python/virtualenv_proxy.py\nDEBUG walk | filesystem: file queued ruby/bundler.rb\nDEBUG walk | filesystem: file queued rust/Cargo.toml\nDEBUG walk | filesystem: file queued rust/src/main.rs\nDEBUG walk | filesystem: file queued shell/foo.sh\nDEBUG walk | filesystem: file queued terraform/main.tf\nDEBUG walk | filesystem: file queued terraform/two.tf\nDEBUG walk | filesystem: file queued touch.toml\nDEBUG walk | filesystem: file queued treefmt.toml\nDEBUG walk | filesystem: file queued yaml/test.yaml\nDEBUG walk | cache: read 33 files from delegate\nDEBUG read 33 files\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/.gitignore\nDEBUG formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/emoji 🕰️/README.md\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/go/go.mod\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/go/main.go\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/haskell/CHANGELOG.md\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/haskell/Foo.hs\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/haskell/Main.hs\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/haskell/Nested/Foo.hs\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/haskell/Setup.hs\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/haskell/haskell.cabal\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/haskell/treefmt.toml\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/haskell-frontend/CHANGELOG.md\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/haskell-frontend/Main.hs\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/haskell-frontend/Setup.hs\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/haskell-frontend/haskell-frontend.cabal\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/html/index.html\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/html/scripts/.gitkeep\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/javascript/source/hello.js\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/just/justfile\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/nix/sources.nix\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/nixpkgs.toml\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/python/main.py\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/python/requirements.txt\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/python/virtualenv_proxy.py\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/ruby/bundler.rb\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/rust/Cargo.toml\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/rust/src/main.rs\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/shell/foo.sh\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/terraform/main.tf\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/terraform/two.tf\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/touch.toml\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/treefmt.toml\nDEBUG formatter | echo: match: /nix/var/nix/builds/nix-95215-1815830081/TestTreeRootCmd2022379580/001/yaml/test.yaml\nDEBUG formatter | echo: executing: /nix/store/chdj76m79c3lbwdn6bflwlqa2n2igx02-coreutils-9.10/bin/echo .gitignore emoji 🕰️/README.md go/go.mod go/main.go haskell/CHANGELOG.md haskell/Foo.hs haskell/Main.hs haskell/Nested/Foo.hs haskell/Setup.hs haskell/haskell.cabal haskell/treefmt.toml haskell-frontend/CHANGELOG.md haskell-frontend/Main.hs haskell-frontend/Setup.hs haskell-frontend/haskell-frontend.cabal html/index.html html/scripts/.gitkeep javascript/source/hello.js just/justfile nix/sources.nix nixpkgs.toml python/main.py python/requirements.txt python/virtualenv_proxy.py ruby/bundler.rb rust/Cargo.toml rust/src/main.rs shell/foo.sh terraform/main.tf terraform/two.tf touch.toml treefmt.toml yaml/test.yaml\nINFO formatter | echo: 33 file(s) processed in 9.193333ms\ntraversed 33 files\nemitted 33 files for processing\nformatted 33 files (0 changed) in 97ms\nDEBUG no more files to read\n" does not contain "DEBU tree-root-cmd | stderr: some error text\n" Test: TestTreeRootCmd FAIL FAIL github.com/numtide/treefmt/v2/cmd 57.199s FAIL