Build #7 for press-0.1.1

[all reports]

Package press-0.1.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-31 17:33:57.341489 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0, containers-0.5.7.1, json-0.9.1, mtl-2.2.1, parsec-3.1.11
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring mtl-2.2.1...
Configuring syb-0.6...
Building mtl-2.2.1...
Building syb-0.6...
Configuring text-1.2.2.1...
Installed syb-0.6
Installed mtl-2.2.1
Building text-1.2.2.1...
Installed text-1.2.2.1
Configuring parsec-3.1.11...
Building parsec-3.1.11...
Installed parsec-3.1.11
Configuring json-0.9.1...
Building json-0.9.1...
Installed json-0.9.1
Configuring press-0.1.1...
Building press-0.1.1...
Failed to install press-0.1.1
Build log ( /home/builder/.cabal/logs/press-0.1.1.log ):
cabal: Entering directory '/tmp/cabal-tmp-5158/press-0.1.1'
Configuring press-0.1.1...
Building press-0.1.1...
Preprocessing library press-0.1.1...
[1 of 5] Compiling Text.Press.Types ( Text/Press/Types.hs, dist/build/Text/Press/Types.o )

Text/Press/Types.hs:3:1: warning: [-Wdeprecations]
    Module ‘Control.Monad.Error’ is deprecated:
      Use Control.Monad.Except instead

Text/Press/Types.hs:26:10: warning: [-Wdeprecations]
    In the use of type constructor or class ‘Error’
    (imported from Control.Monad.Error.Class, but defined in transformers-0.5.2.0:Control.Monad.Trans.Error):
    Deprecated: "Use Control.Monad.Trans.Except instead"

Text/Press/Types.hs:26:10: warning: [-Wdeprecations]
    In the use of type constructor or class ‘Error’
    (imported from Control.Monad.Error.Class, but defined in transformers-0.5.2.0:Control.Monad.Trans.Error):
    Deprecated: "Use Control.Monad.Trans.Except instead"

Text/Press/Types.hs:30:56: warning: [-Wdeprecations]
    In the use of type constructor or class ‘ErrorT’
    (imported from Control.Monad.Error, but defined in transformers-0.5.2.0:Control.Monad.Trans.Error):
    Deprecated: "Use Control.Monad.Trans.Except instead"
[2 of 5] Compiling Text.Press.Render ( Text/Press/Render.hs, dist/build/Text/Press/Render.o )

Text/Press/Render.hs:17:1: error:
    • Non type-variable argument in the constraint: MonadWriter [t] m
      (Use FlexibleContexts to permit this)
    • When checking the inferred type
        emit :: forall (m :: * -> *) t. MonadWriter [t] m => t -> m ()

Text/Press/Render.hs:75:9: error:
    • Non type-variable argument
        in the constraint: Control.Monad.Error.Class.MonadError
                             PressError m
      (Use FlexibleContexts to permit this)
    • When checking the inferred type
        templateStack' :: forall (m :: * -> *).
                          (Control.Monad.Error.Class.MonadError PressError m,
                           MonadState RenderState m) =>
                          Template -> m [Template]
      In an equation for ‘templateStack’:
          templateStack
            = getTemplate >>= templateStack'
            where
                templateStack' t@(Template {tmplExtends = Nothing}) = return [t]
                templateStack' t@(Template {tmplExtends = Just name})
                  = do { cache <- fmap (parserTemplateCache . renderStateParser) get;
                         .... }
cabal: Leaving directory '/tmp/cabal-tmp-5158/press-0.1.1'
cabal: Error: some packages failed to install:
press-0.1.1 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.