Running phase: setupCompilerEnvironmentPhase setupCompilerEnvironmentPhase Build with /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4. Running phase: unpackPhase unpacking sources unpacking source archive /nix/store/i3q7a6xjp36f8k8h65mzndvnr5a5wada-http-api-data-0.4.3.tar.gz source root is http-api-data-0.4.3 setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file http-api-data-0.4.3/test/Web/Internal/TestInstances.hs Running phase: patchPhase patching sources Replace Cabal file with edited version from mirror://hackage/http-api-data-0.4.3/revision/6.cabal. Running phase: compileBuildDriverPhase compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.gRw2kaNJRw/setup-package.conf.d -j16 +RTS -A64M -RTS -threaded -rtsopts [1 of 1] Compiling Main ( Setup.hs, /build/tmp.gRw2kaNJRw/Main.o ) Linking Setup ... Running phase: configurePhase configuring configureFlags: --verbose --prefix=/nix/store/j3vnizbsfiy1l67k2yvxd7v8mi7crr5y-http-api-data-0.4.3 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/kv5lsz3l05qwwmcq0yzxziw4xgzfba5c-http-api-data-0.4.3-doc/share/doc/http-api-data-0.4.3 --with-gcc=gcc --package-db=/build/tmp.gRw2kaNJRw/package.conf.d --ghc-options=-j16 +RTS -A64M -RTS --disable-split-objs --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 --ghc-option=-split-sections --ghc-options=-haddock --extra-lib-dirs=/nix/store/qfbw9zmdlllswnx3vqkxgz6dzwhlv985-ncurses-6.3-p20220507/lib --extra-lib-dirs=/nix/store/gsycfmysih14pxphxsk5lvlh5sw6wn02-libffi-3.4.4/lib --extra-lib-dirs=/nix/store/kyxg6j5rirfygdqfqkrm1azg7dqdmhbh-gmp-with-cxx-6.2.1/lib --extra-lib-dirs=/nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/lib Using Parsec parser Configuring http-api-data-0.4.3... Flags chosen: use-text-show=False Dependency attoparsec >=0.13.2.2 && <0.15: using attoparsec-0.14.4 Dependency attoparsec-iso8601 >=1.0.2.0 && <1.1: using attoparsec-iso8601-1.0.2.1 Dependency base >=4.7 && <4.17: using base-4.16.3.0 Dependency base-compat >=0.10.5 && <0.13: using base-compat-0.12.2 Dependency bytestring >=0.10.8.1 && <0.12: using bytestring-0.11.3.1 Dependency containers >=0.5.5.1 && <0.7: using containers-0.6.5.1 Dependency cookie >=0.4.3 && <0.5: using cookie-0.4.5 Dependency hashable >=1.2.7.0 && <1.5: using hashable-1.4.1.0 Dependency http-types >=0.12.3 && <0.13: using http-types-0.12.3 Dependency tagged >=0.8.5 && <0.9: using tagged-0.8.6.1 Dependency text >=1.2.3.0 && <1.3 || >=2.0 && <2.1: using text-1.2.5.0 Dependency time-compat >=1.9.5 && <1.10: using time-compat-1.9.6.1 Dependency transformers >=0.3 && <0.7: using transformers-0.5.6.2 Dependency unordered-containers >=0.2.10.0 && <0.3: using unordered-containers-0.2.19.1 Dependency uuid-types >=1.0.3 && <1.1: using uuid-types-1.0.5 Dependency HUnit >=1.6.0.0 && <1.7: using HUnit-1.6.2.0 Dependency QuickCheck >=2.13.1 && <2.15: using QuickCheck-2.14.2 Dependency base: using base-4.16.3.0 Dependency base-compat: using base-compat-0.12.2 Dependency bytestring: using bytestring-0.11.3.1 Dependency cookie: using cookie-0.4.5 Dependency hspec >=2.7.1 && <2.10: using hspec-2.9.7 Dependency http-api-data: using http-api-data-0.4.3 Dependency quickcheck-instances >=0.3.25.2 && <0.4: using quickcheck-instances-0.3.28 Dependency text: using text-1.2.5.0 Dependency time-compat: using time-compat-1.9.6.1 Dependency unordered-containers: using unordered-containers-0.2.19.1 Dependency uuid-types: using uuid-types-1.0.5 Source component graph: component lib component test:spec dependency lib Configured component graph: component http-api-data-0.4.3-D6TjlA5iCgk9bL2oCmPbxe include attoparsec-0.14.4-A66c1KMWzkm7vAzdPITUV0 include attoparsec-iso8601-1.0.2.1-IpPln1mdRSoJZ1T5lEghzV include base-4.16.3.0 include base-compat-0.12.2-FhzxSBl3yJsEVFzJm794VJ include bytestring-0.11.3.1 include containers-0.6.5.1 include cookie-0.4.5-INruo7xeMpLEGnB2WKxcih include hashable-1.4.1.0-HbEiCaYSLBY8Iw1fcosZQk include http-types-0.12.3-GWWGHcztobICvmBMoRBB5P include tagged-0.8.6.1-1cyKsP6IoysJiSe4ShbK3g include text-1.2.5.0 include time-compat-1.9.6.1-HPXxNPTtTCaH2PrTxuxUcC include transformers-0.5.6.2 include unordered-containers-0.2.19.1-ArO3aaHsDRM2LdhYIZhbjg include uuid-types-1.0.5-IqmAvXPaGmuJilxLvQgJZn component http-api-data-0.4.3-C1zFn7zwvYU9l35y94zC5V-spec include HUnit-1.6.2.0-1zpZ2XpSGLD8bpY95LGwLy include QuickCheck-2.14.2-GmIzHg8jhXyDhZvBXz41zC include base-4.16.3.0 include base-compat-0.12.2-FhzxSBl3yJsEVFzJm794VJ include bytestring-0.11.3.1 include cookie-0.4.5-INruo7xeMpLEGnB2WKxcih include hspec-2.9.7-BMvEyb1CfahJCbZUcb2TVk include http-api-data-0.4.3-D6TjlA5iCgk9bL2oCmPbxe include quickcheck-instances-0.3.28-Fh0MjS4rhNIAUuNG7YiHng include text-1.2.5.0 include time-compat-1.9.6.1-HPXxNPTtTCaH2PrTxuxUcC include unordered-containers-0.2.19.1-ArO3aaHsDRM2LdhYIZhbjg include uuid-types-1.0.5-IqmAvXPaGmuJilxLvQgJZn Linked component graph: unit http-api-data-0.4.3-D6TjlA5iCgk9bL2oCmPbxe include attoparsec-0.14.4-A66c1KMWzkm7vAzdPITUV0 include attoparsec-iso8601-1.0.2.1-IpPln1mdRSoJZ1T5lEghzV include base-4.16.3.0 include base-compat-0.12.2-FhzxSBl3yJsEVFzJm794VJ include bytestring-0.11.3.1 include containers-0.6.5.1 include cookie-0.4.5-INruo7xeMpLEGnB2WKxcih include hashable-1.4.1.0-HbEiCaYSLBY8Iw1fcosZQk include http-types-0.12.3-GWWGHcztobICvmBMoRBB5P include tagged-0.8.6.1-1cyKsP6IoysJiSe4ShbK3g include text-1.2.5.0 include time-compat-1.9.6.1-HPXxNPTtTCaH2PrTxuxUcC include transformers-0.5.6.2 include unordered-containers-0.2.19.1-ArO3aaHsDRM2LdhYIZhbjg include uuid-types-1.0.5-IqmAvXPaGmuJilxLvQgJZn Web.FormUrlEncoded=http-api-data-0.4.3-D6TjlA5iCgk9bL2oCmPbxe:Web.FormUrlEncoded,Web.HttpApiData=http-api-data-0.4.3-D6TjlA5iCgk9bL2oCmPbxe:Web.HttpApiData,Web.Internal.FormUrlEncoded=http-api-data-0.4.3-D6TjlA5iCgk9bL2oCmPbxe:Web.Internal.FormUrlEncoded,Web.Internal.HttpApiData=http-api-data-0.4.3-D6TjlA5iCgk9bL2oCmPbxe:Web.Internal.HttpApiData unit http-api-data-0.4.3-C1zFn7zwvYU9l35y94zC5V-spec include HUnit-1.6.2.0-1zpZ2XpSGLD8bpY95LGwLy include QuickCheck-2.14.2-GmIzHg8jhXyDhZvBXz41zC include base-4.16.3.0 include base-compat-0.12.2-FhzxSBl3yJsEVFzJm794VJ include bytestring-0.11.3.1 include cookie-0.4.5-INruo7xeMpLEGnB2WKxcih include hspec-2.9.7-BMvEyb1CfahJCbZUcb2TVk include http-api-data-0.4.3-D6TjlA5iCgk9bL2oCmPbxe include quickcheck-instances-0.3.28-Fh0MjS4rhNIAUuNG7YiHng include text-1.2.5.0 include time-compat-1.9.6.1-HPXxNPTtTCaH2PrTxuxUcC include unordered-containers-0.2.19.1-ArO3aaHsDRM2LdhYIZhbjg include uuid-types-1.0.5-IqmAvXPaGmuJilxLvQgJZn Ready component graph: definite http-api-data-0.4.3-D6TjlA5iCgk9bL2oCmPbxe depends attoparsec-0.14.4-A66c1KMWzkm7vAzdPITUV0 depends attoparsec-iso8601-1.0.2.1-IpPln1mdRSoJZ1T5lEghzV depends base-4.16.3.0 depends base-compat-0.12.2-FhzxSBl3yJsEVFzJm794VJ depends bytestring-0.11.3.1 depends containers-0.6.5.1 depends cookie-0.4.5-INruo7xeMpLEGnB2WKxcih depends hashable-1.4.1.0-HbEiCaYSLBY8Iw1fcosZQk depends http-types-0.12.3-GWWGHcztobICvmBMoRBB5P depends tagged-0.8.6.1-1cyKsP6IoysJiSe4ShbK3g depends text-1.2.5.0 depends time-compat-1.9.6.1-HPXxNPTtTCaH2PrTxuxUcC depends transformers-0.5.6.2 depends unordered-containers-0.2.19.1-ArO3aaHsDRM2LdhYIZhbjg depends uuid-types-1.0.5-IqmAvXPaGmuJilxLvQgJZn definite http-api-data-0.4.3-C1zFn7zwvYU9l35y94zC5V-spec depends HUnit-1.6.2.0-1zpZ2XpSGLD8bpY95LGwLy depends QuickCheck-2.14.2-GmIzHg8jhXyDhZvBXz41zC depends base-4.16.3.0 depends base-compat-0.12.2-FhzxSBl3yJsEVFzJm794VJ depends bytestring-0.11.3.1 depends cookie-0.4.5-INruo7xeMpLEGnB2WKxcih depends hspec-2.9.7-BMvEyb1CfahJCbZUcb2TVk depends http-api-data-0.4.3-D6TjlA5iCgk9bL2oCmPbxe depends quickcheck-instances-0.3.28-Fh0MjS4rhNIAUuNG7YiHng depends text-1.2.5.0 depends time-compat-1.9.6.1-HPXxNPTtTCaH2PrTxuxUcC depends unordered-containers-0.2.19.1-ArO3aaHsDRM2LdhYIZhbjg depends uuid-types-1.0.5-IqmAvXPaGmuJilxLvQgJZn Using Cabal-3.6.3.0 compiled by ghc-9.2 Using compiler: ghc-9.2.4 Using install prefix: /nix/store/j3vnizbsfiy1l67k2yvxd7v8mi7crr5y-http-api-data-0.4.3 Executables installed in: /nix/store/j3vnizbsfiy1l67k2yvxd7v8mi7crr5y-http-api-data-0.4.3/bin Libraries installed in: /nix/store/j3vnizbsfiy1l67k2yvxd7v8mi7crr5y-http-api-data-0.4.3/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/http-api-data-0.4.3-D6TjlA5iCgk9bL2oCmPbxe Dynamic Libraries installed in: /nix/store/j3vnizbsfiy1l67k2yvxd7v8mi7crr5y-http-api-data-0.4.3/lib/ghc-9.2.4/i386-linux-ghc-9.2.4 Private executables installed in: /nix/store/j3vnizbsfiy1l67k2yvxd7v8mi7crr5y-http-api-data-0.4.3/libexec/i386-linux-ghc-9.2.4/http-api-data-0.4.3 Data files installed in: /nix/store/j3vnizbsfiy1l67k2yvxd7v8mi7crr5y-http-api-data-0.4.3/share/i386-linux-ghc-9.2.4/http-api-data-0.4.3 Documentation installed in: /nix/store/kv5lsz3l05qwwmcq0yzxziw4xgzfba5c-http-api-data-0.4.3-doc/share/doc/http-api-data-0.4.3 Configuration files installed in: /nix/store/j3vnizbsfiy1l67k2yvxd7v8mi7crr5y-http-api-data-0.4.3/etc No alex found Using ar found on system at: /nix/store/cz0xzc39p2qj26ml15v9bq5ckrmdmdf4-binutils-2.39/bin/ar No c2hs found No cpphs found No doctest found Using gcc version 11.3.0 given by user at: /nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/gcc Using ghc version 9.2.4 found on system at: /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/bin/ghc Using ghc-pkg version 9.2.4 found on system at: /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/bin/ghc-pkg-9.2.4 No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.26.0 found on system at: /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/bin/haddock-ghc-9.2.4 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.68 found on system at: /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/bin/hpc Using hsc2hs version 0.68.8 found on system at: /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/bin/hsc2hs Using hscolour version 1.24 found on system at: /nix/store/85d2z1v7cbhi7zr0aj493mh85n4w6p60-hscolour-1.24.4/bin/HsColour No jhc found Using ld found on system at: /nix/store/ssc7jicqr32k3w9gbsczxl0fxxfvm60g-binutils-wrapper-2.39/bin/ld.gold No pkg-config found Using runghc version 9.2.4 found on system at: /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4/bin/runghc-9.2.4 Using strip version 2.39 found on system at: /nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/strip Using tar found on system at: /nix/store/5rh47gjf5m2w51g3sxpyfxr1km61vd1f-gnutar-1.34/bin/tar No uhc found Running phase: buildPhase building Preprocessing library for http-api-data-0.4.3.. Building library for http-api-data-0.4.3.. [1 of 4] Compiling Web.Internal.HttpApiData ( src/Web/Internal/HttpApiData.hs, dist/build/Web/Internal/HttpApiData.o, dist/build/Web/Internal/HttpApiData.dyn_o ) src/Web/Internal/HttpApiData.hs:39:1: warning: [-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() | 39 | import Data.Semigroup (Semigroup (..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Web/Internal/HttpApiData.hs:478:61: warning: [-Wdeprecations] In the use of ‘iso8601DateFormat’ (imported from Data.Time.Format.Compat, but defined in time-1.11.1.1:Data.Time.Format.Locale): Deprecated: "use "Data.Time.Format.ISO8601" functions instead" | 478 | timeToUrlPiece fmt = T.pack . formatTime defaultTimeLocale (iso8601DateFormat (Just fmt)) | ^^^^^^^^^^^^^^^^^ [2 of 4] Compiling Web.Internal.FormUrlEncoded ( src/Web/Internal/FormUrlEncoded.hs, dist/build/Web/Internal/FormUrlEncoded.o, dist/build/Web/Internal/FormUrlEncoded.dyn_o ) src/Web/Internal/FormUrlEncoded.hs:45:1: warning: [-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() | 45 | import Data.Semigroup (Semigroup (..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Web/Internal/FormUrlEncoded.hs:63:1: warning: [-Wunused-imports] The import of ‘Numeric.Natural’ is redundant except perhaps to import instances from ‘Numeric.Natural’ To import instances alone, use: import Numeric.Natural() | 63 | import Numeric.Natural (Natural) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Web/Internal/FormUrlEncoded.hs:348:23: warning: [-Wstar-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use ‘Type’ from ‘Data.Kind’ instead. | 348 | class GToForm t (f :: * -> *) where | ^ src/Web/Internal/FormUrlEncoded.hs:348:28: warning: [-Wstar-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use ‘Type’ from ‘Data.Kind’ instead. | 348 | class GToForm t (f :: * -> *) where | ^ src/Web/Internal/FormUrlEncoded.hs:496:25: warning: [-Wstar-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use ‘Type’ from ‘Data.Kind’ instead. | 496 | class GFromForm t (f :: * -> *) where | ^ src/Web/Internal/FormUrlEncoded.hs:496:30: warning: [-Wstar-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use ‘Type’ from ‘Data.Kind’ instead. | 496 | class GFromForm t (f :: * -> *) where | ^ [3 of 4] Compiling Web.FormUrlEncoded ( src/Web/FormUrlEncoded.hs, dist/build/Web/FormUrlEncoded.o, dist/build/Web/FormUrlEncoded.dyn_o ) [4 of 4] Compiling Web.HttpApiData ( src/Web/HttpApiData.hs, dist/build/Web/HttpApiData.o, dist/build/Web/HttpApiData.dyn_o ) [1 of 4] Compiling Web.Internal.HttpApiData ( src/Web/Internal/HttpApiData.hs, dist/build/Web/Internal/HttpApiData.p_o ) src/Web/Internal/HttpApiData.hs:39:1: warning: [-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() | 39 | import Data.Semigroup (Semigroup (..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Web/Internal/HttpApiData.hs:478:61: warning: [-Wdeprecations] In the use of ‘iso8601DateFormat’ (imported from Data.Time.Format.Compat, but defined in time-1.11.1.1:Data.Time.Format.Locale): Deprecated: "use "Data.Time.Format.ISO8601" functions instead" | 478 | timeToUrlPiece fmt = T.pack . formatTime defaultTimeLocale (iso8601DateFormat (Just fmt)) | ^^^^^^^^^^^^^^^^^ [2 of 4] Compiling Web.Internal.FormUrlEncoded ( src/Web/Internal/FormUrlEncoded.hs, dist/build/Web/Internal/FormUrlEncoded.p_o ) src/Web/Internal/FormUrlEncoded.hs:45:1: warning: [-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() | 45 | import Data.Semigroup (Semigroup (..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Web/Internal/FormUrlEncoded.hs:63:1: warning: [-Wunused-imports] The import of ‘Numeric.Natural’ is redundant except perhaps to import instances from ‘Numeric.Natural’ To import instances alone, use: import Numeric.Natural() | 63 | import Numeric.Natural (Natural) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Web/Internal/FormUrlEncoded.hs:348:23: warning: [-Wstar-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use ‘Type’ from ‘Data.Kind’ instead. | 348 | class GToForm t (f :: * -> *) where | ^ src/Web/Internal/FormUrlEncoded.hs:348:28: warning: [-Wstar-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use ‘Type’ from ‘Data.Kind’ instead. | 348 | class GToForm t (f :: * -> *) where | ^ src/Web/Internal/FormUrlEncoded.hs:496:25: warning: [-Wstar-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use ‘Type’ from ‘Data.Kind’ instead. | 496 | class GFromForm t (f :: * -> *) where | ^ src/Web/Internal/FormUrlEncoded.hs:496:30: warning: [-Wstar-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use ‘Type’ from ‘Data.Kind’ instead. | 496 | class GFromForm t (f :: * -> *) where | ^ [3 of 4] Compiling Web.FormUrlEncoded ( src/Web/FormUrlEncoded.hs, dist/build/Web/FormUrlEncoded.p_o ) [4 of 4] Compiling Web.HttpApiData ( src/Web/HttpApiData.hs, dist/build/Web/HttpApiData.p_o ) Preprocessing test suite 'spec' for http-api-data-0.4.3.. Building test suite 'spec' for http-api-data-0.4.3.. [1 of 4] Compiling Web.Internal.TestInstances ( test/Web/Internal/TestInstances.hs, dist/build/spec/spec-tmp/Web/Internal/TestInstances.o ) [2 of 4] Compiling Web.Internal.HttpApiDataSpec ( test/Web/Internal/HttpApiDataSpec.hs, dist/build/spec/spec-tmp/Web/Internal/HttpApiDataSpec.o ) [3 of 4] Compiling Web.Internal.FormUrlEncodedSpec ( test/Web/Internal/FormUrlEncodedSpec.hs, dist/build/spec/spec-tmp/Web/Internal/FormUrlEncodedSpec.o ) test/Web/Internal/FormUrlEncodedSpec.hs:48:11: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘Either Text SimpleRec’ not matched: Left _ | 48 | Right r1 = fromForm f1 :: Either Text SimpleRec | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/Web/Internal/FormUrlEncodedSpec.hs:53:11: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘Either Text SimpleRec’ not matched: Right _ | 53 | Left e = fromForm f :: Either Text SimpleRec | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [4 of 4] Compiling Main ( test/Spec.hs, dist/build/spec/spec-tmp/Main.o ) Linking dist/build/spec/spec ... buildPhase completed in 1 minutes 28 seconds Running phase: checkPhase running tests Running 1 test suites... Test suite spec: RUNNING... Web.Internal.FormUrlEncoded Default (generic) instances ToForm contains the record names [✔] +++ OK, passed 100 tests. contains the correct record values [✔] +++ OK, passed 100 tests. FromForm is the right inverse of ToForm [✔] +++ OK, passed 100 tests. returns the underlying error [✔] urlEncoding urlDecodeForm (urlEncodeForm x) == Right x [✔] +++ OK, passed 100 tests. urlDecodeAsForm == (fromForm <=< urlDecodeForm) [✔] +++ OK, passed 100 tests. urlEncodeAsForm == urlEncodeForm . toForm [✔] +++ OK, passed 100 tests. urlDecodeForm "" == Right mempty [✔] Web.Internal.HttpApiData Instances () toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Char toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Bool toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Ordering toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Int toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Int8 toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Int16 toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Int32 toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Int64 toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Integer toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Word toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Word8 toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Word16 toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Word32 toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Word64 toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. String toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Text.Strict toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Text.Lazy toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Day toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. TimeOfDay toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. LocalTime toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. ZonedTime toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. UTCTime toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. NominalDiffTime toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. DayOfWeek toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Quarter toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. QuarterOfYear toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Month toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. DayOfWeek toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Version toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. UUID toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Cookie toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Uni toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Deci toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Centi toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Milli toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Micro toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Nano toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Pico toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Maybe String toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Maybe Integer toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Either Integer Text toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Either Version Day toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. Natural toUrlPiece <=> parseUrlPiece [✔] +++ OK, passed 100 tests. toQueryParam <=> parseQueryParam [✔] +++ OK, passed 100 tests. toHeader <=> parseHeader [✔] +++ OK, passed 100 tests. toEncodedUrlPiece encodes correctly [✔] +++ OK, passed 100 tests. bad integers are rejected [✔] bounds checking works [✔] invalid utf8 is handled [✔] Finished in 0.4655 seconds 187 examples, 0 failures Test suite spec: PASS Test suite logged to: dist/test/http-api-data-0.4.3-spec.log 1 of 1 test suites (1 of 1 test cases) passed. Running phase: haddockPhase haddockPhase Preprocessing library for http-api-data-0.4.3.. Running Haddock on library for http-api-data-0.4.3.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: attoparsec-0.14.4, attoparsec-0.14.4 Warning: --source-* options are ignored when --hyperlinked-source is enabled. 93% ( 30 / 32) in 'Web.Internal.HttpApiData' Missing documentation for: timeToUrlPiece (src/Web/Internal/HttpApiData.hs:477) runAtto (src/Web/Internal/HttpApiData.hs:869) src/Web/Internal/HttpApiData.hs:39:1: warning: [-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() | 39 | import Data.Semigroup (Semigroup (..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Web/Internal/HttpApiData.hs:478:61: warning: [-Wdeprecations] In the use of ‘iso8601DateFormat’ (imported from Data.Time.Format.Compat, but defined in time-1.11.1.1:Data.Time.Format.Locale): Deprecated: "use "Data.Time.Format.ISO8601" functions instead" | 478 | timeToUrlPiece fmt = T.pack . formatTime defaultTimeLocale (iso8601DateFormat (Just fmt)) | ^^^^^^^^^^^^^^^^^ Warning: 'escapeURIString' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'isUnreserved' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'unEscapeString' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'toLower' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 82% ( 28 / 34) in 'Web.Internal.FormUrlEncoded' Missing documentation for: Module header Proxy3 (src/Web/Internal/FormUrlEncoded.hs:296) NotSupported (src/Web/Internal/FormUrlEncoded.hs:298) GToForm (src/Web/Internal/FormUrlEncoded.hs:348) GFromForm (src/Web/Internal/FormUrlEncoded.hs:496) sortOn (src/Web/Internal/FormUrlEncoded.hs:795) src/Web/Internal/FormUrlEncoded.hs:45:1: warning: [-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() | 45 | import Data.Semigroup (Semigroup (..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Web/Internal/FormUrlEncoded.hs:63:1: warning: [-Wunused-imports] The import of ‘Numeric.Natural’ is redundant except perhaps to import instances from ‘Numeric.Natural’ To import instances alone, use: import Numeric.Natural() | 63 | import Numeric.Natural (Natural) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Web/Internal/FormUrlEncoded.hs:348:23: warning: [-Wstar-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use ‘Type’ from ‘Data.Kind’ instead. | 348 | class GToForm t (f :: * -> *) where | ^ src/Web/Internal/FormUrlEncoded.hs:348:28: warning: [-Wstar-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use ‘Type’ from ‘Data.Kind’ instead. | 348 | class GToForm t (f :: * -> *) where | ^ src/Web/Internal/FormUrlEncoded.hs:496:25: warning: [-Wstar-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use ‘Type’ from ‘Data.Kind’ instead. | 496 | class GFromForm t (f :: * -> *) where | ^ src/Web/Internal/FormUrlEncoded.hs:496:30: warning: [-Wstar-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use ‘Type’ from ‘Data.Kind’ instead. | 496 | class GFromForm t (f :: * -> *) where | ^ Warning: 'Generic' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 35 / 35) in 'Web.FormUrlEncoded' 100% ( 32 / 32) in 'Web.HttpApiData' Warning: Web.Internal.HttpApiData: could not find link destinations for: - Data.Attoparsec.Text.Internal.Parser Documentation created: dist/doc/html/http-api-data/index.html, dist/doc/html/http-api-data/http-api-data.txt Preprocessing test suite 'spec' for http-api-data-0.4.3.. Running phase: installPhase installing Installing library in /nix/store/j3vnizbsfiy1l67k2yvxd7v8mi7crr5y-http-api-data-0.4.3/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/http-api-data-0.4.3-D6TjlA5iCgk9bL2oCmPbxe Running phase: fixupPhase post-installation fixup shrinking RPATHs of ELF executables and libraries in /nix/store/j3vnizbsfiy1l67k2yvxd7v8mi7crr5y-http-api-data-0.4.3 shrinking /nix/store/j3vnizbsfiy1l67k2yvxd7v8mi7crr5y-http-api-data-0.4.3/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/libHShttp-api-data-0.4.3-D6TjlA5iCgk9bL2oCmPbxe-ghc9.2.4.so strip is /nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/strip stripping (with command strip and flags -S) in /nix/store/j3vnizbsfiy1l67k2yvxd7v8mi7crr5y-http-api-data-0.4.3/lib patching script interpreter paths in /nix/store/j3vnizbsfiy1l67k2yvxd7v8mi7crr5y-http-api-data-0.4.3 checking for references to /build/ in /nix/store/j3vnizbsfiy1l67k2yvxd7v8mi7crr5y-http-api-data-0.4.3... shrinking RPATHs of ELF executables and libraries in /nix/store/kv5lsz3l05qwwmcq0yzxziw4xgzfba5c-http-api-data-0.4.3-doc strip is /nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/strip patching script interpreter paths in /nix/store/kv5lsz3l05qwwmcq0yzxziw4xgzfba5c-http-api-data-0.4.3-doc checking for references to /build/ in /nix/store/kv5lsz3l05qwwmcq0yzxziw4xgzfba5c-http-api-data-0.4.3-doc...