Build #7 for mkcabal-0.2

[all reports]

Package mkcabal-0.2
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2017-01-04 01:01:34.933226 UTC
Compiler ghc-
OS linux
Arch x86_64
Dependencies base-, directory-, mtl-2.2.1, old-locale-, old-time-, pretty-, readline-, regex-base-0.93.2, regex-compat-0.95.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 old-locale-
Building old-locale-
Building mtl-2.2.1...
Installed old-locale-
Configuring readline-
Building readline-
Configuring old-time-
Installed mtl-2.2.1
Building old-time-
Configuring regex-base-0.93.2...
Installed readline-
Building regex-base-0.93.2...
Installed old-time-
Installed regex-base-0.93.2
Configuring regex-posix-0.95.2...
Building regex-posix-0.95.2...
Installed regex-posix-0.95.2
Configuring regex-compat-0.95.1...
Building regex-compat-0.95.1...
Installed regex-compat-0.95.1
Configuring mkcabal-0.2...
Building mkcabal-0.2...
Failed to install mkcabal-0.2
Build log ( /home/builder/.cabal/logs/mkcabal-0.2.log ):
cabal: Entering directory '/tmp/cabal-tmp-27856/mkcabal-0.2'
[1 of 1] Compiling Main             ( /tmp/cabal-tmp-27856/mkcabal-0.2/dist/setup/setup.hs, /tmp/cabal-tmp-27856/mkcabal-0.2/dist/setup/Main.o )
Linking /tmp/cabal-tmp-27856/mkcabal-0.2/dist/setup/setup ...
Configuring mkcabal-0.2...
Warning: No 'build-type' specified. If you do not need a custom Setup.hs or
./configure script then use 'build-type: Simple'.
Building mkcabal-0.2...
Preprocessing executable 'mkcabal' for mkcabal-0.2...

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:359: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-27856/mkcabal-0.2'
cabal: Error: some packages failed to install:
mkcabal-0.2 failed during the building phase. The exception was:
ExitFailure 1