Build #6 for jmacro-rpc-happstack-0.3

[all reports]

Package jmacro-rpc-happstack-0.3
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-14 09:28:30.588188 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies aeson-1.0.2.1, base-4.9.0.0, blaze-html-0.8.1.3, bytestring-0.10.8.1, containers-0.5.7.1, happstack-server-7.4.6.2, jmacro-0.6.14, jmacro-rpc-0.3.2, mtl-2.2.1
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring base64-bytestring-1.0.0.1...
Configuring base-compat-0.9.1...
Building base-compat-0.9.1...
Building base64-bytestring-1.0.0.1...
Installed base64-bytestring-1.0.0.1
Configuring dlist-0.8.0.2...
Building dlist-0.8.0.2...
Configuring html-1.0.1.2...
Installed base-compat-0.9.1
Building html-1.0.1.2...
Configuring extensible-exceptions-0.1.1.4...
Installed dlist-0.8.0.2
Building extensible-exceptions-0.1.1.4...
Configuring mtl-2.2.1...
Installed html-1.0.1.2
Building mtl-2.2.1...
Configuring old-locale-1.0.0.7...
Installed extensible-exceptions-0.1.1.4
Building old-locale-1.0.0.7...
Configuring parseargs-0.2.0.8...
Installed old-locale-1.0.0.7
Building parseargs-0.2.0.8...
Configuring network-2.6.3.1...
Installed mtl-2.2.1
Configuring semigroups-0.18.2...
Installed parseargs-0.2.0.8
Building semigroups-0.18.2...
Building network-2.6.3.1...
Configuring split-0.2.3.1...
Installed semigroups-0.18.2
Building split-0.2.3.1...
Configuring safe-0.3.10...
Installed split-0.2.3.1
Building safe-0.3.10...
Configuring stm-2.4.4.1...
Installed safe-0.3.10
Building stm-2.4.4.1...
Configuring primitive-0.6.1.0...
Installed network-2.6.3.1
Building primitive-0.6.1.0...
Configuring syb-0.6...
Installed stm-2.4.4.1
Building syb-0.6...
Configuring th-lift-0.7.6...
Installed primitive-0.6.1.0
Building th-lift-0.7.6...
Configuring time-locale-compat-0.1.1.3...
Installed syb-0.6
Building time-locale-compat-0.1.1.3...
Configuring text-1.2.2.1...
Installed time-locale-compat-0.1.1.3
Building text-1.2.2.1...
Configuring transformers-compat-0.5.1.4...
Installed th-lift-0.7.6
Building transformers-compat-0.5.1.4...
Configuring zlib-0.6.1.2...
Installed transformers-compat-0.5.1.4
Building zlib-0.6.1.2...
Configuring utf8-string-1.0.1.1...
Installed zlib-0.6.1.2
Building utf8-string-1.0.1.1...
Installed utf8-string-1.0.1.1
Configuring old-time-1.1.0.3...
Building old-time-1.1.0.3...
Configuring hslogger-1.2.10...
Installed text-1.2.2.1
Building hslogger-1.2.10...
Configuring regex-base-0.93.2...
Installed old-time-1.1.0.3
Building regex-base-0.93.2...
Configuring sendfile-0.7.9...
Installed hslogger-1.2.10
Building sendfile-0.7.9...
Configuring StateVar-1.1.0.4...
Installed regex-base-0.93.2
Building StateVar-1.1.0.4...
Configuring threads-0.5.1.4...
Installed StateVar-1.1.0.4
Configuring th-expand-syns-0.4.1.0...
Installed sendfile-0.7.9
Building th-expand-syns-0.4.1.0...
Configuring vector-0.11.0.0...
Installed th-expand-syns-0.4.1.0
Building vector-0.11.0.0...
Building threads-0.5.1.4...
Configuring tagged-0.8.5...
Installed threads-0.5.1.4
Building tagged-0.8.5...
Configuring exceptions-0.8.3...
Installed tagged-0.8.5
Building exceptions-0.8.3...
Configuring transformers-base-0.4.4...
Installed exceptions-0.8.3
Building transformers-base-0.4.4...
Installed transformers-base-0.4.4
Configuring blaze-builder-0.4.0.2...
Building blaze-builder-0.4.0.2...
Configuring hashable-1.2.4.0...
Installed blaze-builder-0.4.0.2
Building hashable-1.2.4.0...
Configuring parsec-3.1.11...
Installed hashable-1.2.4.0
Building parsec-3.1.11...
Configuring system-filepath-0.4.13.4...
Installed vector-0.11.0.0
Configuring wl-pprint-text-1.1.0.4...
Installed parsec-3.1.11
Building wl-pprint-text-1.1.0.4...
Building system-filepath-0.4.13.4...
Configuring polyparse-1.12...
Installed wl-pprint-text-1.1.0.4
Building polyparse-1.12...
Configuring regex-posix-0.95.2...
Installed system-filepath-0.4.13.4
Building regex-posix-0.95.2...
Configuring time-compat-0.1.0.3...
Installed regex-posix-0.95.2
Building time-compat-0.1.0.3...
Configuring monad-control-1.0.1.0...
Installed polyparse-1.12
Configuring th-reify-many-0.1.6...
Installed time-compat-0.1.0.3
Building monad-control-1.0.1.0...
Building th-reify-many-0.1.6...
Installed monad-control-1.0.1.0
Configuring blaze-markup-0.7.1.1...
Configuring unordered-containers-0.2.7.1...
Installed th-reify-many-0.1.6
Building blaze-markup-0.7.1.1...
Building unordered-containers-0.2.7.1...
Configuring void-0.7.1...
Installed blaze-markup-0.7.1.1
Building void-0.7.1...
Configuring scientific-0.3.4.9...
Installed void-0.7.1
Building scientific-0.3.4.9...
Configuring th-lift-instances-0.1.11...
Installed unordered-containers-0.2.7.1
Building th-lift-instances-0.1.11...
Configuring network-uri-2.6.1.0...
Installed scientific-0.3.4.9
Building network-uri-2.6.1.0...
Configuring cpphs-1.20.2...
Installed th-lift-instances-0.1.11
Building cpphs-1.20.2...
Installed network-uri-2.6.1.0
Configuring contravariant-1.4...
Building contravariant-1.4...
Configuring blaze-html-0.8.1.3...
Installed contravariant-1.4
Building blaze-html-0.8.1.3...
Configuring th-orphans-0.13.3...
Installed cpphs-1.20.2
Building th-orphans-0.13.3...
Configuring attoparsec-0.13.1.0...
Installed th-orphans-0.13.3
Building attoparsec-0.13.1.0...
Installed blaze-html-0.8.1.3
Configuring haskell-src-exts-1.18.2...
Building haskell-src-exts-1.18.2...
Configuring happstack-server-7.4.6.2...
Installed attoparsec-0.13.1.0
Building happstack-server-7.4.6.2...
Installed happstack-server-7.4.6.2
Configuring aeson-1.0.2.1...
Building aeson-1.0.2.1...
Installed aeson-1.0.2.1
Installed haskell-src-exts-1.18.2
Configuring haskell-src-meta-0.7.0...
Building haskell-src-meta-0.7.0...
Installed haskell-src-meta-0.7.0
Configuring jmacro-0.6.14...
Building jmacro-0.6.14...
Installed jmacro-0.6.14
Downloading jmacro-rpc-0.3.2...
Configuring jmacro-rpc-0.3.2...
Building jmacro-rpc-0.3.2...
Installed jmacro-rpc-0.3.2
Downloading jmacro-rpc-happstack-0.3...
Configuring jmacro-rpc-happstack-0.3...
Building jmacro-rpc-happstack-0.3...
Failed to install jmacro-rpc-happstack-0.3
Build log ( /home/builder/.cabal/logs/jmacro-rpc-happstack-0.3.log ):
cabal: Entering directory '/tmp/cabal-tmp-14185/jmacro-rpc-happstack-0.3'
Configuring jmacro-rpc-happstack-0.3...
Building jmacro-rpc-happstack-0.3...
Preprocessing library jmacro-rpc-happstack-0.3...
[1 of 1] Compiling Network.JMacroRPC.Happstack ( Network/JMacroRPC/Happstack.hs, dist/build/Network/JMacroRPC/Happstack.o )

