Build #2 for buchhaltung-0.0.6

[all reports]

Package buchhaltung-0.0.6
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2018-02-04 22:10:41.088213938 UTC
Compiler ghc-8.2.2
OS linux
Arch x86_64
Dependencies Decimal-0.5.1, ListLike-4.6, MissingH-1.4.0.1, aeson-1.2.4.0, ansi-wl-pprint-0.6.8.2, array-0.5.2.0, async-2.1.1.1, base-4.10.1.0, boxes-0.1.4, bytestring-0.10.8.2, cassava-0.5.1.0, containers-0.5.10.2, data-default-0.7.1.1, deepseq-1.4.3.0, directory-1.3.0.2, edit-distance-0.2.2.1, file-embed-0.0.10.1, filepath-1.4.1.2, formatting-6.3.0, hashable-1.2.6.1, haskeline-0.7.4.0, hint-0.7.0, hledger-1.5, hledger-lib-1.5, lens-4.16, lifted-base-0.2.3.11, megaparsec-6.4.0, monad-control-1.0.2.2, mtl-2.2.1, optparse-applicative-0.14.0.0, parsec-3.1.11, process-1.6.1.0, regex-compat-0.95.1, regex-tdfa-1.2.2, regex-tdfa-text-1.0.0.3, safe-0.3.16, semigroups-0.18.4, split-0.2.3.2, strict-0.3.2, temporary-1.2.1.1, text-1.2.2.2, time-1.8.0.2, transformers-0.5.2.0, unordered-containers-0.2.8.0, vector-0.12.0.1, yaml-0.8.28, Decimal-0.5.1, ListLike-4.6, MissingH-1.4.0.1, aeson-1.2.4.0, ansi-wl-pprint-0.6.8.2, array-0.5.2.0, async-2.1.1.1, base-4.10.1.0, boxes-0.1.4, bytestring-0.10.8.2, cassava-0.5.1.0, containers-0.5.10.2, data-default-0.7.1.1, deepseq-1.4.3.0, directory-1.3.0.2, edit-distance-0.2.2.1, file-embed-0.0.10.1, filepath-1.4.1.2, formatting-6.3.0, hashable-1.2.6.1, haskeline-0.7.4.0, hint-0.7.0, hledger-1.5, hledger-lib-1.5, lens-4.16, lifted-base-0.2.3.11, megaparsec-6.4.0, monad-control-1.0.2.2, mtl-2.2.1, optparse-applicative-0.14.0.0, parsec-3.1.11, process-1.6.1.0, regex-compat-0.95.1, regex-tdfa-1.2.2, regex-tdfa-text-1.0.0.3, safe-0.3.16, semigroups-0.18.4, split-0.2.3.2, strict-0.3.2, temporary-1.2.1.1, text-1.2.2.2, time-1.8.0.2, transformers-0.5.2.0, unordered-containers-0.2.8.0, vector-0.12.0.1, yaml-0.8.28
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring Decimal-0.5.1...
Configuring Diff-0.3.4...
Building Diff-0.3.4...
Building Decimal-0.5.1...
Installed Diff-0.3.4
Configuring Only-0.1...
Installed Decimal-0.5.1
Configuring base-compat-0.9.3...
Building Only-0.1...
Building base-compat-0.9.3...
Installed Only-0.1
Configuring base-orphans-0.6...
Building base-orphans-0.6...
Installed base-compat-0.9.3
Configuring blaze-builder-0.4.0.2...
Installed base-orphans-0.6
Configuring boxes-0.1.4...
Building blaze-builder-0.4.0.2...
Building boxes-0.1.4...
Installed boxes-0.1.4
Configuring cabal-doctest-1.0.6...
Building cabal-doctest-1.0.6...
Installed blaze-builder-0.4.0.2
Configuring clock-0.7.2...
Building clock-0.7.2...
Installed cabal-doctest-1.0.6
Configuring cmdargs-0.10.20...
Installed clock-0.7.2
Configuring colour-2.3.4...
Building cmdargs-0.10.20...
Building colour-2.3.4...
Installed colour-2.3.4
Configuring csv-0.1.2...
Building csv-0.1.2...
Installed csv-0.1.2
Configuring data-default-class-0.1.2.0...
Building data-default-class-0.1.2.0...
Installed data-default-class-0.1.2.0
Configuring dlist-0.8.0.4...
Building dlist-0.8.0.4...
Installed dlist-0.8.0.4
Configuring edit-distance-0.2.2.1...
Building edit-distance-0.2.2.1...
Installed cmdargs-0.10.20
Configuring fail-4.9.0.0...
Installed edit-distance-0.2.2.1
Configuring file-embed-0.0.10.1...
Building fail-4.9.0.0...
Building file-embed-0.0.10.1...
Installed fail-4.9.0.0
Configuring fmlist-0.9.2...
Building fmlist-0.9.2...
Installed file-embed-0.0.10.1
Configuring ghc-paths-0.1.0.9...
Installed fmlist-0.9.2
Configuring hashtables-1.2.2.1...
Building hashtables-1.2.2.1...
Building ghc-paths-0.1.0.9...
Installed ghc-paths-0.1.0.9
Configuring haskell-lexer-1.0.1...
Building haskell-lexer-1.0.1...
Installed hashtables-1.2.2.1
Configuring mtl-compat-0.2.1.3...
Building mtl-compat-0.2.1.3...
Installed mtl-compat-0.2.1.3
Configuring old-locale-1.0.0.7...
Building old-locale-1.0.0.7...
Installed old-locale-1.0.0.7
Configuring parser-combinators-0.4.0...
Building parser-combinators-0.4.0...
Installed parser-combinators-0.4.0
Configuring polyparse-1.12...
Building polyparse-1.12...
Installed polyparse-1.12
Configuring prelude-extras-0.4.0.3...
Building prelude-extras-0.4.0.3...
Installed prelude-extras-0.4.0.3
Configuring reflection-2.1.3...
Building reflection-2.1.3...
Installed reflection-2.1.3
Configuring regex-tdfa-1.2.2...
Building regex-tdfa-1.2.2...
Installed regex-tdfa-1.2.2
Configuring safe-0.3.16...
Building safe-0.3.16...
Installed safe-0.3.16
Configuring semigroups-0.18.4...
Building semigroups-0.18.4...
Installed semigroups-0.18.4
Configuring strict-0.3.2...
Building strict-0.3.2...
Installed strict-0.3.2
Configuring text-short-0.1.1...
Building text-short-0.1.1...
Installed text-short-0.1.1
Configuring th-abstraction-0.2.6.0...
Building th-abstraction-0.2.6.0...
Installed th-abstraction-0.2.6.0
Configuring th-expand-syns-0.4.4.0...
Building th-expand-syns-0.4.4.0...
Installed th-expand-syns-0.4.4.0
Configuring th-lift-0.7.8...
Building th-lift-0.7.8...
Installed haskell-lexer-1.0.1
Configuring time-locale-compat-0.1.1.3...
Building time-locale-compat-0.1.1.3...
Installed th-lift-0.7.8
Configuring transformers-compat-0.5.1.4...
Building transformers-compat-0.5.1.4...
Installed time-locale-compat-0.1.1.3
Configuring uglymemo-0.1.0.1...
Building uglymemo-0.1.0.1...
Installed transformers-compat-0.5.1.4
Configuring unliftio-core-0.1.1.0...
Installed uglymemo-0.1.0.1
Configuring utf8-string-1.0.1.1...
Building unliftio-core-0.1.1.0...
Building utf8-string-1.0.1.1...
Installed unliftio-core-0.1.1.0
Configuring utility-ht-0.0.14...
Building utility-ht-0.0.14...
Installed utf8-string-1.0.1.1
Configuring uuid-types-1.0.3...
Building uuid-types-1.0.3...
Installed utility-ht-0.0.14
Configuring vector-algorithms-0.7.0.1...
Building vector-algorithms-0.7.0.1...
Installed uuid-types-1.0.3
Configuring void-0.7.2...
Building void-0.7.2...
Installed void-0.7.2
Configuring blaze-markup-0.8.2.0...
Building blaze-markup-0.8.2.0...
Installed blaze-markup-0.8.2.0
Configuring extra-1.6.3...
Building extra-1.6.3...
Installed vector-algorithms-0.7.0.1
Configuring ansi-terminal-0.8.0.1...
Building ansi-terminal-0.8.0.1...
Installed extra-1.6.3
Configuring tabular-0.2.2.7...
Building tabular-0.2.2.7...
Installed ansi-terminal-0.8.0.1
Configuring data-default-instances-containers-0.0.1...
Building data-default-instances-containers-0.0.1...
Installed tabular-0.2.2.7
Configuring data-default-instances-dlist-0.0.1...
Installed data-default-instances-containers-0.0.1
Configuring old-time-1.1.0.3...
Building data-default-instances-dlist-0.0.1...
Installed data-default-instances-dlist-0.0.1
Configuring hslogger-1.2.10...
Building old-time-1.1.0.3...
Building hslogger-1.2.10...
Installed old-time-1.1.0.3
Configuring formatting-6.3.0...
Installed hslogger-1.2.10
Configuring data-default-instances-old-locale-0.0.1...
Building formatting-6.3.0...
Building data-default-instances-old-locale-0.0.1...
Installed data-default-instances-old-locale-0.0.1
Configuring megaparsec-6.4.0...
Building megaparsec-6.4.0...
Installed formatting-6.3.0
Configuring control-monad-free-0.6.1...
Building control-monad-free-0.6.1...
Installed control-monad-free-0.6.1
Configuring regex-tdfa-text-1.0.0.3...
Building regex-tdfa-text-1.0.0.3...
Installed regex-tdfa-text-1.0.0.3
Configuring cassava-0.5.1.0...
Building cassava-0.5.1.0...
Installed megaparsec-6.4.0
Configuring th-reify-many-0.1.8...
Building th-reify-many-0.1.8...
Installed th-reify-many-0.1.8
Configuring pretty-show-1.6.16...
Building pretty-show-1.6.16...
Installed cassava-0.5.1.0
Configuring th-lift-instances-0.1.11...
Building th-lift-instances-0.1.11...
Installed pretty-show-1.6.16
Configuring transformers-base-0.4.4...
Installed th-lift-instances-0.1.11
Configuring tagged-0.8.5...
Building transformers-base-0.4.4...
Building tagged-0.8.5...
Installed transformers-base-0.4.4
Configuring exceptions-0.8.3...
Building exceptions-0.8.3...
Installed tagged-0.8.5
Configuring contravariant-1.4.1...
Building contravariant-1.4.1...
Installed exceptions-0.8.3
Configuring ListLike-4.6...
Building ListLike-4.6...
Installed contravariant-1.4.1
Configuring blaze-html-0.9.0.1...
Building blaze-html-0.9.0.1...
Installed ListLike-4.6
Configuring mono-traversable-1.0.8.1...
Building mono-traversable-1.0.8.1...
Installed blaze-html-0.9.0.1
Configuring ansi-wl-pprint-0.6.8.2...
Building ansi-wl-pprint-0.6.8.2...
Installed ansi-wl-pprint-0.6.8.2
Configuring cpphs-1.20.8...
Building cpphs-1.20.8...
Installed mono-traversable-1.0.8.1
Configuring MissingH-1.4.0.1...
Building MissingH-1.4.0.1...
Installed cpphs-1.20.8
Configuring data-default-0.7.1.1...
Building data-default-0.7.1.1...
Installed data-default-0.7.1.1
Configuring wizards-1.0.2...
Building wizards-1.0.2...
Installed wizards-1.0.2
Configuring th-orphans-0.13.5...
Building th-orphans-0.13.5...
Installed MissingH-1.4.0.1
Configuring monad-control-1.0.2.2...
Building monad-control-1.0.2.2...
Installed monad-control-1.0.2.2
Configuring distributive-0.5.3...
Building distributive-0.5.3...
Installed th-orphans-0.13.5
Configuring aeson-1.2.4.0...
Building aeson-1.2.4.0...
Installed distributive-0.5.3
Configuring temporary-1.2.1.1...
Building temporary-1.2.1.1...
Installed temporary-1.2.1.1
Configuring resourcet-1.2.0...
Building resourcet-1.2.0...
Installed resourcet-1.2.0
Configuring hint-0.7.0...
Building hint-0.7.0...
Installed hint-0.7.0
Configuring optparse-applicative-0.14.0.0...
Building optparse-applicative-0.14.0.0...
Installed aeson-1.2.4.0
Configuring haskell-src-exts-1.20.1...
Building haskell-src-exts-1.20.1...
Installed optparse-applicative-0.14.0.0
Configuring hledger-lib-1.5...
Building hledger-lib-1.5...
Installed hledger-lib-1.5
Configuring lifted-base-0.2.3.11...
Building lifted-base-0.2.3.11...
Installed lifted-base-0.2.3.11
Configuring comonad-5.0.2...
Building comonad-5.0.2...
Installed comonad-5.0.2
Configuring conduit-1.3.0...
Building conduit-1.3.0...
Installed conduit-1.3.0
Configuring shakespeare-2.0.14.1...
Building shakespeare-2.0.14.1...
Installed shakespeare-2.0.14.1
Configuring bifunctors-5.5.1...
Building bifunctors-5.5.1...
Installed haskell-src-exts-1.20.1
Configuring yaml-0.8.28...
Building yaml-0.8.28...
Installed bifunctors-5.5.1
Configuring haskell-src-meta-0.8.0.2...
Building haskell-src-meta-0.8.0.2...
Installed haskell-src-meta-0.8.0.2
Configuring semigroupoids-5.2.2...
Building semigroupoids-5.2.2...
Installed yaml-0.8.28
Configuring profunctors-5.2.2...
Building profunctors-5.2.2...
Installed semigroupoids-5.2.2
Configuring here-1.2.12...
Building here-1.2.12...
Installed profunctors-5.2.2
Configuring free-5...
Installed here-1.2.12
Configuring hledger-1.5...
Building free-5...
Building hledger-1.5...
Installed free-5
Configuring adjunctions-4.4...
Building adjunctions-4.4...
Installed adjunctions-4.4
Configuring kan-extensions-5.1...
Building kan-extensions-5.1...
Installed hledger-1.5
Installed kan-extensions-5.1
Configuring lens-4.16...
Building lens-4.16...
Installed lens-4.16
Configuring buchhaltung-0.0.6...
Building buchhaltung-0.0.6...
Failed to install buchhaltung-0.0.6
Build log ( /home/builder/.cabal/logs/ghc-8.2.2/buchhaltung-0.0.6-Cr0frWNAschFuzz2Hied0l.log ):
cabal: Entering directory '/tmp/cabal-tmp-22756/buchhaltung-0.0.6'
[1 of 1] Compiling Main             ( /tmp/cabal-tmp-22756/buchhaltung-0.0.6/dist/setup/setup.hs, /tmp/cabal-tmp-22756/buchhaltung-0.0.6/dist/setup/Main.o )
Linking /tmp/cabal-tmp-22756/buchhaltung-0.0.6/dist/setup/setup ...
Configuring buchhaltung-0.0.6...
Preprocessing executable 'buchhaltung' for buchhaltung-0.0.6..
Building executable 'buchhaltung' for buchhaltung-0.0.6..
[ 1 of 15] Compiling Buchhaltung.Utils ( src/Buchhaltung/Utils.hs, dist/build/buchhaltung/buchhaltung-tmp/Buchhaltung/Utils.o )
[ 2 of 15] Compiling Buchhaltung.Types ( src/Buchhaltung/Types.hs, dist/build/buchhaltung/buchhaltung-tmp/Buchhaltung/Types.o )
[ 3 of 15] Compiling Buchhaltung.Ask  ( src/Buchhaltung/Ask.hs, dist/build/buchhaltung/buchhaltung-tmp/Buchhaltung/Ask.o )
[ 4 of 15] Compiling Buchhaltung.Common ( src/Buchhaltung/Common.hs, dist/build/buchhaltung/buchhaltung-tmp/Buchhaltung/Common.o )
[ 5 of 15] Compiling Buchhaltung.Uniques ( src/Buchhaltung/Uniques.hs, dist/build/buchhaltung/buchhaltung-tmp/Buchhaltung/Uniques.o )
[ 6 of 15] Compiling Buchhaltung.OptionParsers ( src/Buchhaltung/OptionParsers.hs, dist/build/buchhaltung/buchhaltung-tmp/Buchhaltung/OptionParsers.o )
[ 7 of 15] Compiling Buchhaltung.Import ( src/Buchhaltung/Import.hs, dist/build/buchhaltung/buchhaltung-tmp/Buchhaltung/Import.o )
[ 8 of 15] Compiling Buchhaltung.Importers ( src/Buchhaltung/Importers.hs, dist/build/buchhaltung/buchhaltung-tmp/Buchhaltung/Importers.o )
[ 9 of 15] Compiling Buchhaltung.AQBanking ( src/Buchhaltung/AQBanking.hs, dist/build/buchhaltung/buchhaltung-tmp/Buchhaltung/AQBanking.o )
[10 of 15] Compiling Buchhaltung.Zipper ( src/Buchhaltung/Zipper.hs, dist/build/buchhaltung/buchhaltung-tmp/Buchhaltung/Zipper.o )
[11 of 15] Compiling Buchhaltung.ZipEdit2 ( src/Buchhaltung/ZipEdit2.hs, dist/build/buchhaltung/buchhaltung-tmp/Buchhaltung/ZipEdit2.o )
[12 of 15] Compiling Buchhaltung.Match ( src/Buchhaltung/Match.hs, dist/build/buchhaltung/buchhaltung-tmp/Buchhaltung/Match.o )
[13 of 15] Compiling Buchhaltung.Add  ( src/Buchhaltung/Add.hs, dist/build/buchhaltung/buchhaltung-tmp/Buchhaltung/Add.o )

