Build #7 for mkcabal-

[all reports]

Package mkcabal-
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2017-01-03 12:34:16.921225 UTC
Compiler ghc-
OS linux
Arch x86_64
Dependencies base-, directory-, mtl-2.2.1, old-locale-, old-time-, pcre-light-, pretty-, readline-
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 old-locale-
Building mtl-2.2.1...
Building old-locale-
Installed old-locale-
Configuring pcre-light-
Building pcre-light-
Configuring readline-
Installed mtl-2.2.1
Configuring old-time-
Installed pcre-light-
Building readline-
Building old-time-
Installed readline-
Installed old-time-
Configuring mkcabal-
Building mkcabal-
Failed to install mkcabal-
Build log ( /home/builder/.cabal/logs/mkcabal- ):
cabal: Entering directory '/tmp/cabal-tmp-23211/mkcabal-'
Configuring mkcabal-
Building mkcabal-
Preprocessing executable 'mkcabal' for mkcabal-

mkcabal.hs:1:16: warning:
    -fglasgow-exts is deprecated: Use individual extensions instead
[1 of 2] Compiling Licenses         ( Licenses.hs, dist/build/mkcabal/mkcabal-tmp/Licenses.o )
[2 of 2] Compiling Main             ( mkcabal.hs, dist/build/mkcabal/mkcabal-tmp/Main.o )

mkcabal.hs:384:14: error:
    • Ambiguous type variable ‘e0’ arising from a use of ‘handle’
      prevents the constraint ‘(Exception e0)’ from being solved.
      Probable fix: use a type annotation to specify what ‘e0’ should be.
      These potential instances exist:
        instance Exception NestedAtomically
          -- Defined in ‘Control.Exception.Base’
        instance Exception NoMethodError
          -- Defined in ‘Control.Exception.Base’
        instance Exception NonTermination
          -- Defined in ‘Control.Exception.Base’ 17 others two instances involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In the expression: handle (\ _ -> return $ pair defNameAndMail)
      In the expression:
        handle (\ _ -> return $ pair defNameAndMail)
        $ do { env <- getEnvironment;
               let p | Just e <- lookup "DARCS_EMAIL" env = break (== '<') e
                     | Just e <- lookup "EMAIL" env = ...
                     | otherwise = pair defNameAndMail;
               return p }
      In a stmt of a 'do' block:
        if he then
            readFile authorHome >>= return . nameAndMail
            handle (\ _ -> return $ pair defNameAndMail)
            $ do { env <- getEnvironment;
                   let p | Just e <- lookup "DARCS_EMAIL" env = ...
                         | Just e <- lookup "EMAIL" env = ...
                         | otherwise = ...;
                   return p }
cabal: Leaving directory '/tmp/cabal-tmp-23211/mkcabal-'
cabal: Error: some packages failed to install:
mkcabal- failed during the building phase. The exception was:
ExitFailure 1