Running phase: setupCompilerEnvironmentPhase setupCompilerEnvironmentPhase Build with /nix/store/ic7wdfrif8raic2z6xiq2qv1bfzxi8li-ghc-9.2.4. Running phase: unpackPhase unpacking sources unpacking source archive /nix/store/0kdq95wgya8nhysrfsc29qzp156zpx9p-yaml-0.11.8.0.tar.gz source root is yaml-0.11.8.0 setting SOURCE_DATE_EPOCH to timestamp 1645705138 of file yaml-0.11.8.0/yaml.cabal Running phase: patchPhase patching sources Replace Cabal file with edited version from mirror://hackage/yaml-0.11.8.0/revision/2.cabal. Running phase: compileBuildDriverPhase compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.hr2bxTRQ7h/setup-package.conf.d -j16 +RTS -A64M -RTS -threaded -rtsopts [1 of 1] Compiling Main ( Setup.lhs, /build/tmp.hr2bxTRQ7h/Main.o ) Linking Setup ... Running phase: configurePhase configuring configureFlags: --verbose --prefix=/nix/store/yhn7vj2hvch4xxn9bapyl8w2q9zyyr6r-yaml-0.11.8.0 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/wnc5j3x7d77i7606xsk0xi8ajxc77h2c-yaml-0.11.8.0-doc/share/doc/yaml-0.11.8.0 --with-gcc=gcc --package-db=/build/tmp.hr2bxTRQ7h/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 -fsystem-libyaml --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 yaml-0.11.8.0... Flags chosen: no-examples=True, no-exe=True Dependency aeson >=0.11: using aeson-2.0.3.0 Dependency attoparsec >=0.11.3.0: using attoparsec-0.14.4 Dependency base >=4.9.1 && <5: using base-4.16.3.0 Dependency bytestring >=0.9.1.4: using bytestring-0.11.3.1 Dependency conduit >=1.2.8 && <1.4: using conduit-1.3.4.3 Dependency containers: using containers-0.6.5.1 Dependency directory: using directory-1.3.6.2 Dependency filepath: using filepath-1.4.2.2 Dependency libyaml >=0.1 && <0.2: using libyaml-0.1.2 Dependency mtl: using mtl-2.2.2 Dependency resourcet >=0.3 && <1.4: using resourcet-1.2.6 Dependency scientific >=0.3: using scientific-0.3.7.0 Dependency template-haskell: using template-haskell-2.18.0.0 Dependency text: using text-1.2.5.0 Dependency transformers >=0.1: using transformers-0.5.6.2 Dependency unordered-containers: using unordered-containers-0.2.19.1 Dependency vector: using vector-0.12.3.1 Dependency HUnit: using HUnit-1.6.2.0 Dependency aeson >=0.11: using aeson-2.0.3.0 Dependency attoparsec >=0.11.3.0: using attoparsec-0.14.4 Dependency base >=4.9.1 && <5: using base-4.16.3.0 Dependency base-compat: using base-compat-0.12.2 Dependency bytestring >=0.9.1.4: using bytestring-0.11.3.1 Dependency conduit >=1.2.8 && <1.4: using conduit-1.3.4.3 Dependency containers: using containers-0.6.5.1 Dependency directory: using directory-1.3.6.2 Dependency filepath: using filepath-1.4.2.2 Dependency hspec >=1.3: using hspec-2.9.7 Dependency libyaml >=0.1 && <0.2: using libyaml-0.1.2 Dependency mockery: using mockery-0.3.5 Dependency mtl: using mtl-2.2.2 Dependency raw-strings-qq: using raw-strings-qq-1.1 Dependency resourcet >=0.3 && <1.4: using resourcet-1.2.6 Dependency scientific >=0.3: using scientific-0.3.7.0 Dependency template-haskell: using template-haskell-2.18.0.0 Dependency temporary: using temporary-1.3 Dependency text: using text-1.2.5.0 Dependency transformers >=0.1: using transformers-0.5.6.2 Dependency unordered-containers: using unordered-containers-0.2.19.1 Dependency vector: using vector-0.12.3.1 Dependency yaml: using yaml-0.11.8.0 Source component graph: component lib component test:spec dependency lib Configured component graph: component yaml-0.11.8.0-EiBiFqHfj87G5kbippjHWR include aeson-2.0.3.0-D4dINzNoHvYnB1LzKcfcV include attoparsec-0.14.4-A66c1KMWzkm7vAzdPITUV0 include base-4.16.3.0 include bytestring-0.11.3.1 include conduit-1.3.4.3-6vnhVSBZvAs8R02KPfRF0V include containers-0.6.5.1 include directory-1.3.6.2 include filepath-1.4.2.2 include libyaml-0.1.2-B3AKjea4aNC6WpCWuf4qgu include mtl-2.2.2 include resourcet-1.2.6-HkrWN4WFfhBFcDpT4J9kBq include scientific-0.3.7.0-LbWgH0YFZ1W6p21GGEaex2 include template-haskell-2.18.0.0 include text-1.2.5.0 include transformers-0.5.6.2 include unordered-containers-0.2.19.1-ArO3aaHsDRM2LdhYIZhbjg include vector-0.12.3.1-KqnLyRTKrS5CEKshEeusyl component yaml-0.11.8.0-Itz9yAi1PBYJS2RoTeOtdI-spec include HUnit-1.6.2.0-1zpZ2XpSGLD8bpY95LGwLy include aeson-2.0.3.0-D4dINzNoHvYnB1LzKcfcV include attoparsec-0.14.4-A66c1KMWzkm7vAzdPITUV0 include base-4.16.3.0 include base-compat-0.12.2-FhzxSBl3yJsEVFzJm794VJ include bytestring-0.11.3.1 include conduit-1.3.4.3-6vnhVSBZvAs8R02KPfRF0V include containers-0.6.5.1 include directory-1.3.6.2 include filepath-1.4.2.2 include hspec-2.9.7-BMvEyb1CfahJCbZUcb2TVk include libyaml-0.1.2-B3AKjea4aNC6WpCWuf4qgu include mockery-0.3.5-mJBIZwOpnc5ng5w9A6FA7 include mtl-2.2.2 include raw-strings-qq-1.1-78Lb3LSEyy58XmCDDLbjCf include resourcet-1.2.6-HkrWN4WFfhBFcDpT4J9kBq include scientific-0.3.7.0-LbWgH0YFZ1W6p21GGEaex2 include template-haskell-2.18.0.0 include temporary-1.3-JxpTI5qlNOdD8IlmwGAiXZ include text-1.2.5.0 include transformers-0.5.6.2 include unordered-containers-0.2.19.1-ArO3aaHsDRM2LdhYIZhbjg include vector-0.12.3.1-KqnLyRTKrS5CEKshEeusyl include yaml-0.11.8.0-EiBiFqHfj87G5kbippjHWR Linked component graph: unit yaml-0.11.8.0-EiBiFqHfj87G5kbippjHWR include aeson-2.0.3.0-D4dINzNoHvYnB1LzKcfcV include attoparsec-0.14.4-A66c1KMWzkm7vAzdPITUV0 include base-4.16.3.0 include bytestring-0.11.3.1 include conduit-1.3.4.3-6vnhVSBZvAs8R02KPfRF0V include containers-0.6.5.1 include directory-1.3.6.2 include filepath-1.4.2.2 include libyaml-0.1.2-B3AKjea4aNC6WpCWuf4qgu include mtl-2.2.2 include resourcet-1.2.6-HkrWN4WFfhBFcDpT4J9kBq include scientific-0.3.7.0-LbWgH0YFZ1W6p21GGEaex2 include template-haskell-2.18.0.0 include text-1.2.5.0 include transformers-0.5.6.2 include unordered-containers-0.2.19.1-ArO3aaHsDRM2LdhYIZhbjg include vector-0.12.3.1-KqnLyRTKrS5CEKshEeusyl Data.Yaml=yaml-0.11.8.0-EiBiFqHfj87G5kbippjHWR:Data.Yaml,Data.Yaml.Aeson=yaml-0.11.8.0-EiBiFqHfj87G5kbippjHWR:Data.Yaml.Aeson,Data.Yaml.Builder=yaml-0.11.8.0-EiBiFqHfj87G5kbippjHWR:Data.Yaml.Builder,Data.Yaml.Config=yaml-0.11.8.0-EiBiFqHfj87G5kbippjHWR:Data.Yaml.Config,Data.Yaml.Include=yaml-0.11.8.0-EiBiFqHfj87G5kbippjHWR:Data.Yaml.Include,Data.Yaml.Internal=yaml-0.11.8.0-EiBiFqHfj87G5kbippjHWR:Data.Yaml.Internal,Data.Yaml.Parser=yaml-0.11.8.0-EiBiFqHfj87G5kbippjHWR:Data.Yaml.Parser,Data.Yaml.Pretty=yaml-0.11.8.0-EiBiFqHfj87G5kbippjHWR:Data.Yaml.Pretty,Data.Yaml.TH=yaml-0.11.8.0-EiBiFqHfj87G5kbippjHWR:Data.Yaml.TH unit yaml-0.11.8.0-Itz9yAi1PBYJS2RoTeOtdI-spec include HUnit-1.6.2.0-1zpZ2XpSGLD8bpY95LGwLy include aeson-2.0.3.0-D4dINzNoHvYnB1LzKcfcV include attoparsec-0.14.4-A66c1KMWzkm7vAzdPITUV0 include base-4.16.3.0 include base-compat-0.12.2-FhzxSBl3yJsEVFzJm794VJ include bytestring-0.11.3.1 include conduit-1.3.4.3-6vnhVSBZvAs8R02KPfRF0V include containers-0.6.5.1 include directory-1.3.6.2 include filepath-1.4.2.2 include hspec-2.9.7-BMvEyb1CfahJCbZUcb2TVk include libyaml-0.1.2-B3AKjea4aNC6WpCWuf4qgu include mockery-0.3.5-mJBIZwOpnc5ng5w9A6FA7 include mtl-2.2.2 include raw-strings-qq-1.1-78Lb3LSEyy58XmCDDLbjCf include resourcet-1.2.6-HkrWN4WFfhBFcDpT4J9kBq include scientific-0.3.7.0-LbWgH0YFZ1W6p21GGEaex2 include template-haskell-2.18.0.0 include temporary-1.3-JxpTI5qlNOdD8IlmwGAiXZ include text-1.2.5.0 include transformers-0.5.6.2 include unordered-containers-0.2.19.1-ArO3aaHsDRM2LdhYIZhbjg include vector-0.12.3.1-KqnLyRTKrS5CEKshEeusyl include yaml-0.11.8.0-EiBiFqHfj87G5kbippjHWR Ready component graph: definite yaml-0.11.8.0-EiBiFqHfj87G5kbippjHWR depends aeson-2.0.3.0-D4dINzNoHvYnB1LzKcfcV depends attoparsec-0.14.4-A66c1KMWzkm7vAzdPITUV0 depends base-4.16.3.0 depends bytestring-0.11.3.1 depends conduit-1.3.4.3-6vnhVSBZvAs8R02KPfRF0V depends containers-0.6.5.1 depends directory-1.3.6.2 depends filepath-1.4.2.2 depends libyaml-0.1.2-B3AKjea4aNC6WpCWuf4qgu depends mtl-2.2.2 depends resourcet-1.2.6-HkrWN4WFfhBFcDpT4J9kBq depends scientific-0.3.7.0-LbWgH0YFZ1W6p21GGEaex2 depends template-haskell-2.18.0.0 depends text-1.2.5.0 depends transformers-0.5.6.2 depends unordered-containers-0.2.19.1-ArO3aaHsDRM2LdhYIZhbjg depends vector-0.12.3.1-KqnLyRTKrS5CEKshEeusyl definite yaml-0.11.8.0-Itz9yAi1PBYJS2RoTeOtdI-spec depends HUnit-1.6.2.0-1zpZ2XpSGLD8bpY95LGwLy depends aeson-2.0.3.0-D4dINzNoHvYnB1LzKcfcV depends attoparsec-0.14.4-A66c1KMWzkm7vAzdPITUV0 depends base-4.16.3.0 depends base-compat-0.12.2-FhzxSBl3yJsEVFzJm794VJ depends bytestring-0.11.3.1 depends conduit-1.3.4.3-6vnhVSBZvAs8R02KPfRF0V depends containers-0.6.5.1 depends directory-1.3.6.2 depends filepath-1.4.2.2 depends hspec-2.9.7-BMvEyb1CfahJCbZUcb2TVk depends libyaml-0.1.2-B3AKjea4aNC6WpCWuf4qgu depends mockery-0.3.5-mJBIZwOpnc5ng5w9A6FA7 depends mtl-2.2.2 depends raw-strings-qq-1.1-78Lb3LSEyy58XmCDDLbjCf depends resourcet-1.2.6-HkrWN4WFfhBFcDpT4J9kBq depends scientific-0.3.7.0-LbWgH0YFZ1W6p21GGEaex2 depends template-haskell-2.18.0.0 depends temporary-1.3-JxpTI5qlNOdD8IlmwGAiXZ depends text-1.2.5.0 depends transformers-0.5.6.2 depends unordered-containers-0.2.19.1-ArO3aaHsDRM2LdhYIZhbjg depends vector-0.12.3.1-KqnLyRTKrS5CEKshEeusyl depends yaml-0.11.8.0-EiBiFqHfj87G5kbippjHWR Using Cabal-3.6.3.0 compiled by ghc-9.2 Using compiler: ghc-9.2.4 Using install prefix: /nix/store/yhn7vj2hvch4xxn9bapyl8w2q9zyyr6r-yaml-0.11.8.0 Executables installed in: /nix/store/yhn7vj2hvch4xxn9bapyl8w2q9zyyr6r-yaml-0.11.8.0/bin Libraries installed in: /nix/store/yhn7vj2hvch4xxn9bapyl8w2q9zyyr6r-yaml-0.11.8.0/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/yaml-0.11.8.0-EiBiFqHfj87G5kbippjHWR Dynamic Libraries installed in: /nix/store/yhn7vj2hvch4xxn9bapyl8w2q9zyyr6r-yaml-0.11.8.0/lib/ghc-9.2.4/i386-linux-ghc-9.2.4 Private executables installed in: /nix/store/yhn7vj2hvch4xxn9bapyl8w2q9zyyr6r-yaml-0.11.8.0/libexec/i386-linux-ghc-9.2.4/yaml-0.11.8.0 Data files installed in: /nix/store/yhn7vj2hvch4xxn9bapyl8w2q9zyyr6r-yaml-0.11.8.0/share/i386-linux-ghc-9.2.4/yaml-0.11.8.0 Documentation installed in: /nix/store/wnc5j3x7d77i7606xsk0xi8ajxc77h2c-yaml-0.11.8.0-doc/share/doc/yaml-0.11.8.0 Configuration files installed in: /nix/store/yhn7vj2hvch4xxn9bapyl8w2q9zyyr6r-yaml-0.11.8.0/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 yaml-0.11.8.0.. Building library for yaml-0.11.8.0.. [ 1 of 10] Compiling Data.Yaml.Internal ( src/Data/Yaml/Internal.hs, dist/build/Data/Yaml/Internal.o, dist/build/Data/Yaml/Internal.dyn_o ) src/Data/Yaml/Internal.hs:33:1: warning: [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() | 33 | import Control.Monad (when, unless) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/Yaml/Internal.hs:45:1: warning: [-Wunused-imports] The import of ‘JSONPath, JSONPathElement’ from module ‘Data.Aeson.Internal’ is redundant | 45 | import Data.Aeson.Internal (JSONPath, JSONPathElement(..), formatError) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/Yaml/Internal.hs:54:8: warning: [-Wcompat-unqualified-imports] To ensure compatibility with future core libraries changes imports to Data.List should be either qualified or have an explicit import list. | 54 | import Data.List | ^^^^^^^^^ [ 2 of 10] Compiling Data.Yaml.Include ( src/Data/Yaml/Include.hs, dist/build/Data/Yaml/Include.o, dist/build/Data/Yaml/Include.dyn_o ) [ 3 of 10] Compiling Data.Yaml.Builder ( src/Data/Yaml/Builder.hs, dist/build/Data/Yaml/Builder.o, dist/build/Data/Yaml/Builder.dyn_o ) [ 4 of 10] Compiling Data.Yaml ( src/Data/Yaml.hs, dist/build/Data/Yaml.o, dist/build/Data/Yaml.dyn_o ) [ 5 of 10] Compiling Data.Yaml.Config ( src/Data/Yaml/Config.hs, dist/build/Data/Yaml/Config.o, dist/build/Data/Yaml/Config.dyn_o ) [ 6 of 10] Compiling Data.Yaml.Aeson ( src/Data/Yaml/Aeson.hs, dist/build/Data/Yaml/Aeson.o, dist/build/Data/Yaml/Aeson.dyn_o ) [ 7 of 10] Compiling Data.Yaml.Parser ( src/Data/Yaml/Parser.hs, dist/build/Data/Yaml/Parser.o, dist/build/Data/Yaml/Parser.dyn_o ) [ 8 of 10] Compiling Data.Yaml.Pretty ( src/Data/Yaml/Pretty.hs, dist/build/Data/Yaml/Pretty.o, dist/build/Data/Yaml/Pretty.dyn_o ) [ 9 of 10] Compiling Data.Yaml.TH ( src/Data/Yaml/TH.hs, dist/build/Data/Yaml/TH.o, dist/build/Data/Yaml/TH.dyn_o ) [10 of 10] Compiling Paths_yaml ( dist/build/autogen/Paths_yaml.hs, dist/build/Paths_yaml.o, dist/build/Paths_yaml.dyn_o ) [ 1 of 10] Compiling Data.Yaml.Internal ( src/Data/Yaml/Internal.hs, dist/build/Data/Yaml/Internal.p_o ) src/Data/Yaml/Internal.hs:33:1: warning: [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() | 33 | import Control.Monad (when, unless) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/Yaml/Internal.hs:45:1: warning: [-Wunused-imports] The import of ‘JSONPath, JSONPathElement’ from module ‘Data.Aeson.Internal’ is redundant | 45 | import Data.Aeson.Internal (JSONPath, JSONPathElement(..), formatError) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/Yaml/Internal.hs:54:8: warning: [-Wcompat-unqualified-imports] To ensure compatibility with future core libraries changes imports to Data.List should be either qualified or have an explicit import list. | 54 | import Data.List | ^^^^^^^^^ [ 2 of 10] Compiling Data.Yaml.Include ( src/Data/Yaml/Include.hs, dist/build/Data/Yaml/Include.p_o ) [ 3 of 10] Compiling Data.Yaml.Builder ( src/Data/Yaml/Builder.hs, dist/build/Data/Yaml/Builder.p_o ) [ 4 of 10] Compiling Data.Yaml ( src/Data/Yaml.hs, dist/build/Data/Yaml.p_o ) [ 5 of 10] Compiling Data.Yaml.Config ( src/Data/Yaml/Config.hs, dist/build/Data/Yaml/Config.p_o ) [ 6 of 10] Compiling Data.Yaml.Aeson ( src/Data/Yaml/Aeson.hs, dist/build/Data/Yaml/Aeson.p_o ) [ 7 of 10] Compiling Data.Yaml.Parser ( src/Data/Yaml/Parser.hs, dist/build/Data/Yaml/Parser.p_o ) [ 8 of 10] Compiling Data.Yaml.Pretty ( src/Data/Yaml/Pretty.hs, dist/build/Data/Yaml/Pretty.p_o ) [ 9 of 10] Compiling Data.Yaml.TH ( src/Data/Yaml/TH.hs, dist/build/Data/Yaml/TH.p_o ) [10 of 10] Compiling Paths_yaml ( dist/build/autogen/Paths_yaml.hs, dist/build/Paths_yaml.p_o ) Preprocessing test suite 'spec' for yaml-0.11.8.0.. Building test suite 'spec' for yaml-0.11.8.0.. [1 of 5] Compiling Data.Yaml.IncludeSpec ( test/Data/Yaml/IncludeSpec.hs, dist/build/spec/spec-tmp/Data/Yaml/IncludeSpec.o, dist/build/spec/spec-tmp/Data/Yaml/IncludeSpec.dyn_o ) test/Data/Yaml/IncludeSpec.hs:10:1: warning: [-Wunused-imports] The import of ‘Data.Yaml’ is redundant except perhaps to import instances from ‘Data.Yaml’ To import instances alone, use: import Data.Yaml() | 10 | import Data.Yaml (ParseException(InvalidYaml)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2 of 5] Compiling Data.Yaml.THSpec ( test/Data/Yaml/THSpec.hs, dist/build/spec/spec-tmp/Data/Yaml/THSpec.o, dist/build/spec/spec-tmp/Data/Yaml/THSpec.dyn_o ) [3 of 5] Compiling Data.YamlSpec ( test/Data/YamlSpec.hs, dist/build/spec/spec-tmp/Data/YamlSpec.o, dist/build/spec/spec-tmp/Data/YamlSpec.dyn_o ) test/Data/YamlSpec.hs:46:1: warning: [-Wunused-imports] The import of ‘Data.String’ is redundant except perhaps to import instances from ‘Data.String’ To import instances alone, use: import Data.String() | 46 | import Data.String (fromString) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/Data/YamlSpec.hs:52:1: warning: [-Wunused-imports] The qualified import of ‘Data.HashMap.Strict’ is redundant except perhaps to import instances from ‘Data.HashMap.Strict’ To import instances alone, use: import Data.HashMap.Strict() | 52 | import qualified Data.HashMap.Strict as HM | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/Data/YamlSpec.hs:61:1: warning: [-Wunused-top-binds] Defined but not used: ‘toText’ | 61 | toText = K.toText | ^^^^^^ [4 of 5] Compiling Main ( test/Spec.hs, dist/build/spec/spec-tmp/Main.o, dist/build/spec/spec-tmp/Main.dyn_o ) [5 of 5] Compiling Paths_yaml ( dist/build/spec/autogen/Paths_yaml.hs, dist/build/spec/spec-tmp/Paths_yaml.o, dist/build/spec/spec-tmp/Paths_yaml.dyn_o ) Linking dist/build/spec/spec ... buildPhase completed in 1 minutes 5 seconds Running phase: checkPhase running tests Running 1 test suites... Test suite spec: RUNNING... Data.Yaml streaming count scalars with anchor [✔] count sequences with anchor [✔] count mappings with anchor [✔] count sequences with custom tag [✔] count mappings with custom tag [✔] count count sequences with ! tag [✔] count count mappings with ! tag [✔] count block style sequences [✔] count flow style sequences [✔] count block style mappings [✔] count flow style mappings [✔] count aliases [✔] count scalars [✔] largest string [✔] encode/decode [✔] encode/decode events [✔] encode/decode file [✔] interleaved encode/decode [✔] decode invalid document (without segfault) [✔] Data.Yaml encode/decode [✔] encode/decode file [✔] encode/decode files with non-ASCII names [✔] encode/decode strings [✔] decode invalid file [✔] processes datatypes [✔] encode invalid numbers [✔] Data.Yaml.Pretty encode/decode [✔] encode/decode strings [✔] processes datatypes [✔] Data.Yaml.Builder encode/decode [✔] encode/decode complex mapping [✔] Data.Yaml aliases simple scalar alias [✔] simple sequence alias [✔] simple mapping alias [✔] mapping alias before anchor [✔] mapping alias inside anchor [✔] scalar alias overriding [✔] Data.Yaml merge keys test uniqueness of keys [✔] test mapping merge [✔] test sequence of mappings merging [✔] numbers parses as string when quoted [✔] parses as number when unquoted [✔] parses as number !!str is present [✔] integers have no decimals [✔] booleans parses when all lowercase [✔] parses when all uppercase [✔] parses when titlecase [✔] empty input parses as Null [✔] parses as Null from file [✔] comment only input parses as Null [✔] parses as Null from file [✔] alias stripping works [✔] nulls null recognized: "null" [✔] null recognized: "Null" [✔] null recognized: "NULL" [✔] null recognized: "~" [✔] null recognized: "" [✔] pretty output simple nulls [✔] simple numbers [✔] True [✔] False [✔] simple string [✔] * [✔] special keys fo"o [✔] fo'o [✔] fo\'o [✔] fo: o [✔] foo bar baz [✔] special values fo"o [✔] fo'o [✔] fo\'o [✔] fo: o [✔] foo bar baz [✔] decodeFileEither loads YAML through JSON into Haskell data [✔] when file does not exist returns Left [✔] multiple document support decodes zero-length input [✔] decodes comment-only input [✔] decodes a single document stream [✔] decodes multiple documents [✔] round-tripping of special scalars y [✔] Y [✔] On [✔] ON [✔] false [✔] 12345 [✔] 12345.0 [✔] 12345a [✔] 12e3 [✔] no tags [✔] aliases in keys #49 [✔] serialization of +123 #64 [✔] preserves Scientific precision [✔] truncates files [✔] encode quotes special keys #137 [✔] encodePretty quotes special keys #179 [✔] non-decimal numbers #135 12345 [✔] +12345 [✔] 0o14 [✔] 0o123 [✔] 0xC [✔] 0xc [✔] 0xdeadBEEF [✔] 0xDEADBEEF [✔] 1.23015e+3 [✔] 12.3015e+02 [✔] 1230.15 [✔] Text.Libyaml with default tag rendering elides custom sequence tags [✔] elides custom mapping tags [✔] elides default sequence tags [✔] elides default mapping tags [✔] handles NoTag on sequences [✔] handles NoTag on mappings [✔] handles mixed tag usages but elides all mapping and sequence tags [✔] in combination of tags, anchors and styles, outputs only the scalar tags [✔] outputs tags when double quoted [✔] outputs tags when single quoted [✔] outputs tags on literal text [✔] outputs tags on folded text [✔] Text.Libyaml with all tags on will output custom sequence tags [✔] will output custom mapping tags [✔] will output default sequence tags [✔] will output default mapping tags [✔] handles NoTag on sequences [✔] handles NoTag on mappings [✔] handles mixed tag usages outputting all mapping and sequence tags [✔] in combination of tags, anchors and styles, outputs all the tags [✔] outputs plain tags [✔] respects PlainNoTag tags [✔] Text.Libyaml with uri tags on will output custom sequence tags [✔] will output custom mapping tags [✔] will output default sequence tags [✔] will output default mapping tags [✔] handles NoTag on sequences [✔] handles NoTag on mappings [✔] handles mixed tag usages outputting all mapping and sequence tags [✔] in combination of tags, anchors and styles, outputs all the tags [✔] Text.Libyaml with tags off outputs plain tags [✔] respects PlainNoTag tags [✔] elides tags when double quoted [✔] elides tags when single quoted [✔] elides tags on literal text [✔] elides tags on folded text [✔] Text.Libyaml with only UriTags set to render outputs only UriTags [✔] Scientific values round-trip [✔] +++ OK, passed 100 tests. Data.Yaml.Include decodeFile supports includes [✔] supports recursive includes [✔] aborts on cyclic includes [✔] when file does not exist throws Left (InvalidYaml (Just (YamlException "Yaml file not found: ..."))) [✔] with a 1K stack size limit with a large list succeeds [✔] decodeFileEither when file does not exist returns Left (InvalidYaml (Just (YamlException "Yaml file not found: ..."))) [✔] decodeFileWithWarnings warns on duplicate keys [✔] warns on nested duplicate keys [✔] when overriding a merged key does not warn [✔] when overriding twice warns [✔] Data.Yaml.TH yamlQQ parses yaml [✔] Finished in 0.0621 seconds 155 examples, 0 failures Test suite spec: PASS Test suite logged to: dist/test/yaml-0.11.8.0-spec.log 1 of 1 test suites (1 of 1 test cases) passed. Running phase: haddockPhase haddockPhase Preprocessing library for yaml-0.11.8.0.. Running Haddock on library for yaml-0.11.8.0.. 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. Warning: 'setStringStyle' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 42% ( 8 / 19) in 'Data.Yaml.Internal' Missing documentation for: Module header ParseException (src/Data/Yaml/Internal.hs:91) Warning (src/Data/Yaml/Internal.hs:168) parse (src/Data/Yaml/Internal.hs:189) Parse (src/Data/Yaml/Internal.hs:182) decodeHelper (src/Data/Yaml/Internal.hs:346) decodeHelper_ (src/Data/Yaml/Internal.hs:361) decodeAllHelper (src/Data/Yaml/Internal.hs:352) decodeAllHelper_ (src/Data/Yaml/Internal.hs:369) textToScientific (src/Data/Yaml/Internal.hs:241) StringStyle (src/Data/Yaml/Internal.hs:377) src/Data/Yaml/Internal.hs:33:1: warning: [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() | 33 | import Control.Monad (when, unless) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/Yaml/Internal.hs:45:1: warning: [-Wunused-imports] The import of ‘JSONPath, JSONPathElement’ from module ‘Data.Aeson.Internal’ is redundant | 45 | import Data.Aeson.Internal (JSONPath, JSONPathElement(..), formatError) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/Yaml/Internal.hs:54:8: warning: [-Wcompat-unqualified-imports] To ensure compatibility with future core libraries changes imports to Data.List should be either qualified or have an explicit import list. | 54 | import Data.List | ^^^^^^^^^ 75% ( 3 / 4) in 'Data.Yaml.Include' Missing documentation for: Module header 87% ( 29 / 33) in 'Data.Yaml.Builder' Missing documentation for: YamlBuilder (src/Data/Yaml/Builder.hs:66) ToYaml (src/Data/Yaml/Builder.hs:68) writeYamlFile (src/Data/Yaml/Builder.hs:234) .= (src/Data/Yaml/Builder.hs:63) 87% ( 56 / 64) in 'Data.Yaml' Missing documentation for: decodeHelper (src/Data/Yaml/Internal.hs:346) ParseException (src/Data/Yaml/Internal.hs:91) YamlException .= parseMonad (src/Data/Yaml.hs:287) decode (src/Data/Yaml.hs:183) decodeFile (src/Data/Yaml.hs:191) decodeEither (src/Data/Yaml.hs:234) 100% ( 15 / 15) in 'Data.Yaml.Config' 100% ( 2 / 2) in 'Data.Yaml.Aeson' 5% ( 1 / 18) in 'Data.Yaml.Parser' Missing documentation for: YamlParser (src/Data/Yaml/Parser.hs:31) lookupAnchor (src/Data/Yaml/Parser.hs:66) withAnchor (src/Data/Yaml/Parser.hs:69) withMapping (src/Data/Yaml/Parser.hs:76) withSequence (src/Data/Yaml/Parser.hs:81) withText (src/Data/Yaml/Parser.hs:86) typeMismatch (src/Data/Yaml/Parser.hs:91) FromYaml (src/Data/Yaml/Parser.hs:106) YamlValue (src/Data/Yaml/Parser.hs:123) AnchorMap (src/Data/Yaml/Parser.hs:130) RawDoc (src/Data/Yaml/Parser.hs:131) parseRawDoc (src/Data/Yaml/Parser.hs:134) .: (src/Data/Yaml/Parser.hs:140) YamlParseException (src/Data/Yaml/Parser.hs:146) sinkValue (src/Data/Yaml/Parser.hs:153) sinkRawDoc (src/Data/Yaml/Parser.hs:200) readYamlFile (src/Data/Yaml/Parser.hs:203) Warning: 'encode' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 88% ( 8 / 9) in 'Data.Yaml.Pretty' Missing documentation for: pretty (src/Data/Yaml/Pretty.hs:85) 87% ( 14 / 16) in 'Data.Yaml.TH' Missing documentation for: Module header .= Warning: Data.Yaml.Internal: could not find link destinations for: - Data.Yaml.Internal.ParseState Warning: Data.Yaml: could not find link destinations for: - Data.Aeson.Types.ToJSON.FromString - Data.Aeson.Types.ToJSON.fromString - Data.Aeson.Types.ToJSON.SumToJSON' - Data.Aeson.Types.ToJSON.TwoElemArray - Data.Aeson.Types.ToJSON.ConsToJSON - Data.Aeson.Types.ToJSON.sumToJSON' - Data.Aeson.Types.ToJSON.gToJSON - Data.Aeson.Types.ToJSON.EncodeProduct - Data.Aeson.Types.ToJSON.WriteProduct - Data.Aeson.Types.Generic.ProductSize - Data.Aeson.Types.ToJSON.FromPairs - Data.Aeson.Types.ToJSON.fromPairs - Data.Aeson.Types.ToJSON.KeyValuePair - Data.Aeson.Types.ToJSON.pair - Data.Aeson.Types.FromJSON.withBoundedScientific - Data.Attoparsec.Number.Number Warning: Data.Yaml.TH: could not find link destinations for: - Data.Aeson.Types.ToJSON.FromString - Data.Aeson.Types.ToJSON.fromString - Data.Aeson.Types.ToJSON.SumToJSON' - Data.Aeson.Types.ToJSON.TwoElemArray - Data.Aeson.Types.ToJSON.ConsToJSON - Data.Aeson.Types.ToJSON.sumToJSON' - Data.Aeson.Types.ToJSON.gToJSON - Data.Aeson.Types.ToJSON.EncodeProduct - Data.Aeson.Types.ToJSON.WriteProduct - Data.Aeson.Types.Generic.ProductSize - Data.Aeson.Types.ToJSON.FromPairs - Data.Aeson.Types.ToJSON.fromPairs - Data.Aeson.Types.ToJSON.KeyValuePair - Data.Aeson.Types.ToJSON.pair Documentation created: dist/doc/html/yaml/index.html, dist/doc/html/yaml/yaml.txt Preprocessing test suite 'spec' for yaml-0.11.8.0.. Running phase: installPhase installing Installing library in /nix/store/yhn7vj2hvch4xxn9bapyl8w2q9zyyr6r-yaml-0.11.8.0/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/yaml-0.11.8.0-EiBiFqHfj87G5kbippjHWR Running phase: fixupPhase post-installation fixup shrinking RPATHs of ELF executables and libraries in /nix/store/yhn7vj2hvch4xxn9bapyl8w2q9zyyr6r-yaml-0.11.8.0 shrinking /nix/store/yhn7vj2hvch4xxn9bapyl8w2q9zyyr6r-yaml-0.11.8.0/lib/ghc-9.2.4/i386-linux-ghc-9.2.4/libHSyaml-0.11.8.0-EiBiFqHfj87G5kbippjHWR-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/yhn7vj2hvch4xxn9bapyl8w2q9zyyr6r-yaml-0.11.8.0/lib patching script interpreter paths in /nix/store/yhn7vj2hvch4xxn9bapyl8w2q9zyyr6r-yaml-0.11.8.0 checking for references to /build/ in /nix/store/yhn7vj2hvch4xxn9bapyl8w2q9zyyr6r-yaml-0.11.8.0... shrinking RPATHs of ELF executables and libraries in /nix/store/wnc5j3x7d77i7606xsk0xi8ajxc77h2c-yaml-0.11.8.0-doc strip is /nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/strip patching script interpreter paths in /nix/store/wnc5j3x7d77i7606xsk0xi8ajxc77h2c-yaml-0.11.8.0-doc checking for references to /build/ in /nix/store/wnc5j3x7d77i7606xsk0xi8ajxc77h2c-yaml-0.11.8.0-doc...