Build #3 for yarn-lock-0.3.3

[all reports]

Package yarn-lock-0.3.3
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2017-10-04 02:12:22.669353005 UTC
Compiler ghc-8.0.2
OS linux
Arch x86_64
Dependencies base-4.9.1.0, containers-0.5.7.1, either-4.4.1.1, megaparsec-5.3.1, protolude-0.2, text-1.2.2.2
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring base-orphans-0.6...
Configuring cabal-doctest-1.0.2...
Building cabal-doctest-1.0.2...
Building base-orphans-0.6...
Installed base-orphans-0.6
Configuring fail-4.9.0.0...
Configuring integer-logarithms-1.0.2...
Installed cabal-doctest-1.0.2
Building fail-4.9.0.0...
Building integer-logarithms-1.0.2...
Configuring mtl-2.2.1...
Installed fail-4.9.0.0
Building mtl-2.2.1...
Configuring prelude-extras-0.4.0.3...
Installed integer-logarithms-1.0.2
Building prelude-extras-0.4.0.3...
Configuring random-1.1...
Installed mtl-2.2.1
Building random-1.1...
Configuring semigroups-0.18.3...
Installed prelude-extras-0.4.0.3
Building semigroups-0.18.3...
Configuring primitive-0.6.2.0...
Installed semigroups-0.18.3
Building primitive-0.6.2.0...
Configuring safe-0.3.15...
Installed random-1.1
Building safe-0.3.15...
Configuring stm-2.4.4.1...
Installed safe-0.3.15
Building stm-2.4.4.1...
Configuring text-1.2.2.2...
Installed stm-2.4.4.1
Building text-1.2.2.2...
Configuring transformers-compat-0.5.1.4...
Installed primitive-0.6.2.0
Building transformers-compat-0.5.1.4...
Configuring void-0.7.2...
Installed transformers-compat-0.5.1.4
Building void-0.7.2...
Installed void-0.7.2
Configuring mtl-compat-0.2.1.3...
Building mtl-compat-0.2.1.3...
Configuring async-2.1.1.1...
Installed mtl-compat-0.2.1.3
Building async-2.1.1.1...
Configuring tf-random-0.5...
Installed async-2.1.1.1
Building tf-random-0.5...
Configuring MonadRandom-0.5.1...
Installed tf-random-0.5
Building MonadRandom-0.5.1...
Configuring StateVar-1.1.0.4...
Installed MonadRandom-0.5.1
Configuring mmorph-1.1.0...
Installed text-1.2.2.2
Building StateVar-1.1.0.4...
Building mmorph-1.1.0...
Configuring transformers-base-0.4.4...
Installed StateVar-1.1.0.4
Building transformers-base-0.4.4...
Configuring tagged-0.8.5...
Installed mmorph-1.1.0
Building tagged-0.8.5...
Configuring exceptions-0.8.3...
Installed transformers-base-0.4.4
Building exceptions-0.8.3...
Installed tagged-0.8.5
Configuring hashable-1.2.6.1...
Building hashable-1.2.6.1...
Configuring contravariant-1.4...
Installed exceptions-0.8.3
Building contravariant-1.4...
Configuring QuickCheck-2.10.0.1...
Installed hashable-1.2.6.1
Building QuickCheck-2.10.0.1...
Configuring distributive-0.5.3...
Installed contravariant-1.4
Building distributive-0.5.3...
Warning: /tmp/pkgConf-distributive-0.51194953865894429689.3: Unrecognized
field dynamic-library-dirs on line 22
Configuring monad-control-1.0.2.2...
Installed distributive-0.5.3
Building monad-control-1.0.2.2...
Installed monad-control-1.0.2.2
Configuring scientific-0.3.5.2...
Building scientific-0.3.5.2...
Configuring protolude-0.2...
Installed scientific-0.3.5.2
Building protolude-0.2...
Configuring unordered-containers-0.2.8.0...
Installed protolude-0.2
Building unordered-containers-0.2.8.0...
Configuring comonad-5.0.2...
Installed QuickCheck-2.10.0.1
Building comonad-5.0.2...
Warning: /tmp/pkgConf-comonad-5.03524062191600028624.2: Unrecognized field
dynamic-library-dirs on line 29
Configuring megaparsec-5.3.1...
Installed comonad-5.0.2
Installed unordered-containers-0.2.8.0
Configuring bifunctors-5.4.2...
Building megaparsec-5.3.1...
Building bifunctors-5.4.2...
Installed bifunctors-5.4.2
Configuring profunctors-5.2.1...
Configuring semigroupoids-5.2.1...
Installed megaparsec-5.3.1
Building profunctors-5.2.1...
Building semigroupoids-5.2.1...
Installed profunctors-5.2.1
Warning: /tmp/pkgConf-semigroupoids-5.212311923791622597488.1: Unrecognized
field dynamic-library-dirs on line 60
Installed semigroupoids-5.2.1
Configuring free-4.12.4...
Building free-4.12.4...
Installed free-4.12.4
Configuring either-4.4.1.1...
Building either-4.4.1.1...
Installed either-4.4.1.1
Configuring yarn-lock-0.3.3...
Building yarn-lock-0.3.3...
Failed to install yarn-lock-0.3.3
Build log ( /home/builder/.cabal/logs/yarn-lock-0.3.3.log ):
cabal: Entering directory '/tmp/cabal-tmp-31984/yarn-lock-0.3.3'
Configuring yarn-lock-0.3.3...
Building yarn-lock-0.3.3...
Preprocessing library yarn-lock-0.3.3...
[1 of 7] Compiling Paths_yarn_lock  ( dist/build/autogen/Paths_yarn_lock.hs, dist/build/Paths_yarn_lock.o )
[2 of 7] Compiling Data.MultiKeyedMap ( src/Data/MultiKeyedMap.hs, dist/build/Data/MultiKeyedMap.o )
[3 of 7] Compiling Yarn.Lock.Types  ( src/Yarn/Lock/Types.hs, dist/build/Yarn/Lock/Types.o )
[4 of 7] Compiling Yarn.Lock.Helpers ( src/Yarn/Lock/Helpers.hs, dist/build/Yarn/Lock/Helpers.o )
[5 of 7] Compiling Yarn.Lock.Parse  ( src/Yarn/Lock/Parse.hs, dist/build/Yarn/Lock/Parse.o )
[6 of 7] Compiling Yarn.Lock.File   ( src/Yarn/Lock/File.hs, dist/build/Yarn/Lock/File.o )

