Build #3 for postgresql-tx-query-0.1.0.0
Package | postgresql-tx-query-0.1.0.0 |
---|
Install | DependencyFailed postgresql-tx-query-0.1.0.0 |
---|---|
Docs | NotTried |
Tests | NotTried |
Time submitted | 2020-08-03 20:40:36.500971064 UTC |
---|---|
Compiler | ghc-8.6.3 |
OS | linux |
Arch | x86_64 |
Dependencies | base-4.12.0.0, monad-logger-0.3.34, mtl-2.2.2, postgresql-query-3.5.0, postgresql-simple-0.6.2, postgresql-tx-0.1.0.0, postgresql-tx-monad-logger-0.1.0.0, transformers-0.5.6.2 |
Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies... Warning: The following packages are likely to be broken by the reinstalls: parsec-3.1.13.0 Cabal-2.4.0.1 Continuing even though the plan contains dangerous reinstalls. Starting Only-0.1 Starting auto-update-0.1.6 Starting base-orphans-0.8.2 Starting base-compat-0.11.1 Building Only-0.1 Building auto-update-0.1.6 Building base-orphans-0.8.2 Building base-compat-0.11.1 Completed Only-0.1 Starting blaze-builder-0.4.1.0 Completed auto-update-0.1.6 Starting bytestring-builder-0.10.8.2.0 Building blaze-builder-0.4.1.0 Building bytestring-builder-0.10.8.2.0 Completed bytestring-builder-0.10.8.2.0 Starting cabal-doctest-1.0.8 Building cabal-doctest-1.0.8 Completed base-orphans-0.8.2 Starting data-default-class-0.1.2.0 Building data-default-class-0.1.2.0 Completed blaze-builder-0.4.1.0 Starting dlist-0.8.0.8 Completed cabal-doctest-1.0.8 Building dlist-0.8.0.8 Starting easy-file-0.2.2 Completed data-default-class-0.1.2.0 Starting file-embed-0.0.13.0 Building easy-file-0.2.2 Building file-embed-0.0.13.0 Completed base-compat-0.11.1 Starting hashable-1.3.0.0 Building hashable-1.3.0.0 Completed dlist-0.8.0.8 Completed easy-file-0.2.2 Starting integer-logarithms-1.0.3 Starting haskell-src-exts-1.23.1 Completed file-embed-0.0.13.0 Starting monad-loops-0.4.3 Building integer-logarithms-1.0.3 Building haskell-src-exts-1.23.1 Building monad-loops-0.4.3 Completed integer-logarithms-1.0.3 Starting network-3.1.1.1 Completed monad-loops-0.4.3 Starting old-locale-1.0.0.7 Completed hashable-1.3.0.0 Starting parser-combinators-1.2.1 Building old-locale-1.0.0.7 Building parser-combinators-1.2.1 Completed old-locale-1.0.0.7 Starting postgresql-libpq-0.9.4.2 Building network-3.1.1.1 Completed parser-combinators-1.2.1 Starting safe-0.3.19 Building safe-0.3.19 Building postgresql-libpq-0.9.4.2 Completed safe-0.3.19 Starting semigroups-0.19.1 Building semigroups-0.19.1 Completed semigroups-0.19.1 Starting split-0.2.3.4 Building split-0.2.3.4 Completed postgresql-libpq-0.9.4.2 Starting splitmix-0.1 Completed network-3.1.1.1 Starting stm-chans-3.0.0.4 Building splitmix-0.1 Completed split-0.2.3.4 Starting syb-0.7.1 Building syb-0.7.1 Completed splitmix-0.1 Starting th-abstraction-0.3.2.0 Building stm-chans-3.0.0.4 Building th-abstraction-0.3.2.0 Completed syb-0.7.1 Starting transformers-0.5.6.2 Building transformers-0.5.6.2 Completed stm-chans-3.0.0.4 Starting type-fun-0.1.1 Building type-fun-0.1.1 Completed th-abstraction-0.3.2.0 Starting unix-compat-0.5.2 Completed type-fun-0.1.1 Starting zlib-0.6.2.2 Building unix-compat-0.5.2 Building zlib-0.6.2.2 Completed unix-compat-0.5.2 Starting time-compat-1.9.3 Building time-compat-1.9.3 Completed zlib-0.6.2.2 Starting data-default-instances-containers-0.0.1 Building data-default-instances-containers-0.0.1 Completed time-compat-1.9.3 Starting base-compat-batteries-0.11.1 Completed data-default-instances-containers-0.0.1 Starting data-default-instances-dlist-0.0.1 Building base-compat-batteries-0.11.1 Building data-default-instances-dlist-0.0.1 Completed data-default-instances-dlist-0.0.1 Starting unordered-containers-0.2.11.0 Completed transformers-0.5.6.2 Starting case-insensitive-1.2.1.0 Building unordered-containers-0.2.11.0 Building case-insensitive-1.2.1.0 Completed case-insensitive-1.2.1.0 Starting async-2.2.2 Building async-2.2.2 Completed base-compat-batteries-0.11.1 Starting old-time-1.1.0.3 Building old-time-1.1.0.3 Completed async-2.2.2 Starting data-default-instances-old-locale-0.0.1 Building data-default-instances-old-locale-0.0.1 Completed data-default-instances-old-locale-0.0.1 Starting th-expand-syns-0.4.6.0 Building th-expand-syns-0.4.6.0 Completed old-time-1.1.0.3 Starting th-lift-0.8.1 Building th-lift-0.8.1 Completed unordered-containers-0.2.11.0 Starting unliftio-core-0.2.0.1 Completed th-expand-syns-0.4.6.0 Starting transformers-compat-0.6.5 Building unliftio-core-0.2.0.1 Building transformers-compat-0.6.5 Completed unliftio-core-0.2.0.1 Starting tagged-0.8.6 Completed th-lift-0.8.1 Starting primitive-0.7.1.0 Building tagged-0.8.6 Building primitive-0.7.1.0 Completed transformers-compat-0.6.5 Starting postgresql-tx-0.1.0.0 Building postgresql-tx-0.1.0.0 Completed tagged-0.8.6 Starting mtl-2.2.2 Completed postgresql-tx-0.1.0.0 Starting data-default-0.7.1.1 Building mtl-2.2.2 Building data-default-0.7.1.1 Completed data-default-0.7.1.1 Starting unix-time-0.4.7 Building unix-time-0.4.7 Completed mtl-2.2.2 Starting typed-process-0.2.6.0 Building typed-process-0.2.6.0 Completed unix-time-0.4.7 Starting transformers-base-0.4.5.2 Building transformers-base-0.4.5.2 Completed typed-process-0.2.6.0 Starting hset-2.2.0 Building hset-2.2.0 Completed transformers-base-0.4.5.2 Starting distributive-0.6.2 Completed primitive-0.7.1.0 Starting th-reify-many-0.1.9 Building th-reify-many-0.1.9 Completed hset-2.2.0 Starting random-1.2.0 Building random-1.2.0 Building distributive-0.6.2 Completed th-reify-many-0.1.9 Starting mmorph-1.1.3 Building mmorph-1.1.3 Completed distributive-0.6.2 Starting exceptions-0.10.4 Building exceptions-0.10.4 Completed mmorph-1.1.3 Starting fast-logger-3.0.1 Building fast-logger-3.0.1 Completed random-1.2.0 Starting monad-control-1.0.2.3 Building monad-control-1.0.2.3 Completed exceptions-0.10.4 Starting vector-0.12.1.2 Completed fast-logger-3.0.1 Starting scientific-0.3.6.2 Building vector-0.12.1.2 Building scientific-0.3.6.2 Completed monad-control-1.0.2.3 Starting comonad-5.0.6 Building comonad-5.0.6 Completed scientific-0.3.6.2 Starting uuid-types-1.0.3 Building uuid-types-1.0.3 Completed uuid-types-1.0.3 Starting streaming-commons-0.2.2.1 Completed comonad-5.0.6 Starting resourcet-1.2.4.2 Building streaming-commons-0.2.2.1 Building resourcet-1.2.4.2 Completed resourcet-1.2.4.2 Starting lifted-base-0.2.3.12 Building lifted-base-0.2.3.12 Completed streaming-commons-0.2.2.1 Starting hreader-1.1.0 Completed lifted-base-0.2.3.12 Starting megaparsec-8.0.0 Building hreader-1.1.0 Building megaparsec-8.0.0 Completed hreader-1.1.0 Starting attoparsec-0.13.2.4 Building attoparsec-0.13.2.4 Completed attoparsec-0.13.2.4 Starting bifunctors-5.5.7 Completed megaparsec-8.0.0 Starting inflections-0.4.0.5 Building bifunctors-5.5.7 Building inflections-0.4.0.5 Completed inflections-0.4.0.5 Completed vector-0.12.1.2 Starting th-lift-instances-0.1.17 Starting vector-algorithms-0.8.0.3 Building th-lift-instances-0.1.17 Building vector-algorithms-0.8.0.3 Completed th-lift-instances-0.1.17 Starting resource-pool-0.2.3.2 Building resource-pool-0.2.3.2 Completed haskell-src-exts-1.23.1 Starting th-orphans-0.13.10 Completed resource-pool-0.2.3.2 Building th-orphans-0.13.10 Completed bifunctors-5.5.7 Starting assoc-1.0.1 Building assoc-1.0.1 Completed assoc-1.0.1 Starting these-1.1.1.1 Building these-1.1.1.1 Completed vector-algorithms-0.8.0.3 Starting mono-traversable-1.0.15.1 Building mono-traversable-1.0.15.1 Completed these-1.1.1.1 Starting aeson-1.5.2.0 Building aeson-1.5.2.0 Completed th-orphans-0.13.10 Starting haskell-src-meta-0.8.5 Building haskell-src-meta-0.8.5 Completed haskell-src-meta-0.8.5 Completed mono-traversable-1.0.15.1 Starting conduit-1.3.2 Building conduit-1.3.2 Completed aeson-1.5.2.0 Starting postgresql-simple-0.6.2 Building postgresql-simple-0.6.2 Completed conduit-1.3.2 Starting conduit-extra-1.3.5 Building conduit-extra-1.3.5 Completed conduit-extra-1.3.5 Starting monad-logger-0.3.34 Building monad-logger-0.3.34 Completed monad-logger-0.3.34 Starting postgresql-tx-monad-logger-0.1.0.0 Building postgresql-tx-monad-logger-0.1.0.0 Completed postgresql-simple-0.6.2 Starting postgresql-query-3.5.0 Building postgresql-query-3.5.0 Completed postgresql-tx-monad-logger-0.1.0.0 Failed to install postgresql-query-3.5.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/postgresql-query-3.5.0-EwYpB5GQBnU7FoK2pD5YGJ.log ): cabal: Entering directory '/tmp/cabal-tmp-4142/postgresql-query-3.5.0' Configuring postgresql-query-3.5.0... Preprocessing library for postgresql-query-3.5.0.. Building library for postgresql-query-3.5.0.. [ 1 of 19] Compiling Database.PostgreSQL.Query.Import ( src/Database/PostgreSQL/Query/Import.hs, dist/build/Database/PostgreSQL/Query/Import.o ) [ 2 of 19] Compiling Database.PostgreSQL.Query.SqlBuilder.Types ( src/Database/PostgreSQL/Query/SqlBuilder/Types.hs, dist/build/Database/PostgreSQL/Query/SqlBuilder/Types.o ) [ 3 of 19] Compiling Database.PostgreSQL.Query.SqlBuilder.Builder ( src/Database/PostgreSQL/Query/SqlBuilder/Builder.hs, dist/build/Database/PostgreSQL/Query/SqlBuilder/Builder.o ) [ 4 of 19] Compiling Database.PostgreSQL.Query.SqlBuilder.Class ( src/Database/PostgreSQL/Query/SqlBuilder/Class.hs, dist/build/Database/PostgreSQL/Query/SqlBuilder/Class.o ) [ 5 of 19] Compiling Database.PostgreSQL.Query.SqlBuilder ( src/Database/PostgreSQL/Query/SqlBuilder.hs, dist/build/Database/PostgreSQL/Query/SqlBuilder.o ) [ 6 of 19] Compiling Database.PostgreSQL.Query.TH.Common ( src/Database/PostgreSQL/Query/TH/Common.hs, dist/build/Database/PostgreSQL/Query/TH/Common.o ) [ 7 of 19] Compiling Database.PostgreSQL.Query.TH.Enum ( src/Database/PostgreSQL/Query/TH/Enum.hs, dist/build/Database/PostgreSQL/Query/TH/Enum.o ) [ 8 of 19] Compiling Database.PostgreSQL.Query.TH.Row ( src/Database/PostgreSQL/Query/TH/Row.hs, dist/build/Database/PostgreSQL/Query/TH/Row.o ) [ 9 of 19] Compiling Database.PostgreSQL.Query.TH.SqlExp ( src/Database/PostgreSQL/Query/TH/SqlExp.hs, dist/build/Database/PostgreSQL/Query/TH/SqlExp.o ) [10 of 19] Compiling Database.PostgreSQL.Query.Types ( src/Database/PostgreSQL/Query/Types.hs, dist/build/Database/PostgreSQL/Query/Types.o ) [11 of 19] Compiling Database.PostgreSQL.Query.Entity.Class ( src/Database/PostgreSQL/Query/Entity/Class.hs, dist/build/Database/PostgreSQL/Query/Entity/Class.o ) [12 of 19] Compiling Database.PostgreSQL.Query.TH.Entity ( src/Database/PostgreSQL/Query/TH/Entity.hs, dist/build/Database/PostgreSQL/Query/TH/Entity.o ) [13 of 19] Compiling Database.PostgreSQL.Query.TH ( src/Database/PostgreSQL/Query/TH.hs, dist/build/Database/PostgreSQL/Query/TH.o ) [14 of 19] Compiling Database.PostgreSQL.Query.Internal ( src/Database/PostgreSQL/Query/Internal.hs, dist/build/Database/PostgreSQL/Query/Internal.o ) [15 of 19] Compiling Database.PostgreSQL.Query.Functions ( src/Database/PostgreSQL/Query/Functions.hs, dist/build/Database/PostgreSQL/Query/Functions.o ) [16 of 19] Compiling Database.PostgreSQL.Query.Entity.Internal ( src/Database/PostgreSQL/Query/Entity/Internal.hs, dist/build/Database/PostgreSQL/Query/Entity/Internal.o ) [17 of 19] Compiling Database.PostgreSQL.Query.Entity.Functions ( src/Database/PostgreSQL/Query/Entity/Functions.hs, dist/build/Database/PostgreSQL/Query/Entity/Functions.o ) src/Database/PostgreSQL/Query/Entity/Functions.hs:279:5: error: • Could not deduce (Control.Monad.Fail.MonadFail m) arising from a do statement with the failable pattern ‘[[c]]’ from the context: (Entity a, MonadPostgres m, ToSqlBuilder q) bound by the type signature for: pgSelectCount :: forall (m :: * -> *) a q. (Entity a, MonadPostgres m, MonadLogger m, ToSqlBuilder q) => Proxy a -> q -> m Integer at src/Database/PostgreSQL/Query/Entity/Functions.hs:(272,1)-(277,14) Possible fix: add (Control.Monad.Fail.MonadFail m) to the context of the type signature for: pgSelectCount :: forall (m :: * -> *) a q. (Entity a, MonadPostgres m, MonadLogger m, ToSqlBuilder q) => Proxy a -> q -> m Integer • In a stmt of a 'do' block: [[c]] <- pgQuery (mconcat [sqlBuilderFromByteString (GHC.IO.Unsafe.unsafePerformIO ((Data.ByteString.Unsafe.unsafePackAddressLen 22) "SELECT count(id) FROM "#)), toSqlBuilder (tableName p), sqlBuilderFromByteString (GHC.IO.Unsafe.unsafePerformIO ((Data.ByteString.Unsafe.unsafePackAddressLen 1) " "#)), toSqlBuilder q]) In the expression: do [[c]] <- pgQuery (mconcat [sqlBuilderFromByteString (GHC.IO.Unsafe.unsafePerformIO ((Data.ByteString.Unsafe.unsafePackAddressLen 22) "SELECT count(id) FROM "#)), toSqlBuilder (tableName p), ....]) return c In an equation for ‘pgSelectCount’: pgSelectCount p q = do [[c]] <- pgQuery (mconcat [sqlBuilderFromByteString (GHC.IO.Unsafe.unsafePerformIO ((Data.ByteString.Unsafe.unsafePackAddressLen 22) "SELECT count(id) FROM "#)), ....]) return c | 279 | [[c]] <- pgQuery [sqlExp|SELECT count(id) FROM ^{tableName p} ^{q}|] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-4142/postgresql-query-3.5.0' cabal: Error: some packages failed to install: postgresql-query-3.5.0-EwYpB5GQBnU7FoK2pD5YGJ failed during the building phase. The exception was: ExitFailure 1 postgresql-tx-query-0.1.0.0-2FzGJVCcU6TBfkyhMN0giu depends on postgresql-tx-query-0.1.0.0 which failed to install.
Test log
No test log was submitted for this report.