Build #7 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 11:16:30.66094 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

Build log

[view raw]

Resolving dependencies...
Configuring base64-bytestring-1.0.0.1...
Configuring base-compat-0.9.1...
Building base64-bytestring-1.0.0.1...
Building base-compat-0.9.1...
Installed base64-bytestring-1.0.0.1
Configuring dlist-0.8.0.2...
Building dlist-0.8.0.2...
Configuring extensible-exceptions-0.1.1.4...
Installed base-compat-0.9.1
Building extensible-exceptions-0.1.1.4...
Installed extensible-exceptions-0.1.1.4
Configuring html-1.0.1.2...
Building html-1.0.1.2...
Configuring mtl-2.2.1...
Installed dlist-0.8.0.2
Building mtl-2.2.1...
Configuring network-2.6.3.1...
Installed html-1.0.1.2
Configuring old-locale-1.0.0.7...
Installed mtl-2.2.1
Building old-locale-1.0.0.7...
Building network-2.6.3.1...
Configuring primitive-0.6.1.0...
Installed old-locale-1.0.0.7
Building primitive-0.6.1.0...
Configuring parseargs-0.2.0.8...
Installed primitive-0.6.1.0
Building parseargs-0.2.0.8...
Configuring safe-0.3.10...
Installed network-2.6.3.1
Building safe-0.3.10...
Configuring semigroups-0.18.2...
Installed safe-0.3.10
Configuring split-0.2.3.1...
Installed parseargs-0.2.0.8
Building semigroups-0.18.2...
Building split-0.2.3.1...
Configuring stm-2.4.4.1...
Installed semigroups-0.18.2
Building stm-2.4.4.1...
Configuring syb-0.6...
Installed split-0.2.3.1
Building syb-0.6...
Configuring th-lift-0.7.6...
Installed stm-2.4.4.1
Building th-lift-0.7.6...
Configuring transformers-compat-0.5.1.4...
Installed syb-0.6
Building transformers-compat-0.5.1.4...
Configuring time-locale-compat-0.1.1.3...
Installed th-lift-0.7.6
Building time-locale-compat-0.1.1.3...
Configuring text-1.2.2.1...
Installed transformers-compat-0.5.1.4
Building text-1.2.2.1...
Configuring utf8-string-1.0.1.1...
Installed time-locale-compat-0.1.1.3
Building utf8-string-1.0.1.1...
Configuring zlib-0.6.1.2...
Installed utf8-string-1.0.1.1
Building zlib-0.6.1.2...
Installed zlib-0.6.1.2
Configuring regex-base-0.93.2...
Building regex-base-0.93.2...
Configuring old-time-1.1.0.3...
Installed regex-base-0.93.2
Building old-time-1.1.0.3...
Configuring hslogger-1.2.10...
Installed text-1.2.2.1
Building hslogger-1.2.10...
Configuring vector-0.11.0.0...
Installed old-time-1.1.0.3
Building vector-0.11.0.0...
Configuring StateVar-1.1.0.4...
Installed hslogger-1.2.10
Building StateVar-1.1.0.4...
Configuring threads-0.5.1.4...
Installed StateVar-1.1.0.4
Building threads-0.5.1.4...
Configuring sendfile-0.7.9...
Installed threads-0.5.1.4
Building sendfile-0.7.9...
Configuring th-expand-syns-0.4.1.0...
Installed sendfile-0.7.9
Building th-expand-syns-0.4.1.0...
Configuring tagged-0.8.5...
Installed th-expand-syns-0.4.1.0
Building tagged-0.8.5...
Configuring transformers-base-0.4.4...
Installed tagged-0.8.5
Building transformers-base-0.4.4...
Configuring exceptions-0.8.3...
Installed transformers-base-0.4.4
Building exceptions-0.8.3...
Installed exceptions-0.8.3
Configuring regex-posix-0.95.2...
Configuring blaze-builder-0.4.0.2...
Installed vector-0.11.0.0
Building regex-posix-0.95.2...
Building blaze-builder-0.4.0.2...
Configuring hashable-1.2.4.0...
Installed blaze-builder-0.4.0.2
Configuring parsec-3.1.11...
Installed regex-posix-0.95.2
Building hashable-1.2.4.0...
Building parsec-3.1.11...
Configuring polyparse-1.12...
Installed hashable-1.2.4.0
Building polyparse-1.12...
Configuring system-filepath-0.4.13.4...
Installed parsec-3.1.11
Building system-filepath-0.4.13.4...
Configuring wl-pprint-text-1.1.0.4...
Installed polyparse-1.12
Building wl-pprint-text-1.1.0.4...
Configuring time-compat-0.1.0.3...
Installed system-filepath-0.4.13.4
Building time-compat-0.1.0.3...
Configuring th-reify-many-0.1.6...
Installed wl-pprint-text-1.1.0.4
Building th-reify-many-0.1.6...
Configuring monad-control-1.0.1.0...
Installed time-compat-0.1.0.3
Building monad-control-1.0.1.0...
Installed th-reify-many-0.1.6
Configuring blaze-markup-0.7.1.1...
Building blaze-markup-0.7.1.1...
Configuring th-lift-instances-0.1.11...
Installed monad-control-1.0.1.0
Building th-lift-instances-0.1.11...
Configuring scientific-0.3.4.9...
Installed blaze-markup-0.7.1.1
Building scientific-0.3.4.9...
Configuring unordered-containers-0.2.7.1...
Installed th-lift-instances-0.1.11
Building unordered-containers-0.2.7.1...
Configuring void-0.7.1...
Installed scientific-0.3.4.9
Building void-0.7.1...
Configuring network-uri-2.6.1.0...
Installed void-0.7.1
Building network-uri-2.6.1.0...
Configuring cpphs-1.20.2...
Installed unordered-containers-0.2.7.1
Building cpphs-1.20.2...
Installed network-uri-2.6.1.0
Configuring th-orphans-0.13.3...
Building th-orphans-0.13.3...
Configuring blaze-html-0.8.1.3...
Installed th-orphans-0.13.3
Configuring contravariant-1.4...
Installed cpphs-1.20.2
Building blaze-html-0.8.1.3...
Building contravariant-1.4...
Configuring attoparsec-0.13.1.0...
Installed contravariant-1.4
Building attoparsec-0.13.1.0...
Installed attoparsec-0.13.1.0
Configuring haskell-src-exts-1.18.2...
Building haskell-src-exts-1.18.2...
Configuring aeson-1.0.2.1...
Installed blaze-html-0.8.1.3
Building aeson-1.0.2.1...
Installed aeson-1.0.2.1
Configuring happstack-server-7.4.6.2...
Building happstack-server-7.4.6.2...
Installed happstack-server-7.4.6.2
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
Configuring jmacro-rpc-0.3.2...
Building jmacro-rpc-0.3.2...
Installed jmacro-rpc-0.3.2
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-20122/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-20122/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