src/Buchhaltung/Add.hs:311:35: error:
    • Couldn't match type ‘(Amount, GenericSourcePos)’ with ‘Amount’
      Expected type: Posting -> Maybe Amount
        Actual type: Posting -> BalanceAssertion
    • In the second argument of ‘(<*>)’, namely ‘pbalanceassertion’
      In the first argument of ‘(<*>)’, namely
        ‘AA <$> pcomment <*> pbalanceassertion’
      In the expression:
        AA <$> pcomment <*> pbalanceassertion <*> pamount
    |
311 | fromPosting = AA <$> pcomment <*> pbalanceassertion <*> pamount
    |                                   ^^^^^^^^^^^^^^^^^

src/Buchhaltung/Add.hs:632:21: error:
    • Couldn't match type ‘(Amount, GenericSourcePos)’ with ‘Amount’
      Expected type: Control.Monad.Trans.State.Strict.StateT
                       Journal
                       (MP.ParsecT
                          Text.Megaparsec.Compat.MPErr T.Text Data.Functor.Identity.Identity)
                       (Maybe Amount)
        Actual type: JournalParser
                       Data.Functor.Identity.Identity BalanceAssertion
    • In the second argument of ‘(<*>)’, namely
        ‘partialbalanceassertionp’
      In the first argument of ‘(<*)’, namely
        ‘((flip $ AA "")
            <$> (fmap (Mixed . pure) $ amountp <|> return missingamt)
            <*> partialbalanceassertionp)’
      In the second argument of ‘($)’, namely
        ‘((flip $ AA "")
            <$> (fmap (Mixed . pure) $ amountp <|> return missingamt)
            <*> partialbalanceassertionp)
           <* MP.eof’
    |
