Repository navigation
Open
Description
GHC 9.10.3 / text-2.1.3 / QuickCheck-2.15.0.1
t_iter: FAIL
*** Failed! Falsified, Falsified (after 13 tests and 19 shrinks):
BP ["\NUL\65744,\DC3\NUL\US$,","\193774\42427f\71074\67018"] "\NUL\65744,\DC3\NUL\US$,\193774\42427f\71074\67018" "\NUL\65744,\DC3\NUL\US$,\193774\42427f\71074\67018"
27 /= 0
('\-3414',2) /= ('\-3584',2)
Use --quickcheck-replay="(SMGen 15460247098243224403 10696293924639987469,12)" to reproduce.
Use -p '$0=="tests.buf.t_iter"' to rerun this test only.
full log
Running phase: setupCompilerEnvironmentPhase
@nix { "action": "setPhase", "phase": "setupCompilerEnvironmentPhase" }
Build with /nix/store/ajnfcg4gr3956zdqk7ibydpr0l0rhwfv-ghc-9.10.3.
Running phase: unpackPhase
@nix { "action": "setPhase", "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
@nix { "action": "setPhase", "phase": "patchPhase" }
Replace Cabal file with edited version from mirror://hackage/attoparsec-0.14.4/revision/6.cabal.
Running phase: compileBuildDriverPhase
@nix { "action": "setPhase", "phase": "compileBuildDriverPhase" }
setupCompileFlags: -package-db=/build/tmp.oySLESkz5J/setup-package.conf.d -threaded
[1 of 2] Compiling Main ( Setup.lhs, /build/tmp.oySLESkz5J/Main.o )
[2 of 2] Linking Setup
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configureFlags: --verbose --prefix=/nix/store/r801p884fp9aihyw881fjyxdvq63dgzp-attoparsec-0.14.4 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --with-gcc=gcc --package-db=/build/tmp.oySLESkz5J/package.conf.d --ghc-option=-j4 --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/6zdgga8jx741p46wmx8xyibwz3x3fps6-ncurses-6.5/lib --extra-lib-dirs=/nix/store/i6a553gjc2i4r4p54qk5mdy3ybsiydwk-libffi-3.5.1/lib --extra-lib-dirs=/nix/store/hnzqas16kwcvaj2j5wb4izxdh692f9vn-elfutils-0.193/lib --extra-lib-dirs=/nix/store/12m0v9p2c5pshd8m201z8la0ijd95ri9-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/z6bn6ri10cax3lnyc4hx628hgdvaxgf1-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.0
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.0
Dependency tasty >=0.11: using tasty-1.5.3
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-JZyYqjsPbaDB9tXHtByLW0-attoparsec-internal
include array-0.5.8.0-3600
include base-4.20.2.0-3d9c
include bytestring-0.12.2.0-ca87
include text-2.1.3-6011
component attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT
include array-0.5.8.0-3600
include attoparsec-0.14.4-JZyYqjsPbaDB9tXHtByLW0-attoparsec-internal
include base-4.20.2.0-3d9c
include bytestring-0.12.2.0-ca87
include containers-0.7-d730
include deepseq-1.5.0.0-d8c6
include ghc-prim-0.12.0-bcb8
include scientific-0.3.8.0-KsunjONbiNsDhH2zG47htd
include text-2.1.3-6011
include transformers-0.6.1.1-1645
component attoparsec-0.14.4-7FpjPO3bB9r4gWB3MHqXwa-attoparsec-tests
include QuickCheck-2.15.0.1-De7vuOaQMbyBAaudohcktA
include array-0.5.8.0-3600
include attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT
include attoparsec-0.14.4-JZyYqjsPbaDB9tXHtByLW0-attoparsec-internal
include base-4.20.2.0-3d9c
include bytestring-0.12.2.0-ca87
include deepseq-1.5.0.0-d8c6
include quickcheck-unicode-1.0.1.0-BaKWGhLH22ND2UGH3FB85s
include scientific-0.3.8.0-KsunjONbiNsDhH2zG47htd
include tasty-1.5.3-Ijy2212Jt97xzJJ2yg7uV
include tasty-quickcheck-0.11.1-60X5XoLuR5451VgTWz2clC
include text-2.1.3-6011
include transformers-0.6.1.1-1645
include vector-0.13.2.0-F1lkOoFfYVkAu50UAzuC5n
Linked component graph:
unit attoparsec-0.14.4-JZyYqjsPbaDB9tXHtByLW0-attoparsec-internal
include array-0.5.8.0-3600
include base-4.20.2.0-3d9c
include bytestring-0.12.2.0-ca87
include text-2.1.3-6011
Data.Attoparsec.ByteString.Buffer=attoparsec-0.14.4-JZyYqjsPbaDB9tXHtByLW0-attoparsec-internal:Data.Attoparsec.ByteString.Buffer,Data.Attoparsec.ByteString.FastSet=attoparsec-0.14.4-JZyYqjsPbaDB9tXHtByLW0-attoparsec-internal:Data.Attoparsec.ByteString.FastSet,Data.Attoparsec.Internal.Compat=attoparsec-0.14.4-JZyYqjsPbaDB9tXHtByLW0-attoparsec-internal:Data.Attoparsec.Internal.Compat,Data.Attoparsec.Internal.Fhthagn=attoparsec-0.14.4-JZyYqjsPbaDB9tXHtByLW0-attoparsec-internal:Data.Attoparsec.Internal.Fhthagn,Data.Attoparsec.Text.Buffer=attoparsec-0.14.4-JZyYqjsPbaDB9tXHtByLW0-attoparsec-internal:Data.Attoparsec.Text.Buffer,Data.Attoparsec.Text.FastSet=attoparsec-0.14.4-JZyYqjsPbaDB9tXHtByLW0-attoparsec-internal:Data.Attoparsec.Text.FastSet
unit attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT
include array-0.5.8.0-3600
include attoparsec-0.14.4-JZyYqjsPbaDB9tXHtByLW0-attoparsec-internal
include base-4.20.2.0-3d9c
include bytestring-0.12.2.0-ca87
include containers-0.7-d730
include deepseq-1.5.0.0-d8c6
include ghc-prim-0.12.0-bcb8
include scientific-0.3.8.0-KsunjONbiNsDhH2zG47htd
include text-2.1.3-6011
include transformers-0.6.1.1-1645
Data.Attoparsec=attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT:Data.Attoparsec,Data.Attoparsec.ByteString=attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT:Data.Attoparsec.ByteString,Data.Attoparsec.ByteString.Char8=attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT:Data.Attoparsec.ByteString.Char8,Data.Attoparsec.ByteString.Lazy=attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT:Data.Attoparsec.ByteString.Lazy,Data.Attoparsec.Char8=attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT:Data.Attoparsec.Char8,Data.Attoparsec.Combinator=attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT:Data.Attoparsec.Combinator,Data.Attoparsec.Internal=attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT:Data.Attoparsec.Internal,Data.Attoparsec.Internal.Types=attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT:Data.Attoparsec.Internal.Types,Data.Attoparsec.Lazy=attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT:Data.Attoparsec.Lazy,Data.Attoparsec.Number=attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT:Data.Attoparsec.Number,Data.Attoparsec.Text=attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT:Data.Attoparsec.Text,Data.Attoparsec.Text.Lazy=attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT:Data.Attoparsec.Text.Lazy,Data.Attoparsec.Types=attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT:Data.Attoparsec.Types,Data.Attoparsec.Zepto=attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT:Data.Attoparsec.Zepto
unit attoparsec-0.14.4-7FpjPO3bB9r4gWB3MHqXwa-attoparsec-tests
include QuickCheck-2.15.0.1-De7vuOaQMbyBAaudohcktA
include array-0.5.8.0-3600
include attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT
include attoparsec-0.14.4-JZyYqjsPbaDB9tXHtByLW0-attoparsec-internal
include base-4.20.2.0-3d9c
include bytestring-0.12.2.0-ca87
include deepseq-1.5.0.0-d8c6
include quickcheck-unicode-1.0.1.0-BaKWGhLH22ND2UGH3FB85s
include scientific-0.3.8.0-KsunjONbiNsDhH2zG47htd
include tasty-1.5.3-Ijy2212Jt97xzJJ2yg7uV
include tasty-quickcheck-0.11.1-60X5XoLuR5451VgTWz2clC
include text-2.1.3-6011
include transformers-0.6.1.1-1645
include vector-0.13.2.0-F1lkOoFfYVkAu50UAzuC5n
Ready component graph:
definite attoparsec-0.14.4-JZyYqjsPbaDB9tXHtByLW0-attoparsec-internal
depends array-0.5.8.0-3600
depends base-4.20.2.0-3d9c
depends bytestring-0.12.2.0-ca87
depends text-2.1.3-6011
definite attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT
depends array-0.5.8.0-3600
depends attoparsec-0.14.4-JZyYqjsPbaDB9tXHtByLW0-attoparsec-internal
depends base-4.20.2.0-3d9c
depends bytestring-0.12.2.0-ca87
depends containers-0.7-d730
depends deepseq-1.5.0.0-d8c6
depends ghc-prim-0.12.0-bcb8
depends scientific-0.3.8.0-KsunjONbiNsDhH2zG47htd
depends text-2.1.3-6011
depends transformers-0.6.1.1-1645
definite attoparsec-0.14.4-7FpjPO3bB9r4gWB3MHqXwa-attoparsec-tests
depends QuickCheck-2.15.0.1-De7vuOaQMbyBAaudohcktA
depends array-0.5.8.0-3600
depends attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT
depends attoparsec-0.14.4-JZyYqjsPbaDB9tXHtByLW0-attoparsec-internal
depends base-4.20.2.0-3d9c
depends bytestring-0.12.2.0-ca87
depends deepseq-1.5.0.0-d8c6
depends quickcheck-unicode-1.0.1.0-BaKWGhLH22ND2UGH3FB85s
depends scientific-0.3.8.0-KsunjONbiNsDhH2zG47htd
depends tasty-1.5.3-Ijy2212Jt97xzJJ2yg7uV
depends tasty-quickcheck-0.11.1-60X5XoLuR5451VgTWz2clC
depends text-2.1.3-6011
depends transformers-0.6.1.1-1645
depends vector-0.13.2.0-F1lkOoFfYVkAu50UAzuC5n
Using Cabal-3.12.1.0 compiled by ghc-9.10
Using compiler: ghc-9.10.3
Using install prefix:
/nix/store/r801p884fp9aihyw881fjyxdvq63dgzp-attoparsec-0.14.4
Executables installed in:
/nix/store/r801p884fp9aihyw881fjyxdvq63dgzp-attoparsec-0.14.4/bin
Libraries installed in:
/nix/store/r801p884fp9aihyw881fjyxdvq63dgzp-attoparsec-0.14.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-b543/attoparsec-0.14.4-GCOfOOGekIaJQXEVeb9ibT
Dynamic Libraries installed in:
/nix/store/r801p884fp9aihyw881fjyxdvq63dgzp-attoparsec-0.14.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-b543
Private executables installed in:
/nix/store/r801p884fp9aihyw881fjyxdvq63dgzp-attoparsec-0.14.4/libexec/x86_64-linux-ghc-9.10.3-b543/attoparsec-0.14.4
Data files installed in:
/nix/store/r801p884fp9aihyw881fjyxdvq63dgzp-attoparsec-0.14.4/share/x86_64-linux-ghc-9.10.3-b543/attoparsec-0.14.4
Documentation installed in:
/nix/store/r801p884fp9aihyw881fjyxdvq63dgzp-attoparsec-0.14.4/share/doc/x86_64-linux-ghc-9.10.3-b543/attoparsec-0.14.4
Configuration files installed in:
/nix/store/r801p884fp9aihyw881fjyxdvq63dgzp-attoparsec-0.14.4/etc
No alex found
Using ar found on system at:
/nix/store/l19cddv64i52rhcwahif8sgyrd3mhiqb-binutils-wrapper-2.44/bin/ar
No c2hs found
No cpphs found
No doctest found
Using gcc version 14.3.0 given by user at:
/nix/store/95k9rsn1zsw1yvir8mj824ldhf90i4qw-gcc-wrapper-14.3.0/bin/gcc
Using ghc version 9.10.3 found on system at:
/nix/store/ajnfcg4gr3956zdqk7ibydpr0l0rhwfv-ghc-9.10.3/bin/ghc
Using ghc-pkg version 9.10.3 found on system at:
/nix/store/ajnfcg4gr3956zdqk7ibydpr0l0rhwfv-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/ajnfcg4gr3956zdqk7ibydpr0l0rhwfv-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/ajnfcg4gr3956zdqk7ibydpr0l0rhwfv-ghc-9.10.3/bin/hpc-ghc-9.10.3
Using hsc2hs version 0.68.10 found on system at:
/nix/store/ajnfcg4gr3956zdqk7ibydpr0l0rhwfv-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3
Using hscolour version 1.25 found on system at:
/nix/store/yc0vh2wbxcp3wppwvi67pg0dm9c1mp7y-hscolour-1.25/bin/HsColour
No jhc found
Using ld found on system at:
/nix/store/95k9rsn1zsw1yvir8mj824ldhf90i4qw-gcc-wrapper-14.3.0/bin/ld
No pkg-config found
Using runghc version 9.10.3 found on system at:
/nix/store/ajnfcg4gr3956zdqk7ibydpr0l0rhwfv-ghc-9.10.3/bin/runghc-9.10.3
Using strip version 2.44 found on system at:
/nix/store/95k9rsn1zsw1yvir8mj824ldhf90i4qw-gcc-wrapper-14.3.0/bin/strip
Using tar found on system at:
/nix/store/8av8pfs7bnyc6hqj764ns4z1fnr9bva1-gnutar-1.35/bin/tar
No uhc found
Running phase: buildPhase
@nix { "action": "setPhase", "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 )
�[;1minternal/Data/Attoparsec/ByteString/FastSet.hs:97:18: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-68441�\GHC-68441�]8;;�\] [�[;1m�[35m-Wdeprecations�[0m�[0m�[;1m]�[0m�[0m�[;1m
In the use of ‘memset’
(imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type):
Deprecated: "Use Foreign.Marshal.Utils.fillBytes instead"�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m97 |�[0m�[0m _ <- �[;1m�[35mI.memset�[0m�[0m t 0 32
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^�[0m�[0m
[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 )
�[;1minternal/Data/Attoparsec/ByteString/Buffer.hs:62:1: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-66111�\GHC-66111�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘Data.Semigroup’ is redundant
except perhaps to import instances from ‘Data.Semigroup’
To import instances alone, use: import Data.Semigroup()�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m62 |�[0m�[0m �[;1m�[35mimport Data.Semigroup (Semigroup(..))�[0m�[0m
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m�[0m
�[;1minternal/Data/Attoparsec/ByteString/Buffer.hs:121:11: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-68441�\GHC-68441�]8;;�\] [�[;1m�[35m-Wdeprecations�[0m�[0m�[;1m]�[0m�[0m�[;1m
In the use of ‘memcpy’
(imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type):
Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead"�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m121 |�[0m�[0m �[;1m�[35mmemcpy�[0m�[0m (ptr0 `plusPtr` (off0+len0))
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^�[0m�[0m
�[;1minternal/Data/Attoparsec/ByteString/Buffer.hs:132:13: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-68441�\GHC-68441�]8;;�\] [�[;1m�[35m-Wdeprecations�[0m�[0m�[;1m]�[0m�[0m�[;1m
In the use of ‘memcpy’
(imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type):
Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead"�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m132 |�[0m�[0m �[;1m�[35mmemcpy�[0m�[0m ptr (ptr0 `plusPtr` off0) (fromIntegral len0)
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^�[0m�[0m
�[;1minternal/Data/Attoparsec/ByteString/Buffer.hs:133:13: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-68441�\GHC-68441�]8;;�\] [�[;1m�[35m-Wdeprecations�[0m�[0m�[;1m]�[0m�[0m�[;1m
In the use of ‘memcpy’
(imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type):
Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead"�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m133 |�[0m�[0m �[;1m�[35mmemcpy�[0m�[0m (ptr `plusPtr` len0) (ptr1 `plusPtr` off1)
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^�[0m�[0m
[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 )
�[;1minternal/Data/Attoparsec/Text/Buffer.hs:44:1: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-66111�\GHC-66111�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘Data.Semigroup’ is redundant
except perhaps to import instances from ‘Data.Semigroup’
To import instances alone, use: import Data.Semigroup()�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m44 |�[0m�[0m �[;1m�[35mimport Data.Semigroup (Semigroup(..))�[0m�[0m
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m�[0m
[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 )
�[;1minternal/Data/Attoparsec/ByteString/FastSet.hs:97:18: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-68441�\GHC-68441�]8;;�\] [�[;1m�[35m-Wdeprecations�[0m�[0m�[;1m]�[0m�[0m�[;1m
In the use of ‘memset’
(imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type):
Deprecated: "Use Foreign.Marshal.Utils.fillBytes instead"�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m97 |�[0m�[0m _ <- �[;1m�[35mI.memset�[0m�[0m t 0 32
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^�[0m�[0m
[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 )
�[;1minternal/Data/Attoparsec/ByteString/Buffer.hs:62:1: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-66111�\GHC-66111�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘Data.Semigroup’ is redundant
except perhaps to import instances from ‘Data.Semigroup’
To import instances alone, use: import Data.Semigroup()�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m62 |�[0m�[0m �[;1m�[35mimport Data.Semigroup (Semigroup(..))�[0m�[0m
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m�[0m
�[;1minternal/Data/Attoparsec/ByteString/Buffer.hs:121:11: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-68441�\GHC-68441�]8;;�\] [�[;1m�[35m-Wdeprecations�[0m�[0m�[;1m]�[0m�[0m�[;1m
In the use of ‘memcpy’
(imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type):
Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead"�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m121 |�[0m�[0m �[;1m�[35mmemcpy�[0m�[0m (ptr0 `plusPtr` (off0+len0))
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^�[0m�[0m
�[;1minternal/Data/Attoparsec/ByteString/Buffer.hs:132:13: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-68441�\GHC-68441�]8;;�\] [�[;1m�[35m-Wdeprecations�[0m�[0m�[;1m]�[0m�[0m�[;1m
In the use of ‘memcpy’
(imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type):
Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead"�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m132 |�[0m�[0m �[;1m�[35mmemcpy�[0m�[0m ptr (ptr0 `plusPtr` off0) (fromIntegral len0)
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^�[0m�[0m
�[;1minternal/Data/Attoparsec/ByteString/Buffer.hs:133:13: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-68441�\GHC-68441�]8;;�\] [�[;1m�[35m-Wdeprecations�[0m�[0m�[;1m]�[0m�[0m�[;1m
In the use of ‘memcpy’
(imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type):
Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead"�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m133 |�[0m�[0m �[;1m�[35mmemcpy�[0m�[0m (ptr `plusPtr` len0) (ptr1 `plusPtr` off1)
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^�[0m�[0m
[5 of 6] Compiling Data.Attoparsec.Text.Buffer ( internal/Data/Attoparsec/Text/Buffer.hs, dist/build/attoparsec-internal/Data/Attoparsec/Text/Buffer.p_o )
�[;1minternal/Data/Attoparsec/Text/Buffer.hs:44:1: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-66111�\GHC-66111�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘Data.Semigroup’ is redundant
except perhaps to import instances from ‘Data.Semigroup’
To import instances alone, use: import Data.Semigroup()�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m44 |�[0m�[0m �[;1m�[35mimport Data.Semigroup (Semigroup(..))�[0m�[0m
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m�[0m
[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 )
�[;1mData/Attoparsec/Internal/Types.hs:28:53: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-38856�\GHC-38856�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘<$>’ from module ‘Control.Applicative’ is redundant�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m28 |�[0m�[0m import Control.Applicative as App (Applicative(..), �[;1m�[35m(<$>)�[0m�[0m)
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^�[0m�[0m
�[;1mData/Attoparsec/Internal/Types.hs:34:1: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-66111�\GHC-66111�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘Data.Semigroup’ is redundant
except perhaps to import instances from ‘Data.Semigroup’
To import instances alone, use: import Data.Semigroup()�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m34 |�[0m�[0m �[;1m�[35mimport Data.Semigroup (Semigroup(..))�[0m�[0m
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m�[0m
[ 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 )
�[;1mData/Attoparsec/Zepto.hs:46:1: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-66111�\GHC-66111�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘Data.Semigroup’ is redundant
except perhaps to import instances from ‘Data.Semigroup’
To import instances alone, use: import Data.Semigroup()�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m46 |�[0m�[0m �[;1m�[35mimport Data.Semigroup (Semigroup(..))�[0m�[0m
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m�[0m
[ 6 of 16] Compiling Data.Attoparsec.Combinator ( Data/Attoparsec/Combinator.hs, dist/build/Data/Attoparsec/Combinator.o, dist/build/Data/Attoparsec/Combinator.dyn_o )
�[;1mData/Attoparsec/Combinator.hs:46:46: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-38856�\GHC-38856�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘liftA2’
from module ‘Control.Applicative’ is redundant�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m46 |�[0m�[0m import Control.Applicative (Alternative(..), �[;1m�[35mliftA2�[0m�[0m, many, (<|>))
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^�[0m�[0m
[ 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 )
�[;1mData/Attoparsec/Text/Internal.hs:68:36: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-38856�\GHC-38856�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘*>, <$>, pure’
from module ‘Control.Applicative’ is redundant�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m68 |�[0m�[0m import Control.Applicative ((<|>), �[;1m�[35m(<$>), pure, (*>)�[0m�[0m)
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^^^^^^^�[0m�[0m
�[;1mData/Attoparsec/Text/Internal.hs:91:13: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-58520�\GHC-58520�]8;;�\] [�[;1m�[35m-Wtype-equality-requires-operators�[0m�[0m�[;1m]�[0m�[0m�[;1m
The use of ‘~’ without TypeOperators
will become an error in a future GHC release.
Suggested fix: Perhaps you intended to use TypeOperators�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m91 |�[0m�[0m instance (a �[;1m�[35m~�[0m�[0m Text) => IsString (Parser a) where
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^�[0m�[0m
[ 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 )
�[;1mData/Attoparsec/ByteString/Char8.hs:154:13: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-58520�\GHC-58520�]8;;�\] [�[;1m�[35m-Wtype-equality-requires-operators�[0m�[0m�[;1m]�[0m�[0m�[;1m
The use of ‘~’ without TypeOperators
will become an error in a future GHC release.
Suggested fix: Perhaps you intended to use TypeOperators�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m154 |�[0m�[0m instance (a �[;1m�[35m~�[0m�[0m B.ByteString) => IsString (Parser a) where
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^�[0m�[0m
[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 )
�[;1mData/Attoparsec/Internal/Types.hs:28:53: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-38856�\GHC-38856�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘<$>’ from module ‘Control.Applicative’ is redundant�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m28 |�[0m�[0m import Control.Applicative as App (Applicative(..), �[;1m�[35m(<$>)�[0m�[0m)
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^�[0m�[0m
�[;1mData/Attoparsec/Internal/Types.hs:34:1: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-66111�\GHC-66111�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘Data.Semigroup’ is redundant
except perhaps to import instances from ‘Data.Semigroup’
To import instances alone, use: import Data.Semigroup()�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m34 |�[0m�[0m �[;1m�[35mimport Data.Semigroup (Semigroup(..))�[0m�[0m
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m�[0m
[ 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 )
�[;1mData/Attoparsec/Zepto.hs:46:1: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-66111�\GHC-66111�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘Data.Semigroup’ is redundant
except perhaps to import instances from ‘Data.Semigroup’
To import instances alone, use: import Data.Semigroup()�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m46 |�[0m�[0m �[;1m�[35mimport Data.Semigroup (Semigroup(..))�[0m�[0m
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m�[0m
[ 6 of 16] Compiling Data.Attoparsec.Combinator ( Data/Attoparsec/Combinator.hs, dist/build/Data/Attoparsec/Combinator.p_o )
�[;1mData/Attoparsec/Combinator.hs:46:46: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-38856�\GHC-38856�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘liftA2’
from module ‘Control.Applicative’ is redundant�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m46 |�[0m�[0m import Control.Applicative (Alternative(..), �[;1m�[35mliftA2�[0m�[0m, many, (<|>))
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^�[0m�[0m
[ 7 of 16] Compiling Data.Attoparsec.Text.Internal ( Data/Attoparsec/Text/Internal.hs, dist/build/Data/Attoparsec/Text/Internal.p_o )
�[;1mData/Attoparsec/Text/Internal.hs:68:36: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-38856�\GHC-38856�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘*>, <$>, pure’
from module ‘Control.Applicative’ is redundant�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m68 |�[0m�[0m import Control.Applicative ((<|>), �[;1m�[35m(<$>), pure, (*>)�[0m�[0m)
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^^^^^^^�[0m�[0m
�[;1mData/Attoparsec/Text/Internal.hs:91:13: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-58520�\GHC-58520�]8;;�\] [�[;1m�[35m-Wtype-equality-requires-operators�[0m�[0m�[;1m]�[0m�[0m�[;1m
The use of ‘~’ without TypeOperators
will become an error in a future GHC release.
Suggested fix: Perhaps you intended to use TypeOperators�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m91 |�[0m�[0m instance (a �[;1m�[35m~�[0m�[0m Text) => IsString (Parser a) where
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^�[0m�[0m
[ 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 )
�[;1mData/Attoparsec/ByteString/Char8.hs:154:13: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-58520�\GHC-58520�]8;;�\] [�[;1m�[35m-Wtype-equality-requires-operators�[0m�[0m�[;1m]�[0m�[0m�[;1m
The use of ‘~’ without TypeOperators
will become an error in a future GHC release.
Suggested fix: Perhaps you intended to use TypeOperators�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m154 |�[0m�[0m instance (a �[;1m�[35m~�[0m�[0m B.ByteString) => IsString (Parser a) where
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^�[0m�[0m
[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 )
�[;1mtests/QC/IPv6/Internal.hs:32:1: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-66111�\GHC-66111�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘Control.Monad’ is redundant
except perhaps to import instances from ‘Control.Monad’
To import instances alone, use: import Control.Monad()�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m32 |�[0m�[0m �[;1m�[35mimport Control.Monad (replicateM)�[0m�[0m
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:34:27: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-38856�\GHC-38856�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘isHexDigit, toLower’
from module ‘Data.Char’ is redundant�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m34 |�[0m�[0m import Data.Char (isDigit,�[;1m�[35misHexDigit,toLower�[0m�[0m)
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^^^^^^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:35:1: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-66111�\GHC-66111�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘Data.Monoid’ is redundant
except perhaps to import instances from ‘Data.Monoid’
To import instances alone, use: import Data.Monoid()�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m35 |�[0m�[0m �[;1m�[35mimport Data.Monoid ((<>))�[0m�[0m
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^^^^^^^^^^^^^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:36:35: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-38856�\GHC-38856�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘<*’ from module ‘Control.Applicative’ is redundant�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m36 |�[0m�[0m import Control.Applicative ((<|>),�[;1m�[35m(<*)�[0m�[0m)
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:38:1: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-66111�\GHC-66111�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘Data.Word’ is redundant
except perhaps to import instances from ‘Data.Word’
To import instances alone, use: import Data.Word()�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m38 |�[0m�[0m �[;1m�[35mimport Data.Word (Word32)�[0m�[0m
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^^^^^^^^^^^^^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:46:1: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-38417�\GHC-38417�]8;;�\] [�[;1m�[35m-Wmissing-signatures�[0m�[0m�[;1m]�[0m�[0m�[;1m
Top-level binding with no type signature: tok0 :: T.Text�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m46 |�[0m�[0m �[;1m�[35mtok0�[0m�[0m = "0"
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:68:36: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-40910�\GHC-40910�]8;;�\] [�[;1m�[35m-Wunused-matches�[0m�[0m�[;1m]�[0m�[0m�[;1m
Defined but not used: ‘tok1’�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m68 |�[0m�[0m isIPv6Addr [DoubleColon,SixteenBit �[;1m�[35mtok1�[0m�[0m] = True
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:77:17: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-18042�\GHC-18042�]8;;�\] [�[;1m�[35m-Wtype-defaults�[0m�[0m�[;1m]�[0m�[0m�[;1m
• 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)’�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m77 |�[0m�[0m �[;1m�[35m0�[0m�[0m -> case lasttk of
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:85:17: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-40910�\GHC-40910�]8;;�\] [�[;1m�[35m-Wunused-matches�[0m�[0m�[;1m]�[0m�[0m�[;1m
Defined but not used: ‘otherwise’�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m85 |�[0m�[0m �[;1m�[35motherwise�[0m�[0m -> False))
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:85:17: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-63397�\GHC-63397�]8;;�\] [�[;1m�[35m-Wname-shadowing�[0m�[0m�[;1m]�[0m�[0m�[;1m
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’)�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m85 |�[0m�[0m �[;1m�[35motherwise�[0m�[0m -> False))
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:89:29: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-63394�\GHC-63394�]8;;�\] [�[;1m�[35m-Wx-partial�[0m�[0m�[;1m]�[0m�[0m�[;1m
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"."�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m89 |�[0m�[0m let h = �[;1m�[35mhead�[0m�[0m ts
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:101:26: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-63394�\GHC-63394�]8;;�\] [�[;1m�[35m-Wx-partial�[0m�[0m�[;1m]�[0m�[0m�[;1m
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"."�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m101 |�[0m�[0m case �[;1m�[35mhead�[0m�[0m l of
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:107:17: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-40910�\GHC-40910�]8;;�\] [�[;1m�[35m-Wunused-local-binds�[0m�[0m�[;1m]�[0m�[0m�[;1m
Defined but not used: ‘tok1’�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m107 |�[0m�[0m �[;1m�[35mtok1�[0m�[0m = "1"
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:107:24: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-18042�\GHC-18042�]8;;�\] [�[;1m�[35m-Wtype-defaults�[0m�[0m�[;1m]�[0m�[0m�[;1m
• 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"�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m107 |�[0m�[0m tok1 = �[;1m�[35m"1"�[0m�[0m
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:109:1: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-38417�\GHC-38417�]8;;�\] [�[;1m�[35m-Wmissing-signatures�[0m�[0m�[;1m]�[0m�[0m�[;1m
Top-level binding with no type signature:
countIPv4Addr :: [IPv6AddrToken] -> Integer�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m109 |�[0m�[0m �[;1m�[35mcountIPv4Addr�[0m�[0m = foldr oneMoreIPv4Addr 0
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:113:31: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-40910�\GHC-40910�]8;;�\] [�[;1m�[35m-Wunused-matches�[0m�[0m�[;1m]�[0m�[0m�[;1m
Defined but not used: ‘otherwise’�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m113 |�[0m�[0m �[;1m�[35motherwise�[0m�[0m -> c
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:113:31: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-63397�\GHC-63397�]8;;�\] [�[;1m�[35m-Wname-shadowing�[0m�[0m�[;1m]�[0m�[0m�[;1m
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’)�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m113 |�[0m�[0m �[;1m�[35motherwise�[0m�[0m -> c
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:145:5: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-62161�\GHC-62161�]8;;�\] [�[;1m�[35m-Wincomplete-patterns�[0m�[0m�[;1m]�[0m�[0m�[;1m
Pattern match(es) are non-exhaustive
In a case alternative:
Patterns of type ‘IResult T.Text [IPv6AddrToken]’ not matched:
Partial _�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m145 |�[0m�[0m �[;1m�[35mcase readText s of�[0m�[0m
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^^^^^^^^...�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:149:14: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-63397�\GHC-63397�]8;;�\] [�[;1m�[35m-Wname-shadowing�[0m�[0m�[;1m]�[0m�[0m�[;1m
This binding for ‘s’ shadows the existing binding
bound at tests/QC/IPv6/Internal.hs:144:21�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m149 |�[0m�[0m readText �[;1m�[35ms�[0m�[0m = feed (parse (many1 $ ipv4Addr <|> sixteenBit <|> doubleColon <|> colon) s) T.empty
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:212:55: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-63394�\GHC-63394�]8;;�\] [�[;1m�[35m-Wx-partial�[0m�[0m�[;1m]�[0m�[0m�[;1m
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"."�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m212 |�[0m�[0m let snds = if not (null (snd s)) then �[;1m�[35mtail�[0m�[0m(snd s) else []
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:219:34: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-63397�\GHC-63397�]8;;�\] [�[;1m�[35m-Wname-shadowing�[0m�[0m�[;1m]�[0m�[0m�[;1m
This binding for ‘x’ shadows the existing binding
bound at tests/QC/IPv6/Internal.hs:218:42�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m219 |�[0m�[0m ntks tks - foldl (\c �[;1m�[35mx�[0m�[0m -> if (x /= DoubleColon) && (x /= Colon) then c+1 else c) 0 x
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:221:18: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-63397�\GHC-63397�]8;;�\] [�[;1m�[35m-Wname-shadowing�[0m�[0m�[;1m]�[0m�[0m�[;1m
This binding for ‘tks’ shadows the existing binding
bound at tests/QC/IPv6/Internal.hs:207:17�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m221 |�[0m�[0m ntks �[;1m�[35mtks�[0m�[0m = if countIPv4Addr tks == 1 then 7 else 8
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:242:25: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-63397�\GHC-63397�]8;;�\] [�[;1m�[35m-Wname-shadowing�[0m�[0m�[;1m]�[0m�[0m�[;1m
This binding for ‘t’ shadows the existing binding
bound at tests/QC/IPv6/Internal.hs:235:23�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m242 |�[0m�[0m where longest �[;1m�[35mt�[0m�[0m = case t of
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:247:21: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-63394�\GHC-63394�]8;;�\] [�[;1m�[35m-Wx-partial�[0m�[0m�[;1m]�[0m�[0m�[;1m
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"."�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m247 |�[0m�[0m helper h = (�[;1m�[35mhead�[0m�[0m h == AllZeros, lh) where lh = length h
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:298:12: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-18042�\GHC-18042�]8;;�\] [�[;1m�[35m-Wtype-defaults�[0m�[0m�[;1m]�[0m�[0m�[;1m
• 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�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m298 |�[0m�[0m case �[;1m�[35mR.decimal�[0m�[0m ds of
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:304:5: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-81995�\GHC-81995�]8;;�\] [�[;1m�[35m-Wunused-do-bind�[0m�[0m�[;1m]�[0m�[0m�[;1m
A do-notation statement discarded a result of type ‘T.Text’
Suggested fix: Suppress this warning by saying ‘_ <- string "::"’�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m304 |�[0m�[0m �[;1m�[35mstring "::"�[0m�[0m
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^�[0m�[0m
�[;1mtests/QC/IPv6/Internal.hs:309:5: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-81995�\GHC-81995�]8;;�\] [�[;1m�[35m-Wunused-do-bind�[0m�[0m�[;1m]�[0m�[0m�[;1m
A do-notation statement discarded a result of type ‘T.Text’
Suggested fix: Suppress this warning by saying ‘_ <- string ":"’�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m309 |�[0m�[0m �[;1m�[35mstring ":"�[0m�[0m
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^�[0m�[0m
[ 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 )
�[;1mtests/QC/Simple.hs:10:1: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-66111�\GHC-66111�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘Data.List’ is redundant
except perhaps to import instances from ‘Data.List’
To import instances alone, use: import Data.List()�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m10 |�[0m�[0m �[;1m�[35mimport Data.List (foldl')�[0m�[0m
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^^^^^^^^^^^^^^^�[0m�[0m
[ 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 )
�[;1mtests/QC/Text/Regressions.hs:9:1: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-66111�\GHC-66111�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘Data.List’ is redundant
except perhaps to import instances from ‘Data.List’
To import instances alone, use: import Data.List()�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m9 |�[0m�[0m �[;1m�[35mimport Data.List (foldl')�[0m�[0m
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^^^^^^^^^^^^^^^�[0m�[0m
�[;1mtests/QC/Text/Regressions.hs:12:1: �[;1m�[35mwarning�[0m�[0m�[;1m: [�]8;;https://errors.haskell.org/messages/GHC-66111�\GHC-66111�]8;;�\] [�[;1m�[35m-Wunused-imports�[0m�[0m�[;1m]�[0m�[0m�[;1m
The import of ‘Data.Monoid’ is redundant
except perhaps to import instances from ‘Data.Monoid’
To import instances alone, use: import Data.Monoid()�[0m�[0m
�[;1m�[34m |�[0m�[0m
�[;1m�[34m12 |�[0m�[0m �[;1m�[35mimport Data.Monoid ((<>))�[0m�[0m
�[;1m�[34m |�[0m�[0m�[;1m�[35m ^^^^^^^^^^^^^^^^^^^^^^^^^�[0m�[0m
[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 40 seconds
Running phase: checkPhase
@nix { "action": "setPhase", "phase": "checkPhase" }
Running 1 test suites...
Test suite attoparsec-tests: RUNNING...
tests
bs
anyWord8: OK
+++ OK, passed 100 tests.
endOfInput: OK
+++ OK, passed 100 tests.
endOfLine: OK
+++ OK, failed as expected. Falsified, Falsified (after 4 tests and 2 shrinks):
"\NUL"
'\NUL' /= '\n'
('\NUL',Nothing) /= ('\r',Just '\n')
notWord8: OK
+++ OK, passed 100 tests.
peekWord8: OK
+++ OK, passed 100 tests.
peekWord8': 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 2 tests and 1 shrink):
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
+++ OK, passed 100 tests.
take: OK
+++ OK, passed 100 tests.
takeByteString: OK
+++ OK, passed 100 tests.
takeCount: OK
+++ OK, passed 100 tests.
takeLazyByteString: OK
+++ 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.
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
+++ OK, passed 100 tests.
buf
b_unbuffer: OK (0.02s)
+++ OK, passed 100 tests.
t_unbuffer: OK (0.01s)
+++ OK, passed 100 tests.
t_unbuffer_three: OK
+++ OK, passed 100 tests.
b_length: OK (0.02s)
+++ OK, passed 100 tests.
t_length: OK
+++ OK, passed 100 tests.
b_unsafeIndex: OK (0.02s)
+++ OK, passed 100 tests.
t_iter: FAIL
*** Failed! Falsified, Falsified (after 13 tests and 19 shrinks):
BP ["\NUL\65744,\DC3\NUL\US$,","\193774\42427f\71074\67018"] "\NUL\65744,\DC3\NUL\US$,\193774\42427f\71074\67018" "\NUL\65744,\DC3\NUL\US$,\193774\42427f\71074\67018"
27 /= 0
('\-3414',2) /= ('\-3584',2)
Use --quickcheck-replay="(SMGen 15460247098243224403 10696293924639987469,12)" to reproduce.
Use -p '$0=="tests.buf.t_iter"' to rerun this test only.
t_iter_: OK (0.01s)
+++ OK, passed 100 tests.
b_unsafeDrop: OK (0.02s)
+++ OK, passed 100 tests.
t_dropCodeUnits: OK
+++ OK, passed 100 tests.
combinator
choice: OK (0.01s)
+++ OK, passed 100 tests.
count: OK
+++ OK, passed 100 tests.
lookAhead: OK
+++ OK, passed 100 tests.
match: OK
+++ 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 4 tests and 2 shrinks):
"\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 6 tests and 17 shrinks):
'a'
"a"
not ('a' < 'a')
skipWhile: OK
+++ OK, passed 100 tests.
string: OK
+++ OK, passed 100 tests.
strings: OK
+++ 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
+++ 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
+++ OK, passed 100 tests.
nonmembers: OK
+++ OK, passed 100 tests.
FastSet
membership is correct: OK
+++ OK, passed 100 tests.
Regressions
issue105: OK
+++ OK, passed 100 tests.
1 out of 70 tests failed (0.21s)
Test suite attoparsec-tests: FAIL
Test suite logged to: dist/test/attoparsec-0.14.4-attoparsec-tests.log
0 of 1 test suites (0 of 1 test cases) passed.
Metadata
Metadata
Assignees
Labels
No labels
Activity
sternenseemann commentedon Oct 15, 2025
Another one:
vcunat commentedon Jan 14, 2026
Again:
https://hydra.nixos.org/build/318966886/nixlog/1
Ai-Ya-Ya commentedon Jan 15, 2026
I believe this is due to unsafe bounds checking. Here is what I believe is the most minimal reproducible testcase:
I got this example by changing this line in test
t_itertoi <- choose (l-4, l-1).The UTF-8 character
\128, orU+0080, which in bytes isC2 80. If the test chosei <- 1then tracing toIterArraywill have the iterator return two bytes: the first being the expected80and the second being whatever garbage is out of bounds, which will almost certainly not match. Usually this is not a problem but in the unlikely event that the index is at the tail end of the string, then it is possible the iterator will access out of bounds, causing the bug.For some reason I could not reproduce this on GHC 9.8. Perhaps that's why the Nix builds only failed recently.
The hackiest solution to this is to restrict
choosetol-4. I could also fix the test by only choosing indices that are on leading bytes.haskellPackages.attoparsec: skip flaky t_iter test
haskellPackages.attoparsec: skip flaky t_iter test
haskellPackages.attoparsec: skip flaky t_iter test
Vekhir commentedon Jul 12, 2026
While working on GHC 9.10+ for Arch Linux, I've also come across this issue.
Thanks @Ai-Ya-Ya for your example and explanation. I dug a bit deeper and think haskell/text#635 (included in
text2.1.3 and thus GHC 9.10.3/9.12.3+) is the culprit for the behavioural change.The pre-2.1.3 branchless implementation of
utf8LengthByLeaderreturned a length of 1 for continuation bytes, while the post-2.1.3 branched implementation returns a length of 2. This leads to the out of bounds memory access. Since jumping into a continuation byte is invalid, the result is undefined and not relevant in practice; to ensure the same behaviour though, it is very much important.Possible solution
The test could check whether it chose the last byte in the Text (i.e.
i == l-1). If it has, then the returned length is 1 if the last byte is a valid character - the codepoints returned must be equal. If the last byte is a continuation byte (that is, the last character is a multibyte character), the returned length is 2 - the codepoints must be in the range [-4224, 63], both inclusive (also depends on the exact value of the continuation byte. W/e). We can't determine this value exactly, because the memory access is out of bounds and we don't know where in memory that happens.Perhaps something like this:
I've also contacted the maintainers of
text(haskell/text#704). Makingiterdeterministic would probably be the best fix.Analysis
What the
t_itertest doesThe
iterfunction forattoparsectext buffers is modeled on theiterfunction provided by thetextpackage. Ideally, both implementations always return the exact same output. This is whatt_iterchecks for.How the
iterimplementation works (part one: High Level)iterprovides an iterator over the underlying Text by yielding both the current character and its size. Crucially, it does so unsafely; this means that it does not check whether the given position is actually a valid character. The output on invalid characters is undefined.The relevant computation occurs in
iterArraywhich takes the byte at the given position and uses it to compute the length as UTF-8 encodes the character length in its leading byte. It then converts that many bytes of the Text into a unicode codepoint.Short excursion: UTF-8 encoding
While UTF-8 technically supports longer byte sequences, characters are in practice limited to 4 byte sequences. The first byte can start with a 0 (
m0 < 80) which denotes an ASCII character and is thus 1 byte long. Two-byte sequences start with 110 (C0 <= m0 < E0), three-byte sequences with 1110 (E0 <= m0 < F0) and four-byte sequences with 11110 (F0 <= m0 < F8). The starting byte must be followed by the corresponding number of continuation bytes. Continuation bytes start with 10 (80 <= m0 < C0), thus completing the range.How the
iterimplementation works (part two: What changed)The important step is in the length calculation from the leading byte (Done in Data.Text.Internal.Encoding.Utf8.utf8LengthByLeader)
Before
text 2.1.3(or more precisely, text@1373ce), the branchless implementation turned the leading byte into its complement (negating 1s and 0s) and counting the number of initial zeroes. This is equivalent to counting the number of leading 1s. It also enforces a minimum of 1 and thus yields this table:The current branched implementation yields this table:
The only difference is with the
80 - BFrange which affects only continuation bytes and thus invalid starting points. The previous value of 1 was a fail-safe since the continuation byte must at least have a length of 1, so no OOB error. The new value of 2 leads to the reported issue.Bodigrim commentedon Jul 12, 2026
To copy my reply from haskell/text#704: the test is wrong and does not satisfy the expectations for
Data.Text.Unsafe.iter(Unsafeis the key bit). It should not be run on offsets inside a multibyte UTF-8 sequence.Restricting the range of
i <- choose (0,l-1)tol-4would help a little bit by virtue of not reading memory garbage, so the test will technically pass, but it still be in violation of preconditions foriter.The test should rather check that
Data.Text.Unsafe.dropWord8 i tis a validText. This can be done, for example, byencodeUtf8and thendecodeUtf8Lenientit back to compare.Vekhir commentedon Jul 12, 2026
I understand your point. From my limited understanding,
attoparsectries to mimic the behaviour ofiteronTextwith theirData.Attoparsec.Text.Buffer, going for a sort of bug-for-bug compatibility. Probably makes the tests easier as well (as long as the outward behaviour is repeatable/deterministic that is).Probably worth considering to restrict the guarantees closer to what
textsupports. Which brings me to the question: What are the preconditions under whichiterguarantees a valid result? Does the entire Text need to be valid? Only the part after the index? Implementation suggests that only the character at the index must be valid (when iterating, this extends naturally to the entire Text).Does
Data.Text.unconsmake a guarantee that the returned character is valid? Given that it usesiterinternally, I assume not...Bodigrim commentedon Jul 12, 2026
If
Textis malformed, all bets are off. If users such asData.Attoparsec.Text.Buffer.unBufferreach out to theTextconstructor themselves, it's their responsibility to ensure that it is valid. (That's why me talking about addingData.Text.isValidfunction in another issue)At the moment it is enough for
iterthat the offset points to a leading byte and not to a continuation byte. While I don't foresee this to change, it's not completely impossible for the preconditions to change.Vekhir commentedon Jul 13, 2026
I've worked out these two validation functions to check whether it's allowed to iterate over a
Text:The first one (
isValidIterOffset) checks whether the given offset is valid foriter. The second uses that to check that the entire text is valid by iterating usingiterand the returned length and ensure that each offset is valid.The equality condition in
isValidIterOffsetis technically too strong since a wrong byte at the end of the stream would invalidate all other offsets. In practice, we only want to work with validTextanyway, and combined withisValidIterText, it implies roundtrip equality anyway.Bodigrim commentedon Jul 18, 2026
@Vekhir looks good to me.
Vekhir commentedon Jul 27, 2026
#237 implements the offset checking and only tests valid offsets.
Testing with the change in #232 (comment) to increase the failure rate, the issue has stopped occurring.