Build #7 for xsd-0.3.4.1

[all reports]

Package xsd-0.3.4.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-22 02:48:58.78898 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0, parsec-3.1.11, time-1.6.0.1
Flags small_base

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring mtl-2.2.1...
Configuring text-1.2.2.1...
Building mtl-2.2.1...
Building text-1.2.2.1...
Installed mtl-2.2.1
Installed text-1.2.2.1
Configuring parsec-3.1.11...
Building parsec-3.1.11...
Installed parsec-3.1.11
Configuring xsd-0.3.4.1...
Building xsd-0.3.4.1...
Failed to install xsd-0.3.4.1
Build log ( /home/builder/.cabal/logs/xsd-0.3.4.1.log ):
cabal: Entering directory '/tmp/cabal-tmp-2194/xsd-0.3.4.1'
Configuring xsd-0.3.4.1...
Building xsd-0.3.4.1...
Preprocessing library xsd-0.3.4.1...
[1 of 2] Compiling Text.XML.XSD.DateTime ( Text/XML/XSD/DateTime.hs, dist/build/Text/XML/XSD/DateTime.o )

Text/XML/XSD/DateTime.hs:113:44: error:
    • Could not deduce (Show a) arising from a use of ‘show’
      from the context: (Num a, Ord a)
        bound by the type signature for:
                   showi :: (Num a, Ord a) => a -> String
        at Text/XML/XSD/DateTime.hs:112:1-38
      Possible fix:
        add (Show a) to the context of
          the type signature for:
            showi :: (Num a, Ord a) => a -> String
    • In the first argument of ‘if n < 10 then ('0' :) else id’, namely
        ‘(show n)’
      In the expression: (if n < 10 then ('0' :) else id) (show n)
      In an equation for ‘showi’:
          showi n = (if n < 10 then ('0' :) else id) (show n)

Text/XML/XSD/DateTime.hs:117:35: error:
    • Could not deduce (Show a) arising from a use of ‘show’
      from the context: (Num a, Ord a)
        bound by the type signature for:
                   showy :: (Num a, Ord a) => a -> String
        at Text/XML/XSD/DateTime.hs:115:1-38
      Possible fix:
        add (Show a) to the context of
          the type signature for:
            showy :: (Num a, Ord a) => a -> String
    • In the second argument of ‘k’, namely ‘(show n)’
      In the second argument of ‘k’, namely ‘(k 10 (show n))’
      In the second argument of ‘k’, namely ‘(k 100 (k 10 (show n)))’
cabal: Leaving directory '/tmp/cabal-tmp-2194/xsd-0.3.4.1'
cabal: Error: some packages failed to install:
xsd-0.3.4.1 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.