src/Yarn/Lock/File.hs:131:18: warning: [-Wname-shadowing]
    This binding for ‘hash’ shadows the existing binding
      imported from ‘Protolude’ at src/Yarn/Lock/File.hs:23:1-16
      (and originally defined in ‘hashable-1.2.6.1:Data.Hashable.Class’)

src/Yarn/Lock/File.hs:139:13: warning: [-Wname-shadowing]
    This binding for ‘hash’ shadows the existing binding
      imported from ‘Protolude’ at src/Yarn/Lock/File.hs:23:1-16
      (and originally defined in ‘hashable-1.2.6.1:Data.Hashable.Class’)
[7 of 7] Compiling Yarn.Lock        ( src/Yarn/Lock.hs, dist/build/Yarn/Lock.o )

src/Yarn/Lock.hs:72:7: error:
    • No instance for (Monoid (NonEmpty Text))
        arising from a use of ‘<>’
    • In the expression:
        (pure $ "Package at " <> (toS $ MP.sourcePosPretty srcPos) <> ":")
        <> indent 2 (fmap convErrText convErrs)
      In an equation for ‘errText’:
          errText (PackageErrorInfo {..})
            = (pure
               $ "Package at " <> (toS $ MP.sourcePosPretty srcPos) <> ":")
              <> indent 2 (fmap convErrText convErrs)
      In an equation for ‘prettyLockfileError’:
          prettyLockfileError
            = \case {
                (ParseError t)
                  -> "Error while parsing the yarn.lock:\n"
                     <> T.unlines (indent 2 (T.lines t))
                (PackageErrors errs)
                  -> "Some packages could not be made sense of:\n"
                     <> T.unlines (NE.toList $ indent 2 (join $ fmap errText errs)) }
            where
                indent :: Functor f => Int -> f Text -> f Text
                indent i = fmap (T.replicate i " " <>)
                errText (PackageErrorInfo {..})
                  = (pure
                     $ "Package at " <> (toS $ MP.sourcePosPretty srcPos) <> ":")
                    <> indent 2 (fmap convErrText convErrs)
                convErrText
                  = \case {
                      (File.MissingField t) -> "Field " <> qu t <> " is missing."
                      (File.WrongType {..})
                        -> "Field "
                           <> qu fieldName <> " should be of type " <> fieldType <> "."
                      (File.UnknownRemoteType) -> "We don\8217t know this remote type." }
                ....
cabal: Leaving directory '/tmp/cabal-tmp-31984/yarn-lock-0.3.3'
cabal: Error: some packages failed to install:
yarn-lock-0.3.3 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.