Build #3 for streaming-postgresql-simple-0.2.0.2
Package | streaming-postgresql-simple-0.2.0.2 |
---|
Install | BuildFailed |
---|---|
Docs | NotTried |
Tests | NotTried |
Time submitted | 2018-01-03 19:50:58.741543022 UTC |
---|---|
Compiler | ghc-8.2.2 |
OS | linux |
Arch | x86_64 |
Dependencies | base-4.10.1.0, bytestring-0.10.8.2, exceptions-0.8.3, postgresql-libpq-0.9.3.1, postgresql-simple-0.5.3.0, resourcet-1.1.10, safe-exceptions-0.1.6.0, streaming-0.2.0.0, transformers-0.5.2.0 |
Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies... Configuring bytestring-builder-0.10.8.1.0... Configuring base-compat-0.9.3... Building bytestring-builder-0.10.8.1.0... Building base-compat-0.9.3... Installed bytestring-builder-0.10.8.1.0 Configuring dlist-0.8.0.3... Building dlist-0.8.0.3... Installed base-compat-0.9.3 Configuring postgresql-libpq-0.9.3.1... Installed dlist-0.8.0.3 Configuring th-abstraction-0.2.6.0... Building th-abstraction-0.2.6.0... Building postgresql-libpq-0.9.3.1... Installed th-abstraction-0.2.6.0 Configuring time-locale-compat-0.1.1.3... Building time-locale-compat-0.1.1.3... Installed time-locale-compat-0.1.1.3 Configuring transformers-compat-0.5.1.4... Installed postgresql-libpq-0.9.3.1 Configuring unliftio-core-0.1.0.0... Building transformers-compat-0.5.1.4... Building unliftio-core-0.1.0.0... Installed transformers-compat-0.5.1.4 Configuring uuid-types-1.0.3... Installed unliftio-core-0.1.0.0 Configuring transformers-base-0.4.4... Building uuid-types-1.0.3... Building transformers-base-0.4.4... Installed transformers-base-0.4.4 Configuring tagged-0.8.5... Building tagged-0.8.5... Installed uuid-types-1.0.3 Configuring mmorph-1.1.0... Building mmorph-1.1.0... Installed tagged-0.8.5 Configuring exceptions-0.8.3... Installed mmorph-1.1.0 Configuring monad-control-1.0.2.2... Building exceptions-0.8.3... Building monad-control-1.0.2.2... Installed monad-control-1.0.2.2 Configuring aeson-1.2.3.0... Installed exceptions-0.8.3 Configuring lifted-base-0.2.3.11... Building aeson-1.2.3.0... Building lifted-base-0.2.3.11... Installed lifted-base-0.2.3.11 Configuring streaming-0.2.0.0... Building streaming-0.2.0.0... Installed streaming-0.2.0.0 Configuring safe-exceptions-0.1.6.0... Building safe-exceptions-0.1.6.0... Installed safe-exceptions-0.1.6.0 Configuring resourcet-1.1.10... Building resourcet-1.1.10... Installed resourcet-1.1.10 Installed aeson-1.2.3.0 Configuring postgresql-simple-0.5.3.0... Building postgresql-simple-0.5.3.0... Installed postgresql-simple-0.5.3.0 Configuring streaming-postgresql-simple-0.2.0.2... Building streaming-postgresql-simple-0.2.0.2... Failed to install streaming-postgresql-simple-0.2.0.2 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/streaming-postgresql-simple-0.2.0.2-13Ujzv76qOo6127fvEwWg9.log ): cabal: Entering directory '/tmp/cabal-tmp-12737/streaming-postgresql-simple-0.2.0.2' Configuring streaming-postgresql-simple-0.2.0.2... Preprocessing library for streaming-postgresql-simple-0.2.0.2.. Building library for streaming-postgresql-simple-0.2.0.2.. [1 of 1] Compiling Database.PostgreSQL.Simple.Streaming ( Database/PostgreSQL/Simple/Streaming.hs, dist/build/Database/PostgreSQL/Simple/Streaming.o ) Database/PostgreSQL/Simple/Streaming.hs:325:24: error: • Could not deduce (Control.Monad.Catch.MonadCatch (Stream (Of row) m)) arising from a use of ‘onException’ from the context: (MonadIO m, MonadMask m, MonadResource m) bound by the type signature for: doFold :: forall row (m :: * -> *). (MonadIO m, MonadMask m, MonadResource m) => FoldOptions -> RowParser row -> Connection -> Query -> Stream (Of row) m () at Database/PostgreSQL/Simple/Streaming.hs:(312,1)-(318,30) • In the expression: go `onException` ifInTransaction (liftIO (rollback conn)) In the third argument of ‘bracket’, namely ‘(\ _ -> go `onException` ifInTransaction (liftIO (rollback conn)))’ In the expression: bracket (liftIO (beginMode transactionMode conn)) (\ _ -> ifInTransaction $ liftIO (commit conn)) (\ _ -> go `onException` ifInTransaction (liftIO (rollback conn))) | 325 | (\_ -> go `onException` ifInTransaction (liftIO (rollback conn))) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-12737/streaming-postgresql-simple-0.2.0.2' cabal: Error: some packages failed to install: streaming-postgresql-simple-0.2.0.2-13Ujzv76qOo6127fvEwWg9 failed during the building phase. The exception was: ExitFailure 1
Test log
No test log was submitted for this report.