Build #3 for api-monobank-

[all reports]

Package api-monobank-
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2019-06-26 23:42:02.260383673 UTC
Compiler ghc-8.6.3
OS linux
Arch x86_64
Dependencies aeson-, base-, bytestring-, http-client-0.6.4, http-client-tls-, http-conduit-, servant-0.16.1, servant-client-0.16, text-, time-, aeson-, base-, bytestring-, http-client-0.6.4, http-conduit-, stm-, text-, time-
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:

Resolving dependencies...
Starting     StateVar-1.2
Starting     base-orphans-0.8.1
Starting     base64-bytestring-
Starting     base-compat-0.10.5
Building     StateVar-1.2
Building     base-orphans-0.8.1
Building     base64-bytestring-
Building     base-compat-0.10.5
Completed    base-orphans-0.8.1
Starting     basement-0.0.10
Completed    StateVar-1.2
Starting     blaze-builder-
Building     basement-0.0.10
Building     blaze-builder-
Completed    base64-bytestring-
Starting     cabal-doctest-1.0.6
Building     cabal-doctest-1.0.6
Completed    blaze-builder-
Starting     cereal-
Completed    cabal-doctest-1.0.6
Starting     data-default-class-
Completed    base-compat-0.10.5
Starting     dlist-
Building     cereal-
Building     data-default-class-
Building     dlist-
Completed    data-default-class-
Starting     hashable-
Building     hashable-
Completed    dlist-
Starting     hourglass-0.2.12
Building     hourglass-0.2.12
Completed    hashable-
Starting     integer-logarithms-1.0.3
Building     integer-logarithms-1.0.3
Completed    cereal-
Starting     mime-types-
Building     mime-types-
Completed    integer-logarithms-1.0.3
Starting     network-
Completed    hourglass-0.2.12
Starting     network-uri-
Building     network-
Building     network-uri-
Completed    mime-types-
Starting     primitive-
Building     primitive-
Completed    network-uri-
Starting     random-1.1
Building     random-1.1
Completed    random-1.1
Starting     safe-0.3.17
Completed    network-
Starting     semigroups-0.19
Building     safe-0.3.17
Building     semigroups-0.19
Completed    semigroups-0.19
Starting     singleton-bool-0.1.4
Building     singleton-bool-0.1.4
Completed    singleton-bool-0.1.4
Starting     split-
Completed    safe-0.3.17
Starting     tagged-0.8.6
Building     split-
Building     tagged-0.8.6
Completed    split-
Starting     th-abstraction-
Building     th-abstraction-
Completed    primitive-
Starting     transformers-compat-0.6.5
Completed    tagged-0.8.6
Starting     unliftio-core-
Building     transformers-compat-0.6.5
Building     unliftio-core-
Completed    unliftio-core-
Starting     utf8-string-
Building     utf8-string-
Completed    transformers-compat-0.6.5
Starting     void-0.7.3
Building     void-0.7.3
Completed    th-abstraction-
Starting     zlib-0.6.2
Building     zlib-0.6.2
Completed    void-0.7.3
Starting     time-compat-
Building     time-compat-
Completed    utf8-string-
Starting     contravariant-1.5.2
Completed    basement-0.0.10
Starting     cookie-0.4.4
Building     contravariant-1.5.2
Building     cookie-0.4.4
Completed    time-compat-
Starting     unordered-containers-
Completed    cookie-0.4.4
Starting     case-insensitive-
Completed    zlib-0.6.2
Starting     async-2.2.2
Building     unordered-containers-
Completed    contravariant-1.5.2
Starting     uuid-types-1.0.3
Building     case-insensitive-
Building     async-2.2.2
Building     uuid-types-1.0.3
Completed    case-insensitive-
Starting     splitmix-0.0.2
Building     splitmix-0.0.2
Completed    async-2.2.2
Starting     vector-
Building     vector-
Completed    uuid-types-1.0.3
Starting     scientific-
Building     scientific-
Completed    splitmix-0.0.2
Starting     distributive-0.6
Building     distributive-0.6
Completed    scientific-
Starting     transformers-base-
Building     transformers-base-
Completed    unordered-containers-
Starting     mmorph-1.1.3
Building     mmorph-1.1.3
Completed    distributive-0.6
Starting     exceptions-0.10.2
Building     exceptions-0.10.2
Completed    transformers-base-
Starting     string-conversions-
Building     string-conversions-
Completed    mmorph-1.1.3
Starting     socks-0.6.0
Building     socks-0.6.0
Completed    string-conversions-
Starting     memory-0.14.18
Building     memory-0.14.18
Completed    exceptions-0.10.2
Starting     http-types-0.12.3
Building     http-types-0.12.3
Completed    socks-0.6.0
Starting     http-media-
Building     http-media-
Completed    http-types-0.12.3
Starting     typed-process-
Building     typed-process-
Completed    http-media-
Starting     streaming-commons-
Building     streaming-commons-
Completed    typed-process-
Starting     QuickCheck-2.13.1
Completed    memory-0.14.18
Starting     attoparsec-
Building     QuickCheck-2.13.1
Building     attoparsec-
Completed    streaming-commons-
Starting     vault-
Building     vault-
Completed    vault-
Starting     comonad-5.0.5
Completed    attoparsec-
Starting     monad-control-
Building     monad-control-
Completed    vector-
Starting     resourcet-1.2.2
Building     comonad-5.0.5
Building     resourcet-1.2.2
Completed    monad-control-
Starting     pem-0.2.4
Building     pem-0.2.4
Completed    pem-0.2.4
Starting     cryptonite-0.26
Completed    resourcet-1.2.2
Starting     asn1-types-0.3.3
Completed    comonad-5.0.5
Building     cryptonite-0.26
Starting     http-client-0.6.4
Building     asn1-types-0.3.3
Building     http-client-0.6.4
Completed    asn1-types-0.3.3
Starting     attoparsec-iso8601-
Building     attoparsec-iso8601-
Completed    QuickCheck-2.13.1
Starting     vector-algorithms-
Building     vector-algorithms-
Completed    attoparsec-iso8601-
Starting     aeson-
Building     aeson-
Completed    http-client-0.6.4
Starting     bifunctors-5.5.4
Building     bifunctors-5.5.4
Completed    vector-algorithms-
Starting     asn1-encoding-0.9.5
Building     asn1-encoding-0.9.5
Completed    asn1-encoding-0.9.5
Starting     http-api-data-0.4.1
Completed    bifunctors-5.5.4
Starting     mono-traversable-
Building     http-api-data-0.4.1
Building     mono-traversable-
Completed    http-api-data-0.4.1
Starting     asn1-parse-0.9.4
Building     asn1-parse-0.9.4
Completed    asn1-parse-0.9.4
Starting     semigroupoids-5.3.2
Building     semigroupoids-5.3.2
Completed    aeson-
Starting     profunctors-5.4
Building     profunctors-5.4
Completed    mono-traversable-
Starting     servant-0.16.1
Building     servant-0.16.1
Completed    semigroupoids-5.3.2
Starting     conduit-
Building     conduit-
Completed    profunctors-5.4
Starting     invariant-0.5.3
Building     invariant-0.5.3
Completed    servant-0.16.1
Starting     free-5.1.1
Building     free-5.1.1
Completed    invariant-0.5.3
Completed    conduit-
Starting     conduit-extra-1.3.3
Building     conduit-extra-1.3.3
Completed    cryptonite-0.26
Starting     x509-1.7.5
Building     x509-1.7.5
Completed    free-5.1.1
Starting     adjunctions-4.4
Starting     servant-client-core-0.16
Completed    conduit-extra-1.3.3
Building     adjunctions-4.4
Building     servant-client-core-0.16
Completed    x509-1.7.5
Starting     x509-store-1.6.7
Building     x509-store-1.6.7
Completed    servant-client-core-0.16
Completed    adjunctions-4.4
Starting     kan-extensions-5.2
Building     kan-extensions-5.2
Completed    x509-store-1.6.7
Starting     x509-system-1.6.6
Starting     x509-validation-1.6.11
Building     x509-system-1.6.6
Building     x509-validation-1.6.11
Completed    x509-system-1.6.6
Completed    x509-validation-1.6.11
Starting     tls-1.5.0
Building     tls-1.5.0
Completed    kan-extensions-5.2
Starting     servant-client-0.16
Building     servant-client-0.16
Completed    servant-client-0.16
Completed    tls-1.5.0
Starting     connection-0.3.0
Building     connection-0.3.0
Completed    connection-0.3.0
Starting     http-client-tls-
Building     http-client-tls-
Completed    http-client-tls-
Starting     http-conduit-
Building     http-conduit-
Completed    http-conduit-
Starting     api-monobank-
Building     api-monobank-
Failed to install api-monobank-
Build log ( /home/builder/.cabal/logs/ghc-8.6.3/api-monobank- ):
cabal: Entering directory '/tmp/cabal-tmp-7176/api-monobank-'
Configuring api-monobank-
Preprocessing library for api-monobank-
Building library for api-monobank-
[1 of 3] Compiling Monobank.Utils   ( src/Monobank/Utils.hs, dist/build/Monobank/Utils.o )
[2 of 3] Compiling Monobank.Types   ( src/Monobank/Types.hs, dist/build/Monobank/Types.o )
[3 of 3] Compiling Monobank.Api     ( src/Monobank/Api.hs, dist/build/Monobank/Api.o )

src/Monobank/Api.hs:81:33: error:
    Not in scope: type constructor or class ‘ServantError’
81 | getCurrencyRates' :: IO (Either ServantError [CurrencyPair])
   |                                 ^^^^^^^^^^^^

src/Monobank/Api.hs:92:32: error:
    Not in scope: type constructor or class ‘ServantError’
92 |                  -> IO (Either ServantError User)
   |                                ^^^^^^^^^^^^

src/Monobank/Api.hs:109:37: error:
    Not in scope: type constructor or class ‘ServantError’
109 |                       -> IO (Either ServantError Statement)
    |                                     ^^^^^^^^^^^^

src/Monobank/Api.hs:121:37: error:
    Not in scope: type constructor or class ‘ServantError’
121 |                       -> IO (Either ServantError Statement)
    |                                     ^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-7176/api-monobank-'
cabal: Error: some packages failed to install:
api-monobank- failed during the building phase.
The exception was:
ExitFailure 1