Build #7 for gitlib-libgit2-3.1.0.2

[all reports]

Package gitlib-libgit2-3.1.0.2
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-12 00:50:27.481562 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0, bytestring-0.10.8.1, conduit-1.2.8, conduit-combinators-1.0.8.3, containers-0.5.7.1, directory-1.2.6.2, exceptions-0.8.3, fast-logger-2.4.7, filepath-1.4.1.0, gitlib-3.1.1, hlibgit2-0.18.0.15, lifted-async-0.9.0, lifted-base-0.2.3.8, missing-foreign-0.1.1, mmorph-1.0.9, monad-control-1.0.1.0, monad-logger-0.3.20.1, monad-loops-0.4.3, mtl-2.2.1, resourcet-1.1.8.1, stm-2.4.4.1, stm-conduit-3.0.0, tagged-0.8.5, template-haskell-2.11.0.0, text-1.2.2.1, text-icu-0.7.0.1, time-1.6.0.1, transformers-0.5.2.0, transformers-base-0.4.4
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring auto-update-0.1.4...
Configuring base16-bytestring-0.1.1.6...
Building base16-bytestring-0.1.1.6...
Building auto-update-0.1.4...
Installed base16-bytestring-0.1.1.6
Configuring base64-bytestring-1.0.0.1...
Configuring bindings-DSL-1.0.23...
Installed auto-update-0.1.4
Building base64-bytestring-1.0.0.1...
Building bindings-DSL-1.0.23...
Configuring cereal-0.5.4.0...
Installed bindings-DSL-1.0.23
Building cereal-0.5.4.0...
Configuring easy-file-0.2.1...
Installed base64-bytestring-1.0.0.1
Building easy-file-0.2.1...
Configuring bytestring-builder-0.10.8.1.0...
Installed easy-file-0.2.1
Building bytestring-builder-0.10.8.1.0...
Configuring missing-foreign-0.1.1...
Installed bytestring-builder-0.10.8.1.0
Building missing-foreign-0.1.1...
Configuring monad-loops-0.4.3...
Installed cereal-0.5.4.0
Configuring mtl-2.2.1...
Installed missing-foreign-0.1.1
Building monad-loops-0.4.3...
Building mtl-2.2.1...
Configuring old-locale-1.0.0.7...
Installed monad-loops-0.4.3
Building old-locale-1.0.0.7...
Configuring primitive-0.6.1.0...
Installed old-locale-1.0.0.7
Building primitive-0.6.1.0...
Configuring network-2.6.3.1...
Installed mtl-2.2.1
Building network-2.6.3.1...
Configuring semigroups-0.18.2...
Installed primitive-0.6.1.0
Building semigroups-0.18.2...
Configuring random-1.1...
Installed semigroups-0.18.2
Building random-1.1...
Configuring split-0.2.3.1...
Installed random-1.1
Building split-0.2.3.1...
Configuring stm-2.4.4.1...
Installed network-2.6.3.1
Building stm-2.4.4.1...
Configuring transformers-compat-0.5.1.4...
Installed split-0.2.3.1
Building transformers-compat-0.5.1.4...
Configuring text-1.2.2.1...
Installed stm-2.4.4.1
Configuring unix-compat-0.4.3.1...
Installed transformers-compat-0.5.1.4
Building text-1.2.2.1...
Building unix-compat-0.4.3.1...
Configuring zlib-0.6.1.2...
Installed unix-compat-0.4.3.1
Building zlib-0.6.1.2...
Installed zlib-0.6.1.2
Configuring old-time-1.1.0.3...
Building old-time-1.1.0.3...
Configuring vector-0.11.0.0...
Installed old-time-1.1.0.3
Building vector-0.11.0.0...
Installed text-1.2.2.1
Configuring stm-chans-3.0.0.4...
Building stm-chans-3.0.0.4...
Configuring async-2.1.1...
Installed stm-chans-3.0.0.4
Building async-2.1.1...
Configuring exceptions-0.8.3...
Installed async-2.1.1
Building exceptions-0.8.3...
Configuring mmorph-1.0.9...
Installed exceptions-0.8.3
Building mmorph-1.0.9...
Configuring transformers-base-0.4.4...
Installed mmorph-1.0.9
Building transformers-base-0.4.4...
Configuring tagged-0.8.5...
Installed transformers-base-0.4.4
Building tagged-0.8.5...
Installed vector-0.11.0.0
Configuring hlibgit2-0.18.0.15...
Installed tagged-0.8.5
Configuring unix-time-0.3.7...
Building unix-time-0.3.7...
Building hlibgit2-0.18.0.15...
Installed unix-time-0.3.7
Configuring hashable-1.2.4.0...
Building hashable-1.2.4.0...
Configuring blaze-builder-0.4.0.2...
Installed hashable-1.2.4.0
Building blaze-builder-0.4.0.2...
Configuring text-icu-0.7.0.1...
Installed blaze-builder-0.4.0.2
Building text-icu-0.7.0.1...
Configuring monad-control-1.0.1.0...
Installed text-icu-0.7.0.1
Building monad-control-1.0.1.0...
Configuring chunked-data-0.3.0...
Installed monad-control-1.0.1.0
Building chunked-data-0.3.0...
Installed chunked-data-0.3.0
Configuring mwc-random-0.13.5.0...
Building mwc-random-0.13.5.0...
Configuring vector-algorithms-0.7.0.1...
Installed mwc-random-0.13.5.0
Building vector-algorithms-0.7.0.1...
Installed vector-algorithms-0.7.0.1
Configuring fast-logger-2.4.7...
Building fast-logger-2.4.7...
Configuring constraints-0.8...
Installed fast-logger-2.4.7
Building constraints-0.8...
Configuring scientific-0.3.4.9...
Installed constraints-0.8
Building scientific-0.3.4.9...
Configuring unordered-containers-0.2.7.1...
Installed scientific-0.3.4.9
Building unordered-containers-0.2.7.1...
Configuring void-0.7.1...
Installed hlibgit2-0.18.0.15
Building void-0.7.1...
Configuring streaming-commons-0.1.16...
Installed unordered-containers-0.2.7.1
Configuring lifted-base-0.2.3.8...
Installed void-0.7.1
Building streaming-commons-0.1.16...
Building lifted-base-0.2.3.8...
Installed lifted-base-0.2.3.8
Configuring attoparsec-0.13.1.0...
Building attoparsec-0.13.1.0...
Configuring mono-traversable-1.0.1...
Installed streaming-commons-0.1.16
Building mono-traversable-1.0.1...
Configuring lifted-async-0.9.0...
Installed attoparsec-0.13.1.0
Building lifted-async-0.9.0...
Configuring resourcet-1.1.8.1...
Installed lifted-async-0.9.0
Building resourcet-1.1.8.1...
Installed resourcet-1.1.8.1
Configuring conduit-1.2.8...
Building conduit-1.2.8...
Installed mono-traversable-1.0.1
Installed conduit-1.2.8
Configuring cereal-conduit-0.7.3...
Configuring conduit-extra-1.1.15...
Building cereal-conduit-0.7.3...
Building conduit-extra-1.1.15...
Installed cereal-conduit-0.7.3
Installed conduit-extra-1.1.15
Configuring monad-logger-0.3.20.1...
Configuring conduit-combinators-1.0.8.3...
Building conduit-combinators-1.0.8.3...
Building monad-logger-0.3.20.1...
Installed monad-logger-0.3.20.1
Installed conduit-combinators-1.0.8.3
Configuring stm-conduit-3.0.0...
Configuring gitlib-3.1.1...
Building stm-conduit-3.0.0...
Building gitlib-3.1.1...
Installed stm-conduit-3.0.0
Installed gitlib-3.1.1
Configuring gitlib-libgit2-3.1.0.2...
Building gitlib-libgit2-3.1.0.2...
Failed to install gitlib-libgit2-3.1.0.2
Build log ( /home/builder/.cabal/logs/gitlib-libgit2-3.1.0.2.log ):
cabal: Entering directory '/tmp/cabal-tmp-24495/gitlib-libgit2-3.1.0.2'
Configuring gitlib-libgit2-3.1.0.2...
Building gitlib-libgit2-3.1.0.2...
Preprocessing library gitlib-libgit2-3.1.0.2...
[1 of 5] Compiling Git.Libgit2.Types ( Git/Libgit2/Types.hs, dist/build/Git/Libgit2/Types.o )

