nixfmt-1.1.0
checks.aarch64-linux.treefmt
· build #516
· raw
setupCompilerEnvironmentPhase
1Build with /nix/store/p4mr1gb17ys4vwiai6wm31y334gnljf1-ghc-9.10.3.unpackPhase
2unpacking source archive /nix/store/4sg6846s7kcnh2rpkjdy7qjqlzipf44s-source3source root is sourcepatchPhase
4Run jailbreak-cabal to lift version restrictions on build inputs.compileBuildDriverPhase
5setupCompileFlags: -package-db=/build/tmp.Xwof6hLG2U/setup-package.conf.d -threaded6[1 of 2] Compiling Main ( /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs, /build/tmp.Xwof6hLG2U/Main.o )7[2 of 2] Linking SetupconfigurePhase
8configureFlags: --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/lib9Using Parsec parser10Configuring nixfmt-1.1.0...11Dependency base: using base-4.20.2.012Dependency megaparsec: using megaparsec-9.7.013Dependency mtl: using mtl-2.3.114Dependency parser-combinators: using parser-combinators-1.3.015Dependency pretty-simple: using pretty-simple-4.1.4.016Dependency scientific: using scientific-0.3.8.017Dependency text: using text-2.1.318Dependency transformers: using transformers-0.6.1.119Dependency base: using base-4.20.2.020Dependency bytestring: using bytestring-0.12.2.021Dependency cmdargs: using cmdargs-0.10.2222Dependency directory: using directory-1.3.8.523Dependency file-embed: using file-embed-0.0.16.024Dependency filepath: using filepath-1.5.4.025Dependency nixfmt: using nixfmt-1.1.026Dependency process: using process-1.6.26.127Dependency safe-exceptions: using safe-exceptions-0.1.7.428Dependency text: using text-2.1.329Dependency transformers: using transformers-0.6.1.130Dependency unix: using unix-2.8.7.031Source component graph:32 component lib33 component exe:nixfmt dependency lib34Configured component graph:35 component nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN36 include base-4.20.2.0-a76a37 include megaparsec-9.7.0-GXJkgYbuGKFCkdobPEnaCx38 include mtl-2.3.1-614c39 include parser-combinators-1.3.0-B5flIve0AqrHq4qbHSH8La40 include pretty-simple-4.1.4.0-L6ZP6lu04xx1xGP5G1FwOA41 include scientific-0.3.8.0-HFjJkA1Sg0B7awZBBp8GQC42 include text-2.1.3-ae4143 include transformers-0.6.1.1-e32c44 component nixfmt-1.1.0-F608O1RiKXP3Wx1z4Zj251-nixfmt45 include base-4.20.2.0-a76a46 include bytestring-0.12.2.0-e9c847 include cmdargs-0.10.22-9gN74eWxBKiAK14kr5hNK448 include directory-1.3.8.5-b21c49 include file-embed-0.0.16.0-89Cyc0Dr4a4J9byptLlLDS50 include filepath-1.5.4.0-f6e051 include nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN52 include process-1.6.26.1-be4b53 include safe-exceptions-0.1.7.4-5mDDyg6c7oZERlgQdHnzYL54 include text-2.1.3-ae4155 include transformers-0.6.1.1-e32c56 include unix-2.8.7.0-c82557Linked component graph:58 unit nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN59 include base-4.20.2.0-a76a60 include megaparsec-9.7.0-GXJkgYbuGKFCkdobPEnaCx61 include mtl-2.3.1-614c62 include parser-combinators-1.3.0-B5flIve0AqrHq4qbHSH8La63 include pretty-simple-4.1.4.0-L6ZP6lu04xx1xGP5G1FwOA64 include scientific-0.3.8.0-HFjJkA1Sg0B7awZBBp8GQC65 include text-2.1.3-ae4166 include transformers-0.6.1.1-e32c67 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.Util68 unit nixfmt-1.1.0-F608O1RiKXP3Wx1z4Zj251-nixfmt69 include base-4.20.2.0-a76a70 include bytestring-0.12.2.0-e9c871 include cmdargs-0.10.22-9gN74eWxBKiAK14kr5hNK472 include directory-1.3.8.5-b21c73 include file-embed-0.0.16.0-89Cyc0Dr4a4J9byptLlLDS74 include filepath-1.5.4.0-f6e075 include nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN76 include process-1.6.26.1-be4b77 include safe-exceptions-0.1.7.4-5mDDyg6c7oZERlgQdHnzYL78 include text-2.1.3-ae4179 include transformers-0.6.1.1-e32c80 include unix-2.8.7.0-c82581Ready component graph:82 definite nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN83 depends base-4.20.2.0-a76a84 depends megaparsec-9.7.0-GXJkgYbuGKFCkdobPEnaCx85 depends mtl-2.3.1-614c86 depends parser-combinators-1.3.0-B5flIve0AqrHq4qbHSH8La87 depends pretty-simple-4.1.4.0-L6ZP6lu04xx1xGP5G1FwOA88 depends scientific-0.3.8.0-HFjJkA1Sg0B7awZBBp8GQC89 depends text-2.1.3-ae4190 depends transformers-0.6.1.1-e32c91 definite nixfmt-1.1.0-F608O1RiKXP3Wx1z4Zj251-nixfmt92 depends base-4.20.2.0-a76a93 depends bytestring-0.12.2.0-e9c894 depends cmdargs-0.10.22-9gN74eWxBKiAK14kr5hNK495 depends directory-1.3.8.5-b21c96 depends file-embed-0.0.16.0-89Cyc0Dr4a4J9byptLlLDS97 depends filepath-1.5.4.0-f6e098 depends nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN99 depends process-1.6.26.1-be4b100 depends safe-exceptions-0.1.7.4-5mDDyg6c7oZERlgQdHnzYL101 depends text-2.1.3-ae41102 depends transformers-0.6.1.1-e32c103 depends unix-2.8.7.0-c825104Using Cabal-3.12.1.0 compiled by ghc-9.10105Using compiler: ghc-9.10.3106Using install prefix: /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0107Executables installed in:108/nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/bin109Libraries installed in:110/nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-41c3/nixfmt-1.1.0-CxskQ7pqhgP7hFAJbUDkNN111Dynamic Libraries installed in:112/nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-41c3113Private executables installed in:114/nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/libexec/aarch64-linux-ghc-9.10.3-41c3/nixfmt-1.1.0115Data files installed in:116/nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/share/aarch64-linux-ghc-9.10.3-41c3/nixfmt-1.1.0117Documentation installed in:118/nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/share/doc/aarch64-linux-ghc-9.10.3-41c3/nixfmt-1.1.0119Configuration files installed in:120/nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/etc121No alex found122Using ar found on system at:123/nix/store/2lhdrjxy65h7fl184q4751lgqzhqrsa2-binutils-wrapper-2.44/bin/ar124No c2hs found125No cpphs found126No doctest found127Using gcc version 15.2.0 given by user at:128/nix/store/484f8q8xa48icqgdq9b67vhq8clcqjy9-gcc-wrapper-15.2.0/bin/gcc129Using ghc version 9.10.3 found on system at:130/nix/store/p4mr1gb17ys4vwiai6wm31y334gnljf1-ghc-9.10.3/bin/ghc131Using ghc-pkg version 9.10.3 found on system at:132/nix/store/p4mr1gb17ys4vwiai6wm31y334gnljf1-ghc-9.10.3/bin/ghc-pkg-9.10.3133No ghcjs found134No ghcjs-pkg found135No greencard found136Using haddock version 2.31.1 found on system at:137/nix/store/p4mr1gb17ys4vwiai6wm31y334gnljf1-ghc-9.10.3/bin/haddock-ghc-9.10.3138No happy found139Using haskell-suite found on system at: haskell-suite-dummy-location140Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location141No hmake found142Using hpc version 0.69 found on system at:143/nix/store/p4mr1gb17ys4vwiai6wm31y334gnljf1-ghc-9.10.3/bin/hpc-ghc-9.10.3144Using hsc2hs version 0.68.10 found on system at:145/nix/store/p4mr1gb17ys4vwiai6wm31y334gnljf1-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3146No hscolour found147No jhc found148Using ld found on system at:149/nix/store/484f8q8xa48icqgdq9b67vhq8clcqjy9-gcc-wrapper-15.2.0/bin/ld150No pkg-config found151Using runghc version 9.10.3 found on system at:152/nix/store/p4mr1gb17ys4vwiai6wm31y334gnljf1-ghc-9.10.3/bin/runghc-9.10.3153Using strip version 2.44 found on system at:154/nix/store/484f8q8xa48icqgdq9b67vhq8clcqjy9-gcc-wrapper-15.2.0/bin/strip155Using tar found on system at:156/nix/store/vawd4kk3lfqf4430hlcm077b5r2pd74a-gnutar-1.35/bin/tar157No uhc foundbuildPhase
158Preprocessing library for nixfmt-1.1.0...159Building library for nixfmt-1.1.0...160[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 )161[2 of 8] Compiling Nixfmt.Types ( src/Nixfmt/Types.hs, dist/build/Nixfmt/Types.o, dist/build/Nixfmt/Types.dyn_o )162src/Nixfmt/Types.hs:372:68: warning: [GHC-63394] [-Wx-partial]163 In the use of ‘head’164 (imported from Prelude, but defined in GHC.Internal.List):165 "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"."166 |167372 | (List _ items _) | Prelude.length (unItems items) == 1 -> case Prelude.head (unItems items) of168 | ^^^^^^^^^^^^169170src/Nixfmt/Types.hs:381:69: warning: [GHC-63394] [-Wx-partial]171 In the use of ‘head’172 (imported from Prelude, but defined in GHC.Internal.List):173 "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"."174 |175381 | (Set _ _ items _) | Prelude.length (unItems items) == 1 -> case Prelude.head (unItems items) of176 | ^^^^^^^^^^^^177178[3 of 8] Compiling Nixfmt.Predoc ( src/Nixfmt/Predoc.hs, dist/build/Nixfmt/Predoc.o, dist/build/Nixfmt/Predoc.dyn_o )179src/Nixfmt/Predoc.hs:162:35: warning: [GHC-63394] [-Wx-partial]180 In the use of ‘head’181 (imported from Prelude, but defined in GHC.Internal.List):182 "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"."183 |184162 | if p /= [] && (isSoftSpacing (head p) || isSoftSpacing (last p))185 | ^^^^186187src/Nixfmt/Predoc.hs:620:27: warning: [GHC-63394] [-Wx-partial]188 In the use of ‘head’189 (imported from Prelude, but defined in GHC.Internal.List):190 "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"."191 |192620 | grp' = case head grp of193 | ^^^^194195src/Nixfmt/Predoc.hs:621:30: warning: [GHC-63394] [-Wx-partial]196 In the use of ‘tail’197 (imported from Prelude, but defined in GHC.Internal.List):198 "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"."199 |200621 | Spacing _ -> tail grp201 | ^^^^202203src/Nixfmt/Predoc.hs:622:70: warning: [GHC-63394] [-Wx-partial]204 In the use of ‘tail’205 (imported from Prelude, but defined in GHC.Internal.List):206 "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"."207 |208622 | Group ann ((Spacing _) : inner) -> Group ann inner : tail grp209 | ^^^^210211[4 of 8] Compiling Nixfmt.Util ( src/Nixfmt/Util.hs, dist/build/Nixfmt/Util.o, dist/build/Nixfmt/Util.dyn_o )212[5 of 8] Compiling Nixfmt.Pretty ( src/Nixfmt/Pretty.hs, dist/build/Nixfmt/Pretty.o, dist/build/Nixfmt/Pretty.dyn_o )213[6 of 8] Compiling Nixfmt.Lexer ( src/Nixfmt/Lexer.hs, dist/build/Nixfmt/Lexer.o, dist/build/Nixfmt/Lexer.dyn_o )214[7 of 8] Compiling Nixfmt.Parser ( src/Nixfmt/Parser.hs, dist/build/Nixfmt/Parser.o, dist/build/Nixfmt/Parser.dyn_o )215[8 of 8] Compiling Nixfmt ( src/Nixfmt.hs, dist/build/Nixfmt.o, dist/build/Nixfmt.dyn_o )216Preprocessing executable 'nixfmt' for nixfmt-1.1.0...217Building executable 'nixfmt' for nixfmt-1.1.0...218[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 )219[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 )220[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 )221[4 of 4] Compiling Main ( main/Main.hs, dist/build/nixfmt/nixfmt-tmp/Main.o )222[5 of 5] Linking dist/build/nixfmt/nixfmtcheckPhase
223Package has no test suites.installPhase
224Installing 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-CxskQ7pqhgP7hFAJbUDkNN225Installing executable nixfmt in /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/bin226Warning: The directory227/nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/bin is not in the228system search path.229Registering library for nixfmt-1.1.0...fixupPhase
230shrinking RPATHs of ELF executables and libraries in /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0231shrinking /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/bin/nixfmt232shrinking /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.so233checking for references to /build/ in /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0...234patching script interpreter paths in /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0235stripping (with command strip and flags -S -p) in /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/lib /nix/store/q9gbalkba6f664wk5l70fz1fnssc40zv-nixfmt-1.1.0/bin