Build #3 for wolf-0.3.46

[all reports]

Package wolf-0.3.46
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2019-01-31 19:18:18.649567644 UTC
Compiler ghc-8.6.3
OS linux
Arch x86_64
Dependencies aeson-1.4.2.0, amazonka-1.6.0, amazonka-swf-1.6.0, base-4.12.0.0, bytestring-0.10.8.2, conduit-1.3.1, directory-1.3.3.0, filepath-1.4.2.1, http-types-0.12.2, lifted-async-0.10.0.3, lifted-base-0.2.3.12, preamble-0.0.65, process-1.6.3.0, time-1.8.0.2, uuid-1.3.13, yaml-0.11.0.0, base-4.12.0.0, optparse-generic-1.3.0, base-4.12.0.0, optparse-generic-1.3.0, base-4.12.0.0, optparse-generic-1.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     Only-0.1
Starting     auto-update-0.1.4
Starting     StateVar-1.1.1.1
Starting     base-compat-0.10.5
Building     StateVar-1.1.1.1
Building     auto-update-0.1.4
Building     Only-0.1
Building     base-compat-0.10.5
Completed    StateVar-1.1.1.1
Starting     base-orphans-0.8
Completed    Only-0.1
Starting     basement-0.0.8
Completed    auto-update-0.1.4
Starting     blaze-builder-0.4.1.0
Building     base-orphans-0.8
Building     basement-0.0.8
Building     blaze-builder-0.4.1.0
Completed    base-orphans-0.8
Starting     byteable-0.1.1
Building     byteable-0.1.1
Completed    byteable-0.1.1
Starting     cabal-doctest-1.0.6
Building     cabal-doctest-1.0.6
Completed    base-compat-0.10.5
Starting     call-stack-0.1.0
Completed    blaze-builder-0.4.1.0
Starting     cereal-0.5.8.0
Building     call-stack-0.1.0
Building     cereal-0.5.8.0
Completed    call-stack-0.1.0
Starting     colour-2.3.4
Building     colour-2.3.4
Completed    cabal-doctest-1.0.6
Starting     cryptohash-md5-0.11.100.1
Building     cryptohash-md5-0.11.100.1
Completed    cryptohash-md5-0.11.100.1
Starting     cryptohash-sha1-0.11.100.1
Building     cryptohash-sha1-0.11.100.1
Completed    cereal-0.5.8.0
Starting     data-default-class-0.1.2.0
Completed    cryptohash-sha1-0.11.100.1
Starting     dlist-0.8.0.5
Building     data-default-class-0.1.2.0
Building     dlist-0.8.0.5
Completed    colour-2.3.4
Starting     easy-file-0.2.2
Building     easy-file-0.2.2
Completed    data-default-class-0.1.2.0
Starting     entropy-0.4.1.4
Completed    dlist-0.8.0.5
Starting     hashable-1.2.7.0
Building     hashable-1.2.7.0
Completed    easy-file-0.2.2
Starting     hourglass-0.2.12
Building     entropy-0.4.1.4
Building     hourglass-0.2.12
Completed    entropy-0.4.1.4
Starting     integer-logarithms-1.0.2.2
Completed    hashable-1.2.7.0
Starting     mime-types-0.1.0.9
Building     integer-logarithms-1.0.2.2
Building     mime-types-0.1.0.9
Completed    integer-logarithms-1.0.2.2
Starting     monad-loops-0.4.3
Building     monad-loops-0.4.3
Completed    hourglass-0.2.12
Starting     network-2.8.0.0
Completed    monad-loops-0.4.3
Starting     network-info-0.2.0.10
Building     network-info-0.2.0.10
Completed    mime-types-0.1.0.9
Starting     network-uri-2.6.1.0
Completed    network-info-0.2.0.10
Starting     old-locale-1.0.0.7
Building     network-uri-2.6.1.0
Building     old-locale-1.0.0.7
Building     network-2.8.0.0
Completed    old-locale-1.0.0.7
Starting     parallel-3.2.2.0
Building     parallel-3.2.2.0
Completed    network-uri-2.6.1.0
Starting     primitive-0.6.4.0
Building     primitive-0.6.4.0
Completed    parallel-3.2.2.0
Starting     random-1.1
Building     random-1.1
Completed    random-1.1
Starting     reflection-2.1.4
Completed    network-2.8.0.0
Starting     safe-0.3.17
Building     reflection-2.1.4
Building     safe-0.3.17
Completed    basement-0.0.8
Starting     semigroups-0.18.5
Building     semigroups-0.18.5
Completed    safe-0.3.17
Starting     split-0.2.3.3
Completed    semigroups-0.18.5
Starting     stm-chans-3.0.0.4
Building     split-0.2.3.3
Completed    reflection-2.1.4
Starting     system-filepath-0.4.14
Completed    split-0.2.3.3
Starting     tagged-0.8.6
Building     stm-chans-3.0.0.4
Building     tagged-0.8.6
Completed    primitive-0.6.4.0
Starting     text-manipulate-0.2.0.1
Building     text-manipulate-0.2.0.1
Building     system-filepath-0.4.14
Completed    stm-chans-3.0.0.4
Starting     th-abstraction-0.2.10.0
Completed    text-manipulate-0.2.0.1
Starting     time-locale-compat-0.1.1.5
Completed    tagged-0.8.6
Starting     transformers-compat-0.6.2
Building     th-abstraction-0.2.10.0
Building     time-locale-compat-0.1.1.5
Building     transformers-compat-0.6.2
Completed    system-filepath-0.4.14
Starting     unix-compat-0.5.1
Completed    time-locale-compat-0.1.1.5
Starting     unliftio-core-0.1.2.0
Building     unix-compat-0.5.1
Building     unliftio-core-0.1.2.0
Completed    unliftio-core-0.1.2.0
Starting     void-0.7.2
Completed    transformers-compat-0.6.2
Starting     xml-types-0.3.6
Completed    unix-compat-0.5.1
Starting     zlib-0.6.2
Building     void-0.7.2
Building     xml-types-0.3.6
Completed    th-abstraction-0.2.10.0
Starting     contravariant-1.5
Building     zlib-0.6.2
Building     contravariant-1.5
Completed    void-0.7.2
Starting     blaze-markup-0.8.2.2
Building     blaze-markup-0.8.2.2
Completed    xml-types-0.3.6
Starting     ansi-terminal-0.9
Completed    contravariant-1.5
Starting     cookie-0.4.4
Building     ansi-terminal-0.9
Building     cookie-0.4.4
Completed    blaze-markup-0.8.2.2
Starting     unordered-containers-0.2.10.0
Building     unordered-containers-0.2.10.0
Completed    zlib-0.6.2
Starting     case-insensitive-1.2.0.11
Building     case-insensitive-1.2.0.11
Completed    cookie-0.4.4
Starting     async-2.2.1
Building     async-2.2.1
Completed    ansi-terminal-0.9
Starting     old-time-1.1.0.3
Completed    case-insensitive-1.2.0.11
Starting     uuid-types-1.0.3
Building     uuid-types-1.0.3
Completed    async-2.2.1
Starting     socks-0.5.6
Building     old-time-1.1.0.3
Building     socks-0.5.6
Completed    uuid-types-1.0.3
Starting     memory-0.14.18
Building     memory-0.14.18
Completed    old-time-1.1.0.3
Starting     vector-0.12.0.2
Building     vector-0.12.0.2
Completed    socks-0.5.6
Starting     scientific-0.3.6.2
Building     scientific-0.3.6.2
Completed    unordered-containers-0.2.10.0
Starting     distributive-0.6
Building     distributive-0.6
Completed    scientific-0.3.6.2
Starting     transformers-base-0.4.5.2
Building     transformers-base-0.4.5.2
Completed    distributive-0.6
Starting     mmorph-1.1.2
Building     mmorph-1.1.2
Completed    transformers-base-0.4.5.2
Starting     exceptions-0.10.0
Building     exceptions-0.10.0
Completed    memory-0.14.18
Starting     constraints-0.10.1
Building     constraints-0.10.1
Completed    mmorph-1.1.2
Starting     MonadRandom-0.5.1.1
Building     MonadRandom-0.5.1.1
Completed    exceptions-0.10.0
Starting     blaze-html-0.9.1.1
Building     blaze-html-0.9.1.1
Completed    MonadRandom-0.5.1.1
Starting     ansi-wl-pprint-0.6.8.2
Building     ansi-wl-pprint-0.6.8.2
Completed    constraints-0.10.1
Starting     http-types-0.12.2
Building     http-types-0.12.2
Completed    ansi-wl-pprint-0.6.8.2
Starting     typed-process-0.2.4.0
Building     typed-process-0.2.4.0
Completed    http-types-0.12.2
Starting     streaming-commons-0.2.1.0
Building     streaming-commons-0.2.1.0
Completed    typed-process-0.2.4.0
Starting     uuid-1.3.13
Building     uuid-1.3.13
Completed    uuid-1.3.13
Starting     unix-time-0.4.5
Building     unix-time-0.4.5
Completed    streaming-commons-0.2.1.0
Starting     attoparsec-0.13.2.2
Completed    unix-time-0.4.5
Starting     comonad-5.0.4
Building     attoparsec-0.13.2.2
Completed    vector-0.12.0.2
Starting     monad-control-1.0.2.3
Building     monad-control-1.0.2.3
Building     comonad-5.0.4
Completed    blaze-html-0.9.1.1
Starting     pem-0.2.4
Building     pem-0.2.4
Completed    monad-control-1.0.2.3
Starting     cryptonite-0.25
Building     cryptonite-0.25
Completed    pem-0.2.4
Starting     asn1-types-0.3.2
Building     asn1-types-0.3.2
Completed    comonad-5.0.4
Starting     retry-0.8.0.0
Building     retry-0.8.0.0
Completed    attoparsec-0.13.2.2
Starting     resourcet-1.2.2
Building     resourcet-1.2.2
Completed    asn1-types-0.3.2
Starting     optparse-applicative-0.14.3.0
Completed    retry-0.8.0.0
Starting     http-client-0.5.14
Building     optparse-applicative-0.14.3.0
Building     http-client-0.5.14
Completed    resourcet-1.2.2
Starting     fast-logger-2.4.13
Building     fast-logger-2.4.13
Completed    fast-logger-2.4.13
Starting     vector-algorithms-0.8.0.1
Building     vector-algorithms-0.8.0.1
Completed    optparse-applicative-0.14.3.0
Starting     basic-prelude-0.7.0
Building     basic-prelude-0.7.0
Completed    http-client-0.5.14
Starting     lifted-base-0.2.3.12
Building     lifted-base-0.2.3.12
Completed    basic-prelude-0.7.0
Starting     bifunctors-5.5.3
Building     bifunctors-5.5.3
Completed    lifted-base-0.2.3.12
Starting     ini-0.4.1
Building     ini-0.4.1
Completed    vector-algorithms-0.8.0.1
Starting     aeson-1.4.2.0
Building     aeson-1.4.2.0
Completed    ini-0.4.1
Starting     asn1-encoding-0.9.5
Building     asn1-encoding-0.9.5
Completed    asn1-encoding-0.9.5
Starting     optparse-generic-1.3.0
Completed    bifunctors-5.5.3
Starting     lifted-async-0.10.0.3
Building     optparse-generic-1.3.0
Building     lifted-async-0.10.0.3
Completed    lifted-async-0.10.0.3
Starting     mono-traversable-1.0.10.0
Building     mono-traversable-1.0.10.0
Completed    optparse-generic-1.3.0
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    mono-traversable-1.0.10.0
Starting     profunctors-5.3
Building     profunctors-5.3
Completed    semigroupoids-5.3.2
Starting     conduit-1.3.1
Completed    aeson-1.4.2.0
Building     conduit-1.3.1
Completed    profunctors-5.3
Starting     invariant-0.5.1
Starting     free-5.1
Building     invariant-0.5.1
Building     free-5.1
Completed    cryptonite-0.25
Starting     x509-1.7.5
Building     x509-1.7.5
Completed    invariant-0.5.1
Completed    conduit-1.3.1
Starting     libyaml-0.1.0.0
Starting     conduit-extra-1.3.0
Building     conduit-extra-1.3.0
Building     libyaml-0.1.0.0
Completed    x509-1.7.5
Starting     x509-store-1.6.7
Building     x509-store-1.6.7
Completed    x509-store-1.6.7
Starting     x509-validation-1.6.11
Building     x509-validation-1.6.11
Completed    conduit-extra-1.3.0
Starting     x509-system-1.6.6
Building     x509-system-1.6.6
Completed    free-5.1
Starting     xml-conduit-1.8.0.1
Completed    libyaml-0.1.0.0
Starting     monad-logger-0.3.30
Completed    x509-system-1.6.6
Starting     adjunctions-4.4
Building     xml-conduit-1.8.0.1
Completed    x509-validation-1.6.11
Starting     yaml-0.11.0.0
Building     monad-logger-0.3.30
Building     adjunctions-4.4
Building     yaml-0.11.0.0
Completed    yaml-0.11.0.0
Starting     tls-1.4.1
Completed    adjunctions-4.4
Starting     kan-extensions-5.2
Building     tls-1.4.1
Completed    monad-logger-0.3.30
Building     kan-extensions-5.2
Completed    xml-conduit-1.8.0.1
Completed    kan-extensions-5.2
Starting     lens-4.17
Building     lens-4.17
Completed    tls-1.4.1
Starting     connection-0.2.8
Building     connection-0.2.8
Completed    connection-0.2.8
Starting     http-client-tls-0.3.5.3
Building     http-client-tls-0.3.5.3
Completed    http-client-tls-0.3.5.3
Starting     http-conduit-2.3.5
Building     http-conduit-2.3.5
Completed    http-conduit-2.3.5
Completed    lens-4.17
Starting     preamble-0.0.65
Starting     amazonka-core-1.6.0
Building     preamble-0.0.65
Building     amazonka-core-1.6.0
Completed    preamble-0.0.65
Completed    amazonka-core-1.6.0
Starting     amazonka-1.6.0
Starting     amazonka-swf-1.6.0
Building     amazonka-1.6.0
Building     amazonka-swf-1.6.0
Completed    amazonka-1.6.0
Completed    amazonka-swf-1.6.0
Starting     wolf-0.3.46
Building     wolf-0.3.46
Failed to install wolf-0.3.46
Build log ( /home/builder/.cabal/logs/ghc-8.6.3/wolf-0.3.46-CAMoaXeGDtLCe45lYxnLzu.log ):
cabal: Entering directory '/tmp/cabal-tmp-26593/wolf-0.3.46'
Configuring wolf-0.3.46...
Preprocessing library for wolf-0.3.46..
Building library for wolf-0.3.46..
[ 1 of 12] Compiling Network.AWS.Wolf.Prelude ( src/Network/AWS/Wolf/Prelude.hs, dist/build/Network/AWS/Wolf/Prelude.o )
[ 2 of 12] Compiling Network.AWS.Wolf.File ( src/Network/AWS/Wolf/File.hs, dist/build/Network/AWS/Wolf/File.o )