Network/JMacroRPC/Happstack.hs:93:88: error:
    • Could not deduce (GHC.Base.MonadPlus m)
        arising from a use of ‘mappend’
      from the context: (Monad m, Functor m, MonadIO m)
        bound by the type signature for:
                   mkConversationPage :: (Monad m, Functor m, MonadIO m) =>
                                         IO timestamp
                                         -> (IntMap (timestamp, s) -> IO (IntMap (timestamp, s)))
                                         -> (JStat -> ServerPartT m Response)
                                         -> IO s
                                         -> [JsonRPC (ServerPartT m) s]
                                         -> IO (ServerPartT m Response)
        at Network/JMacroRPC/Happstack.hs:(86,1)-(92,58)
      Possible fix:
        add (GHC.Base.MonadPlus m) to the context of
          the type signature for:
            mkConversationPage :: (Monad m, Functor m, MonadIO m) =>
                                  IO timestamp
                                  -> (IntMap (timestamp, s) -> IO (IntMap (timestamp, s)))
                                  -> (JStat -> ServerPartT m Response)
                                  -> IO s
                                  -> [JsonRPC (ServerPartT m) s]
                                  -> IO (ServerPartT m Response)
    • In the expression: dir "jrpcs" rpcPage `mappend` mainPage
      In the first argument of ‘(<$>)’, namely
        ‘(\ (rpcPage, mainPage) -> dir "jrpcs" rpcPage `mappend` mainPage)’
      In the expression:
        (\ (rpcPage, mainPage) -> dir "jrpcs" rpcPage `mappend` mainPage)
        <$>
          mkConversationPageGen
            getStamp cullMap serveRpcs pageFun emptyState rpcs

