Build #3 for trasa-form-0.2.0.0

[all reports]

Package trasa-form-0.2.0.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2019-07-29 18:48:26.706630766 UTC
Compiler ghc-8.6.3
OS linux
Arch x86_64
Dependencies base-4.12.0.0, bytestring-0.10.8.2, cookie-0.4.4, ditto-0.2, ditto-lucid-0.2, http-api-data-0.4.1, http-types-0.12.3, lucid-2.9.11, mtl-2.2.2, quantification-0.5.0, text-1.2.3.1, trasa-0.4.1, trasa-server-0.5.4, unordered-containers-0.2.10.0, base-4.12.0.0, bytestring-0.10.8.2, ditto-0.2, ditto-lucid-0.2, lucid-2.9.11, mtl-2.2.2, quantification-0.5.0, text-1.2.3.1, trasa-0.4.1, trasa-extra-0.1.0.0, trasa-server-0.5.4, wai-3.2.2.1, wai-extra-3.0.27, warp-3.3.0
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     appar-0.1.8
Starting     auto-update-0.1.6
Starting     base-orphans-0.8.1
Starting     base-compat-0.10.5
Building     auto-update-0.1.6
Building     appar-0.1.8
Building     base-orphans-0.8.1
Building     base-compat-0.10.5
Completed    base-orphans-0.8.1
Starting     base64-bytestring-1.0.0.2
Completed    appar-0.1.8
Starting     blaze-builder-0.4.1.0
Completed    auto-update-0.1.6
Starting     bsb-http-chunked-0.0.0.4
Building     base64-bytestring-1.0.0.2
Building     blaze-builder-0.4.1.0
Building     bsb-http-chunked-0.0.0.4
Completed    bsb-http-chunked-0.0.0.4
Starting     byteorder-1.0.4
Completed    base64-bytestring-1.0.0.2
Starting     cabal-doctest-1.0.6
Building     byteorder-1.0.4
Building     cabal-doctest-1.0.6
Completed    blaze-builder-0.4.1.0
Starting     colour-2.3.5
Completed    byteorder-1.0.4
Starting     data-default-class-0.1.2.0
Completed    base-compat-0.10.5
Starting     dlist-0.8.0.6
Building     colour-2.3.5
Building     data-default-class-0.1.2.0
Building     dlist-0.8.0.6
Completed    cabal-doctest-1.0.6
Starting     easy-file-0.2.2
Completed    data-default-class-0.1.2.0
Starting     hashable-1.2.7.0
Building     easy-file-0.2.2
Building     hashable-1.2.7.0
Completed    dlist-0.8.0.6
Starting     integer-logarithms-1.0.3
Building     integer-logarithms-1.0.3
Completed    easy-file-0.2.2
Starting     network-3.1.0.1
Completed    integer-logarithms-1.0.3
Starting     network-byte-order-0.1.1.0
Building     network-byte-order-0.1.1.0
Completed    hashable-1.2.7.0
Starting     old-locale-1.0.0.7
Building     old-locale-1.0.0.7
Completed    colour-2.3.5
Starting     path-pieces-0.2.1
Building     path-pieces-0.2.1
Building     network-3.1.0.1
Completed    old-locale-1.0.0.7
Starting     primitive-0.7.0.0
Completed    network-byte-order-0.1.1.0
Starting     random-1.1
Building     primitive-0.7.0.0
Building     random-1.1
Completed    path-pieces-0.2.1
Starting     semigroups-0.19
Building     semigroups-0.19
Completed    semigroups-0.19
Starting     tagged-0.8.6
Building     tagged-0.8.6
Completed    random-1.1
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    network-3.1.0.1
Starting     unix-compat-0.5.1
Building     unix-compat-0.5.1
Completed    th-abstraction-0.3.1.0
Starting     unliftio-core-0.1.2.0
Building     unliftio-core-0.1.2.0
Completed    transformers-compat-0.6.5
Starting     utf8-string-1.0.1.1
Building     utf8-string-1.0.1.1
Completed    unix-compat-0.5.1
Starting     void-0.7.3
Building     void-0.7.3
Completed    unliftio-core-0.1.2.0
Starting     word8-0.1.3
Building     word8-0.1.3
Completed    void-0.7.3
Starting     zlib-0.6.2
Completed    primitive-0.7.0.0
Starting     time-compat-1.9.2.2
Building     zlib-0.6.2
Building     time-compat-1.9.2.2
Completed    word8-0.1.3
Starting     time-manager-0.0.0
Building     time-manager-0.0.0
Completed    utf8-string-1.0.1.1
Starting     cookie-0.4.4
Building     cookie-0.4.4
Completed    time-manager-0.0.0
Starting     unordered-containers-0.2.10.0
Building     unordered-containers-0.2.10.0
Completed    cookie-0.4.4
Starting     psqueues-0.2.7.2
Completed    time-compat-1.9.2.2
Starting     case-insensitive-1.2.1.0
Building     psqueues-0.2.7.2
Building     case-insensitive-1.2.1.0
Completed    zlib-0.6.2
Starting     async-2.2.2
Building     async-2.2.2
Completed    case-insensitive-1.2.1.0
Starting     ansi-terminal-0.9.1
Building     ansi-terminal-0.9.1
Completed    async-2.2.2
Starting     old-time-1.1.0.3
Building     old-time-1.1.0.3
Completed    psqueues-0.2.7.2
Starting     ditto-0.2
Building     ditto-0.2
Completed    ansi-terminal-0.9.1
Starting     uuid-types-1.0.3
Building     uuid-types-1.0.3
Completed    unordered-containers-0.2.10.0
Starting     simple-sendfile-0.2.28
Building     simple-sendfile-0.2.28
Completed    old-time-1.1.0.3
Starting     iproute-1.7.7
Building     iproute-1.7.7
Completed    simple-sendfile-0.2.28
Starting     mmorph-1.1.3
Completed    uuid-types-1.0.3
Starting     exceptions-0.10.2
Building     mmorph-1.1.3
Completed    ditto-0.2
Starting     vector-0.12.0.3
Building     exceptions-0.10.2
Building     vector-0.12.0.3
Completed    mmorph-1.1.3
Starting     scientific-0.3.6.2
Building     scientific-0.3.6.2
Completed    iproute-1.7.7
Starting     http-types-0.12.3
Building     http-types-0.12.3
Completed    exceptions-0.10.2
Starting     http-media-0.7.1.3
Building     http-media-0.7.1.3
Completed    scientific-0.3.6.2
Starting     streaming-commons-0.2.1.1
Completed    http-types-0.12.3
Starting     vault-0.3.1.3
Completed    http-media-0.7.1.3
Starting     unix-time-0.4.7
Building     streaming-commons-0.2.1.1
Building     vault-0.3.1.3
Building     unix-time-0.4.7
Completed    vault-0.3.1.3
Starting     lucid-2.9.11
Building     lucid-2.9.11
Completed    unix-time-0.4.7
Starting     resourcet-1.2.2
Building     resourcet-1.2.2
Completed    lucid-2.9.11
Starting     attoparsec-0.13.2.2
Completed    streaming-commons-0.2.1.1
Starting     http2-2.0.3
Building     attoparsec-0.13.2.2
Building     http2-2.0.3
Completed    resourcet-1.2.2
Starting     wai-3.2.2.1
Building     wai-3.2.2.1
Completed    wai-3.2.2.1
Starting     fast-logger-2.4.16
Building     fast-logger-2.4.16
Completed    fast-logger-2.4.16
Starting     ditto-lucid-0.2
Building     ditto-lucid-0.2
Completed    attoparsec-0.13.2.2
Starting     wai-logger-2.3.5
Completed    ditto-lucid-0.2
Starting     http-date-0.0.8
Building     wai-logger-2.3.5
Building     http-date-0.0.8
Completed    wai-logger-2.3.5
Starting     attoparsec-iso8601-1.0.1.0
Completed    http-date-0.0.8
Building     attoparsec-iso8601-1.0.1.0
Completed    vector-0.12.0.3
Starting     aeson-1.4.4.0
Building     aeson-1.4.4.0
Completed    http2-2.0.3
Starting     warp-3.3.0
Completed    attoparsec-iso8601-1.0.1.0
Starting     http-api-data-0.4.1
Building     warp-3.3.0
Building     http-api-data-0.4.1
Completed    http-api-data-0.4.1
Completed    warp-3.3.0
Completed    aeson-1.4.4.0
Starting     quantification-0.5.0
Starting     wai-extra-3.0.27
Building     quantification-0.5.0
Building     wai-extra-3.0.27
Completed    quantification-0.5.0
Starting     trasa-0.4.1
Building     trasa-0.4.1
Completed    wai-extra-3.0.27
Completed    trasa-0.4.1
Starting     trasa-server-0.5.4
Building     trasa-server-0.5.4
Completed    trasa-server-0.5.4
Starting     trasa-extra-0.1.0.0
Building     trasa-extra-0.1.0.0
Completed    trasa-extra-0.1.0.0
Starting     trasa-form-0.2.0.0
Building     trasa-form-0.2.0.0
Failed to install trasa-form-0.2.0.0
Build log ( /home/builder/.cabal/logs/ghc-8.6.3/trasa-form-0.2.0.0-GyZP1WHoNFv2wGva7gGFl4.log ):
cabal: Entering directory '/tmp/cabal-tmp-30441/trasa-form-0.2.0.0'
Configuring trasa-form-0.2.0.0...
Preprocessing library for trasa-form-0.2.0.0..
Building library for trasa-form-0.2.0.0..
[1 of 2] Compiling Trasa.Form       ( src/Trasa/Form.hs, dist/build/Trasa/Form.o )
[2 of 2] Compiling Trasa.Form.Lucid ( src/Trasa/Form/Lucid.hs, dist/build/Trasa/Form/Lucid.o )
Preprocessing executable 'test-server' for trasa-form-0.2.0.0..
Building executable 'test-server' for trasa-form-0.2.0.0..
[1 of 1] Compiling Main             ( app/Main.hs, dist/build/test-server/test-server-tmp/Main.o )

app/Main.hs:149:3: error:
    • No instance for (Monad (Form (TrasaT IO) Text Text (Html ())))
        arising from a do statement
    • In a stmt of a 'do' block: label "Int Field 1" "int1"
      In the expression:
        do label "Int Field 1" "int1"
           int1 <- inputInt readInt "int1" 0
           label "Bool Field 1" "bool1"
           bool1 <- inputYesNo "bool1"
           ....
      In an equation for ‘formFoo’:
          formFoo
            = do label "Int Field 1" "int1"
                 int1 <- inputInt readInt "int1" 0
                 label "Bool Field 1" "bool1"
                 ....
    |
149 |   label "Int Field 1" "int1"
    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-30441/trasa-form-0.2.0.0'
cabal: Error: some packages failed to install:
trasa-form-0.2.0.0-GyZP1WHoNFv2wGva7gGFl4 failed during the building phase.
The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.