src/Network/AWS/Wolf/File.hs:97:22: warning: [-Wdeprecations]
    In the use of ‘decodeEither’ (imported from Data.Yaml):
    Deprecated: "Please use decodeEither' or decodeThrow, which provide more useful failures"
   |
97 |     eitherThrowIO' $ decodeEither body
   |                      ^^^^^^^^^^^^
[ 3 of 12] Compiling Network.AWS.Wolf.Types.Product ( src/Network/AWS/Wolf/Types/Product.hs, dist/build/Network/AWS/Wolf/Types/Product.o )
[ 4 of 12] Compiling Network.AWS.Wolf.Types.Ctx ( src/Network/AWS/Wolf/Types/Ctx.hs, dist/build/Network/AWS/Wolf/Types/Ctx.o )
[ 5 of 12] Compiling Network.AWS.Wolf.Types.Sum ( src/Network/AWS/Wolf/Types/Sum.hs, dist/build/Network/AWS/Wolf/Types/Sum.o )
[ 6 of 12] Compiling Network.AWS.Wolf.Types ( src/Network/AWS/Wolf/Types.hs, dist/build/Network/AWS/Wolf/Types.o )
[ 7 of 12] Compiling Network.AWS.Wolf.Ctx ( src/Network/AWS/Wolf/Ctx.hs, dist/build/Network/AWS/Wolf/Ctx.o )
[ 8 of 12] Compiling Network.AWS.Wolf.SWF ( src/Network/AWS/Wolf/SWF.hs, dist/build/Network/AWS/Wolf/SWF.o )