Network/JMacroRPC/Happstack.hs:102:42: error:
    • Couldn't match expected type ‘(t1, t)’
                  with actual type ‘Panel (ServerPartT m0)
                                    -> (ServerPartT m0 Response, ServerPartT m0 Response)’
    • Probable cause: ‘panelToPageGen’ is applied to too few arguments
      In the expression:
        panelToPageGen
          (serveRpcs $ const (return ()))
          (return . toResponse . H.preEscapedToHtml)
          title
          p
      In a pattern binding:
        (updateHandler, drawHandler)
          = panelToPageGen
              (serveRpcs $ const (return ()))
              (return . toResponse . H.preEscapedToHtml)
              title
              p
      In an equation for ‘panelToPage’:
          panelToPage title p
            = dir "jrpcs" updateHandler `mappend` drawHandler
            where
                (updateHandler, drawHandler)
                  = panelToPageGen
                      (serveRpcs $ const (return ()))
                      (return . toResponse . H.preEscapedToHtml)
                      title
                      p
    • Relevant bindings include
        updateHandler :: t1
          (bound at Network/JMacroRPC/Happstack.hs:102:12)
        drawHandler :: t (bound at Network/JMacroRPC/Happstack.hs:102:27)

Network/JMacroRPC/Happstack.hs:102:132: error:
    • Couldn't match type ‘[Char]’ with ‘Maybe String’
      Expected type: Maybe String
        Actual type: String
    • In the third argument of ‘panelToPageGen’, namely ‘title’
      In the expression:
        panelToPageGen
          (serveRpcs $ const (return ()))
          (return . toResponse . H.preEscapedToHtml)
          title
          p
      In a pattern binding:
        (updateHandler, drawHandler)
          = panelToPageGen
              (serveRpcs $ const (return ()))
              (return . toResponse . H.preEscapedToHtml)
              title
              p

Network/JMacroRPC/Happstack.hs:102:138: error:
    • Couldn't match type ‘Panel (ServerPartT m)’ with ‘[Char]’
      Expected type: String
        Actual type: Panel (ServerPartT m)
    • In the fourth argument of ‘panelToPageGen’, namely ‘p’
      In the expression:
        panelToPageGen
          (serveRpcs $ const (return ()))
          (return . toResponse . H.preEscapedToHtml)
          title
          p
      In a pattern binding:
        (updateHandler, drawHandler)
          = panelToPageGen
              (serveRpcs $ const (return ()))
              (return . toResponse . H.preEscapedToHtml)
              title
              p
    • Relevant bindings include
        p :: Panel (ServerPartT m)
          (bound at Network/JMacroRPC/Happstack.hs:101:19)
        panelToPage :: String
                       -> Panel (ServerPartT m) -> ServerPartT m Response
          (bound at Network/JMacroRPC/Happstack.hs:101:1)
cabal: Leaving directory '/tmp/cabal-tmp-14185/jmacro-rpc-happstack-0.3'
cabal: Error: some packages failed to install:
jmacro-rpc-happstack-0.3 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.