Build #3 for lens-th-rewrite-0.1.0.0

[all reports]

Package lens-th-rewrite-0.1.0.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2020-04-03 00:27:26.184338316 UTC
Compiler ghc-8.6.3
OS linux
Arch x86_64
Dependencies base-4.12.0.0, ghc-8.6.3, lens-4.19.1
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     StateVar-1.2
Starting     cabal-doctest-1.0.8
Starting     base-orphans-0.8.2
Starting     call-stack-0.2.0
Building     StateVar-1.2
Building     base-orphans-0.8.2
Building     cabal-doctest-1.0.8
Building     call-stack-0.2.0
Completed    call-stack-0.2.0
Starting     exceptions-0.10.4
Completed    StateVar-1.2
Starting     hashable-1.3.0.0
Building     exceptions-0.10.4
Building     hashable-1.3.0.0
Completed    cabal-doctest-1.0.8
Starting     parallel-3.2.2.0
Building     parallel-3.2.2.0
Completed    base-orphans-0.8.2
Starting     primitive-0.7.0.1
Building     primitive-0.7.0.1
Completed    hashable-1.3.0.0
Starting     reflection-2.1.5
Completed    exceptions-0.10.4
Starting     semigroups-0.19.1
Completed    parallel-3.2.2.0
Starting     tagged-0.8.6
Building     reflection-2.1.5
Building     semigroups-0.19.1
Building     tagged-0.8.6
Completed    semigroups-0.19.1
Starting     th-abstraction-0.3.2.0
Building     th-abstraction-0.3.2.0
Completed    tagged-0.8.6
Starting     transformers-compat-0.6.5
Building     transformers-compat-0.6.5
Completed    reflection-2.1.5
Starting     void-0.7.3
Building     void-0.7.3
Completed    th-abstraction-0.3.2.0
Starting     contravariant-1.5.2
Completed    void-0.7.3
Starting     unordered-containers-0.2.10.0
Completed    transformers-compat-0.6.5
Starting     distributive-0.6.1
Building     contravariant-1.5.2
Building     unordered-containers-0.2.10.0
Building     distributive-0.6.1
Completed    contravariant-1.5.2
Starting     transformers-base-0.4.5.2
Completed    primitive-0.7.0.1
Starting     vector-0.12.1.2
Building     transformers-base-0.4.5.2
Building     vector-0.12.1.2
Completed    distributive-0.6.1
Starting     comonad-5.0.6
Completed    transformers-base-0.4.5.2
Building     comonad-5.0.6
Completed    unordered-containers-0.2.10.0
Completed    comonad-5.0.6
Starting     bifunctors-5.5.7
Building     bifunctors-5.5.7
Completed    bifunctors-5.5.7
Starting     profunctors-5.5.2
Starting     semigroupoids-5.3.4
Building     profunctors-5.5.2
Building     semigroupoids-5.3.4
Completed    profunctors-5.5.2
Starting     invariant-0.5.3
Building     invariant-0.5.3
Completed    semigroupoids-5.3.4
Starting     free-5.1.3
Completed    vector-0.12.1.2
Building     free-5.1.3
Completed    invariant-0.5.3
Completed    free-5.1.3
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.19.1
Building     lens-4.19.1
Completed    lens-4.19.1
Starting     lens-th-rewrite-0.1.0.0
Building     lens-th-rewrite-0.1.0.0
Failed to install lens-th-rewrite-0.1.0.0
Build log ( /home/builder/.cabal/logs/ghc-8.6.3/lens-th-rewrite-0.1.0.0-LRWIubrFI4C7zthSbBMijf.log ):
cabal: Entering directory '/tmp/cabal-tmp-20470/lens-th-rewrite-0.1.0.0'
Configuring lens-th-rewrite-0.1.0.0...
Preprocessing library for lens-th-rewrite-0.1.0.0..
Building library for lens-th-rewrite-0.1.0.0..
[1 of 1] Compiling GHC.Plugin.LensThRewrite ( src/GHC/Plugin/LensThRewrite.hs, dist/build/GHC/Plugin/LensThRewrite.o )

src/GHC/Plugin/LensThRewrite.hs:212:34: error:
    • Couldn't match type ‘Pat GhcPs’
                     with ‘GenLocated SrcSpan (Pat GhcPs)’
      Expected type: LPat GhcPs
        Actual type: Pat GhcPs
    • In the expression: varPat "r"
      In the first argument of ‘lambdaMatch’, namely
        ‘[varPat "r", varPat "f"]’
      In the expression: lambdaMatch [varPat "r", varPat "f"]
    |
212 |                  [ lambdaMatch [ varPat "r", varPat "f" ] $
    |                                  ^^^^^^^^^^

src/GHC/Plugin/LensThRewrite.hs:212:46: error:
    • Couldn't match type ‘Pat GhcPs’
                     with ‘GenLocated SrcSpan (Pat GhcPs)’
      Expected type: LPat GhcPs
        Actual type: Pat GhcPs
    • In the expression: varPat "f"
      In the first argument of ‘lambdaMatch’, namely
        ‘[varPat "r", varPat "f"]’
      In the expression: lambdaMatch [varPat "r", varPat "f"]
    |
212 |                  [ lambdaMatch [ varPat "r", varPat "f" ] $
    |                                              ^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-20470/lens-th-rewrite-0.1.0.0'
cabal: Error: some packages failed to install:
lens-th-rewrite-0.1.0.0-LRWIubrFI4C7zthSbBMijf failed during the building
phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.