src/Network/AWS/Wolf/SWF.hs:33:3: error:
    • Could not deduce (unliftio-core-0.1.2.0:Control.Monad.IO.Unlift.MonadUnliftIO
                          m)
        arising from a use of ‘runResourceT’
      from the context: MonadAmazonWork c m
        bound by the type signature for:
                   pollActivity :: forall c (m :: * -> *).
                                   MonadAmazonWork c m =>
                                   m (Maybe Text, Maybe Text, Maybe Text)
        at src/Network/AWS/Wolf/SWF.hs:29:1-77
      Possible fix:
        add (unliftio-core-0.1.2.0:Control.Monad.IO.Unlift.MonadUnliftIO
               m) to the context of
          the type signature for:
            pollActivity :: forall c (m :: * -> *).
                            MonadAmazonWork c m =>
                            m (Maybe Text, Maybe Text, Maybe Text)
    • In a stmt of a 'do' block:
        runResourceT
          $ runAmazonCtx
              $ do pfatrs <- send (pollForActivityTask d tl)
                   pure
                     (pfatrs ^. pfatrsTaskToken, 
                      view weWorkflowId <$> pfatrs ^. pfatrsWorkflowExecution, 
                      pfatrs ^. pfatrsInput)
      In the expression:
        do d <- view cDomain <$> view ccConf
           tl <- taskList <$> view awcQueue
           runResourceT
             $ runAmazonCtx
                 $ do pfatrs <- send (pollForActivityTask d tl)
                      pure
                        (pfatrs ^. pfatrsTaskToken, 
                         view weWorkflowId <$> pfatrs ^. pfatrsWorkflowExecution, 
                         pfatrs ^. pfatrsInput)
      In an equation for ‘pollActivity’:
          pollActivity
            = do d <- view cDomain <$> view ccConf
                 tl <- taskList <$> view awcQueue
                 runResourceT
                   $ runAmazonCtx
                       $ do pfatrs <- send (pollForActivityTask d tl)
                            ....
   |
