Running phase: setupCompilerEnvironmentPhase Build with /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3. Running phase: unpackPhase unpacking source archive /nix/store/7xizd63623bzgyny21lfm7krwk9kr0qf-attoparsec-0.14.4.tar.gz source root is attoparsec-0.14.4 setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file "attoparsec-0.14.4/tests/QC/Text/Regressions.hs" Running phase: patchPhase Replace Cabal file with edited version from mirror://hackage/attoparsec-0.14.4/revision/6.cabal. Running phase: compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.1fxbnEv7G6/setup-package.conf.d -threaded [1 of 2] Compiling Main ( Setup.lhs, /build/tmp.1fxbnEv7G6/Main.o ) [2 of 2] Linking Setup Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configureFlags: --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/lib Using Parsec parser Configuring attoparsec-0.14.4... Flags chosen: developer=False Dependency array: using array-0.5.8.0 Dependency attoparsec:attoparsec-internal: using attoparsec-0.14.4 Dependency base >=4.5 && <5: using base-4.20.2.0 Dependency bytestring <0.13: using bytestring-0.12.2.0 Dependency containers: using containers-0.7 Dependency deepseq: using deepseq-1.5.0.0 Dependency ghc-prim <0.14: using ghc-prim-0.12.0 Dependency scientific >=0.3.1 && <0.4: using scientific-0.3.8.1 Dependency text >=1.1.1.3: using text-2.1.3 Dependency transformers >=0.2 && <0.4 || >=0.4.1.0 && <0.7: using transformers-0.6.1.1 Dependency array: using array-0.5.8.0 Dependency base >=4.5 && <5: using base-4.20.2.0 Dependency bytestring <0.13: using bytestring-0.12.2.0 Dependency text >=1.1.1.3: using text-2.1.3 Dependency QuickCheck >=2.13.2 && <2.16: using QuickCheck-2.15.0.1 Dependency array: using array-0.5.8.0 Dependency attoparsec:{attoparsec, attoparsec-internal}: using attoparsec-0.14.4 Dependency attoparsec:{attoparsec, attoparsec-internal}: using attoparsec-0.14.4 Dependency base: using base-4.20.2.0 Dependency bytestring: using bytestring-0.12.2.0 Dependency deepseq >=1.1: using deepseq-1.5.0.0 Dependency quickcheck-unicode: using quickcheck-unicode-1.0.1.0 Dependency scientific: using scientific-0.3.8.1 Dependency tasty >=0.11: using tasty-1.5.4 Dependency tasty-quickcheck >=0.8: using tasty-quickcheck-0.11.1 Dependency text: using text-2.1.3 Dependency transformers: using transformers-0.6.1.1 Dependency vector: using vector-0.13.2.0 Source component graph: component lib:attoparsec-internal component lib dependency lib:attoparsec-internal component test:attoparsec-tests dependency lib dependency lib:attoparsec-internal Configured component graph: component attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal include array-0.5.8.0-d499 include base-4.20.2.0-2363 include bytestring-0.12.2.0-48be include text-2.1.3-5a6f component attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7 include array-0.5.8.0-d499 include attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal include base-4.20.2.0-2363 include bytestring-0.12.2.0-48be include containers-0.7-5389 include deepseq-1.5.0.0-f4ea include ghc-prim-0.12.0-431d include scientific-0.3.8.1-5iD9QSAXUXR2Z3f5rlJL4x include text-2.1.3-5a6f include transformers-0.6.1.1-4795 component attoparsec-0.14.4-J43B0qlx3Re6xID0DcAsku-attoparsec-tests include QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF include array-0.5.8.0-d499 include attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7 include attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal include base-4.20.2.0-2363 include bytestring-0.12.2.0-48be include deepseq-1.5.0.0-f4ea include quickcheck-unicode-1.0.1.0-L1Z6xAoYG727DaEqKQx3Qd include scientific-0.3.8.1-5iD9QSAXUXR2Z3f5rlJL4x include tasty-1.5.4-BvvpoBNU3F8HGTXUJWxxre include tasty-quickcheck-0.11.1-IdhD6b6ZrsTIllAyyty70G include text-2.1.3-5a6f include transformers-0.6.1.1-4795 include vector-0.13.2.0-2pPxI2GqbvB6rFLTxPtp5b Linked component graph: unit attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal include array-0.5.8.0-d499 include base-4.20.2.0-2363 include bytestring-0.12.2.0-48be include text-2.1.3-5a6f 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.FastSet unit attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7 include array-0.5.8.0-d499 include attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal include base-4.20.2.0-2363 include bytestring-0.12.2.0-48be include containers-0.7-5389 include deepseq-1.5.0.0-f4ea include ghc-prim-0.12.0-431d include scientific-0.3.8.1-5iD9QSAXUXR2Z3f5rlJL4x include text-2.1.3-5a6f include transformers-0.6.1.1-4795 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.Zepto unit attoparsec-0.14.4-J43B0qlx3Re6xID0DcAsku-attoparsec-tests include QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF include array-0.5.8.0-d499 include attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7 include attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal include base-4.20.2.0-2363 include bytestring-0.12.2.0-48be include deepseq-1.5.0.0-f4ea include quickcheck-unicode-1.0.1.0-L1Z6xAoYG727DaEqKQx3Qd include scientific-0.3.8.1-5iD9QSAXUXR2Z3f5rlJL4x include tasty-1.5.4-BvvpoBNU3F8HGTXUJWxxre include tasty-quickcheck-0.11.1-IdhD6b6ZrsTIllAyyty70G include text-2.1.3-5a6f include transformers-0.6.1.1-4795 include vector-0.13.2.0-2pPxI2GqbvB6rFLTxPtp5b Ready component graph: definite attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal depends array-0.5.8.0-d499 depends base-4.20.2.0-2363 depends bytestring-0.12.2.0-48be depends text-2.1.3-5a6f definite attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7 depends array-0.5.8.0-d499 depends attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal depends base-4.20.2.0-2363 depends bytestring-0.12.2.0-48be depends containers-0.7-5389 depends deepseq-1.5.0.0-f4ea depends ghc-prim-0.12.0-431d depends scientific-0.3.8.1-5iD9QSAXUXR2Z3f5rlJL4x depends text-2.1.3-5a6f depends transformers-0.6.1.1-4795 definite attoparsec-0.14.4-J43B0qlx3Re6xID0DcAsku-attoparsec-tests depends QuickCheck-2.15.0.1-3N2cq88qhTx9tzOlwUpVlF depends array-0.5.8.0-d499 depends attoparsec-0.14.4-BwF81yp5Ylx4XwcIPsh3u7 depends attoparsec-0.14.4-1qSvu79aijiB3kN07maer9-attoparsec-internal depends base-4.20.2.0-2363 depends bytestring-0.12.2.0-48be depends deepseq-1.5.0.0-f4ea depends quickcheck-unicode-1.0.1.0-L1Z6xAoYG727DaEqKQx3Qd depends scientific-0.3.8.1-5iD9QSAXUXR2Z3f5rlJL4x depends tasty-1.5.4-BvvpoBNU3F8HGTXUJWxxre depends tasty-quickcheck-0.11.1-IdhD6b6ZrsTIllAyyty70G depends text-2.1.3-5a6f depends transformers-0.6.1.1-4795 depends vector-0.13.2.0-2pPxI2GqbvB6rFLTxPtp5b Using Cabal-3.12.1.0 compiled by ghc-9.10 Using compiler: ghc-9.10.3 Using install prefix: /nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4 Executables installed in: /nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4/bin Libraries installed 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-BwF81yp5Ylx4XwcIPsh3u7 Dynamic Libraries installed in: /nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-ad9c Private executables installed in: /nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4/libexec/x86_64-linux-ghc-9.10.3-ad9c/attoparsec-0.14.4 Data files installed in: /nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4/share/x86_64-linux-ghc-9.10.3-ad9c/attoparsec-0.14.4 Documentation installed in: /nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4/share/doc/x86_64-linux-ghc-9.10.3-ad9c/attoparsec-0.14.4 Configuration files installed in: /nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4/etc No alex found Using ar found on system at: /nix/store/nhjmc8clp6igx6n6zrjxlh7zri78p7ng-binutils-wrapper-2.46/bin/ar No c2hs found No cpphs found No doctest found Using gcc version 15.2.0 given by user at: /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/gcc Using ghc version 9.10.3 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/ghc Using ghc-pkg version 9.10.3 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/ghc-pkg-9.10.3 No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.31.1 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/haddock-ghc-9.10.3 No happy found Using haskell-suite found on system at: haskell-suite-dummy-location Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location No hmake found Using hpc version 0.69 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/hpc-ghc-9.10.3 Using hsc2hs version 0.68.10 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3 Using hscolour version 1.25 found on system at: /nix/store/7jmv3q39mz536pqn37cb6p25jd9hz5yi-hscolour-1.25/bin/HsColour No jhc found Using ld found on system at: /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/ld No pkg-config found Using runghc version 9.10.3 found on system at: /nix/store/y48hvc1f09367cz5f03dcncv6n3lkf18-ghc-9.10.3/bin/runghc-9.10.3 Using strip version 2.46 found on system at: /nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0/bin/strip Using tar found on system at: /nix/store/fq62mc3s8ddxgk1nvlbzly2zmr7v2cax-gnutar-1.35/bin/tar No uhc found Running phase: buildPhase Preprocessing library 'attoparsec-internal' for attoparsec-0.14.4... Building library 'attoparsec-internal' for attoparsec-0.14.4... [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 ) internal/Data/Attoparsec/ByteString/FastSet.hs:97:18: warning: [GHC-68441] [-Wdeprecations] In the use of ‘memset’ (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type): Deprecated: "Use Foreign.Marshal.Utils.fillBytes instead" | 97 | _ <- I.memset t 0 32 | ^^^^^^^^ [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 ) [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 ) [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 ) internal/Data/Attoparsec/ByteString/Buffer.hs:62:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Semigroup’ is redundant except perhaps to import instances from ‘Data.Semigroup’ To import instances alone, use: import Data.Semigroup() | 62 | import Data.Semigroup (Semigroup(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ internal/Data/Attoparsec/ByteString/Buffer.hs:121:11: warning: [GHC-68441] [-Wdeprecations] In the use of ‘memcpy’ (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type): Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead" | 121 | memcpy (ptr0 `plusPtr` (off0+len0)) | ^^^^^^ internal/Data/Attoparsec/ByteString/Buffer.hs:132:13: warning: [GHC-68441] [-Wdeprecations] In the use of ‘memcpy’ (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type): Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead" | 132 | memcpy ptr (ptr0 `plusPtr` off0) (fromIntegral len0) | ^^^^^^ internal/Data/Attoparsec/ByteString/Buffer.hs:133:13: warning: [GHC-68441] [-Wdeprecations] In the use of ‘memcpy’ (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type): Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead" | 133 | memcpy (ptr `plusPtr` len0) (ptr1 `plusPtr` off1) | ^^^^^^ [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 ) internal/Data/Attoparsec/Text/Buffer.hs:44:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Semigroup’ is redundant except perhaps to import instances from ‘Data.Semigroup’ To import instances alone, use: import Data.Semigroup() | 44 | import Data.Semigroup (Semigroup(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 ) [1 of 6] Compiling Data.Attoparsec.ByteString.FastSet ( internal/Data/Attoparsec/ByteString/FastSet.hs, dist/build/attoparsec-internal/Data/Attoparsec/ByteString/FastSet.p_o ) internal/Data/Attoparsec/ByteString/FastSet.hs:97:18: warning: [GHC-68441] [-Wdeprecations] In the use of ‘memset’ (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type): Deprecated: "Use Foreign.Marshal.Utils.fillBytes instead" | 97 | _ <- I.memset t 0 32 | ^^^^^^^^ [2 of 6] Compiling Data.Attoparsec.Internal.Compat ( internal/Data/Attoparsec/Internal/Compat.hs, dist/build/attoparsec-internal/Data/Attoparsec/Internal/Compat.p_o ) [3 of 6] Compiling Data.Attoparsec.Internal.Fhthagn ( internal/Data/Attoparsec/Internal/Fhthagn.hs, dist/build/attoparsec-internal/Data/Attoparsec/Internal/Fhthagn.p_o ) [4 of 6] Compiling Data.Attoparsec.ByteString.Buffer ( internal/Data/Attoparsec/ByteString/Buffer.hs, dist/build/attoparsec-internal/Data/Attoparsec/ByteString/Buffer.p_o ) internal/Data/Attoparsec/ByteString/Buffer.hs:62:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Semigroup’ is redundant except perhaps to import instances from ‘Data.Semigroup’ To import instances alone, use: import Data.Semigroup() | 62 | import Data.Semigroup (Semigroup(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ internal/Data/Attoparsec/ByteString/Buffer.hs:121:11: warning: [GHC-68441] [-Wdeprecations] In the use of ‘memcpy’ (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type): Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead" | 121 | memcpy (ptr0 `plusPtr` (off0+len0)) | ^^^^^^ internal/Data/Attoparsec/ByteString/Buffer.hs:132:13: warning: [GHC-68441] [-Wdeprecations] In the use of ‘memcpy’ (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type): Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead" | 132 | memcpy ptr (ptr0 `plusPtr` off0) (fromIntegral len0) | ^^^^^^ internal/Data/Attoparsec/ByteString/Buffer.hs:133:13: warning: [GHC-68441] [-Wdeprecations] In the use of ‘memcpy’ (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type): Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead" | 133 | memcpy (ptr `plusPtr` len0) (ptr1 `plusPtr` off1) | ^^^^^^ [5 of 6] Compiling Data.Attoparsec.Text.Buffer ( internal/Data/Attoparsec/Text/Buffer.hs, dist/build/attoparsec-internal/Data/Attoparsec/Text/Buffer.p_o ) internal/Data/Attoparsec/Text/Buffer.hs:44:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Semigroup’ is redundant except perhaps to import instances from ‘Data.Semigroup’ To import instances alone, use: import Data.Semigroup() | 44 | import Data.Semigroup (Semigroup(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [6 of 6] Compiling Data.Attoparsec.Text.FastSet ( internal/Data/Attoparsec/Text/FastSet.hs, dist/build/attoparsec-internal/Data/Attoparsec/Text/FastSet.p_o ) Preprocessing library for attoparsec-0.14.4... Building library for attoparsec-0.14.4... [ 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 ) Data/Attoparsec/Internal/Types.hs:28:53: warning: [GHC-38856] [-Wunused-imports] The import of ‘<$>’ from module ‘Control.Applicative’ is redundant | 28 | import Control.Applicative as App (Applicative(..), (<$>)) | ^^^^^ Data/Attoparsec/Internal/Types.hs:34:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Semigroup’ is redundant except perhaps to import instances from ‘Data.Semigroup’ To import instances alone, use: import Data.Semigroup() | 34 | import Data.Semigroup (Semigroup(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 2 of 16] Compiling Data.Attoparsec.Internal ( Data/Attoparsec/Internal.hs, dist/build/Data/Attoparsec/Internal.o, dist/build/Data/Attoparsec/Internal.dyn_o ) [ 3 of 16] Compiling Data.Attoparsec.Number ( Data/Attoparsec/Number.hs, dist/build/Data/Attoparsec/Number.o, dist/build/Data/Attoparsec/Number.dyn_o ) [ 4 of 16] Compiling Data.Attoparsec.Types ( Data/Attoparsec/Types.hs, dist/build/Data/Attoparsec/Types.o, dist/build/Data/Attoparsec/Types.dyn_o ) [ 5 of 16] Compiling Data.Attoparsec.Zepto ( Data/Attoparsec/Zepto.hs, dist/build/Data/Attoparsec/Zepto.o, dist/build/Data/Attoparsec/Zepto.dyn_o ) Data/Attoparsec/Zepto.hs:46:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Semigroup’ is redundant except perhaps to import instances from ‘Data.Semigroup’ To import instances alone, use: import Data.Semigroup() | 46 | import Data.Semigroup (Semigroup(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 6 of 16] Compiling Data.Attoparsec.Combinator ( Data/Attoparsec/Combinator.hs, dist/build/Data/Attoparsec/Combinator.o, dist/build/Data/Attoparsec/Combinator.dyn_o ) Data/Attoparsec/Combinator.hs:46:46: warning: [GHC-38856] [-Wunused-imports] The import of ‘liftA2’ from module ‘Control.Applicative’ is redundant | 46 | import Control.Applicative (Alternative(..), liftA2, many, (<|>)) | ^^^^^^ [ 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 ) Data/Attoparsec/Text/Internal.hs:68:36: warning: [GHC-38856] [-Wunused-imports] The import of ‘*>, <$>, pure’ from module ‘Control.Applicative’ is redundant | 68 | import Control.Applicative ((<|>), (<$>), pure, (*>)) | ^^^^^^^^^^^^^^^^^ Data/Attoparsec/Text/Internal.hs:91:13: warning: [GHC-58520] [-Wtype-equality-requires-operators] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 91 | instance (a ~ Text) => IsString (Parser a) where | ^ [ 8 of 16] Compiling Data.Attoparsec.Text ( Data/Attoparsec/Text.hs, dist/build/Data/Attoparsec/Text.o, dist/build/Data/Attoparsec/Text.dyn_o ) [ 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 ) [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 ) [11 of 16] Compiling Data.Attoparsec.ByteString ( Data/Attoparsec/ByteString.hs, dist/build/Data/Attoparsec/ByteString.o, dist/build/Data/Attoparsec/ByteString.dyn_o ) [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 ) [13 of 16] Compiling Data.Attoparsec.Lazy ( Data/Attoparsec/Lazy.hs, dist/build/Data/Attoparsec/Lazy.o, dist/build/Data/Attoparsec/Lazy.dyn_o ) [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 ) Data/Attoparsec/ByteString/Char8.hs:154:13: warning: [GHC-58520] [-Wtype-equality-requires-operators] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 154 | instance (a ~ B.ByteString) => IsString (Parser a) where | ^ [15 of 16] Compiling Data.Attoparsec.Char8 ( Data/Attoparsec/Char8.hs, dist/build/Data/Attoparsec/Char8.o, dist/build/Data/Attoparsec/Char8.dyn_o ) [16 of 16] Compiling Data.Attoparsec ( Data/Attoparsec.hs, dist/build/Data/Attoparsec.o, dist/build/Data/Attoparsec.dyn_o ) [ 1 of 16] Compiling Data.Attoparsec.Internal.Types ( Data/Attoparsec/Internal/Types.hs, dist/build/Data/Attoparsec/Internal/Types.p_o ) Data/Attoparsec/Internal/Types.hs:28:53: warning: [GHC-38856] [-Wunused-imports] The import of ‘<$>’ from module ‘Control.Applicative’ is redundant | 28 | import Control.Applicative as App (Applicative(..), (<$>)) | ^^^^^ Data/Attoparsec/Internal/Types.hs:34:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Semigroup’ is redundant except perhaps to import instances from ‘Data.Semigroup’ To import instances alone, use: import Data.Semigroup() | 34 | import Data.Semigroup (Semigroup(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 2 of 16] Compiling Data.Attoparsec.Internal ( Data/Attoparsec/Internal.hs, dist/build/Data/Attoparsec/Internal.p_o ) [ 3 of 16] Compiling Data.Attoparsec.Number ( Data/Attoparsec/Number.hs, dist/build/Data/Attoparsec/Number.p_o ) [ 4 of 16] Compiling Data.Attoparsec.Types ( Data/Attoparsec/Types.hs, dist/build/Data/Attoparsec/Types.p_o ) [ 5 of 16] Compiling Data.Attoparsec.Zepto ( Data/Attoparsec/Zepto.hs, dist/build/Data/Attoparsec/Zepto.p_o ) Data/Attoparsec/Zepto.hs:46:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Semigroup’ is redundant except perhaps to import instances from ‘Data.Semigroup’ To import instances alone, use: import Data.Semigroup() | 46 | import Data.Semigroup (Semigroup(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 6 of 16] Compiling Data.Attoparsec.Combinator ( Data/Attoparsec/Combinator.hs, dist/build/Data/Attoparsec/Combinator.p_o ) Data/Attoparsec/Combinator.hs:46:46: warning: [GHC-38856] [-Wunused-imports] The import of ‘liftA2’ from module ‘Control.Applicative’ is redundant | 46 | import Control.Applicative (Alternative(..), liftA2, many, (<|>)) | ^^^^^^ [ 7 of 16] Compiling Data.Attoparsec.Text.Internal ( Data/Attoparsec/Text/Internal.hs, dist/build/Data/Attoparsec/Text/Internal.p_o ) Data/Attoparsec/Text/Internal.hs:68:36: warning: [GHC-38856] [-Wunused-imports] The import of ‘*>, <$>, pure’ from module ‘Control.Applicative’ is redundant | 68 | import Control.Applicative ((<|>), (<$>), pure, (*>)) | ^^^^^^^^^^^^^^^^^ Data/Attoparsec/Text/Internal.hs:91:13: warning: [GHC-58520] [-Wtype-equality-requires-operators] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 91 | instance (a ~ Text) => IsString (Parser a) where | ^ [ 8 of 16] Compiling Data.Attoparsec.Text ( Data/Attoparsec/Text.hs, dist/build/Data/Attoparsec/Text.p_o ) [ 9 of 16] Compiling Data.Attoparsec.Text.Lazy ( Data/Attoparsec/Text/Lazy.hs, dist/build/Data/Attoparsec/Text/Lazy.p_o ) [10 of 16] Compiling Data.Attoparsec.ByteString.Internal ( Data/Attoparsec/ByteString/Internal.hs, dist/build/Data/Attoparsec/ByteString/Internal.p_o ) [11 of 16] Compiling Data.Attoparsec.ByteString ( Data/Attoparsec/ByteString.hs, dist/build/Data/Attoparsec/ByteString.p_o ) [12 of 16] Compiling Data.Attoparsec.ByteString.Lazy ( Data/Attoparsec/ByteString/Lazy.hs, dist/build/Data/Attoparsec/ByteString/Lazy.p_o ) [13 of 16] Compiling Data.Attoparsec.Lazy ( Data/Attoparsec/Lazy.hs, dist/build/Data/Attoparsec/Lazy.p_o ) [14 of 16] Compiling Data.Attoparsec.ByteString.Char8 ( Data/Attoparsec/ByteString/Char8.hs, dist/build/Data/Attoparsec/ByteString/Char8.p_o ) Data/Attoparsec/ByteString/Char8.hs:154:13: warning: [GHC-58520] [-Wtype-equality-requires-operators] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 154 | instance (a ~ B.ByteString) => IsString (Parser a) where | ^ [15 of 16] Compiling Data.Attoparsec.Char8 ( Data/Attoparsec/Char8.hs, dist/build/Data/Attoparsec/Char8.p_o ) [16 of 16] Compiling Data.Attoparsec ( Data/Attoparsec.hs, dist/build/Data/Attoparsec.p_o ) Preprocessing test suite 'attoparsec-tests' for attoparsec-0.14.4... Building test suite 'attoparsec-tests' for attoparsec-0.14.4... [ 1 of 12] Compiling QC.Common ( tests/QC/Common.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/Common.o ) [ 2 of 12] Compiling QC.Combinator ( tests/QC/Combinator.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/Combinator.o ) [ 3 of 12] Compiling QC.ByteString ( tests/QC/ByteString.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/ByteString.o ) [ 4 of 12] Compiling QC.Buffer ( tests/QC/Buffer.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/Buffer.o ) [ 5 of 12] Compiling QC.IPv6.Types ( tests/QC/IPv6/Types.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/IPv6/Types.o ) [ 6 of 12] Compiling QC.IPv6.Internal ( tests/QC/IPv6/Internal.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/IPv6/Internal.o ) tests/QC/IPv6/Internal.hs:32:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() | 32 | import Control.Monad (replicateM) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/QC/IPv6/Internal.hs:34:27: warning: [GHC-38856] [-Wunused-imports] The import of ‘isHexDigit, toLower’ from module ‘Data.Char’ is redundant | 34 | import Data.Char (isDigit,isHexDigit,toLower) | ^^^^^^^^^^^^^^^^^^ tests/QC/IPv6/Internal.hs:35:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 35 | import Data.Monoid ((<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^ tests/QC/IPv6/Internal.hs:36:35: warning: [GHC-38856] [-Wunused-imports] The import of ‘<*’ from module ‘Control.Applicative’ is redundant | 36 | import Control.Applicative ((<|>),(<*)) | ^^^^ tests/QC/IPv6/Internal.hs:38:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Word’ is redundant except perhaps to import instances from ‘Data.Word’ To import instances alone, use: import Data.Word() | 38 | import Data.Word (Word32) | ^^^^^^^^^^^^^^^^^^^^^^^^^ tests/QC/IPv6/Internal.hs:46:1: warning: [GHC-38417] [-Wmissing-signatures] Top-level binding with no type signature: tok0 :: T.Text | 46 | tok0 = "0" | ^^^^ tests/QC/IPv6/Internal.hs:68:36: warning: [GHC-40910] [-Wunused-matches] Defined but not used: ‘tok1’ | 68 | isIPv6Addr [DoubleColon,SixteenBit tok1] = True | ^^^^ tests/QC/IPv6/Internal.hs:77:17: warning: [GHC-18042] [-Wtype-defaults] • Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraints (Eq a0) arising from the literal ‘0’ at tests/QC/IPv6/Internal.hs:77:17 (Num a0) arising from the literal ‘0’ at tests/QC/IPv6/Internal.hs:77:17 (Num a0) arising from a use of ‘oneMoreIPv4Addr’ at tests/QC/IPv6/Internal.hs:109:23-37 (Eq a0) arising from a use of ‘==’ at tests/QC/IPv6/Internal.hs:221:45-46 (Num a0) arising from the literal ‘1’ at tests/QC/IPv6/Internal.hs:221:48 • In the pattern: 0 In a case alternative: 0 -> case lasttk of SixteenBit _ -> lenconst DoubleColon -> lenconst AllZeros -> lenconst _ -> False In the second argument of ‘(&&)’, namely ‘(case countIPv4Addr tks of 0 -> case lasttk of SixteenBit _ -> lenconst DoubleColon -> lenconst AllZeros -> lenconst _ -> False 1 -> case lasttk of IPv4Addr _ -> (lentks == 13 && cdctks == 0) || (lentks < 12 && cdctks == 1) _ -> False otherwise -> False)’ | 77 | 0 -> case lasttk of | ^ tests/QC/IPv6/Internal.hs:85:17: warning: [GHC-40910] [-Wunused-matches] Defined but not used: ‘otherwise’ | 85 | otherwise -> False)) | ^^^^^^^^^ tests/QC/IPv6/Internal.hs:85:17: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘otherwise’ shadows the existing binding imported from ‘Prelude’ at tests/QC/IPv6/Internal.hs:16:8-23 (and originally defined in ‘ghc-internal-9.1003.0:GHC.Internal.Base’) | 85 | otherwise -> False)) | ^^^^^^^^^ tests/QC/IPv6/Internal.hs:89:29: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "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"." | 89 | let h = head ts | ^^^^ tests/QC/IPv6/Internal.hs:101:26: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "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"." | 101 | case head l of | ^^^^ tests/QC/IPv6/Internal.hs:107:17: warning: [GHC-40910] [-Wunused-local-binds] Defined but not used: ‘tok1’ | 107 | tok1 = "1" | ^^^^ tests/QC/IPv6/Internal.hs:107:24: warning: [GHC-18042] [-Wtype-defaults] • Defaulting the type variable ‘a0’ to type ‘String’ in the following constraint ghc-internal-9.1003.0:GHC.Internal.Data.String.IsString a0 arising from the literal ‘"1"’ • In the expression: "1" In an equation for ‘tok1’: tok1 = "1" In an equation for ‘isIPv6Addr’: isIPv6Addr tks = diffNext tks && (do let cdctks = countDoubleColon tks let lentks = length tks let lasttk = last tks let lenconst = (lentks == 15 && cdctks == 0) || (lentks < 15 && cdctks == 1) ....) where diffNext [] = False diffNext [_] = True diffNext (t : ts) = do let ... .... firstValidToken l = case head l of SixteenBit _ -> True DoubleColon -> True AllZeros -> True _ -> False countDoubleColon l = length $ elemIndices DoubleColon l tok1 = "1" | 107 | tok1 = "1" | ^^^ tests/QC/IPv6/Internal.hs:109:1: warning: [GHC-38417] [-Wmissing-signatures] Top-level binding with no type signature: countIPv4Addr :: [IPv6AddrToken] -> Integer | 109 | countIPv4Addr = foldr oneMoreIPv4Addr 0 | ^^^^^^^^^^^^^ tests/QC/IPv6/Internal.hs:113:31: warning: [GHC-40910] [-Wunused-matches] Defined but not used: ‘otherwise’ | 113 | otherwise -> c | ^^^^^^^^^ tests/QC/IPv6/Internal.hs:113:31: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘otherwise’ shadows the existing binding imported from ‘Prelude’ at tests/QC/IPv6/Internal.hs:16:8-23 (and originally defined in ‘ghc-internal-9.1003.0:GHC.Internal.Base’) | 113 | otherwise -> c | ^^^^^^^^^ tests/QC/IPv6/Internal.hs:145:5: warning: [GHC-62161] [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘IResult T.Text [IPv6AddrToken]’ not matched: Partial _ | 145 | case readText s of | ^^^^^^^^^^^^^^^^^^... tests/QC/IPv6/Internal.hs:149:14: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘s’ shadows the existing binding bound at tests/QC/IPv6/Internal.hs:144:21 | 149 | readText s = feed (parse (many1 $ ipv4Addr <|> sixteenBit <|> doubleColon <|> colon) s) T.empty | ^ tests/QC/IPv6/Internal.hs:212:55: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.Internal.List): "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"." | 212 | let snds = if not (null (snd s)) then tail(snd s) else [] | ^^^^ tests/QC/IPv6/Internal.hs:219:34: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘x’ shadows the existing binding bound at tests/QC/IPv6/Internal.hs:218:42 | 219 | ntks tks - foldl (\c x -> if (x /= DoubleColon) && (x /= Colon) then c+1 else c) 0 x | ^ tests/QC/IPv6/Internal.hs:221:18: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘tks’ shadows the existing binding bound at tests/QC/IPv6/Internal.hs:207:17 | 221 | ntks tks = if countIPv4Addr tks == 1 then 7 else 8 | ^^^ tests/QC/IPv6/Internal.hs:242:25: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘t’ shadows the existing binding bound at tests/QC/IPv6/Internal.hs:235:23 | 242 | where longest t = case t of | ^ tests/QC/IPv6/Internal.hs:247:21: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "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"." | 247 | helper h = (head h == AllZeros, lh) where lh = length h | ^^^^ tests/QC/IPv6/Internal.hs:298:12: warning: [GHC-18042] [-Wtype-defaults] • Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraints (Integral a0) arising from a use of ‘R.decimal’ at tests/QC/IPv6/Internal.hs:298:12-20 (Ord a0) arising from a use of ‘<’ at tests/QC/IPv6/Internal.hs:299:39 (Num a0) arising from the literal ‘256’ at tests/QC/IPv6/Internal.hs:299:41-43 (Show a0) arising from a use of ‘show’ at tests/QC/IPv6/Internal.hs:299:59-62 • In the expression: R.decimal ds In a stmt of a 'do' block: case R.decimal ds of Right (n, _) -> return (if n < 256 then T.pack $ show n else T.empty) Left _ -> return T.empty In the expression: do ds <- takeWhile1 isDigit case R.decimal ds of Right (n, _) -> return (if n < 256 then T.pack $ show n else T.empty) Left _ -> return T.empty | 298 | case R.decimal ds of | ^^^^^^^^^ tests/QC/IPv6/Internal.hs:304:5: warning: [GHC-81995] [-Wunused-do-bind] A do-notation statement discarded a result of type ‘T.Text’ Suggested fix: Suppress this warning by saying ‘_ <- string "::"’ | 304 | string "::" | ^^^^^^^^^^^ tests/QC/IPv6/Internal.hs:309:5: warning: [GHC-81995] [-Wunused-do-bind] A do-notation statement discarded a result of type ‘T.Text’ Suggested fix: Suppress this warning by saying ‘_ <- string ":"’ | 309 | string ":" | ^^^^^^^^^^ [ 7 of 12] Compiling QC.Rechunked ( tests/QC/Rechunked.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/Rechunked.o ) [ 8 of 12] Compiling QC.Simple ( tests/QC/Simple.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/Simple.o ) tests/QC/Simple.hs:10:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.List’ is redundant except perhaps to import instances from ‘Data.List’ To import instances alone, use: import Data.List() | 10 | import Data.List (foldl') | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 9 of 12] Compiling QC.Text.FastSet ( tests/QC/Text/FastSet.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/Text/FastSet.o ) [10 of 12] Compiling QC.Text.Regressions ( tests/QC/Text/Regressions.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/Text/Regressions.o ) tests/QC/Text/Regressions.hs:9:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.List’ is redundant except perhaps to import instances from ‘Data.List’ To import instances alone, use: import Data.List() | 9 | import Data.List (foldl') | ^^^^^^^^^^^^^^^^^^^^^^^^^ tests/QC/Text/Regressions.hs:12:1: warning: [GHC-66111] [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 12 | import Data.Monoid ((<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^ [11 of 12] Compiling QC.Text ( tests/QC/Text.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/QC/Text.o ) [12 of 12] Compiling Main ( tests/QC.hs, dist/build/attoparsec-tests/attoparsec-tests-tmp/Main.o ) [13 of 13] Linking dist/build/attoparsec-tests/attoparsec-tests buildPhase completed in 31 seconds Running phase: checkPhase Running 1 test suites... Test suite attoparsec-tests: RUNNING... tests bs anyWord8: OK +++ OK, passed 100 tests. endOfInput: OK (0.01s) +++ OK, passed 100 tests. endOfLine: OK +++ OK, failed as expected. Falsified, Falsified (after 2 tests): "\NUL" '\NUL' /= '\n' ('\NUL',Nothing) /= ('\r',Just '\n') notWord8: OK +++ OK, passed 100 tests. peekWord8: OK +++ OK, passed 100 tests. peekWord8': OK (0.01s) +++ OK, passed 100 tests. satisfy: OK +++ OK, passed 100 tests. satisfyWith: OK +++ OK, passed 100 tests. scan: OK +++ OK, passed 100 tests. skip: OK +++ OK, failed as expected. Falsified (after 2 tests and 2 shrinks): 0 "\NUL" not (0 < 0) skipWhile: OK +++ OK, passed 100 tests. string: OK +++ OK, passed 100 tests. stringCI: OK +++ OK, passed 100 tests. strings: OK (0.01s) +++ OK, passed 100 tests. take: OK (0.02s) +++ OK, passed 100 tests. takeByteString: OK +++ OK, passed 100 tests. takeCount: OK +++ OK, passed 100 tests. takeLazyByteString: OK +++ OK, passed 100 tests. takeTill: OK (0.01s) +++ OK, passed 100 tests. takeWhile: OK (0.01s) +++ OK, passed 100 tests. takeWhile1: OK (0.01s) +++ OK, passed 100 tests. takeWhile1_empty: OK +++ OK, passed 100 tests. takeWhileIncluding: OK +++ OK, passed 100 tests. getChunk: OK +++ OK, passed 100 tests. word8: OK +++ OK, passed 100 tests. members: OK +++ OK, passed 100 tests. nonmembers: OK (0.01s) +++ OK, passed 100 tests. buf b_unbuffer: OK (0.02s) +++ OK, passed 100 tests. t_unbuffer: OK (0.02s) +++ OK, passed 100 tests. t_unbuffer_three: OK (0.01s) +++ OK, passed 100 tests. b_length: OK (0.03s) +++ OK, passed 100 tests. t_length: OK (0.02s) +++ OK, passed 100 tests. b_unsafeIndex: OK (0.02s) +++ OK, passed 100 tests. t_iter_: OK (0.02s) +++ OK, passed 100 tests. b_unsafeDrop: OK (0.03s) +++ OK, passed 100 tests. t_dropCodeUnits: OK (0.03s) +++ OK, passed 100 tests. combinator choice: OK (0.02s) +++ OK, passed 100 tests. count: OK (0.01s) +++ OK, passed 100 tests. lookAhead: OK +++ OK, passed 100 tests. match: OK (0.01s) +++ OK, passed 100 tests. simple issue75: OK +++ OK, passed 100 tests. text anyChar: OK +++ OK, passed 100 tests. asciiCI: OK +++ OK, passed 100 tests. char: OK +++ OK, passed 100 tests. endOfInput: OK +++ OK, passed 100 tests. endOfLine: OK +++ OK, failed as expected. Falsified, Falsified (after 2 tests and 1 shrink): "\NUL" '\NUL' /= '\n' ('\NUL',Nothing) /= ('\r',Just '\n') notChar: OK +++ OK, passed 100 tests. peekChar: OK +++ OK, passed 100 tests. peekChar': OK +++ OK, passed 100 tests. satisfy: OK +++ OK, passed 100 tests. satisfyWith: OK +++ OK, passed 100 tests. scan: OK +++ OK, passed 100 tests. skip: OK +++ OK, failed as expected. Falsified (after 4 tests and 19 shrinks): 'a' "a" not ('a' < 'a') skipWhile: OK +++ OK, passed 100 tests. string: OK +++ OK, passed 100 tests. strings: OK (0.01s) +++ OK, passed 100 tests. stringCI: OK +++ OK, passed 100 tests. take: OK +++ OK, passed 100 tests. takeText: OK +++ OK, passed 100 tests. takeCount: OK +++ OK, passed 100 tests. takeLazyText: OK (0.01s) +++ OK, passed 100 tests. takeTill: OK +++ OK, passed 100 tests. takeWhile: OK +++ OK, passed 100 tests. takeWhile1: OK +++ OK, passed 100 tests. takeWhile1_empty: OK +++ OK, passed 100 tests. members: OK (0.01s) +++ OK, passed 100 tests. nonmembers: OK (0.01s) +++ OK, passed 100 tests. FastSet membership is correct: OK (0.01s) +++ OK, passed 100 tests. Regressions issue105: OK +++ OK, passed 100 tests. All 69 tests passed (0.04s) Test suite attoparsec-tests: PASS Test suite logged to: dist/test/attoparsec-0.14.4-attoparsec-tests.log 1 of 1 test suites (1 of 1 test cases) passed. Running phase: haddockPhase Running phase: installPhase Installing 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-internal Installing 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-BwF81yp5Ylx4XwcIPsh3u7 Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4 shrinking /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.so shrinking /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.so checking for references to /build/ in /nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4... patching script interpreter paths in /nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4 stripping (with command strip and flags -S -p) in /nix/store/pivcc69jznx3ydd8pkzsn3wx7bkbb0cm-attoparsec-0.14.4/lib