Build #1 for funflow-nix-0.1.0.0

[all reports]

Package funflow-nix-0.1.0.0
Install DependencyFailed funflow-nix-0.1.0.0
Docs NotTried
Tests NotTried
Time submitted 2018-11-17 09:10:44.54114402 UTC
Compiler ghc-8.6.1
OS linux
Arch x86_64
Dependencies base-4.12.0.0, funflow-1.4.0, modern-uri-0.3.0.1, path-0.6.1, text-1.2.3.1
Flags -example

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.1.1.1
Building     StateVar-1.1.1.1
Building     Only-0.1
Completed    StateVar-1.1.1.1
Starting     auto-update-0.1.4
Completed    Only-0.1
Starting     base-compat-0.10.5
Building     auto-update-0.1.4
Building     base-compat-0.10.5
Completed    auto-update-0.1.4
Starting     base-orphans-0.8
Building     base-orphans-0.8
Completed    base-orphans-0.8
Starting     base64-bytestring-1.0.0.1
Building     base64-bytestring-1.0.0.1
Completed    base-compat-0.10.5
Starting     basement-0.0.8
Building     basement-0.0.8
Completed    base64-bytestring-1.0.0.1
Starting     blaze-builder-0.4.1.0
Building     blaze-builder-0.4.1.0
Completed    blaze-builder-0.4.1.0
Starting     byteable-0.1.1
Building     byteable-0.1.1
Completed    byteable-0.1.1
Starting     bytestring-lexing-0.5.0.2
Building     bytestring-lexing-0.5.0.2
Completed    bytestring-lexing-0.5.0.2
Starting     cabal-doctest-1.0.6
Building     cabal-doctest-1.0.6
Completed    cabal-doctest-1.0.6
Starting     call-stack-0.1.0
Building     call-stack-0.1.0
Completed    call-stack-0.1.0
Starting     cereal-0.5.7.0
Building     cereal-0.5.7.0
Completed    cereal-0.5.7.0
Starting     clock-0.7.2
Building     clock-0.7.2
Completed    clock-0.7.2
Starting     colour-2.3.4
Building     colour-2.3.4
Completed    colour-2.3.4
Starting     data-default-class-0.1.2.0
Building     data-default-class-0.1.2.0
Completed    data-default-class-0.1.2.0
Starting     dlist-0.8.0.5
Building     dlist-0.8.0.5
Completed    basement-0.0.8
Starting     erf-2.0.0.0
Building     erf-2.0.0.0
Completed    dlist-0.8.0.5
Starting     hashable-1.2.7.0
Building     hashable-1.2.7.0
Completed    erf-2.0.0.0
Starting     hostname-1.0
Building     hostname-1.0
Completed    hostname-1.0
Starting     hourglass-0.2.12
Building     hourglass-0.2.12
Completed    hashable-1.2.7.0
Starting     hspec-discover-2.6.0
Building     hspec-discover-2.6.0
Completed    hspec-discover-2.6.0
Starting     integer-logarithms-1.0.2.2
Building     integer-logarithms-1.0.2.2
Completed    integer-logarithms-1.0.2.2
Starting     logict-0.6.0.2
Completed    hourglass-0.2.12
Starting     microlens-0.4.10
Building     logict-0.6.0.2
Building     microlens-0.4.10
Completed    logict-0.6.0.2
Starting     network-2.8.0.0
Completed    microlens-0.4.10
Starting     network-uri-2.6.1.0
Building     network-uri-2.6.1.0
Building     network-2.8.0.0
Completed    network-uri-2.6.1.0
Starting     old-locale-1.0.0.7
Building     old-locale-1.0.0.7
Completed    old-locale-1.0.0.7
Starting     parallel-3.2.2.0
Building     parallel-3.2.2.0
Completed    parallel-3.2.2.0
Starting     parser-combinators-1.0.0
Building     parser-combinators-1.0.0
Completed    network-2.8.0.0
Starting     primitive-0.6.4.0
Building     primitive-0.6.4.0
Completed    parser-combinators-1.0.0
Starting     random-1.1
Building     random-1.1
Completed    random-1.1
Starting     reflection-2.1.4
Building     reflection-2.1.4
Completed    reflection-2.1.4
Starting     safe-0.3.17
Completed    primitive-0.6.4.0
Starting     scanner-0.3
Building     safe-0.3.17
Building     scanner-0.3
Completed    scanner-0.3
Starting     semigroups-0.18.5
Building     semigroups-0.18.5
Completed    safe-0.3.17
Starting     setenv-0.1.1.3
Building     setenv-0.1.1.3
Completed    semigroups-0.18.5
Starting     split-0.2.3.3
Building     split-0.2.3.3
Completed    setenv-0.1.1.3
Starting     string-conv-0.1.2
Building     string-conv-0.1.2
Completed    split-0.2.3.3
Starting     syb-0.7
Building     syb-0.7
Completed    string-conv-0.1.2
Starting     tagged-0.8.6
Building     tagged-0.8.6
Completed    syb-0.7
Starting     th-abstraction-0.2.8.0
Completed    tagged-0.8.6
Starting     time-locale-compat-0.1.1.5
Building     th-abstraction-0.2.8.0
Building     time-locale-compat-0.1.1.5
Completed    time-locale-compat-0.1.1.5
Starting     transformers-compat-0.6.2
Building     transformers-compat-0.6.2
Completed    th-abstraction-0.2.8.0
Starting     unix-compat-0.5.1
Building     unix-compat-0.5.1
Completed    transformers-compat-0.6.2
Starting     unliftio-core-0.1.2.0
Building     unliftio-core-0.1.2.0
Completed    unix-compat-0.5.1
Starting     void-0.7.2
Completed    unliftio-core-0.1.2.0
Starting     contravariant-1.5
Building     void-0.7.2
Building     contravariant-1.5
Completed    void-0.7.2
Starting     HUnit-1.6.0.0
Building     HUnit-1.6.0.0
Completed    contravariant-1.5
Starting     ansi-terminal-0.8.2
Building     ansi-terminal-0.8.2
Completed    HUnit-1.6.0.0
Starting     data-default-instances-containers-0.0.1
Building     data-default-instances-containers-0.0.1
Completed    data-default-instances-containers-0.0.1
Starting     memory-0.14.18
Completed    ansi-terminal-0.8.2
Starting     data-default-instances-dlist-0.0.1
Building     memory-0.14.18
Building     data-default-instances-dlist-0.0.1
Completed    data-default-instances-dlist-0.0.1
Starting     unordered-containers-0.2.9.0
Building     unordered-containers-0.2.9.0
Completed    memory-0.14.18
Starting     case-insensitive-1.2.0.11
Building     case-insensitive-1.2.0.11
Completed    unordered-containers-0.2.9.0
Starting     async-2.2.1
Building     async-2.2.1
Completed    case-insensitive-1.2.0.11
Starting     smallcheck-1.1.5
Building     smallcheck-1.1.5
Completed    async-2.2.1
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     HTTP-4000.3.12
Building     HTTP-4000.3.12
Completed    smallcheck-1.1.5
Starting     uuid-types-1.0.3
Building     uuid-types-1.0.3
Completed    uuid-types-1.0.3
Starting     vector-0.12.0.1
Building     vector-0.12.0.1
Completed    HTTP-4000.3.12
Starting     tf-random-0.5
Building     tf-random-0.5
Completed    tf-random-0.5
Starting     store-core-0.4.4
Building     store-core-0.4.4
Completed    store-core-0.4.4
Starting     scientific-0.3.6.2
Building     scientific-0.3.6.2
Completed    scientific-0.3.6.2
Starting     direct-sqlite-2.3.23
Building     direct-sqlite-2.3.23
Completed    vector-0.12.0.1
Starting     th-expand-syns-0.4.4.0
Building     th-expand-syns-0.4.4.0
Completed    th-expand-syns-0.4.4.0
Starting     distributive-0.6
Building     distributive-0.6
Completed    direct-sqlite-2.3.23
Starting     th-lift-0.7.11
Building     th-lift-0.7.11
Completed    distributive-0.6
Starting     microlens-th-0.4.2.3
Building     microlens-th-0.4.2.3
Completed    th-lift-0.7.11
Starting     transformers-base-0.4.5.2
Building     transformers-base-0.4.5.2
Completed    transformers-base-0.4.5.2
Starting     exceptions-0.10.0
Building     exceptions-0.10.0
Completed    microlens-th-0.4.2.3
Starting     constraints-0.10.1
Building     constraints-0.10.1
Completed    exceptions-0.10.0
Starting     Glob-0.9.3
Building     Glob-0.9.3
Completed    constraints-0.10.1
Starting     hspec-expectations-0.8.2
Building     hspec-expectations-0.8.2
Completed    Glob-0.9.3
Starting     ansi-wl-pprint-0.6.8.2
Building     ansi-wl-pprint-0.6.8.2
Completed    hspec-expectations-0.8.2
Starting     pem-0.2.4
Building     pem-0.2.4
Completed    ansi-wl-pprint-0.6.8.2
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    asn1-types-0.3.2
Starting     hinotify-0.4
Building     hinotify-0.4
Completed    hinotify-0.4
Starting     data-default-0.7.1.1
Building     data-default-0.7.1.1
Completed    data-default-0.7.1.1
Starting     QuickCheck-2.12.6.1
Building     QuickCheck-2.12.6.1
Completed    QuickCheck-2.12.6.1
Starting     megaparsec-7.0.4
Building     megaparsec-7.0.4
Completed    megaparsec-7.0.4
Starting     attoparsec-0.13.2.2
Building     attoparsec-0.13.2.2
Completed    attoparsec-0.13.2.2
Starting     vector-algorithms-0.8.0.1
Building     vector-algorithms-0.8.0.1
Completed    cryptonite-0.25
Starting     blaze-textual-0.2.1.0
Building     blaze-textual-0.2.1.0
Completed    blaze-textual-0.2.1.0
Starting     th-reify-many-0.1.8
Building     th-reify-many-0.1.8
Completed    th-reify-many-0.1.8
Starting     comonad-5.0.4
Completed    vector-algorithms-0.8.0.1
Starting     th-lift-instances-0.1.11
Building     comonad-5.0.4
Building     th-lift-instances-0.1.11
Completed    th-lift-instances-0.1.11
Starting     monad-control-1.0.2.3
Building     monad-control-1.0.2.3
Completed    comonad-5.0.4
Starting     temporary-1.3
Building     temporary-1.3
Completed    monad-control-1.0.2.3
Starting     safe-exceptions-0.1.7.0
Building     safe-exceptions-0.1.7.0
Completed    temporary-1.3
Starting     resourcet-1.2.2
Building     resourcet-1.2.2
Completed    safe-exceptions-0.1.7.0
Starting     errors-2.3.0
Building     errors-2.3.0
Completed    resourcet-1.2.2
Starting     optparse-applicative-0.14.3.0
Building     optparse-applicative-0.14.3.0
Completed    errors-2.3.0
Starting     asn1-encoding-0.9.5
Building     asn1-encoding-0.9.5
Completed    asn1-encoding-0.9.5
Starting     quickcheck-io-0.2.0
Building     quickcheck-io-0.2.0
Completed    optparse-applicative-0.14.3.0
Starting     aeson-1.4.1.0
Building     aeson-1.4.1.0
Completed    quickcheck-io-0.2.0
Starting     cryptohash-0.11.9
Building     cryptohash-0.11.9
Completed    cryptohash-0.11.9
Starting     sqlite-simple-0.4.16.0
Building     sqlite-simple-0.4.16.0
Completed    sqlite-simple-0.4.16.0
Starting     mono-traversable-1.0.9.0
Building     mono-traversable-1.0.9.0
Completed    aeson-1.4.1.0
Starting     th-orphans-0.13.6
Building     th-orphans-0.13.6
Completed    mono-traversable-1.0.9.0
Starting     bifunctors-5.5.3
Building     bifunctors-5.5.3
Completed    th-orphans-0.13.6
Starting     resource-pool-0.2.3.2
Building     resource-pool-0.2.3.2
Completed    resource-pool-0.2.3.2
Starting     lifted-base-0.2.3.12
Building     lifted-base-0.2.3.12
Completed    bifunctors-5.5.3
Starting     asn1-parse-0.9.4
Building     asn1-parse-0.9.4
Completed    lifted-base-0.2.3.12
Starting     hspec-core-2.6.0
Completed    asn1-parse-0.9.4
Starting     path-0.6.1
Building     hspec-core-2.6.0
Building     path-0.6.1
Completed    path-0.6.1
Starting     conduit-1.3.1
Building     conduit-1.3.1
Completed    hspec-core-2.6.0
Starting     th-utilities-0.2.0.1
Building     th-utilities-0.2.0.1
Completed    th-utilities-0.2.0.1
Starting     semigroupoids-5.3.1
Completed    conduit-1.3.1
Starting     profunctors-5.3
Building     profunctors-5.3
Building     semigroupoids-5.3.1
Completed    profunctors-5.3
Starting     lifted-async-0.10.0.3
Building     lifted-async-0.10.0.3
Completed    semigroupoids-5.3.1
Starting     x509-1.7.5
Building     x509-1.7.5
Completed    lifted-async-0.10.0.3
Starting     path-io-1.4.0
Building     path-io-1.4.0
Completed    path-io-1.4.0
Starting     hspec-smallcheck-0.5.2
Building     hspec-smallcheck-0.5.2
Completed    x509-1.7.5
Starting     hspec-2.6.0
Building     hspec-2.6.0
Completed    hspec-smallcheck-0.5.2
Starting     libyaml-0.1.0.0
Building     libyaml-0.1.0.0
Completed    hspec-2.6.0
Starting     modern-uri-0.3.0.1
Building     modern-uri-0.3.0.1
Completed    libyaml-0.1.0.0
Starting     invariant-0.5.1
Building     invariant-0.5.1
Completed    modern-uri-0.3.0.1
Starting     free-5.1
Building     free-5.1
Completed    invariant-0.5.1
Starting     either-5.0.1
Building     either-5.0.1
Completed    either-5.0.1
Starting     x509-store-1.6.7
Building     x509-store-1.6.7
Completed    x509-store-1.6.7
Starting     yaml-0.11.0.0
Building     yaml-0.11.0.0
Completed    yaml-0.11.0.0
Starting     katip-0.7.0.0
Completed    free-5.1
Starting     x509-validation-1.6.11
Building     katip-0.7.0.0
Building     x509-validation-1.6.11
Completed    x509-validation-1.6.11
Starting     store-0.5.0.1
Building     store-0.5.0.1
Completed    katip-0.7.0.0
Starting     adjunctions-4.4
Building     adjunctions-4.4
Completed    adjunctions-4.4
Starting     tls-1.4.1
Building     tls-1.4.1
Completed    tls-1.4.1
Starting     kan-extensions-5.2
Building     kan-extensions-5.2
Completed    store-0.5.0.1
Starting     hedis-0.10.4
Building     hedis-0.10.4
Completed    kan-extensions-5.2
Starting     lens-4.17
Building     lens-4.17
Completed    hedis-0.10.4
Completed    lens-4.17
Starting     funflow-1.4.0
Building     funflow-1.4.0
Failed to install funflow-1.4.0
Build log ( /home/builder/.cabal/logs/ghc-8.6.1/funflow-1.4.0-EHGhba55GgX7Oh0IYcEAIw.log ):
cabal: Entering directory '/tmp/cabal-tmp-26100/funflow-1.4.0'
Configuring funflow-1.4.0...
Preprocessing library for funflow-1.4.0..
Building library for funflow-1.4.0..
[ 1 of 23] Compiling Control.Arrow.Free ( src/Control/Arrow/Free.hs, dist/build/Control/Arrow/Free.o )
[ 2 of 23] Compiling Control.Arrow.Async ( src/Control/Arrow/Async.hs, dist/build/Control/Arrow/Async.o )
[ 3 of 23] Compiling Control.Funflow.ContentStore.Notify.Linux ( src/Control/Funflow/ContentStore/Notify/Linux.hs, dist/build/Control/Funflow/ContentStore/Notify/Linux.o )
[ 4 of 23] Compiling Control.Funflow.ContentStore.Notify ( src/Control/Funflow/ContentStore/Notify.hs, dist/build/Control/Funflow/ContentStore/Notify.o )
[ 5 of 23] Compiling Control.Funflow.Diagram ( src/Control/Funflow/Diagram.hs, dist/build/Control/Funflow/Diagram.o )
[ 6 of 23] Compiling Control.Funflow.Lock ( src/Control/Funflow/Lock.hs, dist/build/Control/Funflow/Lock.o )
[ 7 of 23] Compiling Control.Funflow.Orphans ( src/Control/Funflow/Orphans.hs, dist/build/Control/Funflow/Orphans.o )
[ 8 of 23] Compiling Control.Funflow.ContentHashable ( src/Control/Funflow/ContentHashable.hs, dist/build/Control/Funflow/ContentHashable.o )
[ 9 of 23] Compiling Control.Funflow.ContentStore ( src/Control/Funflow/ContentStore.hs, dist/build/Control/Funflow/ContentStore.o )
[10 of 23] Compiling Control.Funflow.External ( src/Control/Funflow/External.hs, dist/build/Control/Funflow/External.o )
[11 of 23] Compiling Control.Funflow.External.Docker ( src/Control/Funflow/External/Docker.hs, dist/build/Control/Funflow/External/Docker.o )
[12 of 23] Compiling Control.Funflow.External.Coordinator ( src/Control/Funflow/External/Coordinator.hs, dist/build/Control/Funflow/External/Coordinator.o )
[13 of 23] Compiling Control.Funflow.External.Executor ( src/Control/Funflow/External/Executor.hs, dist/build/Control/Funflow/External/Executor.o )
[14 of 23] Compiling Control.Funflow.External.Coordinator.SQLite ( src/Control/Funflow/External/Coordinator/SQLite.hs, dist/build/Control/Funflow/External/Coordinator/SQLite.o )
[15 of 23] Compiling Control.Funflow.External.Coordinator.Redis ( src/Control/Funflow/External/Coordinator/Redis.hs, dist/build/Control/Funflow/External/Coordinator/Redis.o )
[16 of 23] Compiling Control.Funflow.External.Coordinator.Memory ( src/Control/Funflow/External/Coordinator/Memory.hs, dist/build/Control/Funflow/External/Coordinator/Memory.o )
[17 of 23] Compiling Control.Funflow.Base ( src/Control/Funflow/Base.hs, dist/build/Control/Funflow/Base.o )
[18 of 23] Compiling Control.Funflow.Exec.Simple ( src/Control/Funflow/Exec/Simple.hs, dist/build/Control/Funflow/Exec/Simple.o )