33 |   runResourceT $ runAmazonCtx $ do
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...

src/Network/AWS/Wolf/SWF.hs:33:18: error:
    • Could not deduce (MonadBaseControl
                          IO
                          (resourcet-1.2.2:Control.Monad.Trans.Resource.Internal.ResourceT
                             m))
        arising from a use of ‘runAmazonCtx’
      from the context: MonadAmazonWork c m
        bound by the type signature for:
                   pollActivity :: forall c (m :: * -> *).
                                   MonadAmazonWork c m =>
                                   m (Maybe Text, Maybe Text, Maybe Text)
        at src/Network/AWS/Wolf/SWF.hs:29:1-77
    • In the second argument of ‘($)’, namely
        ‘runAmazonCtx
           $ do pfatrs <- send (pollForActivityTask d tl)
                pure
                  (pfatrs ^. pfatrsTaskToken, 
                   view weWorkflowId <$> pfatrs ^. pfatrsWorkflowExecution, 
                   pfatrs ^. pfatrsInput)’
      In a stmt of a 'do' block:
        runResourceT
          $ runAmazonCtx
              $ do pfatrs <- send (pollForActivityTask d tl)
                   pure
                     (pfatrs ^. pfatrsTaskToken, 
                      view weWorkflowId <$> pfatrs ^. pfatrsWorkflowExecution, 
                      pfatrs ^. pfatrsInput)
      In the expression:
        do d <- view cDomain <$> view ccConf
           tl <- taskList <$> view awcQueue
           runResourceT
             $ runAmazonCtx
                 $ do pfatrs <- send (pollForActivityTask d tl)
                      pure
                        (pfatrs ^. pfatrsTaskToken, 
                         view weWorkflowId <$> pfatrs ^. pfatrsWorkflowExecution, 
                         pfatrs ^. pfatrsInput)
   |
