Build #3 for hasbolt-extras-0.0.0.14

[all reports]

Package hasbolt-extras-0.0.0.14
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2018-12-26 13:13:06.121258836 UTC
Compiler ghc-8.6.1
OS linux
Arch x86_64
Dependencies aeson-1.4.2.0, aeson-casing-0.1.0.5, base-4.12.0.0, containers-0.6.0.1, free-5.1, hasbolt-0.1.3.2, lens-4.17, mtl-2.2.2, neat-interpolation-0.3.2.4, scientific-0.3.6.2, template-haskell-2.14.0.0, text-1.2.3.1, th-lift-instances-0.1.11, unordered-containers-0.2.9.0, vector-0.12.0.2
Flags none

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     StateVar-1.1.1.1
Starting     base-compat-0.10.5
Building     StateVar-1.1.1.1
Building     base-compat-0.10.5
Completed    StateVar-1.1.1.1
Starting     base-orphans-0.8
Building     base-orphans-0.8
Completed    base-orphans-0.8
Starting     base-prelude-1.3
Building     base-prelude-1.3
Completed    base-compat-0.10.5
Starting     basement-0.0.8
Building     basement-0.0.8
Completed    base-prelude-1.3
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    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     data-binary-ieee754-0.4.4
Building     data-binary-ieee754-0.4.4
Completed    data-binary-ieee754-0.4.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    dlist-0.8.0.5
Starting     hashable-1.2.7.0
Building     hashable-1.2.7.0
Completed    hashable-1.2.7.0
Starting     hourglass-0.2.12
Building     hourglass-0.2.12
Completed    basement-0.0.8
Starting     integer-logarithms-1.0.2.2
Completed    hourglass-0.2.12
Starting     network-2.8.0.0
Building     integer-logarithms-1.0.2.2
Completed    integer-logarithms-1.0.2.2
Starting     old-locale-1.0.0.7
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    parallel-3.2.2.0
Starting     parser-combinators-1.0.0
Building     parser-combinators-1.0.0
Completed    parser-combinators-1.0.0
Starting     primitive-0.6.4.0
Building     primitive-0.6.4.0
Completed    network-2.8.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     semigroups-0.18.5
Building     semigroups-0.18.5
Completed    primitive-0.6.4.0
Starting     tagged-0.8.6
Completed    semigroups-0.18.5
Starting     th-abstraction-0.2.10.0
Building     tagged-0.8.6
Building     th-abstraction-0.2.10.0
Completed    tagged-0.8.6
Starting     time-locale-compat-0.1.1.5
Building     time-locale-compat-0.1.1.5
Completed    th-abstraction-0.2.10.0
Starting     transformers-compat-0.6.2
Completed    time-locale-compat-0.1.1.5
Starting     void-0.7.2
Building     transformers-compat-0.6.2
Building     void-0.7.2
Completed    void-0.7.2
Starting     contravariant-1.5
Building     contravariant-1.5
Completed    transformers-compat-0.6.2
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     data-default-instances-dlist-0.0.1
Completed    contravariant-1.5
Starting     unordered-containers-0.2.9.0
Building     data-default-instances-dlist-0.0.1
Building     unordered-containers-0.2.9.0
Completed    data-default-instances-dlist-0.0.1
Starting     case-insensitive-1.2.0.11
Building     case-insensitive-1.2.0.11
Completed    case-insensitive-1.2.0.11
Starting     async-2.2.1
Building     async-2.2.1
Completed    async-2.2.1
Starting     memory-0.14.18
Building     memory-0.14.18
Completed    unordered-containers-0.2.9.0
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     socks-0.5.6
Building     socks-0.5.6
Completed    socks-0.5.6
Starting     uuid-types-1.0.3
Building     uuid-types-1.0.3
Completed    memory-0.14.18
Starting     vector-0.12.0.2
Building     vector-0.12.0.2
Completed    uuid-types-1.0.3
Starting     scientific-0.3.6.2
Building     scientific-0.3.6.2
Completed    scientific-0.3.6.2
Starting     distributive-0.6
Building     distributive-0.6
Completed    distributive-0.6
Starting     th-lift-0.7.11
Building     th-lift-0.7.11
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    exceptions-0.10.0
Starting     data-default-0.7.1.1
Building     data-default-0.7.1.1
Completed    data-default-0.7.1.1
Starting     pem-0.2.4
Building     pem-0.2.4
Completed    pem-0.2.4
Starting     cryptonite-0.25
Building     cryptonite-0.25
Completed    vector-0.12.0.2
Starting     asn1-types-0.3.2
Building     asn1-types-0.3.2
Completed    asn1-types-0.3.2
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     comonad-5.0.4
Building     comonad-5.0.4
Completed    comonad-5.0.4
Starting     th-lift-instances-0.1.11
Building     th-lift-instances-0.1.11
Completed    th-lift-instances-0.1.11
Starting     asn1-encoding-0.9.5
Building     asn1-encoding-0.9.5
Completed    asn1-encoding-0.9.5
Starting     neat-interpolation-0.3.2.4
Building     neat-interpolation-0.3.2.4
Completed    neat-interpolation-0.3.2.4
Starting     aeson-1.4.2.0
Building     aeson-1.4.2.0
Completed    cryptonite-0.25
Starting     bifunctors-5.5.3
Building     bifunctors-5.5.3
Completed    bifunctors-5.5.3
Starting     asn1-parse-0.9.4
Building     asn1-parse-0.9.4
Completed    asn1-parse-0.9.4
Starting     semigroupoids-5.3.1
Building     semigroupoids-5.3.1
Completed    aeson-1.4.2.0
Starting     profunctors-5.3
Building     profunctors-5.3
Completed    semigroupoids-5.3.1
Starting     x509-1.7.5
Building     x509-1.7.5
Completed    profunctors-5.3
Starting     aeson-casing-0.1.0.5
Building     aeson-casing-0.1.0.5
Completed    aeson-casing-0.1.0.5
Starting     invariant-0.5.1
Building     invariant-0.5.1
Completed    x509-1.7.5
Starting     free-5.1
Building     free-5.1
Completed    invariant-0.5.1
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    x509-validation-1.6.11
Starting     x509-system-1.6.6
Building     x509-system-1.6.6
Completed    x509-system-1.6.6
Starting     tls-1.4.1
Building     tls-1.4.1
Completed    free-5.1
Starting     adjunctions-4.4
Building     adjunctions-4.4
Completed    adjunctions-4.4
Starting     kan-extensions-5.2
Building     kan-extensions-5.2
Completed    kan-extensions-5.2
Starting     lens-4.17
Completed    tls-1.4.1
Starting     connection-0.2.8
Building     connection-0.2.8
Building     lens-4.17
Completed    connection-0.2.8
Starting     hasbolt-0.1.3.2
Building     hasbolt-0.1.3.2
Completed    hasbolt-0.1.3.2
Completed    lens-4.17
Starting     hasbolt-extras-0.0.0.14
Building     hasbolt-extras-0.0.0.14
Failed to install hasbolt-extras-0.0.0.14
Build log ( /home/builder/.cabal/logs/ghc-8.6.1/hasbolt-extras-0.0.0.14-1TUqhtR6ZrmKhaZ6xqCbqb.log ):
cabal: Entering directory '/tmp/cabal-tmp-1790/hasbolt-extras-0.0.0.14'
Configuring hasbolt-extras-0.0.0.14...
Preprocessing library for hasbolt-extras-0.0.0.14..
Building library for hasbolt-extras-0.0.0.14..
[ 1 of 20] Compiling Database.Bolt.Extras.Graph.Internal.AbstractGraph ( src/Database/Bolt/Extras/Graph/Internal/AbstractGraph.hs, dist/build/Database/Bolt/Extras/Graph/Internal/AbstractGraph.o )
[ 2 of 20] Compiling Database.Bolt.Extras.Graph.Internal.Class ( src/Database/Bolt/Extras/Graph/Internal/Class.hs, dist/build/Database/Bolt/Extras/Graph/Internal/Class.o )
[ 3 of 20] Compiling Database.Bolt.Extras.Internal.Condition ( src/Database/Bolt/Extras/Internal/Condition.hs, dist/build/Database/Bolt/Extras/Internal/Condition.o )
[ 4 of 20] Compiling Database.Bolt.Extras.Internal.Persisted ( src/Database/Bolt/Extras/Internal/Persisted.hs, dist/build/Database/Bolt/Extras/Internal/Persisted.o )
[ 5 of 20] Compiling Database.Bolt.Extras.Internal.Types ( src/Database/Bolt/Extras/Internal/Types.hs, dist/build/Database/Bolt/Extras/Internal/Types.o )
[ 6 of 20] Compiling Database.Bolt.Extras.Utils ( src/Database/Bolt/Extras/Utils.hs, dist/build/Database/Bolt/Extras/Utils.o )
[ 7 of 20] Compiling Database.Bolt.Extras.Internal.Instances ( src/Database/Bolt/Extras/Internal/Instances.hs, dist/build/Database/Bolt/Extras/Internal/Instances.o )
[ 8 of 20] Compiling Database.Bolt.Extras.Internal.Cypher ( src/Database/Bolt/Extras/Internal/Cypher.hs, dist/build/Database/Bolt/Extras/Internal/Cypher.o )
[ 9 of 20] Compiling Database.Bolt.Extras ( src/Database/Bolt/Extras.hs, dist/build/Database/Bolt/Extras.o )
[10 of 20] Compiling Database.Bolt.Extras.Template.Internal.Converters ( src/Database/Bolt/Extras/Template/Internal/Converters.hs, dist/build/Database/Bolt/Extras/Template/Internal/Converters.o )
[11 of 20] Compiling Database.Bolt.Extras.Template ( src/Database/Bolt/Extras/Template.hs, dist/build/Database/Bolt/Extras/Template.o )
[12 of 20] Compiling Database.Bolt.Extras.Graph.Internal.Put ( src/Database/Bolt/Extras/Graph/Internal/Put.hs, dist/build/Database/Bolt/Extras/Graph/Internal/Put.o )