src/Control/Funflow/Exec/Simple.hs:152:11: error:
    • Could not deduce (Control.Monad.Fail.MonadFail m)
        arising from a do statement
        with the failable pattern ‘KnownTask _’
      from the context: (Coordinator c, Exception ex,
                         MonadBaseControl IO m, MonadMask m, KatipContext m)
        bound by the type signature for:
                   runFlowEx :: forall (m :: * -> *) c (eff :: * -> * -> *) ex a b.
                                (Coordinator c, Exception ex, MonadIO m, MonadBaseControl IO m,
                                 MonadCatch m, MonadMask m, KatipContext m) =>
                                c
                                -> Config c
                                -> CS.ContentStore
                                -> (eff ~> AsyncA m)
                                -> Int
                                -> Flow eff ex a b
                                -> a
                                -> m b
        at src/Control/Funflow/Exec/Simple.hs:(53,1)-(65,16)
      or from: b1 ~ CS.Item
        bound by a pattern with constructor:
                   External :: forall a (eff :: * -> * -> *).
                               ExternalProperties a -> (a -> ExternalTask) -> Flow' eff a CS.Item,
                 in an equation for ‘runFlow'’
        at src/Control/Funflow/Exec/Simple.hs:121:18-38
      Possible fix:
        add (Control.Monad.Fail.MonadFail m) to the context of
          the type signature for:
            runFlow' :: forall a1 b1.
                        Hook c -> Flow' eff a1 b1 -> AsyncA m a1 b1
          or the type signature for:
               runFlowEx :: forall (m :: * -> *) c (eff :: * -> * -> *) ex a b.
                            (Coordinator c, Exception ex, MonadIO m, MonadBaseControl IO m,
                             MonadCatch m, MonadMask m, KatipContext m) =>
                            c
                            -> Config c
                            -> CS.ContentStore
                            -> (eff ~> AsyncA m)
                            -> Int
                            -> Flow eff ex a b
                            -> a
                            -> m b
    • In a stmt of a 'do' block: KnownTask _ <- awaitTask po chash
      In the expression:
        do KnownTask _ <- awaitTask po chash
           CS.waitUntilComplete store chash
             >>=
               \case
                 Just item -> return item
                 Nothing -> do ...
      In an equation for ‘wait’:
          wait chash td
            = do KnownTask _ <- awaitTask po chash
                 CS.waitUntilComplete store chash
                   >>=
                     \case
                       Just item -> return item
                       Nothing -> ...
    |
152 |           KnownTask _ <- awaitTask po chash
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-26100/funflow-1.4.0'
cabal: Error: some packages failed to install:
funflow-1.4.0-EHGhba55GgX7Oh0IYcEAIw failed during the building phase. The
exception was:
ExitFailure 1
funflow-nix-0.1.0.0-DpyTpdsVMpSIzF5QI9iWdH depends on funflow-nix-0.1.0.0
which failed to install.

Test log

No test log was submitted for this report.