33 |   runResourceT $ runAmazonCtx $ do
   |                  ^^^^^^^^^^^^^^^^^...

src/Network/AWS/Wolf/SWF.hs:47:3: error:
    • Could not deduce (unliftio-core-0.1.2.0:Control.Monad.IO.Unlift.MonadUnliftIO
                          m)
        arising from a use of ‘runResourceT’
      from the context: MonadAmazonWork c m
        bound by the type signature for:
                   pollDecision :: forall c (m :: * -> *).
                                   MonadAmazonWork c m =>
                                   m (Maybe Text, [HistoryEvent])
        at src/Network/AWS/Wolf/SWF.hs:43:1-69
      Possible fix:
        add (unliftio-core-0.1.2.0:Control.Monad.IO.Unlift.MonadUnliftIO
               m) to the context of
          the type signature for:
            pollDecision :: forall c (m :: * -> *).
                            MonadAmazonWork c m =>
                            m (Maybe Text, [HistoryEvent])
    • In a stmt of a 'do' block:
        runResourceT
          $ runAmazonCtx
              $ do pfdtrs <- paginate (pollForDecisionTask d tl) $$ consume
                   pure
                     (join $ headMay $ view pfdtrsTaskToken <$> pfdtrs, 
                      reverse $ concatMap (view pfdtrsEvents) pfdtrs)
      In the expression:
        do d <- view cDomain <$> view ccConf
           tl <- taskList <$> view awcQueue
           runResourceT
             $ runAmazonCtx
                 $ do pfdtrs <- paginate (pollForDecisionTask d tl) $$ consume
                      pure
                        (join $ headMay $ view pfdtrsTaskToken <$> pfdtrs, 
                         reverse $ concatMap (view pfdtrsEvents) pfdtrs)
      In an equation for ‘pollDecision’:
          pollDecision
            = do d <- view cDomain <$> view ccConf
                 tl <- taskList <$> view awcQueue
                 runResourceT
                   $ runAmazonCtx
                       $ do pfdtrs <- paginate (pollForDecisionTask d tl) $$ consume
                            ....
   |
47 |   runResourceT $ runAmazonCtx $ do
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...

src/Network/AWS/Wolf/SWF.hs:47:18: error:
    • Could not deduce (MonadBaseControl
                          IO
                          (resourcet-1.2.2:Control.Monad.Trans.Resource.Internal.ResourceT
                             m))
        arising from a use of ‘runAmazonCtx’
      from the context: MonadAmazonWork c m
        bound by the type signature for:
                   pollDecision :: forall c (m :: * -> *).
                                   MonadAmazonWork c m =>
                                   m (Maybe Text, [HistoryEvent])
        at src/Network/AWS/Wolf/SWF.hs:43:1-69
    • In the second argument of ‘($)’, namely
        ‘runAmazonCtx
           $ do pfdtrs <- paginate (pollForDecisionTask d tl) $$ consume
                pure
                  (join $ headMay $ view pfdtrsTaskToken <$> pfdtrs, 
                   reverse $ concatMap (view pfdtrsEvents) pfdtrs)’
      In a stmt of a 'do' block:
        runResourceT
          $ runAmazonCtx
              $ do pfdtrs <- paginate (pollForDecisionTask d tl) $$ consume
                   pure
                     (join $ headMay $ view pfdtrsTaskToken <$> pfdtrs, 
                      reverse $ concatMap (view pfdtrsEvents) pfdtrs)
      In the expression:
        do d <- view cDomain <$> view ccConf
           tl <- taskList <$> view awcQueue
           runResourceT
             $ runAmazonCtx
                 $ do pfdtrs <- paginate (pollForDecisionTask d tl) $$ consume
                      pure
                        (join $ headMay $ view pfdtrsTaskToken <$> pfdtrs, 
                         reverse $ concatMap (view pfdtrsEvents) pfdtrs)
   |
