Build #5 for mtl-unleashed-0.3

[all reports]

Package mtl-unleashed-0.3
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-02 09:00:23.137335 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0, contravariant-1.4, lens-4.15.1, mtl-2.2.1, profunctors-5.2
Flags none

Build log

[view raw]

Resolving dependencies...
Configuring base-orphans-0.5.4...
Configuring mtl-2.2.1...
Building mtl-2.2.1...
Building base-orphans-0.5.4...
Installed base-orphans-0.5.4
Configuring parallel-3.2.1.0...
Building parallel-3.2.1.0...
Configuring prelude-extras-0.4.0.3...
Installed parallel-3.2.1.0
Configuring reflection-2.1.2...
Installed mtl-2.2.1
Building prelude-extras-0.4.0.3...
Building reflection-2.1.2...
Configuring semigroups-0.18.2...
Installed prelude-extras-0.4.0.3
Building semigroups-0.18.2...
Configuring primitive-0.6.1.0...
Installed reflection-2.1.2
Configuring stm-2.4.4.1...
Installed semigroups-0.18.2
Building primitive-0.6.1.0...
Building stm-2.4.4.1...
Configuring transformers-compat-0.5.1.4...
Installed stm-2.4.4.1
Building transformers-compat-0.5.1.4...
Configuring text-1.2.2.1...
Installed primitive-0.6.1.0
Building text-1.2.2.1...
Installed transformers-compat-0.5.1.4
Configuring StateVar-1.1.0.4...
Building StateVar-1.1.0.4...
Configuring vector-0.11.0.0...
Installed StateVar-1.1.0.4
Building vector-0.11.0.0...
Configuring exceptions-0.8.3...
Installed text-1.2.2.1
Building exceptions-0.8.3...
Configuring tagged-0.8.5...
Installed exceptions-0.8.3
Building tagged-0.8.5...
Installed tagged-0.8.5
Configuring distributive-0.5.0.2...
Building distributive-0.5.0.2...
Configuring hashable-1.2.4.0...
Installed vector-0.11.0.0
Building hashable-1.2.4.0...
Installed distributive-0.5.0.2
Installed hashable-1.2.4.0
Configuring void-0.7.1...
Configuring unordered-containers-0.2.7.1...
Building void-0.7.1...
Building unordered-containers-0.2.7.1...
Installed void-0.7.1
Configuring contravariant-1.4...
Building contravariant-1.4...
Installed contravariant-1.4
Configuring comonad-5...
Installed unordered-containers-0.2.7.1
Building comonad-5...
Installed comonad-5
Configuring bifunctors-5.4.1...
Building bifunctors-5.4.1...
Installed bifunctors-5.4.1
Configuring semigroupoids-5.1...
Configuring profunctors-5.2...
Building profunctors-5.2...
Building semigroupoids-5.1...
Installed profunctors-5.2
Installed semigroupoids-5.1
Configuring free-4.12.4...
Building free-4.12.4...
Installed free-4.12.4
Configuring adjunctions-4.3...
Building adjunctions-4.3...
Installed adjunctions-4.3
Configuring kan-extensions-5.0.1...
Building kan-extensions-5.0.1...
Installed kan-extensions-5.0.1
Configuring lens-4.15.1...
Building lens-4.15.1...
Installed lens-4.15.1
Configuring mtl-unleashed-0.3...
Building mtl-unleashed-0.3...
Failed to install mtl-unleashed-0.3
Build log ( /home/builder/.cabal/logs/mtl-unleashed-0.3.log ):
cabal: Entering directory '/tmp/cabal-tmp-16569/mtl-unleashed-0.3'
Configuring mtl-unleashed-0.3...
Building mtl-unleashed-0.3...
Preprocessing library mtl-unleashed-0.3...
[1 of 2] Compiling Control.Monad.Readers ( Control/Monad/Readers.hs, dist/build/Control/Monad/Readers.o )
[2 of 2] Compiling Control.Monad.States ( Control/Monad/States.hs, dist/build/Control/Monad/States.o )

Control/Monad/States.hs:67:50: error:
    • Couldn't match type ‘p’ with ‘(->)’
      ‘p’ is a rigid type variable bound by
        the type signature for:
          uses :: forall (p :: * -> * -> *) s (m :: * -> *) r a.
                  (Profunctor p, MonadStates s m) =>
                  Optical p (->) (Const r) s s a a -> p a r -> m r
        at Control/Monad/States.hs:66:9
      Expected type: LensLike' (Const r) s a
        Actual type: Optical p (->) (Const r) s s a a
    • In the first argument of ‘Lens.views’, namely ‘l’
      In the first argument of ‘gets’, namely ‘(Lens.views l f)’
      In the expression: gets (Lens.views l f)
    • Relevant bindings include
        f :: p a r (bound at Control/Monad/States.hs:67:8)
        l :: Optical p (->) (Const r) s s a a
          (bound at Control/Monad/States.hs:67:6)
        uses :: Optical p (->) (Const r) s s a a -> p a r -> m r
          (bound at Control/Monad/States.hs:67:1)
cabal: Leaving directory '/tmp/cabal-tmp-16569/mtl-unleashed-0.3'
cabal: Error: some packages failed to install:
mtl-unleashed-0.3 failed during the building phase. The exception was:
ExitFailure 1