nixbot

builds

succeeded nixfmt-1.1.0 checks.x86_64-linux.treefmt · build #735 · raw

setupCompilerEnvironmentPhase
1Build with /nix/store/12v031a5kz660m18hz34jc9c3afw62dh-ghc-9.10.3.
unpackPhase
2unpacking source archive /nix/store/4sg6846s7kcnh2rpkjdy7qjqlzipf44s-source3source root is source
patchPhase
4Run jailbreak-cabal to lift version restrictions on build inputs.
compileBuildDriverPhase
5setupCompileFlags: -package-db=/build/tmp.9l9b3lJzwH/setup-package.conf.d -threaded6[1 of 2] Compiling Main ( /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs, /build/tmp.9l9b3lJzwH/Main.o )7[2 of 2] Linking Setup
configurePhase
8configureFlags: --verbose --prefix=/nix/store/liq6xgrnhnmxz0bn20knn0s8nl5ffzmi-nixfmt-1.1.0 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --with-gcc=gcc --package-db=/build/tmp.9l9b3lJzwH/package.conf.d --ghc-option=-j4 --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/ddranxbikfg4jkf3n1m0a0h9qqxj1vf0-ncurses-6.5/lib --extra-lib-dirs=/nix/store/1dbmy70xgzs19kafsdcgliwxdpvq46a8-libffi-3.5.2/lib --extra-lib-dirs=/nix/store/m8ya8crfzg99mg0acfqznh7xjxw77hji-elfutils-0.194/lib --extra-lib-dirs=/nix/store/2qzc0x9nm5nwq83svddaybwx806pnlws-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/jm5r6v1x2vyvk2asbkbz5p5clr471h7l-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-7JL3DlXzKDWHcYhTG25Wkj36 include base-4.20.2.0-d83137 include megaparsec-9.7.0-5YvWxcfCEWd4MxFNvEqBxf38 include mtl-2.3.1-a91f39 include parser-combinators-1.3.0-62aOfbxQ3y2E8ZRxkTxpbr40 include pretty-simple-4.1.4.0-A9zCche0BobBmvVLICoAXm41 include scientific-0.3.8.0-K7wcLi2r3cI7ViEIEprNBS42 include text-2.1.3-0b9d43 include transformers-0.6.1.1-572444 component nixfmt-1.1.0-64XwthUOATaHtUHLtWWLIm-nixfmt45 include base-4.20.2.0-d83146 include bytestring-0.12.2.0-07c947 include cmdargs-0.10.22-5NQi36JiiVF8OXIjtTKrwI48 include directory-1.3.8.5-4cf749 include file-embed-0.0.16.0-42Og8chDy425conot9XrJL50 include filepath-1.5.4.0-6ad851 include nixfmt-1.1.0-7JL3DlXzKDWHcYhTG25Wkj52 include process-1.6.26.1-acf953 include safe-exceptions-0.1.7.4-4XkrPHCM83P9byuzrm0o2L54 include text-2.1.3-0b9d55 include transformers-0.6.1.1-572456 include unix-2.8.7.0-c47f57Linked component graph:58 unit nixfmt-1.1.0-7JL3DlXzKDWHcYhTG25Wkj59 include base-4.20.2.0-d83160 include megaparsec-9.7.0-5YvWxcfCEWd4MxFNvEqBxf61 include mtl-2.3.1-a91f62 include parser-combinators-1.3.0-62aOfbxQ3y2E8ZRxkTxpbr63 include pretty-simple-4.1.4.0-A9zCche0BobBmvVLICoAXm64 include scientific-0.3.8.0-K7wcLi2r3cI7ViEIEprNBS65 include text-2.1.3-0b9d66 include transformers-0.6.1.1-572467 Nixfmt=nixfmt-1.1.0-7JL3DlXzKDWHcYhTG25Wkj:Nixfmt,Nixfmt.Lexer=nixfmt-1.1.0-7JL3DlXzKDWHcYhTG25Wkj:Nixfmt.Lexer,Nixfmt.Parser=nixfmt-1.1.0-7JL3DlXzKDWHcYhTG25Wkj:Nixfmt.Parser,Nixfmt.Parser.Float=nixfmt-1.1.0-7JL3DlXzKDWHcYhTG25Wkj:Nixfmt.Parser.Float,Nixfmt.Predoc=nixfmt-1.1.0-7JL3DlXzKDWHcYhTG25Wkj:Nixfmt.Predoc,Nixfmt.Pretty=nixfmt-1.1.0-7JL3DlXzKDWHcYhTG25Wkj:Nixfmt.Pretty,Nixfmt.Types=nixfmt-1.1.0-7JL3DlXzKDWHcYhTG25Wkj:Nixfmt.Types,Nixfmt.Util=nixfmt-1.1.0-7JL3DlXzKDWHcYhTG25Wkj:Nixfmt.Util68 unit nixfmt-1.1.0-64XwthUOATaHtUHLtWWLIm-nixfmt69 include base-4.20.2.0-d83170 include bytestring-0.12.2.0-07c971 include cmdargs-0.10.22-5NQi36JiiVF8OXIjtTKrwI72 include directory-1.3.8.5-4cf773 include file-embed-0.0.16.0-42Og8chDy425conot9XrJL74 include filepath-1.5.4.0-6ad875 include nixfmt-1.1.0-7JL3DlXzKDWHcYhTG25Wkj76 include process-1.6.26.1-acf977 include safe-exceptions-0.1.7.4-4XkrPHCM83P9byuzrm0o2L78 include text-2.1.3-0b9d79 include transformers-0.6.1.1-572480 include unix-2.8.7.0-c47f81Ready component graph:82 definite nixfmt-1.1.0-7JL3DlXzKDWHcYhTG25Wkj83 depends base-4.20.2.0-d83184 depends megaparsec-9.7.0-5YvWxcfCEWd4MxFNvEqBxf85 depends mtl-2.3.1-a91f86 depends parser-combinators-1.3.0-62aOfbxQ3y2E8ZRxkTxpbr87 depends pretty-simple-4.1.4.0-A9zCche0BobBmvVLICoAXm88 depends scientific-0.3.8.0-K7wcLi2r3cI7ViEIEprNBS89 depends text-2.1.3-0b9d90 depends transformers-0.6.1.1-572491 definite nixfmt-1.1.0-64XwthUOATaHtUHLtWWLIm-nixfmt92 depends base-4.20.2.0-d83193 depends bytestring-0.12.2.0-07c994 depends cmdargs-0.10.22-5NQi36JiiVF8OXIjtTKrwI95 depends directory-1.3.8.5-4cf796 depends file-embed-0.0.16.0-42Og8chDy425conot9XrJL97 depends filepath-1.5.4.0-6ad898 depends nixfmt-1.1.0-7JL3DlXzKDWHcYhTG25Wkj99 depends process-1.6.26.1-acf9100 depends safe-exceptions-0.1.7.4-4XkrPHCM83P9byuzrm0o2L101 depends text-2.1.3-0b9d102 depends transformers-0.6.1.1-5724103 depends unix-2.8.7.0-c47f104Using Cabal-3.12.1.0 compiled by ghc-9.10105Using compiler: ghc-9.10.3106Using install prefix: /nix/store/liq6xgrnhnmxz0bn20knn0s8nl5ffzmi-nixfmt-1.1.0107Executables installed in:108/nix/store/liq6xgrnhnmxz0bn20knn0s8nl5ffzmi-nixfmt-1.1.0/bin109Libraries installed in:110/nix/store/liq6xgrnhnmxz0bn20knn0s8nl5ffzmi-nixfmt-1.1.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-3209/nixfmt-1.1.0-7JL3DlXzKDWHcYhTG25Wkj111Dynamic Libraries installed in:112/nix/store/liq6xgrnhnmxz0bn20knn0s8nl5ffzmi-nixfmt-1.1.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-3209113Private executables installed in:114/nix/store/liq6xgrnhnmxz0bn20knn0s8nl5ffzmi-nixfmt-1.1.0/libexec/x86_64-linux-ghc-9.10.3-3209/nixfmt-1.1.0115Data files installed in:116/nix/store/liq6xgrnhnmxz0bn20knn0s8nl5ffzmi-nixfmt-1.1.0/share/x86_64-linux-ghc-9.10.3-3209/nixfmt-1.1.0117Documentation installed in:118/nix/store/liq6xgrnhnmxz0bn20knn0s8nl5ffzmi-nixfmt-1.1.0/share/doc/x86_64-linux-ghc-9.10.3-3209/nixfmt-1.1.0119Configuration files installed in:120/nix/store/liq6xgrnhnmxz0bn20knn0s8nl5ffzmi-nixfmt-1.1.0/etc121No alex found122Using ar found on system at:123/nix/store/dwiyp91lmxq864plaas14jm14m87sg3f-binutils-wrapper-2.44/bin/ar124No c2hs found125No cpphs found126No doctest found127Using gcc version 15.2.0 given by user at:128/nix/store/r9wbjib6xxjkyb9yvjvrkl4sq61i2lyn-gcc-wrapper-15.2.0/bin/gcc129Using ghc version 9.10.3 found on system at:130/nix/store/12v031a5kz660m18hz34jc9c3afw62dh-ghc-9.10.3/bin/ghc131Using ghc-pkg version 9.10.3 found on system at:132/nix/store/12v031a5kz660m18hz34jc9c3afw62dh-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/12v031a5kz660m18hz34jc9c3afw62dh-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/12v031a5kz660m18hz34jc9c3afw62dh-ghc-9.10.3/bin/hpc-ghc-9.10.3144Using hsc2hs version 0.68.10 found on system at:145/nix/store/12v031a5kz660m18hz34jc9c3afw62dh-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3146No hscolour found147No jhc found148Using ld found on system at:149/nix/store/r9wbjib6xxjkyb9yvjvrkl4sq61i2lyn-gcc-wrapper-15.2.0/bin/ld150No pkg-config found151Using runghc version 9.10.3 found on system at:152/nix/store/12v031a5kz660m18hz34jc9c3afw62dh-ghc-9.10.3/bin/runghc-9.10.3153Using strip version 2.44 found on system at:154/nix/store/r9wbjib6xxjkyb9yvjvrkl4sq61i2lyn-gcc-wrapper-15.2.0/bin/strip155Using tar found on system at:156/nix/store/k1lcfin159706lihwx5hhvl80dbij4jw-gnutar-1.35/bin/tar157No uhc found
buildPhase
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/nixfmt
checkPhase
223Package has no test suites.
installPhase
224Installing library in /nix/store/liq6xgrnhnmxz0bn20knn0s8nl5ffzmi-nixfmt-1.1.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-3209/nixfmt-1.1.0-7JL3DlXzKDWHcYhTG25Wkj225Installing executable nixfmt in /nix/store/liq6xgrnhnmxz0bn20knn0s8nl5ffzmi-nixfmt-1.1.0/bin226Warning: The directory227/nix/store/liq6xgrnhnmxz0bn20knn0s8nl5ffzmi-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/liq6xgrnhnmxz0bn20knn0s8nl5ffzmi-nixfmt-1.1.0231shrinking /nix/store/liq6xgrnhnmxz0bn20knn0s8nl5ffzmi-nixfmt-1.1.0/bin/nixfmt232shrinking /nix/store/liq6xgrnhnmxz0bn20knn0s8nl5ffzmi-nixfmt-1.1.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-3209/libHSnixfmt-1.1.0-7JL3DlXzKDWHcYhTG25Wkj-ghc9.10.3.so233checking for references to /build/ in /nix/store/liq6xgrnhnmxz0bn20knn0s8nl5ffzmi-nixfmt-1.1.0...234patching script interpreter paths in /nix/store/liq6xgrnhnmxz0bn20knn0s8nl5ffzmi-nixfmt-1.1.0235stripping (with command strip and flags -S -p) in /nix/store/liq6xgrnhnmxz0bn20knn0s8nl5ffzmi-nixfmt-1.1.0/lib /nix/store/liq6xgrnhnmxz0bn20knn0s8nl5ffzmi-nixfmt-1.1.0/bin