src/Database/Bolt/Extras/Graph/Internal/Put.hs:96:9: error:
    • Could not deduce (Control.Monad.Fail.MonadFail m1)
        arising from a do statement
        with the failable pattern ‘[record]’
      from the context: MonadIO m
        bound by the type signature for:
                   putRelationship :: forall (m :: * -> *).
                                      MonadIO m =>
                                      BoltId -> PutRelationship -> BoltId -> BoltActionT m BoltId
        at src/Database/Bolt/Extras/Graph/Internal/Put.hs:89:1-93
      or from: MonadIO m1
        bound by the type signature for:
                   helper :: forall (m1 :: * -> *).
                             MonadIO m1 =>
                             T.Text -> URelationship -> BoltActionT m1 BoltId
        at src/Database/Bolt/Extras/Graph/Internal/Put.hs:94:5-76
      Possible fix:
        add (Control.Monad.Fail.MonadFail m1) to the context of
          the type signature for:
            helper :: forall (m1 :: * -> *).
                      MonadIO m1 =>
                      T.Text -> URelationship -> BoltActionT m1 BoltId
    • In a stmt of a 'do' block: [record] <- query putQuery
      In the expression:
        do [record] <- query putQuery
           urelIdentity' <- record `at` varQ >>= exact
           pure $ fromInt urelIdentity'
      In an equation for ‘helper’:
          helper q URelationship {..}
            = do [record] <- query putQuery
                 urelIdentity' <- record `at` varQ >>= exact
                 pure $ fromInt urelIdentity'
            where
                varQ = "r"
                labelQ = toCypher urelType
                propsQ = toCypher . toList $ urelProps
                startT = T.pack . show $ start
                ....
   |
96 |         [record]      <- query putQuery
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-1790/hasbolt-extras-0.0.0.14'
cabal: Error: some packages failed to install:
hasbolt-extras-0.0.0.14-1TUqhtR6ZrmKhaZ6xqCbqb failed during the building
phase. The exception was:
ExitFailure 1