nixfmt-1.1.0
checks.aarch64-linux.treefmt
· build #735
· raw
setupCompilerEnvironmentPhase
1Build with /nix/store/q9ymri874wpz3vjc2l7hryhf66ajiajy-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.pWrvbjGu36/setup-package.conf.d -threaded6[1 of 2] Compiling Main ( /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs, /build/tmp.pWrvbjGu36/Main.o )7[2 of 2] Linking SetupconfigurePhase
8configureFlags: --verbose --prefix=/nix/store/gsrpb9lii6fzlanz09fgiikb90k73g1v-nixfmt-1.1.0 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --with-gcc=gcc --package-db=/build/tmp.pWrvbjGu36/package.conf.d --ghc-option=-j16 --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/c1wzh5p5d40r1da3zka4rl9fkdd4y2sb-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-6CbBkC6488FK1d9vUdtrhg36 include base-4.20.2.0-2e5137 include megaparsec-9.7.0-BPcXIPW6ggaLkRXkMF3sn238 include mtl-2.3.1-81fb39 include parser-combinators-1.3.0-G9erYf5olzlGRm7j5e61Ff40 include pretty-simple-4.1.4.0-9zFVRVW3odW5Wj33dkYMIe41 include scientific-0.3.8.0-DLQwgZ62xLuEgcOwjsAJN142 include text-2.1.3-98c443 include transformers-0.6.1.1-0f5444 component nixfmt-1.1.0-D0VFfQDa3Gt8x8VhSO4EhT-nixfmt45 include base-4.20.2.0-2e5146 include bytestring-0.12.2.0-c5fd47 include cmdargs-0.10.22-Kob5rAL0y9G8uRBw1CI6oM48 include directory-1.3.8.5-cfd949 include file-embed-0.0.16.0-JAq6IYesu1dBeFupk36yXo50 include filepath-1.5.4.0-3c3351 include nixfmt-1.1.0-6CbBkC6488FK1d9vUdtrhg52 include process-1.6.26.1-d97f53 include safe-exceptions-0.1.7.4-CbuDqueydQZcLQV5qsKlz54 include text-2.1.3-98c455 include transformers-0.6.1.1-0f5456 include unix-2.8.7.0-043657Linked component graph:58 unit nixfmt-1.1.0-6CbBkC6488FK1d9vUdtrhg59 include base-4.20.2.0-2e5160 include megaparsec-9.7.0-BPcXIPW6ggaLkRXkMF3sn261 include mtl-2.3.1-81fb62 include parser-combinators-1.3.0-G9erYf5olzlGRm7j5e61Ff63 include pretty-simple-4.1.4.0-9zFVRVW3odW5Wj33dkYMIe64 include scientific-0.3.8.0-DLQwgZ62xLuEgcOwjsAJN165 include text-2.1.3-98c466 include transformers-0.6.1.1-0f5467 Nixfmt=nixfmt-1.1.0-6CbBkC6488FK1d9vUdtrhg:Nixfmt,Nixfmt.Lexer=nixfmt-1.1.0-6CbBkC6488FK1d9vUdtrhg:Nixfmt.Lexer,Nixfmt.Parser=nixfmt-1.1.0-6CbBkC6488FK1d9vUdtrhg:Nixfmt.Parser,Nixfmt.Parser.Float=nixfmt-1.1.0-6CbBkC6488FK1d9vUdtrhg:Nixfmt.Parser.Float,Nixfmt.Predoc=nixfmt-1.1.0-6CbBkC6488FK1d9vUdtrhg:Nixfmt.Predoc,Nixfmt.Pretty=nixfmt-1.1.0-6CbBkC6488FK1d9vUdtrhg:Nixfmt.Pretty,Nixfmt.Types=nixfmt-1.1.0-6CbBkC6488FK1d9vUdtrhg:Nixfmt.Types,Nixfmt.Util=nixfmt-1.1.0-6CbBkC6488FK1d9vUdtrhg:Nixfmt.Util68 unit nixfmt-1.1.0-D0VFfQDa3Gt8x8VhSO4EhT-nixfmt69 include base-4.20.2.0-2e5170 include bytestring-0.12.2.0-c5fd71 include cmdargs-0.10.22-Kob5rAL0y9G8uRBw1CI6oM72 include directory-1.3.8.5-cfd973 include file-embed-0.0.16.0-JAq6IYesu1dBeFupk36yXo74 include filepath-1.5.4.0-3c3375 include nixfmt-1.1.0-6CbBkC6488FK1d9vUdtrhg76 include process-1.6.26.1-d97f77 include safe-exceptions-0.1.7.4-CbuDqueydQZcLQV5qsKlz78 include text-2.1.3-98c479 include transformers-0.6.1.1-0f5480 include unix-2.8.7.0-043681Ready component graph:82 definite nixfmt-1.1.0-6CbBkC6488FK1d9vUdtrhg83 depends base-4.20.2.0-2e5184 depends megaparsec-9.7.0-BPcXIPW6ggaLkRXkMF3sn285 depends mtl-2.3.1-81fb86 depends parser-combinators-1.3.0-G9erYf5olzlGRm7j5e61Ff87 depends pretty-simple-4.1.4.0-9zFVRVW3odW5Wj33dkYMIe88 depends scientific-0.3.8.0-DLQwgZ62xLuEgcOwjsAJN189 depends text-2.1.3-98c490 depends transformers-0.6.1.1-0f5491 definite nixfmt-1.1.0-D0VFfQDa3Gt8x8VhSO4EhT-nixfmt92 depends base-4.20.2.0-2e5193 depends bytestring-0.12.2.0-c5fd94 depends cmdargs-0.10.22-Kob5rAL0y9G8uRBw1CI6oM95 depends directory-1.3.8.5-cfd996 depends file-embed-0.0.16.0-JAq6IYesu1dBeFupk36yXo97 depends filepath-1.5.4.0-3c3398 depends nixfmt-1.1.0-6CbBkC6488FK1d9vUdtrhg99 depends process-1.6.26.1-d97f100 depends safe-exceptions-0.1.7.4-CbuDqueydQZcLQV5qsKlz101 depends text-2.1.3-98c4102 depends transformers-0.6.1.1-0f54103 depends unix-2.8.7.0-0436104Using Cabal-3.12.1.0 compiled by ghc-9.10105Using compiler: ghc-9.10.3106Using install prefix: /nix/store/gsrpb9lii6fzlanz09fgiikb90k73g1v-nixfmt-1.1.0107Executables installed in:108/nix/store/gsrpb9lii6fzlanz09fgiikb90k73g1v-nixfmt-1.1.0/bin109Libraries installed in:110/nix/store/gsrpb9lii6fzlanz09fgiikb90k73g1v-nixfmt-1.1.0/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-6fbb/nixfmt-1.1.0-6CbBkC6488FK1d9vUdtrhg111Dynamic Libraries installed in:112/nix/store/gsrpb9lii6fzlanz09fgiikb90k73g1v-nixfmt-1.1.0/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-6fbb113Private executables installed in:114/nix/store/gsrpb9lii6fzlanz09fgiikb90k73g1v-nixfmt-1.1.0/libexec/aarch64-linux-ghc-9.10.3-6fbb/nixfmt-1.1.0115Data files installed in:116/nix/store/gsrpb9lii6fzlanz09fgiikb90k73g1v-nixfmt-1.1.0/share/aarch64-linux-ghc-9.10.3-6fbb/nixfmt-1.1.0117Documentation installed in:118/nix/store/gsrpb9lii6fzlanz09fgiikb90k73g1v-nixfmt-1.1.0/share/doc/aarch64-linux-ghc-9.10.3-6fbb/nixfmt-1.1.0119Configuration files installed in:120/nix/store/gsrpb9lii6fzlanz09fgiikb90k73g1v-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/q9ymri874wpz3vjc2l7hryhf66ajiajy-ghc-9.10.3/bin/ghc131Using ghc-pkg version 9.10.3 found on system at:132/nix/store/q9ymri874wpz3vjc2l7hryhf66ajiajy-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/q9ymri874wpz3vjc2l7hryhf66ajiajy-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/q9ymri874wpz3vjc2l7hryhf66ajiajy-ghc-9.10.3/bin/hpc-ghc-9.10.3144Using hsc2hs version 0.68.10 found on system at:145/nix/store/q9ymri874wpz3vjc2l7hryhf66ajiajy-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/q9ymri874wpz3vjc2l7hryhf66ajiajy-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/gsrpb9lii6fzlanz09fgiikb90k73g1v-nixfmt-1.1.0/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-6fbb/nixfmt-1.1.0-6CbBkC6488FK1d9vUdtrhg225Installing executable nixfmt in /nix/store/gsrpb9lii6fzlanz09fgiikb90k73g1v-nixfmt-1.1.0/bin226Warning: The directory227/nix/store/gsrpb9lii6fzlanz09fgiikb90k73g1v-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/gsrpb9lii6fzlanz09fgiikb90k73g1v-nixfmt-1.1.0231shrinking /nix/store/gsrpb9lii6fzlanz09fgiikb90k73g1v-nixfmt-1.1.0/bin/nixfmt232shrinking /nix/store/gsrpb9lii6fzlanz09fgiikb90k73g1v-nixfmt-1.1.0/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-6fbb/libHSnixfmt-1.1.0-6CbBkC6488FK1d9vUdtrhg-ghc9.10.3.so233checking for references to /build/ in /nix/store/gsrpb9lii6fzlanz09fgiikb90k73g1v-nixfmt-1.1.0...234patching script interpreter paths in /nix/store/gsrpb9lii6fzlanz09fgiikb90k73g1v-nixfmt-1.1.0235stripping (with command strip and flags -S -p) in /nix/store/gsrpb9lii6fzlanz09fgiikb90k73g1v-nixfmt-1.1.0/lib /nix/store/gsrpb9lii6fzlanz09fgiikb90k73g1v-nixfmt-1.1.0/bin