Build #6 for web-browser-in-haskell-1.0

[all reports]

Package web-browser-in-haskell-1.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-15 05:18:08.133459 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0, gtk-0.14.6, webkit-0.14.2.1
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring mtl-2.2.1...
Configuring primitive-0.6.1.0...
Building primitive-0.6.1.0...
Building mtl-2.2.1...
Installed mtl-2.2.1
Configuring random-1.1...
Configuring text-1.2.2.1...
Installed primitive-0.6.1.0
Building random-1.1...
Building text-1.2.2.1...
Configuring utf8-string-1.0.1.1...
Installed random-1.1
Building utf8-string-1.0.1.1...
Installed utf8-string-1.0.1.1
Configuring vector-0.11.0.0...
Building vector-0.11.0.0...
Installed text-1.2.2.1
Configuring hashable-1.2.4.0...
Building hashable-1.2.4.0...
Installed hashable-1.2.4.0
Installed vector-0.11.0.0
Configuring hashtables-1.2.1.0...
Building hashtables-1.2.1.0...
Installed hashtables-1.2.1.0
Configuring gtk2hs-buildtools-0.13.2.1...
Building gtk2hs-buildtools-0.13.2.1...
Installed gtk2hs-buildtools-0.13.2.1
Configuring glib-0.13.4.1...
Configuring cairo-0.13.3.1...
Building glib-0.13.4.1...
Building cairo-0.13.3.1...
Installed cairo-0.13.3.1
Installed glib-0.13.4.1
Configuring pango-0.13.3.1...
Configuring gio-0.13.3.1...
Building gio-0.13.3.1...
Building pango-0.13.3.1...
Installed pango-0.13.3.1
Installed gio-0.13.3.1
Configuring gtk-0.14.6...
Building gtk-0.14.6...
Installed gtk-0.14.6
Configuring webkit-0.14.2.1...
Building webkit-0.14.2.1...
Installed webkit-0.14.2.1
Downloading web-browser-in-haskell-1.0...
Configuring web-browser-in-haskell-1.0...
Building web-browser-in-haskell-1.0...
Failed to install web-browser-in-haskell-1.0
Build log ( /home/builder/.cabal/logs/web-browser-in-haskell-1.0.log ):
cabal: Entering directory '/tmp/cabal-tmp-403/web-browser-in-haskell-1.0'
Configuring web-browser-in-haskell-1.0...
Building web-browser-in-haskell-1.0...
Preprocessing library web-browser-in-haskell-1.0...
[1 of 1] Compiling WebBrowser.Browser ( WebBrowser/Browser.hs, dist/build/WebBrowser/Browser.o )

WebBrowser/Browser.hs:137:3: error:
    • Could not deduce (glib-0.13.4.1:System.Glib.UTFString.GlibString
                          string0)
        arising from a use of ‘toolbarAppendNewWidget’
      from the context: (Show a, NotebookClass self)
        bound by the inferred type of
                 repeating :: (Show a, NotebookClass self) =>
                              self -> IORef a -> IO WebView
                 browserViewNewTab :: (Show a, NotebookClass self) =>
                                      self -> IORef a -> WebFrame -> IO WebView
        at WebBrowser/Browser.hs:(86,1)-(192,16)
      The type variable ‘string0’ is ambiguous
      These potential instances exist:
        instance glib-0.13.4.1:System.Glib.UTFString.GlibString [Char]
          -- Defined in ‘glib-0.13.4.1:System.Glib.UTFString’
        ...plus one instance involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In a stmt of a 'do' block: toolbarAppendNewWidget tool h Nothing
      In the expression:
        do { widgetShowAll ntbk;
             tab2 <- tableNew 1 5 False;
             button2 <- buttonNew;
             buttonSetFocusOnClick button2 False;
             .... }
      In an equation for ‘repeating’:
          repeating ntbk cnt
            = do { widgetShowAll ntbk;
                   tab2 <- tableNew 1 5 False;
                   button2 <- buttonNew;
                   .... }

WebBrowser/Browser.hs:153:5: error:
    • Could not deduce (glib-0.13.4.1:System.Glib.UTFString.GlibString
                          string1)
        arising from a use of ‘webFrameGetUri’
      from the context: (Show a, NotebookClass self)
        bound by the inferred type of
                 repeating :: (Show a, NotebookClass self) =>
                              self -> IORef a -> IO WebView
                 browserViewNewTab :: (Show a, NotebookClass self) =>
                                      self -> IORef a -> WebFrame -> IO WebView
        at WebBrowser/Browser.hs:(86,1)-(192,16)
      The type variable ‘string1’ is ambiguous
      These potential instances exist:
        instance glib-0.13.4.1:System.Glib.UTFString.GlibString [Char]
          -- Defined in ‘glib-0.13.4.1:System.Glib.UTFString’
        ...plus one instance involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In the first argument of ‘(>>=)’, namely ‘webFrameGetUri frame’
      In a stmt of a 'do' block:
        webFrameGetUri frame
        >>=
          \ uri
            -> do { ch <- webViewGetTitle wv;
                    let ...;
                    .... }
      In the expression:
        do { webFrameGetUri frame >>= \ uri -> do { ... } }
cabal: Leaving directory '/tmp/cabal-tmp-403/web-browser-in-haskell-1.0'
cabal: Error: some packages failed to install:
web-browser-in-haskell-1.0 failed during the building phase. The exception
was:
ExitFailure 1

Test log

No test log was submitted for this report.