47 |   runResourceT $ runAmazonCtx $ do
   |                  ^^^^^^^^^^^^^^^^^...

src/Network/AWS/Wolf/SWF.hs:60:3: error:
    • Could not deduce (unliftio-core-0.1.2.0:Control.Monad.IO.Unlift.MonadUnliftIO
                          m)
        arising from a use of ‘runResourceT’
      from the context: MonadAmazonWork c m
        bound by the type signature for:
                   countActivities :: forall c (m :: * -> *).
                                      MonadAmazonWork c m =>
                                      m Int
        at src/Network/AWS/Wolf/SWF.hs:56:1-47
      Possible fix:
        add (unliftio-core-0.1.2.0:Control.Monad.IO.Unlift.MonadUnliftIO
               m) to the context of
          the type signature for:
            countActivities :: forall c (m :: * -> *).
                               MonadAmazonWork c m =>
                               m Int
    • In a stmt of a 'do' block:
        runResourceT
          $ runAmazonCtx
              $ do ptc <- send (countPendingActivityTasks d tl)
                   pure $ fromIntegral (ptc ^. ptcCount)
      In the expression:
        do d <- view cDomain <$> view ccConf
           tl <- taskList <$> view awcQueue
           runResourceT
             $ runAmazonCtx
                 $ do ptc <- send (countPendingActivityTasks d tl)
                      pure $ fromIntegral (ptc ^. ptcCount)
      In an equation for ‘countActivities’:
          countActivities
            = do d <- view cDomain <$> view ccConf
                 tl <- taskList <$> view awcQueue
                 runResourceT
                   $ runAmazonCtx
                       $ do ptc <- send (countPendingActivityTasks d tl)
                            ....
   |
60 |   runResourceT $ runAmazonCtx $ do
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...

src/Network/AWS/Wolf/SWF.hs:60:18: error:
    • Could not deduce (MonadBaseControl
                          IO
                          (resourcet-1.2.2:Control.Monad.Trans.Resource.Internal.ResourceT
                             m))
        arising from a use of ‘runAmazonCtx’
      from the context: MonadAmazonWork c m
        bound by the type signature for:
                   countActivities :: forall c (m :: * -> *).
                                      MonadAmazonWork c m =>
                                      m Int
        at src/Network/AWS/Wolf/SWF.hs:56:1-47
    • In the second argument of ‘($)’, namely
        ‘runAmazonCtx
           $ do ptc <- send (countPendingActivityTasks d tl)
                pure $ fromIntegral (ptc ^. ptcCount)’
      In a stmt of a 'do' block:
        runResourceT
          $ runAmazonCtx
              $ do ptc <- send (countPendingActivityTasks d tl)
                   pure $ fromIntegral (ptc ^. ptcCount)
      In the expression:
        do d <- view cDomain <$> view ccConf
           tl <- taskList <$> view awcQueue
           runResourceT
             $ runAmazonCtx
                 $ do ptc <- send (countPendingActivityTasks d tl)
                      pure $ fromIntegral (ptc ^. ptcCount)
   |
60 |   runResourceT $ runAmazonCtx $ do
   |                  ^^^^^^^^^^^^^^^^^...

src/Network/AWS/Wolf/SWF.hs:70:3: error:
    • Could not deduce (unliftio-core-0.1.2.0:Control.Monad.IO.Unlift.MonadUnliftIO
                          m)
        arising from a use of ‘runResourceT’
      from the context: MonadAmazonWork c m
        bound by the type signature for:
                   countDecisions :: forall c (m :: * -> *).
                                     MonadAmazonWork c m =>
                                     m Int
        at src/Network/AWS/Wolf/SWF.hs:66:1-46
      Possible fix:
        add (unliftio-core-0.1.2.0:Control.Monad.IO.Unlift.MonadUnliftIO
               m) to the context of
          the type signature for:
            countDecisions :: forall c (m :: * -> *).
                              MonadAmazonWork c m =>
                              m Int
    • In a stmt of a 'do' block:
        runResourceT
          $ runAmazonCtx
              $ do ptc <- send (countPendingDecisionTasks d tl)
                   pure $ fromIntegral (ptc ^. ptcCount)
      In the expression:
        do d <- view cDomain <$> view ccConf
           tl <- taskList <$> view awcQueue
           runResourceT
             $ runAmazonCtx
                 $ do ptc <- send (countPendingDecisionTasks d tl)
                      pure $ fromIntegral (ptc ^. ptcCount)
      In an equation for ‘countDecisions’:
          countDecisions
            = do d <- view cDomain <$> view ccConf
                 tl <- taskList <$> view awcQueue
                 runResourceT
                   $ runAmazonCtx
                       $ do ptc <- send (countPendingDecisionTasks d tl)
                            ....
   |
