Build #2 for xsd-0.6.2

[all reports]

Package xsd-0.6.2
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2021-07-22 02:09:44.508853182 UTC
Compiler ghc-8.10.2
OS linux
Arch x86_64
Dependencies base-4.14.1.0, lens-5.0.1, parsec-3.1.14.0, parsers-0.12.10, semigroupoids-5.3.5, text-1.2.3.2, 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     hashable-1.3.2.0
Starting     call-stack-0.4.0
Starting     base-orphans-0.8.4
Building     StateVar-1.2.1
Building     base-orphans-0.8.4
Building     hashable-1.3.2.0
Building     call-stack-0.4.0
Completed    call-stack-0.4.0
Starting     indexed-traversable-0.1.1
Completed    StateVar-1.2.1
Starting     integer-logarithms-1.0.3.1
Building     indexed-traversable-0.1.1
Building     integer-logarithms-1.0.3.1
Completed    hashable-1.3.2.0
Starting     parallel-3.2.2.0
Completed    integer-logarithms-1.0.3.1
Starting     primitive-0.7.1.0
Building     parallel-3.2.2.0
Building     primitive-0.7.1.0
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-3.2.2.0
Starting     tagged-0.8.6.1
Building     tagged-0.8.6.1
Completed    semigroups-0.19.1
Starting     th-abstraction-0.4.2.0
Building     th-abstraction-0.4.2.0
Completed    tagged-0.8.6.1
Starting     transformers-compat-0.6.6
Completed    reflection-2.1.6
Starting     void-0.7.3
Building     transformers-compat-0.6.6
Building     void-0.7.3
Completed    void-0.7.3
Starting     contravariant-1.5.3
Building     contravariant-1.5.3
Completed    th-abstraction-0.4.2.0
Starting     unordered-containers-0.2.14.0
Building     unordered-containers-0.2.14.0
Completed    transformers-compat-0.6.6
Starting     distributive-0.6.2.1
Building     distributive-0.6.2.1
Completed    contravariant-1.5.3
Starting     transformers-base-0.4.5.2
Building     transformers-base-0.4.5.2
Completed    distributive-0.6.2.1
Starting     comonad-5.0.8
Completed    primitive-0.7.1.0
Starting     vector-0.12.3.0
Building     comonad-5.0.8
Building     vector-0.12.3.0
Completed    transformers-base-0.4.5.2
Starting     scientific-0.3.7.0
Building     scientific-0.3.7.0
Completed    comonad-5.0.8
Starting     bifunctors-5.5.11
Building     bifunctors-5.5.11
Completed    scientific-0.3.7.0
Starting     attoparsec-0.14.1
Building     attoparsec-0.14.1
Completed    unordered-containers-0.2.14.0
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
Building     parsers-0.12.10
Completed    bifunctors-5.5.11
Starting     profunctors-5.6.2
Starting     semigroupoids-5.3.5
Building     profunctors-5.6.2
Building     semigroupoids-5.3.5
Completed    parsers-0.12.10
Starting     assoc-1.0.2
Building     assoc-1.0.2
Completed    assoc-1.0.2
Starting     these-1.1.1.1
Building     these-1.1.1.1
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-1.1.1.1
Starting     strict-0.4.0.1
Building     strict-0.4.0.1
Completed    invariant-0.5.4
Completed    strict-0.4.0.1
Completed    vector-0.12.3.0
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
Starting     xsd-0.6.2
Building     xsd-0.6.2
Failed to install xsd-0.6.2
Build log ( /home/builder/.cabal/logs/ghc-8.10.2/xsd-0.6.2-EYvdl5pUFGNE1HaOQLL0Qk.log ):
cabal: Entering directory '/tmp/cabal-tmp-22211/xsd-0.6.2'
Configuring xsd-0.6.2...
Preprocessing library for xsd-0.6.2..
Building library for xsd-0.6.2..
[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:300:78: error:
    " Variable not in scope:
        fail
          :: 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:22:1-38)
        Prelude (src/Text/XML/XSD/DateTime.hs:69:1-88)
    |
300 |     in prism' toText (either (const Nothing) Just . parse (parseDateTime <|> fail "bad date time") "DateTime")
    |                                                                              ^^^^

src/Text/XML/XSD/DateTime.hs:346: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:22:1-38)
        Prelude (src/Text/XML/XSD/DateTime.hs:69:1-88)
    |
346 |        $ fail "invalid time, past 24:00:00"
    |          ^^^^

src/Text/XML/XSD/DateTime.hs:380: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:22:1-38)
        Prelude (src/Text/XML/XSD/DateTime.hs:69:1-88)
    |
380 |             $ fail "need at least four digits in year"
    |               ^^^^

src/Text/XML/XSD/DateTime.hs:382: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:22:1-38)
        Prelude (src/Text/XML/XSD/DateTime.hs:69:1-88)
    |
382 |             $ fail "leading zero in year"
    |               ^^^^

src/Text/XML/XSD/DateTime.hs:385: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:22:1-38)
        Prelude (src/Text/XML/XSD/DateTime.hs:69:1-88)
    |
385 |             $ fail "year zero disallowed"
    |               ^^^^

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

Test log

No test log was submitted for this report.