632 |                 <*> partialbalanceassertionp
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^

src/Buchhaltung/Add.hs:643:31: error:
    • Couldn't match expected type ‘MP.ParsecT
                                      Text.Megaparsec.Compat.MPErr
                                      T.Text
                                      m
                                      (Quantity, Int, Maybe Char, Maybe DigitGroupStyle)’
                  with actual type ‘Maybe AmountStyle
                                    -> TextParser
                                         m0 (Quantity, Int, Maybe Char, Maybe DigitGroupStyle)’
    • Probable cause: ‘numberp’ is applied to too few arguments
      In the first argument of ‘lift’, namely ‘numberp’
      In a stmt of a 'do' block: (q, prec, mdec, mgrps) <- lift numberp
      In the first argument of ‘(MP.<?>)’, namely
        ‘do (q, prec, mdec, mgrps) <- lift numberp
            p <- priceamountp
            defcs <- getDefaultCommodityAndStyle2 <$> get
            let (c, s) = ...
            ....’
    • Relevant bindings include
        nosymbolamountp2 :: JournalParser m Amount
          (bound at src/Buchhaltung/Add.hs:642:1)
    |
643 |   (q,prec,mdec,mgrps) <- lift numberp
    |                               ^^^^^^^

src/Buchhaltung/Add.hs:717:37: error:
    • Couldn't match type ‘Amount’ with ‘(Amount, GenericSourcePos)’
      Expected type: BalanceAssertion
        Actual type: Maybe Amount
    • In the ‘pbalanceassertion’ field of a record
      In the first argument of ‘Just’, namely
        ‘nullposting
           {paccount = account, pcomment = cmt, pbalanceassertion = ass,
            pamount = iam}’
      In the ‘epPosting’ field of a record
    |