Git/Libgit2/Types.hs:12:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
[2 of 5] Compiling Git.Libgit2.Backend ( Git/Libgit2/Backend.hs, dist/build/Git/Libgit2/Backend.o )
[3 of 5] Compiling Git.Libgit2.Trace ( Git/Libgit2/Trace.hs, dist/build/Git/Libgit2/Trace.o )
[4 of 5] Compiling Git.Libgit2.Internal ( Git/Libgit2/Internal.hs, dist/build/Git/Libgit2/Internal.o )

Git/Libgit2/Internal.hs:74:24: error:
    • Couldn't match type ‘StM m (Either T.Text b1)’
                     with ‘StM m (Either T.Text b)’
      Expected type: IO (StM m (Either T.Text b))
        Actual type: IO (StM m (Either T.Text b1))
      NB: ‘StM’ is a type function, and may not be injective
      The type variable ‘b1’ is ambiguous
    • In the expression: run $ return $ Left $ T.concat args
      In a stmt of a 'do' block:
        if err == nullPtr then
            run $ return $ Left $ T.concat args
        else
            do { errmsg <- peekCString . c'git_error'message =<< peek err;
                 run $ return $ Left $ T.concat $ args ++ [": ", ....] }
      In the expression:
        do { oidStr <- withForeignPtr oid (flip oidToStr len);
             let args = ...;
             err <- c'giterr_last;
             if err == nullPtr then
                 run $ return $ Left $ T.concat args
             else
                 do { errmsg <- peekCString . c'git_error'message =<< peek err;
                      .... } }
    • Relevant bindings include
        run :: RunInBase m IO (bound at Git/Libgit2/Internal.hs:62:26)
        createFn :: ForeignPtr C'git_oid -> ForeignPtr a -> Ptr a -> m b
          (bound at Git/Libgit2/Internal.hs:60:47)
        lookupObject' :: ForeignPtr C'git_oid
                         -> Int
                         -> (Ptr (Ptr a)
                             -> Ptr C'git_repository -> Ptr C'git_oid -> IO CInt)
                         -> (Ptr (Ptr a)
                             -> Ptr C'git_repository -> Ptr C'git_oid -> CSize -> IO CInt)
                         -> (ForeignPtr C'git_oid -> ForeignPtr a -> Ptr a -> m b)
                         -> m b
          (bound at Git/Libgit2/Internal.hs:60:1)

Git/Libgit2/Internal.hs:77:23: error:
    • Couldn't match type ‘StM m (Either T.Text b0)’
                     with ‘StM m (Either T.Text b)’
      Expected type: IO (StM m (Either T.Text b))
        Actual type: IO (StM m (Either T.Text b0))
      NB: ‘StM’ is a type function, and may not be injective
      The type variable ‘b0’ is ambiguous
    • In a stmt of a 'do' block:
        run $ return $ Left $ T.concat $ args ++ [": ", T.pack errmsg]
      In the expression:
        do { errmsg <- peekCString . c'git_error'message =<< peek err;
             run $ return $ Left $ T.concat $ args ++ [": ", T.pack errmsg] }
      In a stmt of a 'do' block:
        if err == nullPtr then
            run $ return $ Left $ T.concat args
        else
            do { errmsg <- peekCString . c'git_error'message =<< peek err;
                 run $ return $ Left $ T.concat $ args ++ [": ", ....] }
    • Relevant bindings include
        run :: RunInBase m IO (bound at Git/Libgit2/Internal.hs:62:26)
        createFn :: ForeignPtr C'git_oid -> ForeignPtr a -> Ptr a -> m b
          (bound at Git/Libgit2/Internal.hs:60:47)
        lookupObject' :: ForeignPtr C'git_oid
                         -> Int
                         -> (Ptr (Ptr a)
                             -> Ptr C'git_repository -> Ptr C'git_oid -> IO CInt)
                         -> (Ptr (Ptr a)
                             -> Ptr C'git_repository -> Ptr C'git_oid -> CSize -> IO CInt)
                         -> (ForeignPtr C'git_oid -> ForeignPtr a -> Ptr a -> m b)
                         -> m b
          (bound at Git/Libgit2/Internal.hs:60:1)

Git/Libgit2/Internal.hs:87:15: error:
    • Couldn't match type ‘StM m (Either a0 b)’
                     with ‘StM m (Either T.Text b)’
      Expected type: IO (StM m (Either T.Text b))
        Actual type: IO (StM m (Either a0 b))
      NB: ‘StM’ is a type function, and may not be injective
      The type variable ‘a0’ is ambiguous
    • In a stmt of a 'do' block:
        run $ Right <$> createFn coidCopy (castForeignPtr fptr) ptr'
      In the expression:
        do { ptr' <- peek ptr;
             coid <- c'git_object_id (castPtr ptr');
             coidCopy <- mallocForeignPtr;
             withForeignPtr coidCopy $ flip c'git_oid_cpy coid;
             .... }
      In a stmt of a 'do' block:
        if r < 0 then
            do { oidStr <- withForeignPtr oid (flip oidToStr len);
                 let args = ...;
                 err <- c'giterr_last;
                 .... }
        else
            do { ptr' <- peek ptr;
                 coid <- c'git_object_id (castPtr ptr');
                 coidCopy <- mallocForeignPtr;
                 .... }
    • Relevant bindings include
        run :: RunInBase m IO (bound at Git/Libgit2/Internal.hs:62:26)
        createFn :: ForeignPtr C'git_oid -> ForeignPtr a -> Ptr a -> m b
          (bound at Git/Libgit2/Internal.hs:60:47)
        lookupObject' :: ForeignPtr C'git_oid
                         -> Int
                         -> (Ptr (Ptr a)
                             -> Ptr C'git_repository -> Ptr C'git_oid -> IO CInt)
                         -> (Ptr (Ptr a)
                             -> Ptr C'git_repository -> Ptr C'git_oid -> CSize -> IO CInt)
                         -> (ForeignPtr C'git_oid -> ForeignPtr a -> Ptr a -> m b)
                         -> m b
          (bound at Git/Libgit2/Internal.hs:60:1)
cabal: Leaving directory '/tmp/cabal-tmp-24495/gitlib-libgit2-3.1.0.2'
cabal: Error: some packages failed to install:
gitlib-libgit2-3.1.0.2 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.