Build #2 for rest-rewrite-0.2.0

[all reports]

Package rest-rewrite-0.2.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2022-02-09 03:37:45.04675004 UTC
Compiler ghc-8.10.2
OS linux
Arch x86_64
Dependencies base-4.14.1.0, containers-0.6.2.1, hashable-1.3.5.0, mtl-2.2.2, parsec-3.1.15.0, process-1.6.9.0, text-1.2.5.0, unordered-containers-0.2.16.0, QuickCheck-2.14.2, base-4.14.1.0, containers-0.6.2.1, hashable-1.3.5.0, monad-loops-0.4.3, mtl-2.2.2, parsec-3.1.15.0, process-1.6.9.0, text-1.2.5.0, time-1.9.3, unordered-containers-0.2.16.0
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Starting     monad-loops-0.4.3
Starting     splitmix-0.1.0.4
Starting     text-1.2.5.0
Building     monad-loops-0.4.3
Building     splitmix-0.1.0.4
Building     text-1.2.5.0
Completed    monad-loops-0.4.3
Completed    splitmix-0.1.0.4
Starting     random-1.2.1
Building     random-1.2.1
Completed    random-1.2.1
Starting     QuickCheck-2.14.2
Building     QuickCheck-2.14.2
Completed    text-1.2.5.0
Starting     hashable-1.3.5.0
Starting     parsec-3.1.15.0
Building     hashable-1.3.5.0
Building     parsec-3.1.15.0
Completed    hashable-1.3.5.0
Starting     unordered-containers-0.2.16.0
Building     unordered-containers-0.2.16.0
Completed    parsec-3.1.15.0
Completed    QuickCheck-2.14.2
Completed    unordered-containers-0.2.16.0
Starting     rest-rewrite-0.2.0
Building     rest-rewrite-0.2.0
Failed to install rest-rewrite-0.2.0
Build log ( /home/builder/.cabal/logs/ghc-8.10.2/rest-rewrite-0.2.0-B7ObJx5xcvWeAxG2935Dl.log ):
cabal: Entering directory '/tmp/cabal-tmp-30117/rest-rewrite-0.2.0'
Configuring rest-rewrite-0.2.0...
Preprocessing library for rest-rewrite-0.2.0..
Building library for rest-rewrite-0.2.0..
[ 1 of 31] Compiling Language.REST.Dot ( src/Language/REST/Dot.hs, dist/build/Language/REST/Dot.o, dist/build/Language/REST/Dot.dyn_o )
[ 2 of 31] Compiling Language.REST.ExploredTerms ( src/Language/REST/ExploredTerms.hs, dist/build/Language/REST/ExploredTerms.o, dist/build/Language/REST/ExploredTerms.dyn_o )
[ 3 of 31] Compiling Language.REST.Internal.MultiSet ( src/Language/REST/Internal/MultiSet.hs, dist/build/Language/REST/Internal/MultiSet.o, dist/build/Language/REST/Internal/MultiSet.dyn_o )
[ 4 of 31] Compiling Language.REST.Internal.Util ( src/Language/REST/Internal/Util.hs, dist/build/Language/REST/Internal/Util.o, dist/build/Language/REST/Internal/Util.dyn_o )
[ 5 of 31] Compiling Language.REST.OCAlgebra ( src/Language/REST/OCAlgebra.hs, dist/build/Language/REST/OCAlgebra.o, dist/build/Language/REST/OCAlgebra.dyn_o )
[ 6 of 31] Compiling Language.REST.Path ( src/Language/REST/Path.hs, dist/build/Language/REST/Path.o, dist/build/Language/REST/Path.dyn_o )
[ 7 of 31] Compiling Language.REST.RESTDot ( src/Language/REST/RESTDot.hs, dist/build/Language/REST/RESTDot.o, dist/build/Language/REST/RESTDot.dyn_o )
[ 8 of 31] Compiling Language.REST.RewriteRule ( src/Language/REST/RewriteRule.hs, dist/build/Language/REST/RewriteRule.o, dist/build/Language/REST/RewriteRule.dyn_o )
[ 9 of 31] Compiling Language.REST.SMT ( src/Language/REST/SMT.hs, dist/build/Language/REST/SMT.o, dist/build/Language/REST/SMT.dyn_o )
[10 of 31] Compiling Language.REST.Op ( src/Language/REST/Op.hs, dist/build/Language/REST/Op.o, dist/build/Language/REST/Op.dyn_o )
[11 of 31] Compiling Language.REST.RuntimeTerm ( src/Language/REST/RuntimeTerm.hs, dist/build/Language/REST/RuntimeTerm.o, dist/build/Language/REST/RuntimeTerm.dyn_o )
[12 of 31] Compiling Language.REST.MetaTerm ( src/Language/REST/MetaTerm.hs, dist/build/Language/REST/MetaTerm.o, dist/build/Language/REST/MetaTerm.dyn_o )
[13 of 31] Compiling Language.REST.Internal.Rewrite ( src/Language/REST/Internal/Rewrite.hs, dist/build/Language/REST/Internal/Rewrite.o, dist/build/Language/REST/Internal/Rewrite.dyn_o )
[14 of 31] Compiling Language.REST.Internal.WorkStrategy ( src/Language/REST/Internal/WorkStrategy.hs, dist/build/Language/REST/Internal/WorkStrategy.o, dist/build/Language/REST/Internal/WorkStrategy.dyn_o )
[15 of 31] Compiling Language.REST.Rest ( src/Language/REST/Rest.hs, dist/build/Language/REST/Rest.o, dist/build/Language/REST/Rest.dyn_o )

