Build #6 for tabloid-0.3

[all reports]

Package tabloid-0.3
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2017-01-01 19:46:39.869452 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0, bytestring-0.10.8.1, containers-0.5.7.1, gtk-0.14.6, process-1.4.2.0, regex-base-0.93.2, regex-posix-0.95.2
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 mtl-2.2.1...
Building primitive-0.6.1.0...
Installed mtl-2.2.1
Configuring random-1.1...
Installed primitive-0.6.1.0
Configuring text-1.2.2.1...
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 regex-base-0.93.2...
Building regex-base-0.93.2...
Configuring vector-0.11.0.0...
Installed regex-base-0.93.2
Building vector-0.11.0.0...
Installed text-1.2.2.1
Configuring hashable-1.2.4.0...
Building hashable-1.2.4.0...
Configuring regex-posix-0.95.2...
Installed hashable-1.2.4.0
Building regex-posix-0.95.2...
Installed regex-posix-0.95.2
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 cairo-0.13.3.1...
Configuring glib-0.13.4.1...
Building cairo-0.13.3.1...
Building glib-0.13.4.1...
Installed cairo-0.13.3.1
Installed glib-0.13.4.1
Configuring gio-0.13.3.1...
Configuring pango-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
Downloading tabloid-0.3...
Configuring tabloid-0.3...
Building tabloid-0.3...
Failed to install tabloid-0.3
Build log ( /home/builder/.cabal/logs/tabloid-0.3.log ):
cabal: Entering directory '/tmp/cabal-tmp-13000/tabloid-0.3'
Configuring tabloid-0.3...
Building tabloid-0.3...
Preprocessing executable 'tabloid' for tabloid-0.3...
[ 1 of 19] Compiling WindowedApp      ( WindowedApp.hs, dist/build/tabloid/tabloid-tmp/WindowedApp.o )

WindowedApp.hs:10:3: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘[String]’
    Suppress this warning by saying ‘_ <- unsafeInitGUIForThreadedRTS’

WindowedApp.hs:19:3: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type
      ‘ConnectId Window’
    Suppress this warning by saying ‘_ <- onDestroy window mainQuit’
[ 2 of 19] Compiling TableView        ( TableView.hs, dist/build/tabloid/tabloid-tmp/TableView.o )

TableView.hs:5:1: warning: [-Wunused-imports]
    The qualified import of ‘Data.ByteString.Lazy.Char8’ is redundant
      except perhaps to import instances from ‘Data.ByteString.Lazy.Char8’
    To import instances alone, use: import Data.ByteString.Lazy.Char8()

TableView.hs:19:1: warning: [-Wmissing-signatures]
    Top-level binding with no type signature:
      new :: (TreeModelClass model, WidgetClass child) =>
             model -> child -> IO ViewState

TableView.hs:25:3: warning: [-Wname-shadowing]
    This binding for ‘searchE’ shadows the existing binding
      defined at TableView.hs:12:7

TableView.hs:26:3: warning: [-Wname-shadowing]
    This binding for ‘searchNB’ shadows the existing binding
      defined at TableView.hs:14:7

TableView.hs:27:3: warning: [-Wname-shadowing]
    This binding for ‘searchPB’ shadows the existing binding
      defined at TableView.hs:13:7

TableView.hs:29:3: warning: [-Wname-shadowing]
    This binding for ‘maxLines’ shadows the existing binding
      defined at TableView.hs:11:7

TableView.hs:33:3: warning: [-Wname-shadowing]
    This binding for ‘groupE’ shadows the existing binding
      defined at TableView.hs:16:7

TableView.hs:37:3: warning: [-Wname-shadowing]
    This binding for ‘groupB’ shadows the existing binding
      defined at TableView.hs:15:7

TableView.hs:74:1: warning: [-Wmissing-signatures]
    Top-level binding with no type signature:
      add_col :: (TreeViewClass self,
                  glib-0.13.4.1:System.Glib.UTFString.GlibString string,
                  glib-0.13.4.1:System.Glib.UTFString.GlibString b,
                  TypedTreeModelClass model, TreeModelClass (model t)) =>
                 self -> model t -> (t -> b) -> string -> SortColumnId -> IO ()

TableView.hs:85:3: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘Int’
    Suppress this warning by saying
      ‘_ <- treeViewAppendColumn treeV strCol’
[ 3 of 19] Compiling SimpleRegex      ( SimpleRegex.hs, dist/build/tabloid/tabloid-tmp/SimpleRegex.o )

SimpleRegex.hs:14:1: warning: [-Wunused-imports]
    The import of ‘Data.Either’ is redundant
      except perhaps to import instances from ‘Data.Either’
    To import instances alone, use: import Data.Either()

SimpleRegex.hs:17:1: warning: [-Wunused-imports]
    The import of ‘Control.Monad’ is redundant
      except perhaps to import instances from ‘Control.Monad’
    To import instances alone, use: import Control.Monad()

SimpleRegex.hs:59:21: warning: [-Wunused-matches]
    Defined but not used: ‘rc’
[ 4 of 19] Compiling ShellCmdInputView ( ShellCmdInputView.hs, dist/build/tabloid/tabloid-tmp/ShellCmdInputView.o )

ShellCmdInputView.hs:48:12: error:
    • Could not deduce (glib-0.13.4.1:System.Glib.UTFString.GlibString
                          string0)
        arising from a use of ‘labelNew’
      from the context: (WidgetClass child, TextBufferClass buffer)
        bound by the inferred type of
                 new :: (WidgetClass child, TextBufferClass buffer) =>
                        buffer -> child -> IO ViewState
        at ShellCmdInputView.hs:(16,1)-(68,60)
      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: exitL <- labelNew Nothing
      In the expression:
        do { cmdE <- textViewNewWithBuffer buf;
             let stateTypes = ...
                 fgCols = ...
                 ....;
             mapM_ (uncurry (widgetModifyText cmdE)) $ stateTypes `zip` fgCols;
             mapM_ (uncurry (widgetModifyBase cmdE)) $ stateTypes `zip` bgCols;
             .... }
      In an equation for ‘new’:
          new buf fileButtons
            = do { cmdE <- textViewNewWithBuffer buf;
                   let stateTypes = ...
                       ....;
                   mapM_ (uncurry (widgetModifyText cmdE)) $ stateTypes `zip` fgCols;
                   .... }
cabal: Leaving directory '/tmp/cabal-tmp-13000/tabloid-0.3'
cabal: Error: some packages failed to install:
tabloid-0.3 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.