70 |   runResourceT $ runAmazonCtx $ do
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...

src/Network/AWS/Wolf/SWF.hs:70:18: error:
    • Could not deduce (MonadBaseControl
                          IO
                          (resourcet-1.2.2:Control.Monad.Trans.Resource.Internal.ResourceT
                             m))
        arising from a use of ‘runAmazonCtx’
      from the context: MonadAmazonWork c m
        bound by the type signature for:
                   countDecisions :: forall c (m :: * -> *).
                                     MonadAmazonWork c m =>
                                     m Int
        at src/Network/AWS/Wolf/SWF.hs:66:1-46
    • In the second argument of ‘($)’, namely
        ‘runAmazonCtx
           $ do ptc <- send (countPendingDecisionTasks d tl)
                pure $ fromIntegral (ptc ^. ptcCount)’
      In a stmt of a 'do' block:
        runResourceT
          $ runAmazonCtx
              $ do ptc <- send (countPendingDecisionTasks d tl)
                   pure $ fromIntegral (ptc ^. ptcCount)
      In the expression:
        do d <- view cDomain <$> view ccConf
           tl <- taskList <$> view awcQueue
           runResourceT
             $ runAmazonCtx
                 $ do ptc <- send (countPendingDecisionTasks d tl)
                      pure $ fromIntegral (ptc ^. ptcCount)
   |
70 |   runResourceT $ runAmazonCtx $ do
   |                  ^^^^^^^^^^^^^^^^^...

src/Network/AWS/Wolf/SWF.hs:78:3: error:
    • Could not deduce (unliftio-core-0.1.2.0:Control.Monad.IO.Unlift.MonadUnliftIO
                          m)
        arising from a use of ‘runResourceT’
      from the context: MonadConf c m
        bound by the type signature for:
                   completeActivity :: forall c (m :: * -> *).
                                       MonadConf c m =>
                                       Text -> Maybe Text -> m ()
        at src/Network/AWS/Wolf/SWF.hs:76:1-63
      Possible fix:
        add (unliftio-core-0.1.2.0:Control.Monad.IO.Unlift.MonadUnliftIO
               m) to the context of
          the type signature for:
            completeActivity :: forall c (m :: * -> *).
                                MonadConf c m =>
                                Text -> Maybe Text -> m ()
    • In the expression:
        runResourceT
          $ runAmazonCtx
              $ void
                  $ send $ set ratcResult output $ respondActivityTaskCompleted token
      In an equation for ‘completeActivity’:
          completeActivity token output
            = runResourceT
                $ runAmazonCtx
                    $ void
                        $ send $ set ratcResult output $ respondActivityTaskCompleted token
   |
78 |   runResourceT $ runAmazonCtx $
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...

src/Network/AWS/Wolf/SWF.hs:78:18: error:
    • Could not deduce (MonadBaseControl
                          IO
                          (resourcet-1.2.2:Control.Monad.Trans.Resource.Internal.ResourceT
                             m))
        arising from a use of ‘runAmazonCtx’
      from the context: MonadConf c m
        bound by the type signature for:
                   completeActivity :: forall c (m :: * -> *).
                                       MonadConf c m =>
                                       Text -> Maybe Text -> m ()
        at src/Network/AWS/Wolf/SWF.hs:76:1-63
    • In the second argument of ‘($)’, namely
        ‘runAmazonCtx
           $ void
               $ send
                   $ set ratcResult output $ respondActivityTaskCompleted token’
      In the expression:
        runResourceT
          $ runAmazonCtx
              $ void
                  $ send $ set ratcResult output $ respondActivityTaskCompleted token
      In an equation for ‘completeActivity’:
          completeActivity token output
            = runResourceT
                $ runAmazonCtx
                    $ void
                        $ send $ set ratcResult output $ respondActivityTaskCompleted token
   |
78 |   runResourceT $ runAmazonCtx $
   |                  ^^^^^^^^^^^^^^...

