Build #1 for postgresql-simple-opts-0.5.0.0
| Package | postgresql-simple-opts-0.5.0.0 |
|---|
| Install | BuildFailed |
|---|---|
| Docs | NotTried |
| Tests | NotTried |
| Time submitted | 2019-09-30 00:45:16.688639461 UTC |
|---|---|
| Compiler | ghc-8.6.3 |
| OS | linux |
| Arch | x86_64 |
| Dependencies | base-4.12.0.0, bytestring-0.10.8.2, data-default-0.7.1.1, either-5.0.1.1, envy-2.0.0.0, generic-deriving-1.13, optparse-applicative-0.15.1.0, optparse-generic-1.3.0, postgres-options-0.1.0.1, postgresql-simple-0.6.2, split-0.2.3.3, uri-bytestring-0.3.2.1 |
| Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Warning: The install command is a part of the legacy v1 style of cabal usage.
Please switch to using either the new project style and the new-install
command or the legacy v1-install alias as new-style projects will become the
default in the next version of cabal-install. Please file a bug if you cannot
replicate a working v1- use case with the new-style commands.
For more information, see: https://wiki.haskell.org/Cabal/NewBuild
Resolving dependencies...
Starting Only-0.1
Starting StateVar-1.2
Starting base-orphans-0.8.1
Starting base-compat-0.11.0
Building Only-0.1
Building StateVar-1.2
Building base-orphans-0.8.1
Building base-compat-0.11.0
Completed base-orphans-0.8.1
Starting blaze-builder-0.4.1.0
Completed Only-0.1
Starting bytestring-builder-0.10.8.2.0
Completed StateVar-1.2
Starting cabal-doctest-1.0.7
Building blaze-builder-0.4.1.0
Building bytestring-builder-0.10.8.2.0
Building cabal-doctest-1.0.7
Completed bytestring-builder-0.10.8.2.0
Starting colour-2.3.5
Building colour-2.3.5
Completed cabal-doctest-1.0.7
Starting data-default-class-0.1.2.0
Completed blaze-builder-0.4.1.0
Starting dlist-0.8.0.7
Building data-default-class-0.1.2.0
Building dlist-0.8.0.7
Completed data-default-class-0.1.2.0
Starting envy-2.0.0.0
Completed base-compat-0.11.0
Starting hashable-1.3.0.0
Building envy-2.0.0.0
Building hashable-1.3.0.0
Completed dlist-0.8.0.7
Starting integer-logarithms-1.0.3
Building integer-logarithms-1.0.3
Completed colour-2.3.5
Starting old-locale-1.0.0.7
Completed envy-2.0.0.0
Starting postgres-options-0.1.0.1
Building old-locale-1.0.0.7
Building postgres-options-0.1.0.1
Completed integer-logarithms-1.0.3
Starting postgresql-libpq-0.9.4.2
Completed old-locale-1.0.0.7
Starting primitive-0.7.0.0
Completed hashable-1.3.0.0
Starting random-1.1
Building primitive-0.7.0.0
Building random-1.1
Completed postgres-options-0.1.0.1
Starting semigroups-0.19.1
Building semigroups-0.19.1
Building postgresql-libpq-0.9.4.2
Completed semigroups-0.19.1
Starting split-0.2.3.3
Building split-0.2.3.3
Completed random-1.1
Starting system-filepath-0.4.14
Completed split-0.2.3.3
Starting tagged-0.8.6
Building tagged-0.8.6
Building system-filepath-0.4.14
Completed postgresql-libpq-0.9.4.2
Starting th-abstraction-0.3.1.0
Building th-abstraction-0.3.1.0
Completed tagged-0.8.6
Starting transformers-compat-0.6.5
Building transformers-compat-0.6.5
Completed system-filepath-0.4.14
Starting void-0.7.3
Building void-0.7.3
Completed void-0.7.3
Starting time-compat-1.9.2.2
Completed primitive-0.7.0.0
Starting contravariant-1.5.2
Building time-compat-1.9.2.2
Completed transformers-compat-0.6.5
Starting data-default-instances-containers-0.0.1
Building contravariant-1.5.2
Completed th-abstraction-0.3.1.0
Starting data-default-instances-dlist-0.0.1
Building data-default-instances-containers-0.0.1
Building data-default-instances-dlist-0.0.1
Completed data-default-instances-containers-0.0.1
Starting ansi-terminal-0.10
Completed data-default-instances-dlist-0.0.1
Starting data-default-instances-old-locale-0.0.1
Building ansi-terminal-0.10
Building data-default-instances-old-locale-0.0.1
Completed contravariant-1.5.2
Starting unordered-containers-0.2.10.0
Completed data-default-instances-old-locale-0.0.1
Starting case-insensitive-1.2.1.0
Building unordered-containers-0.2.10.0
Completed time-compat-1.9.2.2
Starting uuid-types-1.0.3
Building case-insensitive-1.2.1.0
Building uuid-types-1.0.3
Completed ansi-terminal-0.10
Starting distributive-0.6.1
Completed case-insensitive-1.2.1.0
Starting vector-0.12.0.3
Building vector-0.12.0.3
Completed uuid-types-1.0.3
Starting scientific-0.3.6.2
Building scientific-0.3.6.2
Building distributive-0.6.1
Completed distributive-0.6.1
Starting th-lift-0.8.0.1
Building th-lift-0.8.0.1
Completed scientific-0.3.6.2
Starting generic-deriving-1.13
Building generic-deriving-1.13
Completed unordered-containers-0.2.10.0
Starting data-default-0.7.1.1
Building data-default-0.7.1.1
Completed th-lift-0.8.0.1
Starting ansi-wl-pprint-0.6.9
Building ansi-wl-pprint-0.6.9
Completed data-default-0.7.1.1
Starting comonad-5.0.5
Completed ansi-wl-pprint-0.6.9
Starting attoparsec-0.13.2.3
Building comonad-5.0.5
Building attoparsec-0.13.2.3
Completed comonad-5.0.5
Starting optparse-applicative-0.15.1.0
Building optparse-applicative-0.15.1.0
Completed attoparsec-0.13.2.3
Starting bifunctors-5.5.5
Building bifunctors-5.5.5
Completed optparse-applicative-0.15.1.0
Starting optparse-generic-1.3.0
Building optparse-generic-1.3.0
Completed generic-deriving-1.13
Completed optparse-generic-1.3.0
Completed vector-0.12.0.3
Starting th-lift-instances-0.1.14
Starting aeson-1.4.5.0
Completed bifunctors-5.5.5
Starting profunctors-5.5
Starting semigroupoids-5.3.3
Building th-lift-instances-0.1.14
Building aeson-1.4.5.0
Building profunctors-5.5
Completed th-lift-instances-0.1.14
Starting uri-bytestring-0.3.2.1
Building semigroupoids-5.3.3
Building uri-bytestring-0.3.2.1
Completed uri-bytestring-0.3.2.1
Completed profunctors-5.5
Completed semigroupoids-5.3.3
Starting either-5.0.1.1
Building either-5.0.1.1
Completed either-5.0.1.1
Completed aeson-1.4.5.0
Starting postgresql-simple-0.6.2
Building postgresql-simple-0.6.2
Completed postgresql-simple-0.6.2
Downloading postgresql-simple-opts-0.5.0.0
Downloaded postgresql-simple-opts-0.5.0.0
Starting postgresql-simple-opts-0.5.0.0
Building postgresql-simple-opts-0.5.0.0
Failed to install postgresql-simple-opts-0.5.0.0
Build log ( /home/builder/.cabal/logs/ghc-8.6.3/postgresql-simple-opts-0.5.0.0-EUl0koq5xgRCCsLu3MmcAp.log ):
cabal: Entering directory '/tmp/cabal-tmp-15761/postgresql-simple-opts-0.5.0.0'
Configuring postgresql-simple-opts-0.5.0.0...
Preprocessing library for postgresql-simple-opts-0.5.0.0..
Building library for postgresql-simple-opts-0.5.0.0..
[1 of 2] Compiling Database.PostgreSQL.Simple.PartialOptions.Internal ( src/Database/PostgreSQL/Simple/PartialOptions/Internal.hs, dist/build/Database/PostgreSQL/Simple/PartialOptions/Internal.o )
src/Database/PostgreSQL/Simple/PartialOptions/Internal.hs:61:9: error:
• Couldn't match expected type ‘Maybe PartialOptions
-> System.Envy.Parser PartialOptions’
with actual type ‘System.Envy.Parser PartialOptions’
• Possible cause: ‘(<*>)’ is applied to too many arguments
In the expression:
PartialOptions <$> env "PGHOST" <*> env "PGHOSTADDR"
<*> env "PGPORT"
<*> env "PGUSER"
<*> env "PGPASSWORD"
<*> env "PGDATABASE"
<*> env "PGCONNECT_TIMEOUT"
<*> env "PGCLIENTENCODING"
<*> env "PGOPTIONS"
<*> env "PGAPPNAME"
<*> env "PGKEEPALIVES"
<*> env "PGKEEPALIVESIDLE"
<*> env "PGKEEPALIVESCOUNT"
<*> env "PGSSLMODE"
<*> env "PGREQUIRESSL"
<*> env "PGSSLCOMPRESSION"
<*> env "PGSSLCERT"
<*> env "PGSSLKEY"
<*> env "PGSSLROOTCERT"
<*> env "PGREQUIREPEER"
<*> env "PGKRBSRVNAME"
<*> env "PGGSSLIB"
<*> env "PGSERVICE"
In an equation for ‘fromEnv’:
fromEnv
= PartialOptions <$> env "PGHOST" <*> env "PGHOSTADDR"
<*> env "PGPORT"
<*> env "PGUSER"
<*> env "PGPASSWORD"
<*> env "PGDATABASE"
<*> env "PGCONNECT_TIMEOUT"
<*> env "PGCLIENTENCODING"
<*> env "PGOPTIONS"
<*> env "PGAPPNAME"
<*> env "PGKEEPALIVES"
<*> env "PGKEEPALIVESIDLE"
<*> env "PGKEEPALIVESCOUNT"
<*> env "PGSSLMODE"
<*> env "PGREQUIRESSL"
<*> env "PGSSLCOMPRESSION"
<*> env "PGSSLCERT"
<*> env "PGSSLKEY"
<*> env "PGSSLROOTCERT"
<*> env "PGREQUIREPEER"
<*> env "PGKRBSRVNAME"
<*> env "PGGSSLIB"
<*> env "PGSERVICE"
In the instance declaration for ‘FromEnv PartialOptions’
|
61 | = PartialOptions
| ^^^^^^^^^^^^^^...
cabal: Leaving directory '/tmp/cabal-tmp-15761/postgresql-simple-opts-0.5.0.0'
cabal: Error: some packages failed to install:
postgresql-simple-opts-0.5.0.0-EUl0koq5xgRCCsLu3MmcAp failed during the
building phase. The exception was:
ExitFailure 1
Test log
No test log was submitted for this report.