717 |               , pbalanceassertion = ass
    |                                     ^^^

src/Buchhaltung/Add.hs:842:11: error:
    • Couldn't match type ‘(Amount, GenericSourcePos)’ with ‘Amount’
      Expected type: Maybe Amount
        Actual type: Maybe (Amount, GenericSourcePos)
    • In the second argument of ‘($)’, namely
        ‘pbalanceassertion =<< epPosting x’
      In the expression:
        maybe "" (("= " <>) . showAmount2)
          $ pbalanceassertion =<< epPosting x
      In the expression:
        [sformat
           (F.d % "," % F.sh % " " % F.s % " " % F.st)
           (epNumber x)
           (name $ getUser $ present $ epUser x)
           mark
           $ epAccount x,
         maybe "" (showMissing . pamount) $ epPosting x,
         maybe "" (("= " <>) . showAmount2)
           $ pbalanceassertion =<< epPosting x,
         maybe "" fshow $ epFreq x]
    |
842 |         $ pbalanceassertion =<< epPosting x
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-22756/buchhaltung-0.0.6'
cabal: Error: some packages failed to install:
buchhaltung-0.0.6-Cr0frWNAschFuzz2Hied0l failed during the building phase. The
exception was:
ExitFailure 1

Test log

No test log was submitted for this report.