Build #1 for xsd-0.6.0

[all reports]

Package xsd-0.6.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2021-07-21 08:00:10.094356687 UTC
Compiler ghc-8.10.2
OS linux
Arch x86_64
Dependencies base-, lens-5.0.1, parsec-, parsers-0.12.10, text-, time-1.9.3
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Starting     StateVar-1.2.1
Starting     call-stack-0.4.0
Starting     hashable-
Starting     base-orphans-0.8.4
Building     call-stack-0.4.0
Building     StateVar-1.2.1
Building     hashable-
Building     base-orphans-0.8.4
Completed    call-stack-0.4.0
Starting     indexed-traversable-0.1.1
Completed    StateVar-1.2.1
Starting     integer-logarithms-
Building     indexed-traversable-0.1.1
Building     integer-logarithms-
Completed    hashable-
Starting     parallel-
Completed    integer-logarithms-
Starting     primitive-
Building     parallel-
Building     primitive-
Completed    base-orphans-0.8.4
Starting     reflection-2.1.6
Building     reflection-2.1.6
Completed    indexed-traversable-0.1.1
Starting     semigroups-0.19.1
Building     semigroups-0.19.1
Completed    parallel-
Starting     tagged-
Building     tagged-
Completed    semigroups-0.19.1
Starting     th-abstraction-
Building     th-abstraction-
Completed    tagged-
Starting     transformers-compat-0.6.6
Building     transformers-compat-0.6.6
Completed    reflection-2.1.6
Starting     void-0.7.3
Building     void-0.7.3
Completed    void-0.7.3
Starting     contravariant-1.5.3
Building     contravariant-1.5.3
Completed    th-abstraction-
Starting     unordered-containers-
Building     unordered-containers-
Completed    transformers-compat-0.6.6
Starting     distributive-
Building     distributive-
Completed    contravariant-1.5.3
Starting     transformers-base-
Building     transformers-base-
Completed    distributive-
Starting     comonad-5.0.8
Building     comonad-5.0.8
Completed    primitive-
Starting     vector-
Building     vector-
Completed    transformers-base-
Starting     scientific-
Building     scientific-
Completed    comonad-5.0.8
Starting     bifunctors-5.5.11
Building     bifunctors-5.5.11
Completed    scientific-
Starting     attoparsec-0.14.1
Building     attoparsec-0.14.1
Completed    unordered-containers-
Starting     charset-0.3.8
Building     charset-0.3.8
Completed    charset-0.3.8
Completed    attoparsec-0.14.1
Starting     parsers-0.12.10
Completed    bifunctors-5.5.11
Starting     profunctors-5.6.2
Starting     semigroupoids-5.3.5
Building     parsers-0.12.10
Building     semigroupoids-5.3.5
Building     profunctors-5.6.2
Completed    parsers-0.12.10
Starting     assoc-1.0.2
Building     assoc-1.0.2
Completed    assoc-1.0.2
Starting     these-
Building     these-
Completed    profunctors-5.6.2
Starting     invariant-0.5.4
Completed    semigroupoids-5.3.5
Starting     free-5.1.7
Building     invariant-0.5.4
Building     free-5.1.7
Completed    these-
Starting     strict-
Building     strict-
Completed    invariant-0.5.4
Completed    strict-
Completed    vector-
Starting     indexed-traversable-instances-0.1
Building     indexed-traversable-instances-0.1
Completed    indexed-traversable-instances-0.1
Completed    free-5.1.7
Starting     adjunctions-4.4
Building     adjunctions-4.4
Completed    adjunctions-4.4
Starting     kan-extensions-5.2.2
Building     kan-extensions-5.2.2
Completed    kan-extensions-5.2.2
Starting     lens-5.0.1
Building     lens-5.0.1
Completed    lens-5.0.1
Downloading  xsd-0.6.0
Downloaded   xsd-0.6.0
Starting     xsd-0.6.0
Building     xsd-0.6.0
Failed to install xsd-0.6.0
Build log ( /home/builder/.cabal/logs/ghc-8.10.2/xsd-0.6.0-6LhERPzV3rtK6BEYJFTqTx.log ):
cabal: Entering directory '/tmp/cabal-tmp-29053/xsd-0.6.0'
Configuring xsd-0.6.0...
Preprocessing library for xsd-0.6.0..
Building library for xsd-0.6.0..
[1 of 2] Compiling Text.XML.XSD.DateTime ( src/Text/XML/XSD/DateTime.hs, dist/build/Text/XML/XSD/DateTime.o, dist/build/Text/XML/XSD/DateTime.dyn_o )

src/Text/XML/XSD/DateTime.hs:250:76: error:
    " Variable not in scope:
          :: t4
             -> Text.Parsec.Prim.ParsecT
                  Text () Data.Functor.Identity.Identity DateTime
    " Perhaps you want to add fail to one of these import lists:
        Control.Monad (src/Text/XML/XSD/DateTime.hs:18:1-38)
        Prelude (src/Text/XML/XSD/DateTime.hs:53:1-88)
250 |   in prism' toText (either (const Nothing) Just . parse (parseDateTime <|> fail "bad date time") "DateTime")
    |                                                                            ^^^^

src/Text/XML/XSD/DateTime.hs:280:10: error:
    " Variable not in scope: fail :: t3 -> p ()
    " Perhaps you want to add fail to one of these import lists:
        Control.Monad (src/Text/XML/XSD/DateTime.hs:18:1-38)
        Prelude (src/Text/XML/XSD/DateTime.hs:53:1-88)
280 |        $ fail "invalid time, past 24:00:00"
    |          ^^^^

src/Text/XML/XSD/DateTime.hs:314:15: error:
    " Variable not in scope: fail :: t0 -> p ()
    " Perhaps you want to add fail to one of these import lists:
        Control.Monad (src/Text/XML/XSD/DateTime.hs:18:1-38)
        Prelude (src/Text/XML/XSD/DateTime.hs:53:1-88)
314 |             $ fail "need at least four digits in year"
    |               ^^^^

src/Text/XML/XSD/DateTime.hs:316:15: error:
    " Variable not in scope: fail :: t1 -> p ()
    " Perhaps you want to add fail to one of these import lists:
        Control.Monad (src/Text/XML/XSD/DateTime.hs:18:1-38)
        Prelude (src/Text/XML/XSD/DateTime.hs:53:1-88)
316 |             $ fail "leading zero in year"
    |               ^^^^

src/Text/XML/XSD/DateTime.hs:319:15: error:
    " Variable not in scope: fail :: t2 -> p ()
    " Perhaps you want to add fail to one of these import lists:
        Control.Monad (src/Text/XML/XSD/DateTime.hs:18:1-38)
        Prelude (src/Text/XML/XSD/DateTime.hs:53:1-88)
319 |             $ fail "year zero disallowed"
    |               ^^^^

src/Text/XML/XSD/DateTime.hs:343:13: error:
    " Variable not in scope: fail :: GHC.Base.String -> p Int
    " Perhaps you want to add fail to one of these import lists:
        Control.Monad (src/Text/XML/XSD/DateTime.hs:18:1-38)
        Prelude (src/Text/XML/XSD/DateTime.hs:53:1-88)
343 |        then fail $ "value " <> show n <> " exceeded maximum " <> show m
    |             ^^^^
cabal: Leaving directory '/tmp/cabal-tmp-29053/xsd-0.6.0'
cabal: Error: some packages failed to install:
xsd-0.6.0-6LhERPzV3rtK6BEYJFTqTx failed during the building phase. The
exception was:
ExitFailure 1