src/Language/REST/Rest.hs:123:35: warning: [-Wdeprecations]
    In the use of type constructor or class ListT
    (imported from Control.Monad.List, but defined in transformers-0.5.6.2:Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
    |
123 |         liftSet :: S.HashSet a -> ListT m a
    |                                   ^^^^^

src/Language/REST/Rest.hs:124:21: warning: [-Wdeprecations]
    In the use of data constructor ListT
    (imported from Control.Monad.List, but defined in transformers-0.5.6.2:Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
    |
124 |         liftSet s = ListT $ return $ S.toList s
    |                     ^^^^^

src/Language/REST/Rest.hs:130:19: warning: [-Wdeprecations]
    In the use of runListT
    (imported from Control.Monad.List, but defined in transformers-0.5.6.2:Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
    |
130 |             res = runListT $ do
    |                   ^^^^^^^^

src/Language/REST/Rest.hs:132:22: warning: [-Wdeprecations]
    In the use of data constructor ListT
    (imported from Control.Monad.List, but defined in transformers-0.5.6.2:Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
    |
132 |               t'  <- ListT $ S.toList <$> apply ptTerm r
    |                      ^^^^^

src/Language/REST/Rest.hs:136:44: warning: [-Wdeprecations]
    In the use of runListT
    (imported from Control.Monad.List, but defined in transformers-0.5.6.2:Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
    |
136 |         accepted userRWs = M.fromList <$> (runListT $ do
    |                                            ^^^^^^^^

src/Language/REST/Rest.hs:179:25: warning: [-Wdeprecations]
    In the use of runListT
    (imported from Control.Monad.List, but defined in transformers-0.5.6.2:Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
    |
179 |             evalPaths = runListT $ do
    |                         ^^^^^^^^

src/Language/REST/Rest.hs:180:26: warning: [-Wdeprecations]
    In the use of data constructor ListT
    (imported from Control.Monad.List, but defined in transformers-0.5.6.2:Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
    |
180 |               (t', r) <- ListT $ return (S.toList evalRWs)
    |                          ^^^^^

src/Language/REST/Rest.hs:186:25: warning: [-Wdeprecations]
    In the use of runListT
    (imported from Control.Monad.List, but defined in transformers-0.5.6.2:Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
    |
186 |             userPaths = runListT $ do
    |                         ^^^^^^^^

src/Language/REST/Rest.hs:188:22: warning: [-Wdeprecations]
    In the use of data constructor ListT
    (imported from Control.Monad.List, but defined in transformers-0.5.6.2:Control.Monad.Trans.List):
    Deprecated: "This transformer is invalid on most monads"
    |
188 |               ord <- ListT $ return $ Mb.maybeToList $ M.lookup t' acceptedUserRewrites
    |                      ^^^^^
[16 of 31] Compiling Language.REST.KBO ( src/Language/REST/KBO.hs, dist/build/Language/REST/KBO.o, dist/build/Language/REST/KBO.dyn_o )
[17 of 31] Compiling Language.REST.Types ( src/Language/REST/Types.hs, dist/build/Language/REST/Types.o, dist/build/Language/REST/Types.dyn_o )

src/Language/REST/Types.hs:72:10: error:
    Duplicate instance declarations:
      instance Hashable a => Hashable (OS.Set a)
        -- Defined at src/Language/REST/Types.hs:72:10
      instance Hashable v => Hashable (OS.Set v)
        -- Defined in hashable-1.3.5.0:Data.Hashable.Class
   |
72 | instance Hashable a => Hashable (OS.Set a) where
   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Language/REST/Types.hs:75:10: error:
    Duplicate instance declarations:
      instance (Hashable a, Hashable b) => Hashable (M.Map a b)
        -- Defined at src/Language/REST/Types.hs:75:10
      instance (Hashable k, Hashable v) => Hashable (M.Map k v)
        -- Defined in hashable-1.3.5.0:Data.Hashable.Class
   |
75 | instance (Hashable a, Hashable b) => Hashable (M.Map a b) where
   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-30117/rest-rewrite-0.2.0'
cabal: Error: some packages failed to install:
rest-rewrite-0.2.0-B7ObJx5xcvWeAxG2935Dl failed during the building phase. The
exception was:
ExitFailure 1

Test log

No test log was submitted for this report.