happy-lib-2.1.7
x86_64-linux.home-manager-psi
· build #66
· raw
setupCompilerEnvironmentPhase
1Build with /nix/store/pjwvkj1f7flgrlc5jxywfwi71n6yrrpx-ghc-binary-9.8.4.unpackPhase
2unpacking source archive /nix/store/p3x0qg2p04ksw8nh4602070jz5pcxpvw-happy-lib-2.1.7.tar.gz3source root is happy-lib-2.1.74setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file "happy-lib-2.1.7/tabular/src/Happy/Tabular/NameSet.hs"compileBuildDriverPhase
5setupCompileFlags: -package-db=/build/tmp.By7qi1StY1/setup-package.conf.d -threaded6[1 of 2] Compiling Main ( /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs, /build/tmp.By7qi1StY1/Main.o )7[2 of 2] Linking SetupconfigurePhase
8configureFlags: --verbose --prefix=/nix/store/h172n67q967118pfxk05c0k50nl9nb32-happy-lib-2.1.7 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --datadir=/nix/store/9kqhvzml3w1v9173n736s9bwxkw07gn4-happy-lib-2.1.7-data/share/ghc-9.8.4 --with-gcc=gcc --package-db=/build/tmp.By7qi1StY1/package.conf.d --ghc-option=-j16 --ghc-option=+RTS --ghc-option=-A64M --ghc-option=-RTS --disable-library-profiling --disable-profiling --disable-shared --disable-coverage --enable-static --disable-executable-dynamic --disable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --enable-split-sections --enable-library-stripping --enable-executable-stripping9Using Parsec parser10Configuring happy-lib-2.1.7...11Dependency array >=0.5: using array-0.5.8.012Dependency base >=4.9 && <5: using base-4.19.2.013Dependency containers >=0.4.2: using containers-0.6.814Dependency happy-lib:{backend-glr, backend-lalr, frontend, grammar, tabular}:15using happy-lib-2.1.716Dependency happy-lib:{backend-glr, backend-lalr, frontend, grammar, tabular}:17using happy-lib-2.1.718Dependency happy-lib:{backend-glr, backend-lalr, frontend, grammar, tabular}:19using happy-lib-2.1.720Dependency happy-lib:{backend-glr, backend-lalr, frontend, grammar, tabular}:21using happy-lib-2.1.722Dependency happy-lib:{backend-glr, backend-lalr, frontend, grammar, tabular}:23using happy-lib-2.1.724Dependency mtl >=2.2.1: using mtl-2.3.125Dependency transformers >=0.5.6.2: using transformers-0.6.1.026Dependency array: using array-0.5.8.027Dependency base <5: using base-4.19.2.028Dependency array: using array-0.5.8.029Dependency base <5: using base-4.19.2.030Dependency containers: using containers-0.6.831Dependency happy-lib:grammar: using happy-lib-2.1.732Dependency mtl: using mtl-2.3.133Dependency transformers: using transformers-0.6.1.034Dependency array: using array-0.5.8.035Dependency base <5: using base-4.19.2.036Dependency containers: using containers-0.6.837Dependency happy-lib:grammar: using happy-lib-2.1.738Dependency array: using array-0.5.8.039Dependency base <5: using base-4.19.2.040Dependency happy-lib:{grammar, tabular}: using happy-lib-2.1.741Dependency happy-lib:{grammar, tabular}: using happy-lib-2.1.742Dependency array: using array-0.5.8.043Dependency base <5: using base-4.19.2.044Dependency happy-lib:{grammar, tabular}: using happy-lib-2.1.745Dependency happy-lib:{grammar, tabular}: using happy-lib-2.1.746Source component graph:47 component lib:grammar48 component lib:tabular dependency lib:grammar49 component lib:frontend dependency lib:grammar50 component lib:backend-lalr51 dependency lib:grammar52 dependency lib:tabular53 component lib:backend-glr54 dependency lib:grammar55 dependency lib:tabular56 component lib57 dependency lib:backend-glr58 dependency lib:backend-lalr59 dependency lib:frontend60 dependency lib:grammar61 dependency lib:tabular62Configured component graph:63 component happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar64 include array-0.5.8.0-dcb165 include base-4.19.2.0-9f3866 component happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular67 include array-0.5.8.0-dcb168 include base-4.19.2.0-9f3869 include containers-0.6.8-b1e070 include happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar71 component happy-lib-2.1.7-IceYVE32rKq7zs89eTKHdN-frontend72 include array-0.5.8.0-dcb173 include base-4.19.2.0-9f3874 include containers-0.6.8-b1e075 include happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar76 include mtl-2.3.1-742277 include transformers-0.6.1.0-4cb878 component happy-lib-2.1.7-HHaGfQ1QFUO8gFXvHCFjxI-backend-lalr79 include array-0.5.8.0-dcb180 include base-4.19.2.0-9f3881 include happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar82 include happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular83 component happy-lib-2.1.7-C7ebgrrJdFJ8vAuwcm9JDb-backend-glr84 include array-0.5.8.0-dcb185 include base-4.19.2.0-9f3886 include happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar87 include happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular88 component happy-lib-2.1.7-F5MuOztLgWSHWsOdIyPFMo89 include array-0.5.8.0-dcb190 include base-4.19.2.0-9f3891 include containers-0.6.8-b1e092 include happy-lib-2.1.7-C7ebgrrJdFJ8vAuwcm9JDb-backend-glr93 include happy-lib-2.1.7-HHaGfQ1QFUO8gFXvHCFjxI-backend-lalr94 include happy-lib-2.1.7-IceYVE32rKq7zs89eTKHdN-frontend95 include happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar96 include happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular97 include mtl-2.3.1-742298 include transformers-0.6.1.0-4cb899Linked component graph:100 unit happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar101 include array-0.5.8.0-dcb1102 include base-4.19.2.0-9f38103 Happy.Grammar=happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar:Happy.Grammar,Happy.Grammar.ExpressionWithHole=happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar:Happy.Grammar.ExpressionWithHole104 unit happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular105 include array-0.5.8.0-dcb1106 include base-4.19.2.0-9f38107 include containers-0.6.8-b1e0108 include happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar109 Happy.Paths=happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular:Paths_happy_lib,Happy.Tabular=happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular:Happy.Tabular,Happy.Tabular.First=happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular:Happy.Tabular.First,Happy.Tabular.Info=happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular:Happy.Tabular.Info,Happy.Tabular.LALR=happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular:Happy.Tabular.LALR,Happy.Tabular.NameSet=happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular:Happy.Tabular.NameSet,Paths_happy_lib=happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular:Paths_happy_lib110 unit happy-lib-2.1.7-IceYVE32rKq7zs89eTKHdN-frontend111 include array-0.5.8.0-dcb1112 include base-4.19.2.0-9f38113 include containers-0.6.8-b1e0114 include happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar115 include mtl-2.3.1-7422116 include transformers-0.6.1.0-4cb8117 Happy.Frontend=happy-lib-2.1.7-IceYVE32rKq7zs89eTKHdN-frontend:Happy.Frontend,Happy.Frontend.AbsSyn=happy-lib-2.1.7-IceYVE32rKq7zs89eTKHdN-frontend:Happy.Frontend.AbsSyn,Happy.Frontend.Mangler=happy-lib-2.1.7-IceYVE32rKq7zs89eTKHdN-frontend:Happy.Frontend.Mangler,Happy.Frontend.PrettyGrammar=happy-lib-2.1.7-IceYVE32rKq7zs89eTKHdN-frontend:Happy.Frontend.PrettyGrammar118 unit happy-lib-2.1.7-HHaGfQ1QFUO8gFXvHCFjxI-backend-lalr119 include array-0.5.8.0-dcb1120 include base-4.19.2.0-9f38121 include happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar122 include happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular123 Happy.Backend.LALR=happy-lib-2.1.7-HHaGfQ1QFUO8gFXvHCFjxI-backend-lalr:Happy.Backend.LALR,Happy.Backend.LALR.ProduceCode=happy-lib-2.1.7-HHaGfQ1QFUO8gFXvHCFjxI-backend-lalr:Happy.Backend.LALR.ProduceCode124 unit happy-lib-2.1.7-C7ebgrrJdFJ8vAuwcm9JDb-backend-glr125 include array-0.5.8.0-dcb1126 include base-4.19.2.0-9f38127 include happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar128 include happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular129 Happy.Backend.GLR=happy-lib-2.1.7-C7ebgrrJdFJ8vAuwcm9JDb-backend-glr:Happy.Backend.GLR,Happy.Backend.GLR.ProduceCode=happy-lib-2.1.7-C7ebgrrJdFJ8vAuwcm9JDb-backend-glr:Happy.Backend.GLR.ProduceCode130 unit happy-lib-2.1.7-F5MuOztLgWSHWsOdIyPFMo131 include array-0.5.8.0-dcb1132 include base-4.19.2.0-9f38133 include containers-0.6.8-b1e0134 include happy-lib-2.1.7-C7ebgrrJdFJ8vAuwcm9JDb-backend-glr135 include happy-lib-2.1.7-HHaGfQ1QFUO8gFXvHCFjxI-backend-lalr136 include happy-lib-2.1.7-IceYVE32rKq7zs89eTKHdN-frontend137 include happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar138 include happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular139 include mtl-2.3.1-7422140 include transformers-0.6.1.0-4cb8141 Happy.Backend.GLR=happy-lib-2.1.7-C7ebgrrJdFJ8vAuwcm9JDb-backend-glr:Happy.Backend.GLR,Happy.Backend.GLR.ProduceCode=happy-lib-2.1.7-C7ebgrrJdFJ8vAuwcm9JDb-backend-glr:Happy.Backend.GLR.ProduceCode,Happy.Backend.LALR=happy-lib-2.1.7-HHaGfQ1QFUO8gFXvHCFjxI-backend-lalr:Happy.Backend.LALR,Happy.Backend.LALR.ProduceCode=happy-lib-2.1.7-HHaGfQ1QFUO8gFXvHCFjxI-backend-lalr:Happy.Backend.LALR.ProduceCode,Happy.Frontend=happy-lib-2.1.7-IceYVE32rKq7zs89eTKHdN-frontend:Happy.Frontend,Happy.Frontend.AbsSyn=happy-lib-2.1.7-IceYVE32rKq7zs89eTKHdN-frontend:Happy.Frontend.AbsSyn,Happy.Frontend.Mangler=happy-lib-2.1.7-IceYVE32rKq7zs89eTKHdN-frontend:Happy.Frontend.Mangler,Happy.Frontend.PrettyGrammar=happy-lib-2.1.7-IceYVE32rKq7zs89eTKHdN-frontend:Happy.Frontend.PrettyGrammar,Happy.Grammar=happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar:Happy.Grammar,Happy.Grammar.ExpressionWithHole=happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar:Happy.Grammar.ExpressionWithHole,Happy.Tabular=happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular:Happy.Tabular,Happy.Tabular.First=happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular:Happy.Tabular.First,Happy.Tabular.Info=happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular:Happy.Tabular.Info,Happy.Tabular.LALR=happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular:Happy.Tabular.LALR,Happy.Tabular.NameSet=happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular:Happy.Tabular.NameSet142Ready component graph:143 definite happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar144 depends array-0.5.8.0-dcb1145 depends base-4.19.2.0-9f38146 definite happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular147 depends array-0.5.8.0-dcb1148 depends base-4.19.2.0-9f38149 depends containers-0.6.8-b1e0150 depends happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar151 definite happy-lib-2.1.7-HHaGfQ1QFUO8gFXvHCFjxI-backend-lalr152 depends array-0.5.8.0-dcb1153 depends base-4.19.2.0-9f38154 depends happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar155 depends happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular156 definite happy-lib-2.1.7-IceYVE32rKq7zs89eTKHdN-frontend157 depends array-0.5.8.0-dcb1158 depends base-4.19.2.0-9f38159 depends containers-0.6.8-b1e0160 depends happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar161 depends mtl-2.3.1-7422162 depends transformers-0.6.1.0-4cb8163 definite happy-lib-2.1.7-C7ebgrrJdFJ8vAuwcm9JDb-backend-glr164 depends array-0.5.8.0-dcb1165 depends base-4.19.2.0-9f38166 depends happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar167 depends happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular168 definite happy-lib-2.1.7-F5MuOztLgWSHWsOdIyPFMo169 depends array-0.5.8.0-dcb1170 depends base-4.19.2.0-9f38171 depends containers-0.6.8-b1e0172 depends happy-lib-2.1.7-C7ebgrrJdFJ8vAuwcm9JDb-backend-glr173 depends happy-lib-2.1.7-HHaGfQ1QFUO8gFXvHCFjxI-backend-lalr174 depends happy-lib-2.1.7-IceYVE32rKq7zs89eTKHdN-frontend175 depends happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar176 depends happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular177 depends mtl-2.3.1-7422178 depends transformers-0.6.1.0-4cb8179Using Cabal-3.10.3.0 compiled by ghc-9.8180Using compiler: ghc-9.8.4181Using install prefix:182/nix/store/h172n67q967118pfxk05c0k50nl9nb32-happy-lib-2.1.7183Executables installed in:184/nix/store/h172n67q967118pfxk05c0k50nl9nb32-happy-lib-2.1.7/bin185Libraries installed in:186/nix/store/h172n67q967118pfxk05c0k50nl9nb32-happy-lib-2.1.7/lib/ghc-9.8.4/lib/x86_64-linux-ghc-9.8.4/happy-lib-2.1.7-F5MuOztLgWSHWsOdIyPFMo187Dynamic Libraries installed in:188/nix/store/h172n67q967118pfxk05c0k50nl9nb32-happy-lib-2.1.7/lib/ghc-9.8.4/lib/x86_64-linux-ghc-9.8.4189Private executables installed in:190/nix/store/h172n67q967118pfxk05c0k50nl9nb32-happy-lib-2.1.7/libexec/x86_64-linux-ghc-9.8.4/happy-lib-2.1.7191Data files installed in:192/nix/store/9kqhvzml3w1v9173n736s9bwxkw07gn4-happy-lib-2.1.7-data/share/ghc-9.8.4/x86_64-linux-ghc-9.8.4/happy-lib-2.1.7193Documentation installed in:194/nix/store/9kqhvzml3w1v9173n736s9bwxkw07gn4-happy-lib-2.1.7-data/share/ghc-9.8.4/doc/x86_64-linux-ghc-9.8.4/happy-lib-2.1.7195Configuration files installed in:196/nix/store/h172n67q967118pfxk05c0k50nl9nb32-happy-lib-2.1.7/etc197No alex found198Using ar found on system at:199/nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/ar200No c2hs found201No cpphs found202No doctest found203Using gcc version 15.2.0 given by user at:204/nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/gcc205Using ghc version 9.8.4 found on system at:206/nix/store/pjwvkj1f7flgrlc5jxywfwi71n6yrrpx-ghc-binary-9.8.4/bin/ghc207Using ghc-pkg version 9.8.4 found on system at:208/nix/store/pjwvkj1f7flgrlc5jxywfwi71n6yrrpx-ghc-binary-9.8.4/bin/ghc-pkg-9.8.4209No ghcjs found210No ghcjs-pkg found211No greencard found212Using haddock version 2.30.0 found on system at:213/nix/store/pjwvkj1f7flgrlc5jxywfwi71n6yrrpx-ghc-binary-9.8.4/bin/haddock-ghc-9.8.4214No happy found215Using haskell-suite found on system at: haskell-suite-dummy-location216Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location217No hmake found218Using hpc version 0.69 found on system at:219/nix/store/pjwvkj1f7flgrlc5jxywfwi71n6yrrpx-ghc-binary-9.8.4/bin/hpc-ghc-9.8.4220Using hsc2hs version 0.68.10 found on system at:221/nix/store/pjwvkj1f7flgrlc5jxywfwi71n6yrrpx-ghc-binary-9.8.4/bin/hsc2hs-ghc-9.8.4222Using hscolour version 1.25 found on system at:223/nix/store/sy862bjhh1f1lb02qhsf6jpqii56s617-hscolour-1.25/bin/HsColour224No jhc found225Using ld found on system at:226/nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/ld227No pkg-config found228Using runghc version 9.8.4 found on system at:229/nix/store/pjwvkj1f7flgrlc5jxywfwi71n6yrrpx-ghc-binary-9.8.4/bin/runghc-9.8.4230Using strip version 2.46 found on system at:231/nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/strip232Using tar found on system at:233/nix/store/fq62mc3s8ddxgk1nvlbzly2zmr7v2cax-gnutar-1.35/bin/tar234No uhc foundbuildPhase
235Preprocessing library 'grammar' for happy-lib-2.1.7..236Building library 'grammar' for happy-lib-2.1.7..237[1 of 2] Compiling Happy.Grammar.ExpressionWithHole ( grammar/src/Happy/Grammar/ExpressionWithHole.hs, dist/build/grammar/Happy/Grammar/ExpressionWithHole.o )238[2 of 2] Compiling Happy.Grammar ( grammar/src/Happy/Grammar.lhs, dist/build/grammar/Happy/Grammar.o )239Preprocessing library 'tabular' for happy-lib-2.1.7..240Building library 'tabular' for happy-lib-2.1.7..241[1 of 6] Compiling Happy.Tabular.NameSet ( tabular/src/Happy/Tabular/NameSet.hs, dist/build/tabular/Happy/Tabular/NameSet.o )242[2 of 6] Compiling Happy.Tabular.First ( tabular/src/Happy/Tabular/First.lhs, dist/build/tabular/Happy/Tabular/First.o )243[3 of 6] Compiling Happy.Tabular.LALR ( tabular/src/Happy/Tabular/LALR.lhs, dist/build/tabular/Happy/Tabular/LALR.o )244245tabular/src/Happy/Tabular/LALR.lhs:517:21: warning: [GHC-63394] [-Wx-partial]246 In the use of ‘head’247 (imported from Prelude, but defined in GHC.List):248 "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."249 |250517 | > term_lim = (head terms,last terms)251 | ^^^^252[4 of 6] Compiling Happy.Tabular.Info ( tabular/src/Happy/Tabular/Info.lhs, dist/build/tabular/Happy/Tabular/Info.o )253[5 of 6] Compiling Happy.Tabular ( tabular/src/Happy/Tabular.lhs, dist/build/tabular/Happy/Tabular.o )254[6 of 6] Compiling Paths_happy_lib ( dist/build/tabular/autogen/Paths_happy_lib.hs, dist/build/tabular/Paths_happy_lib.o )255Preprocessing library 'backend-lalr' for happy-lib-2.1.7..256Building library 'backend-lalr' for happy-lib-2.1.7..257[1 of 2] Compiling Happy.Backend.LALR ( backend-lalr/src/Happy/Backend/LALR.hs, dist/build/backend-lalr/Happy/Backend/LALR.o )258259backend-lalr/src/Happy/Backend/LALR.hs:14:29: warning: [GHC-63394] [-Wx-partial]260 In the use of ‘head’261 (imported from Prelude, but defined in GHC.List):262 "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."263 |26414 | big_name = toUpper (head name') : tail name'265 | ^^^^266267backend-lalr/src/Happy/Backend/LALR.hs:14:43: warning: [GHC-63394] [-Wx-partial]268 In the use of ‘tail’269 (imported from Prelude, but defined in GHC.List):270 "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."271 |27214 | big_name = toUpper (head name') : tail name'273 | ^^^^274[2 of 2] Compiling Happy.Backend.LALR.ProduceCode ( backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs, dist/build/backend-lalr/Happy/Backend/LALR/ProduceCode.o )275276backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs:779:28: warning: [GHC-63394] [-Wx-partial]277 In the use of ‘head’278 (imported from Prelude, but defined in GHC.List):279 "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."280 |281779 | > defaultAttr = fst (head $ attributes ag)282 | ^^^^283284backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs:973:56: warning: [GHC-63394] [-Wx-partial]285 In the use of ‘head’286 (imported from Prelude, but defined in GHC.List):287 "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."288 |289973 | > else fst (last acts'') - fst (head acts''),290 | ^^^^291292backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs:1007:59: warning: [GHC-63394] [-Wx-partial]293 In the use of ‘head’294 (imported from Prelude, but defined in GHC.List):295 "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."296 |2971007 | > else fst (last goto_vals) - fst (head goto_vals),298 | ^^^^299Preprocessing library 'frontend' for happy-lib-2.1.7..300Building library 'frontend' for happy-lib-2.1.7..301[ 1 of 13] Compiling Happy.Frontend.AbsSyn ( frontend/src/Happy/Frontend/AbsSyn.lhs, dist/build/frontend/Happy/Frontend/AbsSyn.o )302[ 2 of 13] Compiling Happy.Frontend.Mangler.Monad ( frontend/src/Happy/Frontend/Mangler/Monad.lhs, dist/build/frontend/Happy/Frontend/Mangler/Monad.o )303[ 3 of 13] Compiling Happy.Frontend.ParamRules ( frontend/src/Happy/Frontend/ParamRules.hs, dist/build/frontend/Happy/Frontend/ParamRules.o )304[ 4 of 13] Compiling Happy.Frontend.ParseMonad.Class ( frontend/src/Happy/Frontend/ParseMonad/Class.hs, dist/build/frontend/Happy/Frontend/ParseMonad/Class.o )305[ 5 of 13] Compiling Happy.Frontend.ParseMonad ( frontend/src/Happy/Frontend/ParseMonad.hs, dist/build/frontend/Happy/Frontend/ParseMonad.o )306[ 6 of 13] Compiling Happy.Frontend.Lexer ( frontend/src/Happy/Frontend/Lexer.lhs, dist/build/frontend/Happy/Frontend/Lexer.o )307[ 7 of 13] Compiling Happy.Frontend.AttrGrammar ( frontend/src/Happy/Frontend/AttrGrammar.lhs, dist/build/frontend/Happy/Frontend/AttrGrammar.o )308[ 8 of 13] Compiling Happy.Frontend.AttrGrammar.Parser ( frontend/src/Happy/Frontend/AttrGrammar/Parser.hs, dist/build/frontend/Happy/Frontend/AttrGrammar/Parser.o )309[ 9 of 13] Compiling Happy.Frontend.AttrGrammar.Mangler ( frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs, dist/build/frontend/Happy/Frontend/AttrGrammar/Mangler.o )310311frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs:42:32: warning: [GHC-63394] [-Wx-partial]312 In the use of ‘head’313 (imported from Prelude, but defined in GHC.List):314 "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."315 |31642 | > defaultAttr = head attrNames317 | ^^^^318319frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs:106:54: warning: [GHC-63394] [-Wx-partial]320 In the use of ‘head’321 (imported from Prelude, but defined in GHC.List):322 "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."323 |324106 | > (fst $ head l,[snd $ head l])325 | ^^^^326327frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs:106:68: warning: [GHC-63394] [-Wx-partial]328 In the use of ‘head’329 (imported from Prelude, but defined in GHC.List):330 "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."331 |332106 | > (fst $ head l,[snd $ head l])333 | ^^^^334335frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs:107:48: warning: [GHC-63394] [-Wx-partial]336 In the use of ‘tail’337 (imported from Prelude, but defined in GHC.List):338 "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."339 |340107 | > (tail l) ) .341 | ^^^^342[10 of 13] Compiling Happy.Frontend.Mangler ( frontend/src/Happy/Frontend/Mangler.lhs, dist/build/frontend/Happy/Frontend/Mangler.o )343[11 of 13] Compiling Happy.Frontend.Parser ( frontend/src/Happy/Frontend/Parser.hs, dist/build/frontend/Happy/Frontend/Parser.o )344[12 of 13] Compiling Happy.Frontend ( frontend/src/Happy/Frontend.hs, dist/build/frontend/Happy/Frontend.o )345[13 of 13] Compiling Happy.Frontend.PrettyGrammar ( frontend/src/Happy/Frontend/PrettyGrammar.hs, dist/build/frontend/Happy/Frontend/PrettyGrammar.o )346Preprocessing library 'backend-glr' for happy-lib-2.1.7..347Building library 'backend-glr' for happy-lib-2.1.7..348[1 of 2] Compiling Happy.Backend.GLR ( backend-glr/src/Happy/Backend/GLR.hs, dist/build/backend-glr/Happy/Backend/GLR.o )349[2 of 2] Compiling Happy.Backend.GLR.ProduceCode ( backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs, dist/build/backend-glr/Happy/Backend/GLR/ProduceCode.o )350351backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs:227:51: warning: [GHC-63394] [-Wx-partial]352 In the use of ‘head’353 (imported from Prelude, but defined in GHC.List):354 "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."355 |356227 | > start_prod = token_names g ! (let (_,_,i,_) = head $ starts g in i)357 | ^^^^358359backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs:332:26: warning: [GHC-63394] [-Wx-partial]360 In the use of ‘tail’361 (imported from Prelude, but defined in GHC.List):362 "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."363 |364332 | > mkReds rs = "[" ++ tail (concat [ "," ++ mkRed r | LR'Reduce r _ <- rs ]) ++ "]"365 | ^^^^366Preprocessing library for happy-lib-2.1.7..367Building library for happy-lib-2.1.7..installPhase
368Installing internal library grammar in /nix/store/h172n67q967118pfxk05c0k50nl9nb32-happy-lib-2.1.7/lib/ghc-9.8.4/lib/x86_64-linux-ghc-9.8.4/happy-lib-2.1.7-EKpbRZg7NRwBwBCpp7Z952-grammar369Installing internal library tabular in /nix/store/h172n67q967118pfxk05c0k50nl9nb32-happy-lib-2.1.7/lib/ghc-9.8.4/lib/x86_64-linux-ghc-9.8.4/happy-lib-2.1.7-FaYvuLjnQKCbDwLYDWpkH-tabular370Installing internal library backend-lalr in /nix/store/h172n67q967118pfxk05c0k50nl9nb32-happy-lib-2.1.7/lib/ghc-9.8.4/lib/x86_64-linux-ghc-9.8.4/happy-lib-2.1.7-HHaGfQ1QFUO8gFXvHCFjxI-backend-lalr371Installing internal library frontend in /nix/store/h172n67q967118pfxk05c0k50nl9nb32-happy-lib-2.1.7/lib/ghc-9.8.4/lib/x86_64-linux-ghc-9.8.4/happy-lib-2.1.7-IceYVE32rKq7zs89eTKHdN-frontend372Installing internal library backend-glr in /nix/store/h172n67q967118pfxk05c0k50nl9nb32-happy-lib-2.1.7/lib/ghc-9.8.4/lib/x86_64-linux-ghc-9.8.4/happy-lib-2.1.7-C7ebgrrJdFJ8vAuwcm9JDb-backend-glr373Installing library in /nix/store/h172n67q967118pfxk05c0k50nl9nb32-happy-lib-2.1.7/lib/ghc-9.8.4/lib/x86_64-linux-ghc-9.8.4/happy-lib-2.1.7-F5MuOztLgWSHWsOdIyPFMofixupPhase
374shrinking RPATHs of ELF executables and libraries in /nix/store/h172n67q967118pfxk05c0k50nl9nb32-happy-lib-2.1.7375checking for references to /build/ in /nix/store/h172n67q967118pfxk05c0k50nl9nb32-happy-lib-2.1.7...376patching script interpreter paths in /nix/store/h172n67q967118pfxk05c0k50nl9nb32-happy-lib-2.1.7377stripping (with command strip and flags -S -p) in /nix/store/h172n67q967118pfxk05c0k50nl9nb32-happy-lib-2.1.7/lib378shrinking RPATHs of ELF executables and libraries in /nix/store/9kqhvzml3w1v9173n736s9bwxkw07gn4-happy-lib-2.1.7-data379checking for references to /build/ in /nix/store/9kqhvzml3w1v9173n736s9bwxkw07gn4-happy-lib-2.1.7-data...380patching script interpreter paths in /nix/store/9kqhvzml3w1v9173n736s9bwxkw07gn4-happy-lib-2.1.7-data