src/Network/AWS/Wolf/SWF.hs:85:3: error:
    • Could not deduce (unliftio-core-0.1.2.0:Control.Monad.IO.Unlift.MonadUnliftIO
                          m)
        arising from a use of ‘runResourceT’
      from the context: MonadConf c m
        bound by the type signature for:
                   failActivity :: forall c (m :: * -> *).
                                   MonadConf c m =>
                                   Text -> m ()
        at src/Network/AWS/Wolf/SWF.hs:83:1-45
      Possible fix:
        add (unliftio-core-0.1.2.0:Control.Monad.IO.Unlift.MonadUnliftIO
               m) to the context of
          the type signature for:
            failActivity :: forall c (m :: * -> *).
                            MonadConf c m =>
                            Text -> m ()
    • In the expression:
        runResourceT
          $ runAmazonCtx $ void $ send $ respondActivityTaskFailed token
      In an equation for ‘failActivity’:
          failActivity token
            = runResourceT
                $ runAmazonCtx $ void $ send $ respondActivityTaskFailed token
   |
85 |   runResourceT $ runAmazonCtx $
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...

src/Network/AWS/Wolf/SWF.hs:85:18: error:
    • Could not deduce (MonadBaseControl
                          IO
                          (resourcet-1.2.2:Control.Monad.Trans.Resource.Internal.ResourceT
                             m))
        arising from a use of ‘runAmazonCtx’
      from the context: MonadConf c m
        bound by the type signature for:
                   failActivity :: forall c (m :: * -> *).
                                   MonadConf c m =>
                                   Text -> m ()
        at src/Network/AWS/Wolf/SWF.hs:83:1-45
    • In the second argument of ‘($)’, namely
        ‘runAmazonCtx $ void $ send $ respondActivityTaskFailed token’
      In the expression:
        runResourceT
          $ runAmazonCtx $ void $ send $ respondActivityTaskFailed token
      In an equation for ‘failActivity’:
          failActivity token
            = runResourceT
                $ runAmazonCtx $ void $ send $ respondActivityTaskFailed token
   |
85 |   runResourceT $ runAmazonCtx $
   |                  ^^^^^^^^^^^^^^...

src/Network/AWS/Wolf/SWF.hs:92:3: error:
    • Could not deduce (unliftio-core-0.1.2.0:Control.Monad.IO.Unlift.MonadUnliftIO
                          m)
        arising from a use of ‘runResourceT’
      from the context: MonadConf c m
        bound by the type signature for:
                   completeDecision :: forall c (m :: * -> *).
                                       MonadConf c m =>
                                       Text -> Decision -> m ()
        at src/Network/AWS/Wolf/SWF.hs:90:1-61
      Possible fix:
        add (unliftio-core-0.1.2.0:Control.Monad.IO.Unlift.MonadUnliftIO
               m) to the context of
          the type signature for:
            completeDecision :: forall c (m :: * -> *).
                                MonadConf c m =>
                                Text -> Decision -> m ()
    • In the expression:
        runResourceT
          $ runAmazonCtx
              $ void
                  $ send
                      $ set rdtcDecisions (pure d) $ respondDecisionTaskCompleted token
      In an equation for ‘completeDecision’:
          completeDecision token d
            = runResourceT
                $ runAmazonCtx
                    $ void
                        $ send
                            $ set rdtcDecisions (pure d) $ respondDecisionTaskCompleted token
   |
92 |   runResourceT $ runAmazonCtx $
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...

src/Network/AWS/Wolf/SWF.hs:92:18: error:
    • Could not deduce (MonadBaseControl
                          IO
                          (resourcet-1.2.2:Control.Monad.Trans.Resource.Internal.ResourceT
                             m))
        arising from a use of ‘runAmazonCtx’
      from the context: MonadConf c m
        bound by the type signature for:
                   completeDecision :: forall c (m :: * -> *).
                                       MonadConf c m =>
                                       Text -> Decision -> m ()
        at src/Network/AWS/Wolf/SWF.hs:90:1-61
    • In the second argument of ‘($)’, namely
        ‘runAmazonCtx
           $ void
               $ send
                   $ set rdtcDecisions (pure d) $ respondDecisionTaskCompleted token’
      In the expression:
        runResourceT
          $ runAmazonCtx
              $ void
                  $ send
                      $ set rdtcDecisions (pure d) $ respondDecisionTaskCompleted token
      In an equation for ‘completeDecision’:
          completeDecision token d
            = runResourceT
                $ runAmazonCtx
                    $ void
                        $ send
                            $ set rdtcDecisions (pure d) $ respondDecisionTaskCompleted token
   |
92 |   runResourceT $ runAmazonCtx $
   |                  ^^^^^^^^^^^^^^...
cabal: Leaving directory '/tmp/cabal-tmp-26593/wolf-0.3.46'
cabal: Error: some packages failed to install:
wolf-0.3.46-CAMoaXeGDtLCe45lYxnLzu failed during the building phase. The
exception was:
ExitFailure 1

Test log

No test log was submitted for this report.