Build #2 for prolog-0.2.1

[all reports]

Package prolog-0.2.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2019-01-22 13:29:36.597267476 UTC
Compiler ghc-8.6.3
OS linux
Arch x86_64
Dependencies base-4.12.0.0, containers-0.6.0.1, mtl-2.2.2, parsec-3.1.13.0, syb-0.7, template-haskell-2.14.0.0, th-lift-0.7.11, transformers-0.5.5.0
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     th-abstraction-0.2.10.0
Starting     syb-0.7
Building     th-abstraction-0.2.10.0
Building     syb-0.7
Completed    syb-0.7
Completed    th-abstraction-0.2.10.0
Starting     th-lift-0.7.11
Building     th-lift-0.7.11
Completed    th-lift-0.7.11
Starting     prolog-0.2.1
Building     prolog-0.2.1
Failed to install prolog-0.2.1
Build log ( /home/builder/.cabal/logs/ghc-8.6.3/prolog-0.2.1-Ah5zRdxB8rN6iaL4U20t1A.log ):
cabal: Entering directory '/tmp/cabal-tmp-723/prolog-0.2.1'
Configuring prolog-0.2.1...
Preprocessing library for prolog-0.2.1..
Building library for prolog-0.2.1..
[ 1 of 11] Compiling Syntax           ( src/Syntax.hs, dist/build/Syntax.o )
[ 2 of 11] Compiling Parser           ( src/Parser.hs, dist/build/Parser.o )
[ 3 of 11] Compiling Database         ( src/Database.hs, dist/build/Database.o )

src/Database.hs:31:22: error:
    • Data.Map.insertWith' is gone. Use Data.Map.Strict.insertWith.
    • In the expression:
        Map.insertWith' (++) (signature (lhs clause)) [clause]
      In the first argument of ‘foldr’, namely
        ‘(\ clause
            -> Map.insertWith' (++) (signature (lhs clause)) [clause])’
      In the second argument of ‘($)’, namely
        ‘foldr
           (\ clause
              -> Map.insertWith' (++) (signature (lhs clause)) [clause])
           (Map.fromList
              [(signature (Struct name []), []) | name <- emptyPredicates])
           clauses’
   |
31 |    foldr (\clause -> Map.insertWith' (++) (signature (lhs clause)) [clause])
   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-723/prolog-0.2.1'
cabal: Error: some packages failed to install:
prolog-0.2.1-Ah5zRdxB8rN6iaL4U20t1A failed during the building phase. The
exception was:
ExitFailure 1