Build #8 for xbattbar-0.1

[all reports]

Package xbattbar-0.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-23 22:11:37.098359 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies X11-1.7, base-4.9.0.0, old-time-1.1.0.3, select-0.4.0.1
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring data-default-class-0.1.2.0...
Configuring dlist-0.8.0.2...
Building dlist-0.8.0.2...
Building data-default-class-0.1.2.0...
Installed data-default-class-0.1.2.0
Configuring old-locale-1.0.0.7...
Building old-locale-1.0.0.7...
Installed dlist-0.8.0.2
Configuring select-0.4.0.1...
Building select-0.4.0.1...
Configuring data-default-instances-containers-0.0.1...
Installed old-locale-1.0.0.7
Building data-default-instances-containers-0.0.1...
Configuring data-default-instances-dlist-0.0.1...
Installed data-default-instances-containers-0.0.1
Installed select-0.4.0.1
Configuring data-default-instances-old-locale-0.0.1...
Building data-default-instances-dlist-0.0.1...
Building data-default-instances-old-locale-0.0.1...
Configuring old-time-1.1.0.3...
Installed data-default-instances-dlist-0.0.1
Installed data-default-instances-old-locale-0.0.1
Configuring data-default-0.7.1.1...
Building data-default-0.7.1.1...
Building old-time-1.1.0.3...
Installed data-default-0.7.1.1
Configuring X11-1.7...
Building X11-1.7...
Installed old-time-1.1.0.3
Installed X11-1.7
Configuring xbattbar-0.1...
Building xbattbar-0.1...
Failed to install xbattbar-0.1
Build log ( /home/builder/.cabal/logs/xbattbar-0.1.log ):
cabal: Entering directory '/tmp/cabal-tmp-6688/xbattbar-0.1'
Configuring xbattbar-0.1...
Building xbattbar-0.1...
Preprocessing executable 'xbattbar' for xbattbar-0.1...
[1 of 5] Compiling XBattBar.Types   ( src/XBattBar/Types.hs, dist/build/xbattbar/xbattbar-tmp/XBattBar/Types.o )
[2 of 5] Compiling XBattBar.Widgets ( src/XBattBar/Widgets.hs, dist/build/xbattbar/xbattbar-tmp/XBattBar/Widgets.o )
[3 of 5] Compiling XBattBar.Backend ( src/XBattBar/Backend.hs, dist/build/xbattbar/xbattbar-tmp/XBattBar/Backend.o )
[4 of 5] Compiling XBattBar.Core    ( src/XBattBar/Core.hs, dist/build/xbattbar/xbattbar-tmp/XBattBar/Core.o )

src/XBattBar/Core.hs:110:17: error:
    • Couldn't match expected type ‘select-0.4.0.1:System.Posix.IO.Select.FdSet.Internal.FdSet’
                  with actual type ‘[t2]’
    • In the first argument of ‘select’, namely ‘[fd]’
      In a stmt of a 'do' block: n <- select [fd] [] [] (Time int 0)
      In the expression:
        do { n <- select [fd] [] [] (Time int 0);
             case n of {
               -1 -> error "select() error"
               0 -> return timeoutH
               _ -> return eventH } }
    • Relevant bindings include
        fd :: t2 (bound at src/XBattBar/Core.hs:109:15)
        selectWrapper :: t2 -> t -> b -> b -> IO b
          (bound at src/XBattBar/Core.hs:109:1)

src/XBattBar/Core.hs:110:22: error:
    • Couldn't match expected type ‘select-0.4.0.1:System.Posix.IO.Select.FdSet.Internal.FdSet’
                  with actual type ‘[t0]’
    • In the second argument of ‘select’, namely ‘[]’
      In a stmt of a 'do' block: n <- select [fd] [] [] (Time int 0)
      In the expression:
        do { n <- select [fd] [] [] (Time int 0);
             case n of {
               -1 -> error "select() error"
               0 -> return timeoutH
               _ -> return eventH } }

src/XBattBar/Core.hs:110:25: error:
    • Couldn't match expected type ‘select-0.4.0.1:System.Posix.IO.Select.FdSet.Internal.FdSet’
                  with actual type ‘[t1]’
    • In the third argument of ‘select’, namely ‘[]’
      In a stmt of a 'do' block: n <- select [fd] [] [] (Time int 0)
      In the expression:
        do { n <- select [fd] [] [] (Time int 0);
             case n of {
               -1 -> error "select() error"
               0 -> return timeoutH
               _ -> return eventH } }

src/XBattBar/Core.hs:110:29: error:
    Data constructor not in scope:
      Time :: t -> Integer -> System.Posix.IO.Select.Types.Timeout
cabal: Leaving directory '/tmp/cabal-tmp-6688/xbattbar-0.1'
cabal: Error: some packages failed to install:
xbattbar-0.1 failed during the building phase. The exception was:
ExitFailure 1