this derivation will be built: /nix/store/5dv9a3dnaq3ccvw3z2izchgpj2vwkrjd-treefmt-e2b5681.drv building '/nix/store/5dv9a3dnaq3ccvw3z2izchgpj2vwkrjd-treefmt-e2b5681.drv' treefmt-e2b5681> Running phase: unpackPhase treefmt-e2b5681> unpacking source archive /nix/store/81n4nqdvhis5x485lkngwr5h09r3vci8-source treefmt-e2b5681> source root is source treefmt-e2b5681> Running phase: patchPhase treefmt-e2b5681> Running phase: updateAutotoolsGnuConfigScriptsPhase treefmt-e2b5681> Running phase: configurePhase treefmt-e2b5681> Running phase: buildPhase treefmt-e2b5681> Building subPackage . treefmt-e2b5681> Building subPackage ./build treefmt-e2b5681> Building subPackage ./cmd treefmt-e2b5681> Building subPackage ./cmd/format treefmt-e2b5681> Building subPackage ./cmd/init treefmt-e2b5681> Building subPackage ./config treefmt-e2b5681> Building subPackage ./format treefmt-e2b5681> Building subPackage ./git treefmt-e2b5681> Building subPackage ./jujutsu treefmt-e2b5681> Building subPackage ./stats treefmt-e2b5681> Building subPackage ./test treefmt-e2b5681> Building subPackage ./walk treefmt-e2b5681> Building subPackage ./walk/cache treefmt-e2b5681> Running phase: checkPhase treefmt-e2b5681> --- FAIL: TestOnUnmatched (1.80s) treefmt-e2b5681> root_test.go:73: treefmt-e2b5681> Error Trace: /build/source/cmd/root_test.go:73 treefmt-e2b5681> /build/source/cmd/root_test.go:2892 treefmt-e2b5681> /build/source/cmd/root_test.go:79 treefmt-e2b5681> Error: Not equal: treefmt-e2b5681> expected: []string{".gitignore", "go/go.mod", "haskell/haskell.cabal", "haskell-frontend/haskell-frontend.cabal", "html/scripts/.gitkeep", "python/requirements.txt"} treefmt-e2b5681> actual : []string(nil) treefmt-e2b5681> treefmt-e2b5681> Diff: treefmt-e2b5681> --- Expected treefmt-e2b5681> +++ Actual treefmt-e2b5681> @@ -1,9 +1,2 @@ treefmt-e2b5681> -([]string) (len=6) { treefmt-e2b5681> - (string) (len=10) ".gitignore", treefmt-e2b5681> - (string) (len=9) "go/go.mod", treefmt-e2b5681> - (string) (len=21) "haskell/haskell.cabal", treefmt-e2b5681> - (string) (len=39) "haskell-frontend/haskell-frontend.cabal", treefmt-e2b5681> - (string) (len=21) "html/scripts/.gitkeep", treefmt-e2b5681> - (string) (len=23) "python/requirements.txt" treefmt-e2b5681> -} treefmt-e2b5681> +([]string) treefmt-e2b5681> treefmt-e2b5681> Test: TestOnUnmatched treefmt-e2b5681> --- FAIL: TestOnUnmatched/default (0.80s) treefmt-e2b5681> root_test.go:79: treefmt -v treefmt-e2b5681> testing.go:1913: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test treefmt-e2b5681> --- FAIL: TestTreeRootCmd (1.02s) treefmt-e2b5681> root_test.go:1850: treefmt -vv --tree-root-cmd bash -c '>&2 echo -e "some error text treefmt-e2b5681> some more error text" && echo /build/TestTreeRootCmd1163860937/001' treefmt-e2b5681> root_test.go:1845: treefmt-e2b5681> Error Trace: /build/source/cmd/root_test.go:1845 treefmt-e2b5681> /build/source/cmd/root_test.go:2892 treefmt-e2b5681> /build/source/cmd/root_test.go:1850 treefmt-e2b5681> Error: "INFO config: searching for tree root using tree-root-cmd: bash -c '>&2 echo -e \"some error text\nsome more error text\" && echo /build/TestTreeRootCmd1163860937/001'\nDEBUG tree-root-cmd | stderr: some error text\nDEBUG tree-root-cmd | stderr: some more error text\nDEBUG tree-root-cmd | stdout: /build/TestTreeRootCmd1163860937/001\n\nINFO config: tree root: /build/TestTreeRootCmd1163860937/001\nDEBUG Resolving path '/build/TestTreeRootCmd1163860937/001'\nDEBUG walk | filesystem: file queued .gitignore\nDEBUG walk | filesystem: file queued emoji 🕰️/README.md\nDEBUG walk | filesystem: file queued go/go.mod\nDEBUG walk | filesystem: file queued go/main.go\nDEBUG walk | filesystem: file queued haskell/CHANGELOG.md\nDEBUG walk | filesystem: file queued haskell/Foo.hs\nDEBUG walk | filesystem: file queued haskell/Main.hs\nDEBUG walk | filesystem: file queued haskell/Nested/Foo.hs\nDEBUG walk | filesystem: file queued haskell/Setup.hs\nDEBUG walk | filesystem: file queued haskell/haskell.cabal\nDEBUG walk | filesystem: file queued haskell/treefmt.toml\nDEBUG walk | filesystem: file queued haskell-frontend/CHANGELOG.md\nDEBUG walk | filesystem: file queued haskell-frontend/Main.hs\nDEBUG walk | filesystem: file queued haskell-frontend/Setup.hs\nDEBUG walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal\nDEBUG walk | filesystem: file queued html/index.html\nDEBUG walk | filesystem: file queued html/scripts/.gitkeep\nDEBUG walk | filesystem: file queued javascript/source/hello.js\nDEBUG walk | filesystem: file queued just/justfile\nDEBUG walk | filesystem: file queued nix/sources.nix\nDEBUG walk | filesystem: file queued nixpkgs.toml\nDEBUG walk | filesystem: file queued python/main.py\nDEBUG walk | filesystem: file queued python/requirements.txt\nDEBUG walk | filesystem: file queued python/virtualenv_proxy.py\nDEBUG walk | filesystem: file queued ruby/bundler.rb\nDEBUG walk | filesystem: file queued rust/Cargo.toml\nDEBUG walk | filesystem: file queued rust/src/main.rs\nDEBUG walk | filesystem: file queued shell/foo.sh\nDEBUG walk | filesystem: file queued terraform/main.tf\nDEBUG walk | filesystem: file queued terraform/two.tf\nDEBUG walk | filesystem: file queued touch.toml\nDEBUG walk | filesystem: file queued treefmt.toml\nDEBUG walk | filesystem: file queued yaml/test.yaml\nDEBUG walk | cache: read 33 files from delegate\nDEBUG read 33 files\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/.gitignore\nDEBUG formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/emoji 🕰️/README.md\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/go/go.mod\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/go/main.go\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell/CHANGELOG.md\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell/Foo.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell/Main.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell/Nested/Foo.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell/Setup.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell/haskell.cabal\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell/treefmt.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell-frontend/CHANGELOG.md\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell-frontend/Main.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell-frontend/Setup.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell-frontend/haskell-frontend.cabal\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/html/index.html\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/html/scripts/.gitkeep\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/javascript/source/hello.js\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/just/justfile\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/nix/sources.nix\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/nixpkgs.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/python/main.py\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/python/requirements.txt\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/python/virtualenv_proxy.py\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/ruby/bundler.rb\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/rust/Cargo.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/rust/src/main.rs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/shell/foo.sh\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/terraform/main.tf\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/terraform/two.tf\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/touch.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/treefmt.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/yaml/test.yaml\nDEBUG formatter | echo: executing: /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/echo .gitignore emoji 🕰️/README.md go/go.mod go/main.go haskell/CHANGELOG.md haskell/Foo.hs haskell/Main.hs haskell/Nested/Foo.hs haskell/Setup.hs haskell/haskell.cabal haskell/treefmt.toml haskell-frontend/CHANGELOG.md haskell-frontend/Main.hs haskell-frontend/Setup.hs haskell-frontend/haskell-frontend.cabal html/index.html html/scripts/.gitkeep javascript/source/hello.js just/justfile nix/sources.nix nixpkgs.toml python/main.py python/requirements.txt python/virtualenv_proxy.py ruby/bundler.rb rust/Cargo.toml rust/src/main.rs shell/foo.sh terraform/main.tf terraform/two.tf touch.toml treefmt.toml yaml/test.yaml\nINFO formatter | echo: 33 file(s) processed in 1.510222ms\ntraversed 33 files\nemitted 33 files for processing\nformatted 33 files (0 changed) in 19ms\nDEBUG no more files to read\n" does not contain "DEBU tree-root-cmd | stderr: some error text\n" treefmt-e2b5681> Test: TestTreeRootCmd treefmt-e2b5681> FAIL treefmt-e2b5681> FAIL github.com/numtide/treefmt/v2/cmd 45.531s treefmt-e2b5681> FAIL error: Cannot build '/nix/store/5dv9a3dnaq3ccvw3z2izchgpj2vwkrjd-treefmt-e2b5681.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/a7jwjkd9l8db6sb3y5jw28k8c068ksbs-treefmt-e2b5681 Last 25 log lines: > - (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.80s) > 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.02s) > root_test.go:1850: treefmt -vv --tree-root-cmd bash -c '>&2 echo -e "some error text > some more error text" && echo /build/TestTreeRootCmd1163860937/001' > root_test.go:1845: > Error Trace: /build/source/cmd/root_test.go:1845 > /build/source/cmd/root_test.go:2892 > /build/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 /build/TestTreeRootCmd1163860937/001'\nDEBUG tree-root-cmd | stderr: some error text\nDEBUG tree-root-cmd | stderr: some more error text\nDEBUG tree-root-cmd | stdout: /build/TestTreeRootCmd1163860937/001\n\nINFO config: tree root: /build/TestTreeRootCmd1163860937/001\nDEBUG Resolving path '/build/TestTreeRootCmd1163860937/001'\nDEBUG walk | filesystem: file queued .gitignore\nDEBUG walk | filesystem: file queued emoji 🕰️/README.md\nDEBUG walk | filesystem: file queued go/go.mod\nDEBUG walk | filesystem: file queued go/main.go\nDEBUG walk | filesystem: file queued haskell/CHANGELOG.md\nDEBUG walk | filesystem: file queued haskell/Foo.hs\nDEBUG walk | filesystem: file queued haskell/Main.hs\nDEBUG walk | filesystem: file queued haskell/Nested/Foo.hs\nDEBUG walk | filesystem: file queued haskell/Setup.hs\nDEBUG walk | filesystem: file queued haskell/haskell.cabal\nDEBUG walk | filesystem: file queued haskell/treefmt.toml\nDEBUG walk | filesystem: file queued haskell-frontend/CHANGELOG.md\nDEBUG walk | filesystem: file queued haskell-frontend/Main.hs\nDEBUG walk | filesystem: file queued haskell-frontend/Setup.hs\nDEBUG walk | filesystem: file queued haskell-frontend/haskell-frontend.cabal\nDEBUG walk | filesystem: file queued html/index.html\nDEBUG walk | filesystem: file queued html/scripts/.gitkeep\nDEBUG walk | filesystem: file queued javascript/source/hello.js\nDEBUG walk | filesystem: file queued just/justfile\nDEBUG walk | filesystem: file queued nix/sources.nix\nDEBUG walk | filesystem: file queued nixpkgs.toml\nDEBUG walk | filesystem: file queued python/main.py\nDEBUG walk | filesystem: file queued python/requirements.txt\nDEBUG walk | filesystem: file queued python/virtualenv_proxy.py\nDEBUG walk | filesystem: file queued ruby/bundler.rb\nDEBUG walk | filesystem: file queued rust/Cargo.toml\nDEBUG walk | filesystem: file queued rust/src/main.rs\nDEBUG walk | filesystem: file queued shell/foo.sh\nDEBUG walk | filesystem: file queued terraform/main.tf\nDEBUG walk | filesystem: file queued terraform/two.tf\nDEBUG walk | filesystem: file queued touch.toml\nDEBUG walk | filesystem: file queued treefmt.toml\nDEBUG walk | filesystem: file queued yaml/test.yaml\nDEBUG walk | cache: read 33 files from delegate\nDEBUG read 33 files\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/.gitignore\nDEBUG formatters signature for key echo: 72b64df76371f817db42b84ad3fc729f\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/emoji 🕰️/README.md\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/go/go.mod\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/go/main.go\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell/CHANGELOG.md\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell/Foo.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell/Main.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell/Nested/Foo.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell/Setup.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell/haskell.cabal\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell/treefmt.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell-frontend/CHANGELOG.md\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell-frontend/Main.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell-frontend/Setup.hs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/haskell-frontend/haskell-frontend.cabal\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/html/index.html\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/html/scripts/.gitkeep\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/javascript/source/hello.js\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/just/justfile\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/nix/sources.nix\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/nixpkgs.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/python/main.py\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/python/requirements.txt\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/python/virtualenv_proxy.py\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/ruby/bundler.rb\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/rust/Cargo.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/rust/src/main.rs\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/shell/foo.sh\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/terraform/main.tf\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/terraform/two.tf\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/touch.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/treefmt.toml\nDEBUG formatter | echo: match: /build/TestTreeRootCmd1163860937/001/yaml/test.yaml\nDEBUG formatter | echo: executing: /nix/store/hlxw2q9qansq7bn52xvlb5badw3z1v8s-coreutils-9.10/bin/echo .gitignore emoji 🕰️/README.md go/go.mod go/main.go haskell/CHANGELOG.md haskell/Foo.hs haskell/Main.hs haskell/Nested/Foo.hs haskell/Setup.hs haskell/haskell.cabal haskell/treefmt.toml haskell-frontend/CHANGELOG.md haskell-frontend/Main.hs haskell-frontend/Setup.hs haskell-frontend/haskell-frontend.cabal html/index.html html/scripts/.gitkeep javascript/source/hello.js just/justfile nix/sources.nix nixpkgs.toml python/main.py python/requirements.txt python/virtualenv_proxy.py ruby/bundler.rb rust/Cargo.toml rust/src/main.rs shell/foo.sh terraform/main.tf terraform/two.tf touch.toml treefmt.toml yaml/test.yaml\nINFO formatter | echo: 33 file(s) processed in 1.510222ms\ntraversed 33 files\nemitted 33 files for processing\nformatted 33 files (0 changed) in 19ms\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 45.531s > FAIL For full logs, run: nix log /nix/store/5dv9a3dnaq3ccvw3z2izchgpj2vwkrjd-treefmt-e2b5681.drv