Running phase: setupCompilerEnvironmentPhase Build with /nix/store/p4mr1gb17ys4vwiai6wm31y334gnljf1-ghc-9.10.3. Running phase: unpackPhase unpacking source archive /nix/store/4sg6846s7kcnh2rpkjdy7qjqlzipf44s-source source root is source Running phase: patchPhase Run jailbreak-cabal to lift version restrictions on build inputs. Running phase: compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.Xwof6hLG2U/setup-package.conf.d -threaded [1 of 2] Compiling Main ( /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs, /build/tmp.Xwof6hLG2U/Main.o ) [2 of 2] Linking Setup Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configureFlags: --verbose --prefix=/nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --with-gcc=gcc --package-db=/build/tmp.Xwof6hLG2U/package.conf.d --ghc-option=-j2 --ghc-option=+RTS --ghc-option=-A64M --ghc-option=-RTS --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --enable-split-sections --enable-library-stripping --enable-executable-stripping --extra-lib-dirs=/nix/store/04kpg6rvmahpgmhz4dbzad9nm8y1rpvb-ncurses-6.5/lib --extra-lib-dirs=/nix/store/5bwzyig82zkry402vfsn79qis7nzdlbd-libffi-3.5.2/lib --extra-lib-dirs=/nix/store/s48kpwzasghzwp1skd4mdrn5m52h54m7-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/79xf7l72ayi0w10qzx0fd1c8j17wvcr6-numactl-2.0.18/lib Using Parsec parser Configuring nixfmt-1.1.0... Dependency base: using base-4.20.2.0 Dependency megaparsec: using megaparsec-9.7.0 Dependency mtl: using mtl-2.3.1 Dependency parser-combinators: using parser-combinators-1.3.0 Dependency pretty-simple: using pretty-simple-4.1.4.0 Dependency scientific: using scientific-0.3.8.0 Dependency text: using text-2.1.3 Dependency transformers: using transformers-0.6.1.1 Dependency base: using base-4.20.2.0 Dependency bytestring: using bytestring-0.12.2.0 Dependency cmdargs: using cmdargs-0.10.22 Dependency directory: using directory-1.3.8.5 Dependency file-embed: using file-embed-0.0.16.0 Dependency filepath: using filepath-1.5.4.0 Dependency nixfmt: using nixfmt-1.1.0 Dependency process: using process-1.6.26.1 Dependency safe-exceptions: using safe-exceptions-0.1.7.4 Dependency text: using text-2.1.3 Dependency transformers: using transformers-0.6.1.1 Dependency unix: using unix-2.8.7.0 Source component graph: component lib component exe:nixfmt dependency lib Configured component graph: component nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN include base-4.20.2.0-a76a include megaparsec-9.7.0-GXJkgYbuGKFCkdobPEnaCx include mtl-2.3.1-614c include parser-combinators-1.3.0-B5flIve0AqrHq4qbHSH8La include pretty-simple-4.1.4.0-L6ZP6lu04xx1xGP5G1FwOA include scientific-0.3.8.0-HFjJkA1Sg0B7awZBBp8GQC include text-2.1.3-ae41 include transformers-0.6.1.1-e32c component nixfmt-1.1.0-F608O1RiKXP3Wx1z4Zj251-nixfmt include base-4.20.2.0-a76a include bytestring-0.12.2.0-e9c8 include cmdargs-0.10.22-9gN74eWxBKiAK14kr5hNK4 include directory-1.3.8.5-b21c include file-embed-0.0.16.0-89Cyc0Dr4a4J9byptLlLDS include filepath-1.5.4.0-f6e0 include nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN include process-1.6.26.1-be4b include safe-exceptions-0.1.7.4-5mDDyg6c7oZERlgQdHnzYL include text-2.1.3-ae41 include transformers-0.6.1.1-e32c include unix-2.8.7.0-c825 Linked component graph: unit nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN include base-4.20.2.0-a76a include megaparsec-9.7.0-GXJkgYbuGKFCkdobPEnaCx include mtl-2.3.1-614c include parser-combinators-1.3.0-B5flIve0AqrHq4qbHSH8La include pretty-simple-4.1.4.0-L6ZP6lu04xx1xGP5G1FwOA include scientific-0.3.8.0-HFjJkA1Sg0B7awZBBp8GQC include text-2.1.3-ae41 include transformers-0.6.1.1-e32c Nixfmt=nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN:Nixfmt,Nixfmt.Lexer=nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN:Nixfmt.Lexer,Nixfmt.Parser=nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN:Nixfmt.Parser,Nixfmt.Parser.Float=nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN:Nixfmt.Parser.Float,Nixfmt.Predoc=nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN:Nixfmt.Predoc,Nixfmt.Pretty=nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN:Nixfmt.Pretty,Nixfmt.Types=nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN:Nixfmt.Types,Nixfmt.Util=nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN:Nixfmt.Util unit nixfmt-1.1.0-F608O1RiKXP3Wx1z4Zj251-nixfmt include base-4.20.2.0-a76a include bytestring-0.12.2.0-e9c8 include cmdargs-0.10.22-9gN74eWxBKiAK14kr5hNK4 include directory-1.3.8.5-b21c include file-embed-0.0.16.0-89Cyc0Dr4a4J9byptLlLDS include filepath-1.5.4.0-f6e0 include nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN include process-1.6.26.1-be4b include safe-exceptions-0.1.7.4-5mDDyg6c7oZERlgQdHnzYL include text-2.1.3-ae41 include transformers-0.6.1.1-e32c include unix-2.8.7.0-c825 Ready component graph: definite nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN depends base-4.20.2.0-a76a depends megaparsec-9.7.0-GXJkgYbuGKFCkdobPEnaCx depends mtl-2.3.1-614c depends parser-combinators-1.3.0-B5flIve0AqrHq4qbHSH8La depends pretty-simple-4.1.4.0-L6ZP6lu04xx1xGP5G1FwOA depends scientific-0.3.8.0-HFjJkA1Sg0B7awZBBp8GQC depends text-2.1.3-ae41 depends transformers-0.6.1.1-e32c definite nixfmt-1.1.0-F608O1RiKXP3Wx1z4Zj251-nixfmt depends base-4.20.2.0-a76a depends bytestring-0.12.2.0-e9c8 depends cmdargs-0.10.22-9gN74eWxBKiAK14kr5hNK4 depends directory-1.3.8.5-b21c depends file-embed-0.0.16.0-89Cyc0Dr4a4J9byptLlLDS depends filepath-1.5.4.0-f6e0 depends nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN depends process-1.6.26.1-be4b depends safe-exceptions-0.1.7.4-5mDDyg6c7oZERlgQdHnzYL depends text-2.1.3-ae41 depends transformers-0.6.1.1-e32c depends unix-2.8.7.0-c825 Using Cabal-3.12.1.0 compiled by ghc-9.10 Using compiler: ghc-9.10.3 Using install prefix: /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0 Executables installed in: /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/bin Libraries installed in: /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-41c3/nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN Dynamic Libraries installed in: /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-41c3 Private executables installed in: /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/libexec/aarch64-linux-ghc-9.10.3-41c3/nixfmt-1.1.0 Data files installed in: /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/share/aarch64-linux-ghc-9.10.3-41c3/nixfmt-1.1.0 Documentation installed in: /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/share/doc/aarch64-linux-ghc-9.10.3-41c3/nixfmt-1.1.0 Configuration files installed in: /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/etc No alex found Using ar found on system at: /nix/store/2lhdrjxy65h7fl184q4751lgqzhqrsa2-binutils-wrapper-2.44/bin/ar No c2hs found No cpphs found No doctest found Using gcc version 15.2.0 given by user at: /nix/store/484f8q8xa48icqgdq9b67vhq8clcqjy9-gcc-wrapper-15.2.0/bin/gcc Using ghc version 9.10.3 found on system at: /nix/store/p4mr1gb17ys4vwiai6wm31y334gnljf1-ghc-9.10.3/bin/ghc Using ghc-pkg version 9.10.3 found on system at: /nix/store/p4mr1gb17ys4vwiai6wm31y334gnljf1-ghc-9.10.3/bin/ghc-pkg-9.10.3 No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.31.1 found on system at: /nix/store/p4mr1gb17ys4vwiai6wm31y334gnljf1-ghc-9.10.3/bin/haddock-ghc-9.10.3 No happy found Using haskell-suite found on system at: haskell-suite-dummy-location Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location No hmake found Using hpc version 0.69 found on system at: /nix/store/p4mr1gb17ys4vwiai6wm31y334gnljf1-ghc-9.10.3/bin/hpc-ghc-9.10.3 Using hsc2hs version 0.68.10 found on system at: /nix/store/p4mr1gb17ys4vwiai6wm31y334gnljf1-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3 No hscolour found No jhc found Using ld found on system at: /nix/store/484f8q8xa48icqgdq9b67vhq8clcqjy9-gcc-wrapper-15.2.0/bin/ld No pkg-config found Using runghc version 9.10.3 found on system at: /nix/store/p4mr1gb17ys4vwiai6wm31y334gnljf1-ghc-9.10.3/bin/runghc-9.10.3 Using strip version 2.44 found on system at: /nix/store/484f8q8xa48icqgdq9b67vhq8clcqjy9-gcc-wrapper-15.2.0/bin/strip Using tar found on system at: /nix/store/vawd4kk3lfqf4430hlcm077b5r2pd74a-gnutar-1.35/bin/tar No uhc found Running phase: buildPhase Preprocessing library for nixfmt-1.1.0... Building library for nixfmt-1.1.0... [1 of 8] Compiling Nixfmt.Parser.Float ( src/Nixfmt/Parser/Float.hs, dist/build/Nixfmt/Parser/Float.o, dist/build/Nixfmt/Parser/Float.dyn_o ) [2 of 8] Compiling Nixfmt.Types ( src/Nixfmt/Types.hs, dist/build/Nixfmt/Types.o, dist/build/Nixfmt/Types.dyn_o ) src/Nixfmt/Types.hs:372:68: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 372 | (List _ items _) | Prelude.length (unItems items) == 1 -> case Prelude.head (unItems items) of | ^^^^^^^^^^^^ src/Nixfmt/Types.hs:381:69: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 381 | (Set _ _ items _) | Prelude.length (unItems items) == 1 -> case Prelude.head (unItems items) of | ^^^^^^^^^^^^ [3 of 8] Compiling Nixfmt.Predoc ( src/Nixfmt/Predoc.hs, dist/build/Nixfmt/Predoc.o, dist/build/Nixfmt/Predoc.dyn_o ) src/Nixfmt/Predoc.hs:162:35: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 162 | if p /= [] && (isSoftSpacing (head p) || isSoftSpacing (last p)) | ^^^^ src/Nixfmt/Predoc.hs:620:27: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 620 | grp' = case head grp of | ^^^^ src/Nixfmt/Predoc.hs:621:30: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 621 | Spacing _ -> tail grp | ^^^^ src/Nixfmt/Predoc.hs:622:70: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.Data.List.uncons' instead. Consider refactoring to use "Data.List.NonEmpty"." | 622 | Group ann ((Spacing _) : inner) -> Group ann inner : tail grp | ^^^^ [4 of 8] Compiling Nixfmt.Util ( src/Nixfmt/Util.hs, dist/build/Nixfmt/Util.o, dist/build/Nixfmt/Util.dyn_o ) [5 of 8] Compiling Nixfmt.Pretty ( src/Nixfmt/Pretty.hs, dist/build/Nixfmt/Pretty.o, dist/build/Nixfmt/Pretty.dyn_o ) [6 of 8] Compiling Nixfmt.Lexer ( src/Nixfmt/Lexer.hs, dist/build/Nixfmt/Lexer.o, dist/build/Nixfmt/Lexer.dyn_o ) [7 of 8] Compiling Nixfmt.Parser ( src/Nixfmt/Parser.hs, dist/build/Nixfmt/Parser.o, dist/build/Nixfmt/Parser.dyn_o ) [8 of 8] Compiling Nixfmt ( src/Nixfmt.hs, dist/build/Nixfmt.o, dist/build/Nixfmt.dyn_o ) Preprocessing executable 'nixfmt' for nixfmt-1.1.0... Building executable 'nixfmt' for nixfmt-1.1.0... [1 of 4] Compiling Paths_nixfmt ( dist/build/nixfmt/autogen/Paths_nixfmt.hs, dist/build/nixfmt/nixfmt-tmp/Paths_nixfmt.o, dist/build/nixfmt/nixfmt-tmp/Paths_nixfmt.dyn_o ) [2 of 4] Compiling System.IO.Atomic ( main/System/IO/Atomic.hs, dist/build/nixfmt/nixfmt-tmp/System/IO/Atomic.o, dist/build/nixfmt/nixfmt-tmp/System/IO/Atomic.dyn_o ) [3 of 4] Compiling System.IO.Utf8 ( main/System/IO/Utf8.hs, dist/build/nixfmt/nixfmt-tmp/System/IO/Utf8.o, dist/build/nixfmt/nixfmt-tmp/System/IO/Utf8.dyn_o ) [4 of 4] Compiling Main ( main/Main.hs, dist/build/nixfmt/nixfmt-tmp/Main.o ) [5 of 5] Linking dist/build/nixfmt/nixfmt Running phase: checkPhase Package has no test suites. Running phase: haddockPhase Running phase: installPhase Installing library in /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-41c3/nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN Installing executable nixfmt in /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/bin Warning: The directory /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/bin is not in the system search path. Registering library for nixfmt-1.1.0... Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0 shrinking /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/bin/nixfmt shrinking /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-41c3/libHSnixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN-ghc9.10.3.so checking for references to /build/ in /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0... patching script interpreter paths in /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0 stripping (with command strip and flags -S -p) in /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/lib /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/bin