attoparsec-0.14.4
x86_64-linux.home-manager-psi
· build #66
· raw
setupCompilerEnvironmentPhase
1Build with /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3.unpackPhase
2unpacking source archive /nix/store/7xizd63623bzgyny21lfm7krwk9kr0qf-attoparsec-0.14.4.tar.gz3source root is attoparsec-0.14.44setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file "attoparsec-0.14.4/tests/QC/Text/Regressions.hs"patchPhase
5Replace Cabal file with edited version from mirror://hackage/attoparsec-0.14.4/revision/6.cabal.compileBuildDriverPhase
6setupCompileFlags: -package-db=/build/tmp.1fxbnEv7G6/setup-package.conf.d -threaded7[1 of 2] Compiling Main ( Setup.lhs, /build/tmp.1fxbnEv7G6/Main.o )8[2 of 2] Linking SetupconfigurePhase
9configureFlags: --verbose --prefix=/nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --with-gcc=gcc --package-db=/build/tmp.1fxbnEv7G6/package.conf.d --ghc-option=-j16 --ghc-option=+RTS --ghc-option=-A64M --ghc-option=-RTS --enable-library-profiling --profiling-detail=exported-functions --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/62qhvy2m2lpqj7ca39j9wvp2kkcxwdcg-ncurses-6.6/lib --extra-lib-dirs=/nix/store/rkfkkdgwz8y31hk76i4b9s59h5raya9n-libffi-3.5.2/lib --extra-lib-dirs=/nix/store/hkxx26hifhkm5xsfwk1khwi1bkal3i9k-elfutils-0.195/lib --extra-lib-dirs=/nix/store/sy8ark85hgjhhcr1ycgarf5w7ajw8jcc-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/51bryd6zjk96w46s7g30azhbfrwhbh76-numactl-2.0.18/lib10Using Parsec parser11Configuring attoparsec-0.14.4...12Flags chosen: developer=False13Dependency array: using array-0.5.8.014Dependency attoparsec:attoparsec-internal: using attoparsec-0.14.415Dependency base >=4.5 && <5: using base-4.20.2.016Dependency bytestring <0.13: using bytestring-0.12.2.017Dependency containers: using containers-0.718Dependency deepseq: using deepseq-1.5.0.019Dependency ghc-prim <0.14: using ghc-prim-0.12.020Dependency scientific >=0.3.1 && <0.4: using scientific-0.3.8.121Dependency text >=1.1.1.3: using text-2.1.322Dependency transformers >=0.2 && <0.4 || >=0.4.1.0 && <0.7: using23transformers-0.6.1.124Dependency array: using array-0.5.8.025Dependency base >=4.5 && <5: using base-4.20.2.026Dependency bytestring <0.13: using bytestring-0.12.2.027Dependency text >=1.1.1.3: using text-2.1.328Dependency QuickCheck >=2.13.2 && <2.16: using QuickCheck-2.15.0.129Dependency array: using array-0.5.8.030Dependency attoparsec:{attoparsec, attoparsec-internal}: using31attoparsec-0.14.432Dependency attoparsec:{attoparsec, attoparsec-internal}: using33attoparsec-0.14.434Dependency base: using base-4.20.2.035Dependency bytestring: using bytestring-0.12.2.036Dependency deepseq >=1.1: using deepseq-1.5.0.037Dependency quickcheck-unicode: using quickcheck-unicode-1.0.1.038Dependency scientific: using scientific-0.3.8.139Dependency tasty >=0.11: using tasty-1.5.440Dependency tasty-quickcheck >=0.8: using tasty-quickcheck-0.11.141Dependency text: using text-2.1.342Dependency transformers: using transformers-0.6.1.143Dependency vector: using vector-0.13.2.044Source component graph:45 component lib:attoparsec-internal46 component lib dependency lib:attoparsec-internal47 component test:attoparsec-tests48 dependency lib49 dependency lib:attoparsec-internal50Configured component graph:51 component attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal52 include array-0.5.8.0-d49953 include base-4.20.2.0-236354 include bytestring-0.12.2.0-48be55 include text-2.1.3-5a6f56 component attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u757 include array-0.5.8.0-d49958 include attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal59 include base-4.20.2.0-236360 include bytestring-0.12.2.0-48be61 include containers-0.7-538962 include deepseq-1.5.0.0-f4ea63 include ghc-prim-0.12.0-431d64 include scientific-0.3.8.1-5iD9QSAXUXR2Z3f5rlJL4x65 include text-2.1.3-5a6f66 include transformers-0.6.1.1-479567 component attoparsec-0.14.4-J43B0qlx3Re6xID0DcAsku-attoparsec-tests68 include QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF69 include array-0.5.8.0-d49970 include attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u771 include attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal72 include base-4.20.2.0-236373 include bytestring-0.12.2.0-48be74 include deepseq-1.5.0.0-f4ea75 include quickcheck-unicode-1.0.1.0-L1Z6xAoYG727DaEqKQx3Qd76 include scientific-0.3.8.1-5iD9QSAXUXR2Z3f5rlJL4x77 include tasty-1.5.4-BvvpoBNU3F8HGTXUJWxxre78 include tasty-quickcheck-0.11.1-IdhD6b6ZrsTIllAyyty70G79 include text-2.1.3-5a6f80 include transformers-0.6.1.1-479581 include vector-0.13.2.0-2pPxI2GqbvB6rFLTxPtp5b82Linked component graph:83 unit attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal84 include array-0.5.8.0-d49985 include base-4.20.2.0-236386 include bytestring-0.12.2.0-48be87 include text-2.1.3-5a6f88 Data.Attoparsec.ByteString.Buffer=attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal:Data.Attoparsec.ByteString.Buffer,Data.Attoparsec.ByteString.FastSet=attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal:Data.Attoparsec.ByteString.FastSet,Data.Attoparsec.Internal.Compat=attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal:Data.Attoparsec.Internal.Compat,Data.Attoparsec.Internal.Fhthagn=attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal:Data.Attoparsec.Internal.Fhthagn,Data.Attoparsec.Text.Buffer=attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal:Data.Attoparsec.Text.Buffer,Data.Attoparsec.Text.FastSet=attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal:Data.Attoparsec.Text.FastSet89 unit attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u790 include array-0.5.8.0-d49991 include attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal92 include base-4.20.2.0-236393 include bytestring-0.12.2.0-48be94 include containers-0.7-538995 include deepseq-1.5.0.0-f4ea96 include ghc-prim-0.12.0-431d97 include scientific-0.3.8.1-5iD9QSAXUXR2Z3f5rlJL4x98 include text-2.1.3-5a6f99 include transformers-0.6.1.1-4795100 Data.Attoparsec=attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7:Data.Attoparsec,Data.Attoparsec.ByteString=attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7:Data.Attoparsec.ByteString,Data.Attoparsec.ByteString.Char8=attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7:Data.Attoparsec.ByteString.Char8,Data.Attoparsec.ByteString.Lazy=attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7:Data.Attoparsec.ByteString.Lazy,Data.Attoparsec.Char8=attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7:Data.Attoparsec.Char8,Data.Attoparsec.Combinator=attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7:Data.Attoparsec.Combinator,Data.Attoparsec.Internal=attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7:Data.Attoparsec.Internal,Data.Attoparsec.Internal.Types=attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7:Data.Attoparsec.Internal.Types,Data.Attoparsec.Lazy=attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7:Data.Attoparsec.Lazy,Data.Attoparsec.Number=attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7:Data.Attoparsec.Number,Data.Attoparsec.Text=attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7:Data.Attoparsec.Text,Data.Attoparsec.Text.Lazy=attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7:Data.Attoparsec.Text.Lazy,Data.Attoparsec.Types=attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7:Data.Attoparsec.Types,Data.Attoparsec.Zepto=attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7:Data.Attoparsec.Zepto101 unit attoparsec-0.14.4-J43B0qlx3Re6xID0DcAsku-attoparsec-tests102 include QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF103 include array-0.5.8.0-d499104 include attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7105 include attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal106 include base-4.20.2.0-2363107 include bytestring-0.12.2.0-48be108 include deepseq-1.5.0.0-f4ea109 include quickcheck-unicode-1.0.1.0-L1Z6xAoYG727DaEqKQx3Qd110 include scientific-0.3.8.1-5iD9QSAXUXR2Z3f5rlJL4x111 include tasty-1.5.4-BvvpoBNU3F8HGTXUJWxxre112 include tasty-quickcheck-0.11.1-IdhD6b6ZrsTIllAyyty70G113 include text-2.1.3-5a6f114 include transformers-0.6.1.1-4795115 include vector-0.13.2.0-2pPxI2GqbvB6rFLTxPtp5b116Ready component graph:117 definite attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal118 depends array-0.5.8.0-d499119 depends base-4.20.2.0-2363120 depends bytestring-0.12.2.0-48be121 depends text-2.1.3-5a6f122 definite attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7123 depends array-0.5.8.0-d499124 depends attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal125 depends base-4.20.2.0-2363126 depends bytestring-0.12.2.0-48be127 depends containers-0.7-5389128 depends deepseq-1.5.0.0-f4ea129 depends ghc-prim-0.12.0-431d130 depends scientific-0.3.8.1-5iD9QSAXUXR2Z3f5rlJL4x131 depends text-2.1.3-5a6f132 depends transformers-0.6.1.1-4795133 definite attoparsec-0.14.4-J43B0qlx3Re6xID0DcAsku-attoparsec-tests134 depends QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF135 depends array-0.5.8.0-d499136 depends attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7137 depends attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal138 depends base-4.20.2.0-2363139 depends bytestring-0.12.2.0-48be140 depends deepseq-1.5.0.0-f4ea141 depends quickcheck-unicode-1.0.1.0-L1Z6xAoYG727DaEqKQx3Qd142 depends scientific-0.3.8.1-5iD9QSAXUXR2Z3f5rlJL4x143 depends tasty-1.5.4-BvvpoBNU3F8HGTXUJWxxre144 depends tasty-quickcheck-0.11.1-IdhD6b6ZrsTIllAyyty70G145 depends text-2.1.3-5a6f146 depends transformers-0.6.1.1-4795147 depends vector-0.13.2.0-2pPxI2GqbvB6rFLTxPtp5b148Using Cabal-3.12.1.0 compiled by ghc-9.10149Using compiler: ghc-9.10.3150Using install prefix:151/nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4152Executables installed in:153/nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4/bin154Libraries installed in:155/nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7156Dynamic Libraries installed in:157/nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c158Private executables installed in:159/nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4/libexec/x86_64-linux-ghc-9.10.3-ad9c/attoparsec-0.14.4160Data files installed in:161/nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4/share/x86_64-linux-ghc-9.10.3-ad9c/attoparsec-0.14.4162Documentation installed in:163/nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4/share/doc/x86_64-linux-ghc-9.10.3-ad9c/attoparsec-0.14.4164Configuration files installed in:165/nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4/etc166No alex found167Using ar found on system at:168/nix/store/nhjmc8clp6igx6n6zrjxlh7zri78p7ng-binutils-wrapper-2.46/bin/ar169No c2hs found170No cpphs found171No doctest found172Using gcc version 15.2.0 given by user at:173/nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/gcc174Using ghc version 9.10.3 found on system at:175/nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/ghc176Using ghc-pkg version 9.10.3 found on system at:177/nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/ghc-pkg-9.10.3178No ghcjs found179No ghcjs-pkg found180No greencard found181Using haddock version 2.31.1 found on system at:182/nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/haddock-ghc-9.10.3183No happy found184Using haskell-suite found on system at: haskell-suite-dummy-location185Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location186No hmake found187Using hpc version 0.69 found on system at:188/nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/hpc-ghc-9.10.3189Using hsc2hs version 0.68.10 found on system at:190/nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3191Using hscolour version 1.25 found on system at:192/nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/bin/HsColour193No jhc found194Using ld found on system at:195/nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/ld196No pkg-config found197Using runghc version 9.10.3 found on system at:198/nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/runghc-9.10.3199Using strip version 2.46 found on system at:200/nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/strip201Using tar found on system at:202/nix/store/fq62mc3s8ddxgk1nvlbzly2zmr7v2cax-gnutar-1.35/bin/tar203No uhc foundbuildPhase
204Preprocessing library 'attoparsec-internal' for attoparsec-0.14.4...205Building library 'attoparsec-internal' for attoparsec-0.14.4...206[1 of 6] Compiling Data.Attoparsec.ByteString.FastSet ( internal/Data/Attoparsec/ByteString/FastSet.hs, dist/build/attoparsec-internal/Data/Attoparsec/ByteString/FastSet.o, dist/build/attoparsec-internal/Data/Attoparsec/ByteString/FastSet.dyn_o )207internal/Data/Attoparsec/ByteString/FastSet.hs:97:18: warning: [GHC-68441] [-Wdeprecations]208 In the use of ‘memset’209 (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type):210 Deprecated: "Use Foreign.Marshal.Utils.fillBytes instead"211 |21297 | _ <- I.memset t 0 32213 | ^^^^^^^^214215[2 of 6] Compiling Data.Attoparsec.Internal.Compat ( internal/Data/Attoparsec/Internal/Compat.hs, dist/build/attoparsec-internal/Data/Attoparsec/Internal/Compat.o, dist/build/attoparsec-internal/Data/Attoparsec/Internal/Compat.dyn_o )216[3 of 6] Compiling Data.Attoparsec.Internal.Fhthagn ( internal/Data/Attoparsec/Internal/Fhthagn.hs, dist/build/attoparsec-internal/Data/Attoparsec/Internal/Fhthagn.o, dist/build/attoparsec-internal/Data/Attoparsec/Internal/Fhthagn.dyn_o )217[4 of 6] Compiling Data.Attoparsec.ByteString.Buffer ( internal/Data/Attoparsec/ByteString/Buffer.hs, dist/build/attoparsec-internal/Data/Attoparsec/ByteString/Buffer.o, dist/build/attoparsec-internal/Data/Attoparsec/ByteString/Buffer.dyn_o )218internal/Data/Attoparsec/ByteString/Buffer.hs:62:1: warning: [GHC-66111] [-Wunused-imports]219 The import of ‘Data.Semigroup’ is redundant220 except perhaps to import instances from ‘Data.Semigroup’221 To import instances alone, use: import Data.Semigroup()222 |22362 | import Data.Semigroup (Semigroup(..))224 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^225226internal/Data/Attoparsec/ByteString/Buffer.hs:121:11: warning: [GHC-68441] [-Wdeprecations]227 In the use of ‘memcpy’228 (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type):229 Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead"230 |231121 | memcpy (ptr0 `plusPtr` (off0+len0))232 | ^^^^^^233234internal/Data/Attoparsec/ByteString/Buffer.hs:132:13: warning: [GHC-68441] [-Wdeprecations]235 In the use of ‘memcpy’236 (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type):237 Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead"238 |239132 | memcpy ptr (ptr0 `plusPtr` off0) (fromIntegral len0)240 | ^^^^^^241242internal/Data/Attoparsec/ByteString/Buffer.hs:133:13: warning: [GHC-68441] [-Wdeprecations]243 In the use of ‘memcpy’244 (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type):245 Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead"246 |247133 | memcpy (ptr `plusPtr` len0) (ptr1 `plusPtr` off1)248 | ^^^^^^249250[5 of 6] Compiling Data.Attoparsec.Text.Buffer ( internal/Data/Attoparsec/Text/Buffer.hs, dist/build/attoparsec-internal/Data/Attoparsec/Text/Buffer.o, dist/build/attoparsec-internal/Data/Attoparsec/Text/Buffer.dyn_o )251internal/Data/Attoparsec/Text/Buffer.hs:44:1: warning: [GHC-66111] [-Wunused-imports]252 The import of ‘Data.Semigroup’ is redundant253 except perhaps to import instances from ‘Data.Semigroup’254 To import instances alone, use: import Data.Semigroup()255 |25644 | import Data.Semigroup (Semigroup(..))257 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^258259[6 of 6] Compiling Data.Attoparsec.Text.FastSet ( internal/Data/Attoparsec/Text/FastSet.hs, dist/build/attoparsec-internal/Data/Attoparsec/Text/FastSet.o, dist/build/attoparsec-internal/Data/Attoparsec/Text/FastSet.dyn_o )260[1 of 6] Compiling Data.Attoparsec.ByteString.FastSet ( internal/Data/Attoparsec/ByteString/FastSet.hs, dist/build/attoparsec-internal/Data/Attoparsec/ByteString/FastSet.p_o )261internal/Data/Attoparsec/ByteString/FastSet.hs:97:18: warning: [GHC-68441] [-Wdeprecations]262 In the use of ‘memset’263 (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type):264 Deprecated: "Use Foreign.Marshal.Utils.fillBytes instead"265 |26697 | _ <- I.memset t 0 32267 | ^^^^^^^^268269[2 of 6] Compiling Data.Attoparsec.Internal.Compat ( internal/Data/Attoparsec/Internal/Compat.hs, dist/build/attoparsec-internal/Data/Attoparsec/Internal/Compat.p_o )270[3 of 6] Compiling Data.Attoparsec.Internal.Fhthagn ( internal/Data/Attoparsec/Internal/Fhthagn.hs, dist/build/attoparsec-internal/Data/Attoparsec/Internal/Fhthagn.p_o )271[4 of 6] Compiling Data.Attoparsec.ByteString.Buffer ( internal/Data/Attoparsec/ByteString/Buffer.hs, dist/build/attoparsec-internal/Data/Attoparsec/ByteString/Buffer.p_o )272internal/Data/Attoparsec/ByteString/Buffer.hs:62:1: warning: [GHC-66111] [-Wunused-imports]273 The import of ‘Data.Semigroup’ is redundant274 except perhaps to import instances from ‘Data.Semigroup’275 To import instances alone, use: import Data.Semigroup()276 |27762 | import Data.Semigroup (Semigroup(..))278 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^279280internal/Data/Attoparsec/ByteString/Buffer.hs:121:11: warning: [GHC-68441] [-Wdeprecations]281 In the use of ‘memcpy’282 (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type):283 Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead"284 |285121 | memcpy (ptr0 `plusPtr` (off0+len0))286 | ^^^^^^287288internal/Data/Attoparsec/ByteString/Buffer.hs:132:13: warning: [GHC-68441] [-Wdeprecations]289 In the use of ‘memcpy’290 (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type):291 Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead"292 |293132 | memcpy ptr (ptr0 `plusPtr` off0) (fromIntegral len0)294 | ^^^^^^295296internal/Data/Attoparsec/ByteString/Buffer.hs:133:13: warning: [GHC-68441] [-Wdeprecations]297 In the use of ‘memcpy’298 (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type):299 Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead"300 |301133 | memcpy (ptr `plusPtr` len0) (ptr1 `plusPtr` off1)302 | ^^^^^^303304[5 of 6] Compiling Data.Attoparsec.Text.Buffer ( internal/Data/Attoparsec/Text/Buffer.hs, dist/build/attoparsec-internal/Data/Attoparsec/Text/Buffer.p_o )305internal/Data/Attoparsec/Text/Buffer.hs:44:1: warning: [GHC-66111] [-Wunused-imports]306 The import of ‘Data.Semigroup’ is redundant307 except perhaps to import instances from ‘Data.Semigroup’308 To import instances alone, use: import Data.Semigroup()309 |31044 | import Data.Semigroup (Semigroup(..))311 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^312313[6 of 6] Compiling Data.Attoparsec.Text.FastSet ( internal/Data/Attoparsec/Text/FastSet.hs, dist/build/attoparsec-internal/Data/Attoparsec/Text/FastSet.p_o )314Preprocessing library for attoparsec-0.14.4...315Building library for attoparsec-0.14.4...316[ 1 of 16] Compiling Data.Attoparsec.Internal.Types ( Data/Attoparsec/Internal/Types.hs, dist/build/Data/Attoparsec/Internal/Types.o, dist/build/Data/Attoparsec/Internal/Types.dyn_o )317Data/Attoparsec/Internal/Types.hs:28:53: warning: [GHC-38856] [-Wunused-imports]318 The import of ‘<$>’ from module ‘Control.Applicative’ is redundant319 |32028 | import Control.Applicative as App (Applicative(..), (<$>))321 | ^^^^^322323Data/Attoparsec/Internal/Types.hs:34:1: warning: [GHC-66111] [-Wunused-imports]324 The import of ‘Data.Semigroup’ is redundant325 except perhaps to import instances from ‘Data.Semigroup’326 To import instances alone, use: import Data.Semigroup()327 |32834 | import Data.Semigroup (Semigroup(..))329 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^330331[ 2 of 16] Compiling Data.Attoparsec.Internal ( Data/Attoparsec/Internal.hs, dist/build/Data/Attoparsec/Internal.o, dist/build/Data/Attoparsec/Internal.dyn_o )332[ 3 of 16] Compiling Data.Attoparsec.Number ( Data/Attoparsec/Number.hs, dist/build/Data/Attoparsec/Number.o, dist/build/Data/Attoparsec/Number.dyn_o )333[ 4 of 16] Compiling Data.Attoparsec.Types ( Data/Attoparsec/Types.hs, dist/build/Data/Attoparsec/Types.o, dist/build/Data/Attoparsec/Types.dyn_o )334[ 5 of 16] Compiling Data.Attoparsec.Zepto ( Data/Attoparsec/Zepto.hs, dist/build/Data/Attoparsec/Zepto.o, dist/build/Data/Attoparsec/Zepto.dyn_o )335Data/Attoparsec/Zepto.hs:46:1: warning: [GHC-66111] [-Wunused-imports]336 The import of ‘Data.Semigroup’ is redundant337 except perhaps to import instances from ‘Data.Semigroup’338 To import instances alone, use: import Data.Semigroup()339 |34046 | import Data.Semigroup (Semigroup(..))341 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^342343[ 6 of 16] Compiling Data.Attoparsec.Combinator ( Data/Attoparsec/Combinator.hs, dist/build/Data/Attoparsec/Combinator.o, dist/build/Data/Attoparsec/Combinator.dyn_o )344Data/Attoparsec/Combinator.hs:46:46: warning: [GHC-38856] [-Wunused-imports]345 The import of ‘liftA2’346 from module ‘Control.Applicative’ is redundant347 |34846 | import Control.Applicative (Alternative(..), liftA2, many, (<|>))349 | ^^^^^^350351[ 7 of 16] Compiling Data.Attoparsec.Text.Internal ( Data/Attoparsec/Text/Internal.hs, dist/build/Data/Attoparsec/Text/Internal.o, dist/build/Data/Attoparsec/Text/Internal.dyn_o )352Data/Attoparsec/Text/Internal.hs:68:36: warning: [GHC-38856] [-Wunused-imports]353 The import of ‘*>, <$>, pure’354 from module ‘Control.Applicative’ is redundant355 |35668 | import Control.Applicative ((<|>), (<$>), pure, (*>))357 | ^^^^^^^^^^^^^^^^^358359Data/Attoparsec/Text/Internal.hs:91:13: warning: [GHC-58520] [-Wtype-equality-requires-operators]360 The use of ‘~’ without TypeOperators361 will become an error in a future GHC release.362 Suggested fix: Perhaps you intended to use TypeOperators363 |36491 | instance (a ~ Text) => IsString (Parser a) where365 | ^366367[ 8 of 16] Compiling Data.Attoparsec.Text ( Data/Attoparsec/Text.hs, dist/build/Data/Attoparsec/Text.o, dist/build/Data/Attoparsec/Text.dyn_o )368[ 9 of 16] Compiling Data.Attoparsec.Text.Lazy ( Data/Attoparsec/Text/Lazy.hs, dist/build/Data/Attoparsec/Text/Lazy.o, dist/build/Data/Attoparsec/Text/Lazy.dyn_o )369[10 of 16] Compiling Data.Attoparsec.ByteString.Internal ( Data/Attoparsec/ByteString/Internal.hs, dist/build/Data/Attoparsec/ByteString/Internal.o, dist/build/Data/Attoparsec/ByteString/Internal.dyn_o )370[11 of 16] Compiling Data.Attoparsec.ByteString ( Data/Attoparsec/ByteString.hs, dist/build/Data/Attoparsec/ByteString.o, dist/build/Data/Attoparsec/ByteString.dyn_o )371[12 of 16] Compiling Data.Attoparsec.ByteString.Lazy ( Data/Attoparsec/ByteString/Lazy.hs, dist/build/Data/Attoparsec/ByteString/Lazy.o, dist/build/Data/Attoparsec/ByteString/Lazy.dyn_o )372[13 of 16] Compiling Data.Attoparsec.Lazy ( Data/Attoparsec/Lazy.hs, dist/build/Data/Attoparsec/Lazy.o, dist/build/Data/Attoparsec/Lazy.dyn_o )373[14 of 16] Compiling Data.Attoparsec.ByteString.Char8 ( Data/Attoparsec/ByteString/Char8.hs, dist/build/Data/Attoparsec/ByteString/Char8.o, dist/build/Data/Attoparsec/ByteString/Char8.dyn_o )374Data/Attoparsec/ByteString/Char8.hs:154:13: warning: [GHC-58520] [-Wtype-equality-requires-operators]375 The use of ‘~’ without TypeOperators376 will become an error in a future GHC release.377 Suggested fix: Perhaps you intended to use TypeOperators378 |379154 | instance (a ~ B.ByteString) => IsString (Parser a) where380 | ^381382[15 of 16] Compiling Data.Attoparsec.Char8 ( Data/Attoparsec/Char8.hs, dist/build/Data/Attoparsec/Char8.o, dist/build/Data/Attoparsec/Char8.dyn_o )383[16 of 16] Compiling Data.Attoparsec ( Data/Attoparsec.hs, dist/build/Data/Attoparsec.o, dist/build/Data/Attoparsec.dyn_o )384[ 1 of 16] Compiling Data.Attoparsec.Internal.Types ( Data/Attoparsec/Internal/Types.hs, dist/build/Data/Attoparsec/Internal/Types.p_o )385Data/Attoparsec/Internal/Types.hs:28:53: warning: [GHC-38856] [-Wunused-imports]386 The import of ‘<$>’ from module ‘Control.Applicative’ is redundant387 |38828 | import Control.Applicative as App (Applicative(..), (<$>))389 | ^^^^^390391Data/Attoparsec/Internal/Types.hs:34:1: warning: [GHC-66111] [-Wunused-imports]392 The import of ‘Data.Semigroup’ is redundant393 except perhaps to import instances from ‘Data.Semigroup’394 To import instances alone, use: import Data.Semigroup()395 |39634 | import Data.Semigroup (Semigroup(..))397 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^398399[ 2 of 16] Compiling Data.Attoparsec.Internal ( Data/Attoparsec/Internal.hs, dist/build/Data/Attoparsec/Internal.p_o )400[ 3 of 16] Compiling Data.Attoparsec.Number ( Data/Attoparsec/Number.hs, dist/build/Data/Attoparsec/Number.p_o )401[ 4 of 16] Compiling Data.Attoparsec.Types ( Data/Attoparsec/Types.hs, dist/build/Data/Attoparsec/Types.p_o )402[ 5 of 16] Compiling Data.Attoparsec.Zepto ( Data/Attoparsec/Zepto.hs, dist/build/Data/Attoparsec/Zepto.p_o )403Data/Attoparsec/Zepto.hs:46:1: warning: [GHC-66111] [-Wunused-imports]404 The import of ‘Data.Semigroup’ is redundant405 except perhaps to import instances from ‘Data.Semigroup’406 To import instances alone, use: import Data.Semigroup()407 |40846 | import Data.Semigroup (Semigroup(..))409 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^410411[ 6 of 16] Compiling Data.Attoparsec.Combinator ( Data/Attoparsec/Combinator.hs, dist/build/Data/Attoparsec/Combinator.p_o )412Data/Attoparsec/Combinator.hs:46:46: warning: [GHC-38856] [-Wunused-imports]413 The import of ‘liftA2’414 from module ‘Control.Applicative’ is redundant415 |41646 | import Control.Applicative (Alternative(..), liftA2, many, (<|>))417 | ^^^^^^418419[ 7 of 16] Compiling Data.Attoparsec.Text.Internal ( Data/Attoparsec/Text/Internal.hs, dist/build/Data/Attoparsec/Text/Internal.p_o )420Data/Attoparsec/Text/Internal.hs:68:36: warning: [GHC-38856] [-Wunused-imports]421 The import of ‘*>, <$>, pure’422 from module ‘Control.Applicative’ is redundant423 |42468 | import Control.Applicative ((<|>), (<$>), pure, (*>))425 | ^^^^^^^^^^^^^^^^^426427Data/Attoparsec/Text/Internal.hs:91:13: warning: [GHC-58520] [-Wtype-equality-requires-operators]428 The use of ‘~’ without TypeOperators429 will become an error in a future GHC release.430 Suggested fix: Perhaps you intended to use TypeOperators431 |43291 | instance (a ~ Text) => IsString (Parser a) where433 | ^434435[ 8 of 16] Compiling Data.Attoparsec.Text ( Data/Attoparsec/Text.hs, dist/build/Data/Attoparsec/Text.p_o )436[ 9 of 16] Compiling Data.Attoparsec.Text.Lazy ( Data/Attoparsec/Text/Lazy.hs, dist/build/Data/Attoparsec/Text/Lazy.p_o )437[10 of 16] Compiling Data.Attoparsec.ByteString.Internal ( Data/Attoparsec/ByteString/Internal.hs, dist/build/Data/Attoparsec/ByteString/Internal.p_o )438[11 of 16] Compiling Data.Attoparsec.ByteString ( Data/Attoparsec/ByteString.hs, dist/build/Data/Attoparsec/ByteString.p_o )439[12 of 16] Compiling Data.Attoparsec.ByteString.Lazy ( Data/Attoparsec/ByteString/Lazy.hs, dist/build/Data/Attoparsec/ByteString/Lazy.p_o )440[13 of 16] Compiling Data.Attoparsec.Lazy ( Data/Attoparsec/Lazy.hs, dist/build/Data/Attoparsec/Lazy.p_o )441[14 of 16] Compiling Data.Attoparsec.ByteString.Char8 ( Data/Attoparsec/ByteString/Char8.hs, dist/build/Data/Attoparsec/ByteString/Char8.p_o )442Data/Attoparsec/ByteString/Char8.hs:154:13: warning: [GHC-58520] [-Wtype-equality-requires-operators]443 The use of ‘~’ without TypeOperators444 will become an error in a future GHC release.445 Suggested fix: Perhaps you intended to use TypeOperators446 |447154 | instance (a ~ B.ByteString) => IsString (Parser a) where448 | ^449450[15 of 16] Compiling Data.Attoparsec.Char8 ( Data/Attoparsec/Char8.hs, dist/build/Data/Attoparsec/Char8.p_o )451[16 of 16] Compiling Data.Attoparsec ( Data/Attoparsec.hs, dist/build/Data/Attoparsec.p_o )452Preprocessing test suite 'attoparsec-tests' for attoparsec-0.14.4...453Building test suite 'attoparsec-tests' for attoparsec-0.14.4...454[ 1 of 12] Compiling QC.Common ( tests/QC/Common.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/Common.o )455[ 2 of 12] Compiling QC.Combinator ( tests/QC/Combinator.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/Combinator.o )456[ 3 of 12] Compiling QC.ByteString ( tests/QC/ByteString.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/ByteString.o )457[ 4 of 12] Compiling QC.Buffer ( tests/QC/Buffer.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/Buffer.o )458[ 5 of 12] Compiling QC.IPv6.Types ( tests/QC/IPv6/Types.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/IPv6/Types.o )459[ 6 of 12] Compiling QC.IPv6.Internal ( tests/QC/IPv6/Internal.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/IPv6/Internal.o )460tests/QC/IPv6/Internal.hs:32:1: warning: [GHC-66111] [-Wunused-imports]461 The import of ‘Control.Monad’ is redundant462 except perhaps to import instances from ‘Control.Monad’463 To import instances alone, use: import Control.Monad()464 |46532 | import Control.Monad (replicateM)466 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^467468tests/QC/IPv6/Internal.hs:34:27: warning: [GHC-38856] [-Wunused-imports]469 The import of ‘isHexDigit, toLower’470 from module ‘Data.Char’ is redundant471 |47234 | import Data.Char (isDigit,isHexDigit,toLower)473 | ^^^^^^^^^^^^^^^^^^474475tests/QC/IPv6/Internal.hs:35:1: warning: [GHC-66111] [-Wunused-imports]476 The import of ‘Data.Monoid’ is redundant477 except perhaps to import instances from ‘Data.Monoid’478 To import instances alone, use: import Data.Monoid()479 |48035 | import Data.Monoid ((<>))481 | ^^^^^^^^^^^^^^^^^^^^^^^^^482483tests/QC/IPv6/Internal.hs:36:35: warning: [GHC-38856] [-Wunused-imports]484 The import of ‘<*’ from module ‘Control.Applicative’ is redundant485 |48636 | import Control.Applicative ((<|>),(<*))487 | ^^^^488489tests/QC/IPv6/Internal.hs:38:1: warning: [GHC-66111] [-Wunused-imports]490 The import of ‘Data.Word’ is redundant491 except perhaps to import instances from ‘Data.Word’492 To import instances alone, use: import Data.Word()493 |49438 | import Data.Word (Word32)495 | ^^^^^^^^^^^^^^^^^^^^^^^^^496497tests/QC/IPv6/Internal.hs:46:1: warning: [GHC-38417] [-Wmissing-signatures]498 Top-level binding with no type signature: tok0 :: T.Text499 |50046 | tok0 = "0"501 | ^^^^502503tests/QC/IPv6/Internal.hs:68:36: warning: [GHC-40910] [-Wunused-matches]504 Defined but not used: ‘tok1’505 |50668 | isIPv6Addr [DoubleColon,SixteenBit tok1] = True507 | ^^^^508509tests/QC/IPv6/Internal.hs:77:17: warning: [GHC-18042] [-Wtype-defaults]510 • Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraints511 (Eq a0)512 arising from the literal ‘0’ at tests/QC/IPv6/Internal.hs:77:17513 (Num a0)514 arising from the literal ‘0’ at tests/QC/IPv6/Internal.hs:77:17515 (Num a0)516 arising from a use of ‘oneMoreIPv4Addr’517 at tests/QC/IPv6/Internal.hs:109:23-37518 (Eq a0)519 arising from a use of ‘==’ at tests/QC/IPv6/Internal.hs:221:45-46520 (Num a0)521 arising from the literal ‘1’ at tests/QC/IPv6/Internal.hs:221:48522 • In the pattern: 0523 In a case alternative:524 0 -> case lasttk of525 SixteenBit _ -> lenconst526 DoubleColon -> lenconst527 AllZeros -> lenconst528 _ -> False529 In the second argument of ‘(&&)’, namely530 ‘(case countIPv4Addr tks of531 0 -> case lasttk of532 SixteenBit _ -> lenconst533 DoubleColon -> lenconst534 AllZeros -> lenconst535 _ -> False536 1 -> case lasttk of537 IPv4Addr _538 -> (lentks == 13 && cdctks == 0) || (lentks < 12 && cdctks == 1)539 _ -> False540 otherwise -> False)’541 |54277 | 0 -> case lasttk of543 | ^544545tests/QC/IPv6/Internal.hs:85:17: warning: [GHC-40910] [-Wunused-matches]546 Defined but not used: ‘otherwise’547 |54885 | otherwise -> False))549 | ^^^^^^^^^550551tests/QC/IPv6/Internal.hs:85:17: warning: [GHC-63397] [-Wname-shadowing]552 This binding for ‘otherwise’ shadows the existing binding553 imported from ‘Prelude’ at tests/QC/IPv6/Internal.hs:16:8-23554 (and originally defined in ‘ghc-internal-9.1003.0:GHC.Internal.Base’)555 |55685 | otherwise -> False))557 | ^^^^^^^^^558559tests/QC/IPv6/Internal.hs:89:29: warning: [GHC-63394] [-Wx-partial]560 In the use of ‘head’561 (imported from Prelude, but defined in GHC.Internal.List):562 "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"."563 |56489 | let h = head ts565 | ^^^^566567tests/QC/IPv6/Internal.hs:101:26: warning: [GHC-63394] [-Wx-partial]568 In the use of ‘head’569 (imported from Prelude, but defined in GHC.Internal.List):570 "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"."571 |572101 | case head l of573 | ^^^^574575tests/QC/IPv6/Internal.hs:107:17: warning: [GHC-40910] [-Wunused-local-binds]576 Defined but not used: ‘tok1’577 |578107 | tok1 = "1"579 | ^^^^580581tests/QC/IPv6/Internal.hs:107:24: warning: [GHC-18042] [-Wtype-defaults]582 • Defaulting the type variable ‘a0’ to type ‘String’ in the following constraint583 ghc-internal-9.1003.0:GHC.Internal.Data.String.IsString a0584 arising from the literal ‘"1"’585 • In the expression: "1"586 In an equation for ‘tok1’: tok1 = "1"587 In an equation for ‘isIPv6Addr’:588 isIPv6Addr tks589 = diffNext tks590 &&591 (do let cdctks = countDoubleColon tks592 let lentks = length tks593 let lasttk = last tks594 let lenconst595 = (lentks == 15 && cdctks == 0) || (lentks < 15 && cdctks == 1)596 ....)597 where598 diffNext [] = False599 diffNext [_] = True600 diffNext (t : ts)601 = do let ...602 ....603 firstValidToken l604 = case head l of605 SixteenBit _ -> True606 DoubleColon -> True607 AllZeros -> True608 _ -> False609 countDoubleColon l = length $ elemIndices DoubleColon l610 tok1 = "1"611 |612107 | tok1 = "1"613 | ^^^614615tests/QC/IPv6/Internal.hs:109:1: warning: [GHC-38417] [-Wmissing-signatures]616 Top-level binding with no type signature:617 countIPv4Addr :: [IPv6AddrToken] -> Integer618 |619109 | countIPv4Addr = foldr oneMoreIPv4Addr 0620 | ^^^^^^^^^^^^^621622tests/QC/IPv6/Internal.hs:113:31: warning: [GHC-40910] [-Wunused-matches]623 Defined but not used: ‘otherwise’624 |625113 | otherwise -> c626 | ^^^^^^^^^627628tests/QC/IPv6/Internal.hs:113:31: warning: [GHC-63397] [-Wname-shadowing]629 This binding for ‘otherwise’ shadows the existing binding630 imported from ‘Prelude’ at tests/QC/IPv6/Internal.hs:16:8-23631 (and originally defined in ‘ghc-internal-9.1003.0:GHC.Internal.Base’)632 |633113 | otherwise -> c634 | ^^^^^^^^^635636tests/QC/IPv6/Internal.hs:145:5: warning: [GHC-62161] [-Wincomplete-patterns]637 Pattern match(es) are non-exhaustive638 In a case alternative:639 Patterns of type ‘IResult T.Text [IPv6AddrToken]’ not matched:640 Partial _641 |642145 | case readText s of643 | ^^^^^^^^^^^^^^^^^^...644645tests/QC/IPv6/Internal.hs:149:14: warning: [GHC-63397] [-Wname-shadowing]646 This binding for ‘s’ shadows the existing binding647 bound at tests/QC/IPv6/Internal.hs:144:21648 |649149 | readText s = feed (parse (many1 $ ipv4Addr <|> sixteenBit <|> doubleColon <|> colon) s) T.empty650 | ^651652tests/QC/IPv6/Internal.hs:212:55: warning: [GHC-63394] [-Wx-partial]653 In the use of ‘tail’654 (imported from Prelude, but defined in GHC.Internal.List):655 "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"."656 |657212 | let snds = if not (null (snd s)) then tail(snd s) else []658 | ^^^^659660tests/QC/IPv6/Internal.hs:219:34: warning: [GHC-63397] [-Wname-shadowing]661 This binding for ‘x’ shadows the existing binding662 bound at tests/QC/IPv6/Internal.hs:218:42663 |664219 | ntks tks - foldl (\c x -> if (x /= DoubleColon) && (x /= Colon) then c+1 else c) 0 x665 | ^666667tests/QC/IPv6/Internal.hs:221:18: warning: [GHC-63397] [-Wname-shadowing]668 This binding for ‘tks’ shadows the existing binding669 bound at tests/QC/IPv6/Internal.hs:207:17670 |671221 | ntks tks = if countIPv4Addr tks == 1 then 7 else 8672 | ^^^673674tests/QC/IPv6/Internal.hs:242:25: warning: [GHC-63397] [-Wname-shadowing]675 This binding for ‘t’ shadows the existing binding676 bound at tests/QC/IPv6/Internal.hs:235:23677 |678242 | where longest t = case t of679 | ^680681tests/QC/IPv6/Internal.hs:247:21: warning: [GHC-63394] [-Wx-partial]682 In the use of ‘head’683 (imported from Prelude, but defined in GHC.Internal.List):684 "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"."685 |686247 | helper h = (head h == AllZeros, lh) where lh = length h687 | ^^^^688689tests/QC/IPv6/Internal.hs:298:12: warning: [GHC-18042] [-Wtype-defaults]690 • Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraints691 (Integral a0)692 arising from a use of ‘R.decimal’693 at tests/QC/IPv6/Internal.hs:298:12-20694 (Ord a0)695 arising from a use of ‘<’ at tests/QC/IPv6/Internal.hs:299:39696 (Num a0)697 arising from the literal ‘256’698 at tests/QC/IPv6/Internal.hs:299:41-43699 (Show a0)700 arising from a use of ‘show’ at tests/QC/IPv6/Internal.hs:299:59-62701 • In the expression: R.decimal ds702 In a stmt of a 'do' block:703 case R.decimal ds of704 Right (n, _)705 -> return (if n < 256 then T.pack $ show n else T.empty)706 Left _ -> return T.empty707 In the expression:708 do ds <- takeWhile1 isDigit709 case R.decimal ds of710 Right (n, _)711 -> return (if n < 256 then T.pack $ show n else T.empty)712 Left _ -> return T.empty713 |714298 | case R.decimal ds of715 | ^^^^^^^^^716717tests/QC/IPv6/Internal.hs:304:5: warning: [GHC-81995] [-Wunused-do-bind]718 A do-notation statement discarded a result of type ‘T.Text’719 Suggested fix: Suppress this warning by saying ‘_ <- string "::"’720 |721304 | string "::"722 | ^^^^^^^^^^^723724tests/QC/IPv6/Internal.hs:309:5: warning: [GHC-81995] [-Wunused-do-bind]725 A do-notation statement discarded a result of type ‘T.Text’726 Suggested fix: Suppress this warning by saying ‘_ <- string ":"’727 |728309 | string ":"729 | ^^^^^^^^^^730731[ 7 of 12] Compiling QC.Rechunked ( tests/QC/Rechunked.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/Rechunked.o )732[ 8 of 12] Compiling QC.Simple ( tests/QC/Simple.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/Simple.o )733tests/QC/Simple.hs:10:1: warning: [GHC-66111] [-Wunused-imports]734 The import of ‘Data.List’ is redundant735 except perhaps to import instances from ‘Data.List’736 To import instances alone, use: import Data.List()737 |73810 | import Data.List (foldl')739 | ^^^^^^^^^^^^^^^^^^^^^^^^^740741[ 9 of 12] Compiling QC.Text.FastSet ( tests/QC/Text/FastSet.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/Text/FastSet.o )742[10 of 12] Compiling QC.Text.Regressions ( tests/QC/Text/Regressions.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/Text/Regressions.o )743tests/QC/Text/Regressions.hs:9:1: warning: [GHC-66111] [-Wunused-imports]744 The import of ‘Data.List’ is redundant745 except perhaps to import instances from ‘Data.List’746 To import instances alone, use: import Data.List()747 |7489 | import Data.List (foldl')749 | ^^^^^^^^^^^^^^^^^^^^^^^^^750751tests/QC/Text/Regressions.hs:12:1: warning: [GHC-66111] [-Wunused-imports]752 The import of ‘Data.Monoid’ is redundant753 except perhaps to import instances from ‘Data.Monoid’754 To import instances alone, use: import Data.Monoid()755 |75612 | import Data.Monoid ((<>))757 | ^^^^^^^^^^^^^^^^^^^^^^^^^758759[11 of 12] Compiling QC.Text ( tests/QC/Text.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/Text.o )760[12 of 12] Compiling Main ( tests/QC.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/Main.o )761[13 of 13] Linking dist/build/attoparsec-tests/attoparsec-tests762buildPhase completed in 31 secondscheckPhase
763Running 1 test suites...764Test suite attoparsec-tests: RUNNING...765tests766 bs767 anyWord8: OK768 +++ OK, passed 100 tests.769 endOfInput: OK (0.01s)770 +++ OK, passed 100 tests.771 endOfLine: OK772 +++ OK, failed as expected. Falsified, Falsified (after 2 tests):773 "\NUL"774 '\NUL' /= '\n'775 776 ('\NUL',Nothing) /= ('\r',Just '\n')777 notWord8: OK778 +++ OK, passed 100 tests.779 peekWord8: OK780 +++ OK, passed 100 tests.781 peekWord8': OK (0.01s)782 +++ OK, passed 100 tests.783 satisfy: OK784 +++ OK, passed 100 tests.785 satisfyWith: OK786 +++ OK, passed 100 tests.787 scan: OK788 +++ OK, passed 100 tests.789 skip: OK790 +++ OK, failed as expected. Falsified (after 2 tests and 2 shrinks):791 0792 "\NUL"793 not (0 < 0)794 skipWhile: OK795 +++ OK, passed 100 tests.796 string: OK797 +++ OK, passed 100 tests.798 stringCI: OK799 +++ OK, passed 100 tests.800 strings: OK (0.01s)801 +++ OK, passed 100 tests.802 take: OK (0.02s)803 +++ OK, passed 100 tests.804 takeByteString: OK805 +++ OK, passed 100 tests.806 takeCount: OK807 +++ OK, passed 100 tests.808 takeLazyByteString: OK809 +++ OK, passed 100 tests.810 takeTill: OK (0.01s)811 +++ OK, passed 100 tests.812 takeWhile: OK (0.01s)813 +++ OK, passed 100 tests.814 takeWhile1: OK (0.01s)815 +++ OK, passed 100 tests.816 takeWhile1_empty: OK817 +++ OK, passed 100 tests.818 takeWhileIncluding: OK819 +++ OK, passed 100 tests.820 getChunk: OK821 +++ OK, passed 100 tests.822 word8: OK823 +++ OK, passed 100 tests.824 members: OK825 +++ OK, passed 100 tests.826 nonmembers: OK (0.01s)827 +++ OK, passed 100 tests.828 buf829 b_unbuffer: OK (0.02s)830 +++ OK, passed 100 tests.831 t_unbuffer: OK (0.02s)832 +++ OK, passed 100 tests.833 t_unbuffer_three: OK (0.01s)834 +++ OK, passed 100 tests.835 b_length: OK (0.03s)836 +++ OK, passed 100 tests.837 t_length: OK (0.02s)838 +++ OK, passed 100 tests.839 b_unsafeIndex: OK (0.02s)840 +++ OK, passed 100 tests.841 t_iter_: OK (0.02s)842 +++ OK, passed 100 tests.843 b_unsafeDrop: OK (0.03s)844 +++ OK, passed 100 tests.845 t_dropCodeUnits: OK (0.03s)846 +++ OK, passed 100 tests.847 combinator848 choice: OK (0.02s)849 +++ OK, passed 100 tests.850 count: OK (0.01s)851 +++ OK, passed 100 tests.852 lookAhead: OK853 +++ OK, passed 100 tests.854 match: OK (0.01s)855 +++ OK, passed 100 tests.856 simple857 issue75: OK858 +++ OK, passed 100 tests.859 text860 anyChar: OK861 +++ OK, passed 100 tests.862 asciiCI: OK863 +++ OK, passed 100 tests.864 char: OK865 +++ OK, passed 100 tests.866 endOfInput: OK867 +++ OK, passed 100 tests.868 endOfLine: OK869 +++ OK, failed as expected. Falsified, Falsified (after 2 tests and 1 shrink):870 "\NUL"871 '\NUL' /= '\n'872 873 ('\NUL',Nothing) /= ('\r',Just '\n')874 notChar: OK875 +++ OK, passed 100 tests.876 peekChar: OK877 +++ OK, passed 100 tests.878 peekChar': OK879 +++ OK, passed 100 tests.880 satisfy: OK881 +++ OK, passed 100 tests.882 satisfyWith: OK883 +++ OK, passed 100 tests.884 scan: OK885 +++ OK, passed 100 tests.886 skip: OK887 +++ OK, failed as expected. Falsified (after 4 tests and 19 shrinks):888 'a'889 "a"890 not ('a' < 'a')891 skipWhile: OK892 +++ OK, passed 100 tests.893 string: OK894 +++ OK, passed 100 tests.895 strings: OK (0.01s)896 +++ OK, passed 100 tests.897 stringCI: OK898 +++ OK, passed 100 tests.899 take: OK900 +++ OK, passed 100 tests.901 takeText: OK902 +++ OK, passed 100 tests.903 takeCount: OK904 +++ OK, passed 100 tests.905 takeLazyText: OK (0.01s)906 +++ OK, passed 100 tests.907 takeTill: OK908 +++ OK, passed 100 tests.909 takeWhile: OK910 +++ OK, passed 100 tests.911 takeWhile1: OK912 +++ OK, passed 100 tests.913 takeWhile1_empty: OK914 +++ OK, passed 100 tests.915 members: OK (0.01s)916 +++ OK, passed 100 tests.917 nonmembers: OK (0.01s)918 +++ OK, passed 100 tests.919 FastSet920 membership is correct: OK (0.01s)921 +++ OK, passed 100 tests.922 Regressions923 issue105: OK924 +++ OK, passed 100 tests.925926All 69 tests passed (0.04s)927Test suite attoparsec-tests: PASS928Test suite logged to: dist/test/attoparsec-0.14.4-attoparsec-tests.log9291 of 1 test suites (1 of 1 test cases) passed.installPhase
930Installing internal library attoparsec-internal in /nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal931Installing library in /nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7fixupPhase
932shrinking RPATHs of ELF executables and libraries in /nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4933shrinking /nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/libHSattoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal-ghc9.10.3.so934shrinking /nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c/libHSattoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7-ghc9.10.3.so935checking for references to /build/ in /nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4...936patching script interpreter paths in /nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4937stripping (with command strip and flags -S -p) in /nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4/lib