Build #7 for xmobar-0.8

[all reports]

Package xmobar-0.8
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2017-01-04 01:03:06.377563 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies X11-1.7, base-4.9.0.0, bytestring-0.10.8.1, containers-0.5.7.1, filepath-1.4.1.0, mtl-2.2.1, old-locale-1.0.0.7, old-time-1.1.0.3, parsec-3.1.11, process-1.4.2.0, stm-2.4.4.1, unix-2.7.2.0
Flags small_base

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 data-default-class-0.1.2.0...
Building dlist-0.8.0.2...
Installed data-default-class-0.1.2.0
Configuring old-locale-1.0.0.7...
Building old-locale-1.0.0.7...
Configuring mtl-2.2.1...
Installed dlist-0.8.0.2
Building mtl-2.2.1...
Configuring text-1.2.2.1...
Installed old-locale-1.0.0.7
Building text-1.2.2.1...
Configuring stm-2.4.4.1...
Installed mtl-2.2.1
Building stm-2.4.4.1...
Configuring data-default-instances-containers-0.0.1...
Installed stm-2.4.4.1
Building data-default-instances-containers-0.0.1...
Installed data-default-instances-containers-0.0.1
Configuring data-default-instances-dlist-0.0.1...
Building data-default-instances-dlist-0.0.1...
Configuring data-default-instances-old-locale-0.0.1...
Installed 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-old-locale-0.0.1
Building old-time-1.1.0.3...
Configuring data-default-0.7.1.1...
Installed text-1.2.2.1
Installed old-time-1.1.0.3
Configuring parsec-3.1.11...
Building data-default-0.7.1.1...
Building parsec-3.1.11...
Installed data-default-0.7.1.1
Configuring X11-1.7...
Building X11-1.7...
Installed parsec-3.1.11
Installed X11-1.7
Configuring xmobar-0.8...
Building xmobar-0.8...
Failed to install xmobar-0.8
Build log ( /home/builder/.cabal/logs/xmobar-0.8.log ):
cabal: Entering directory '/tmp/cabal-tmp-30894/xmobar-0.8'
[1 of 1] Compiling Main             ( /tmp/cabal-tmp-30894/xmobar-0.8/dist/setup/setup.hs, /tmp/cabal-tmp-30894/xmobar-0.8/dist/setup/Main.o )
Linking /tmp/cabal-tmp-30894/xmobar-0.8/dist/setup/setup ...
Warning: defaultUserHooks in Setup script is deprecated.
Configuring xmobar-0.8...
Warning: No 'build-type' specified. If you do not need a custom Setup.hs or
./configure script then use 'build-type: Simple'.
Warning: 'ghc-options: -prof' is not necessary and will lead to problems when
used on a library. Use the configure flag --enable-library-profiling and/or
--enable-profiling.
Building xmobar-0.8...
Preprocessing executable 'xmobar' for xmobar-0.8...

Runnable.hs-boot:1:12: warning:
    -fglasgow-exts is deprecated: Use individual extensions instead

Runnable.hs:1:12: warning:
    -fglasgow-exts is deprecated: Use individual extensions instead

Xmobar.hs:1:12: warning:
    -fglasgow-exts is deprecated: Use individual extensions instead
[ 1 of 19] Compiling Commands         ( Commands.hs, dist/build/xmobar/xmobar-tmp/Commands.o )
[ 2 of 19] Compiling Plugins          ( Plugins.hs, dist/build/xmobar/xmobar-tmp/Plugins.o )
[ 3 of 19] Compiling Plugins.Date     ( Plugins/Date.hs, dist/build/xmobar/xmobar-tmp/Plugins/Date.o )
[ 4 of 19] Compiling Plugins.Monitors.Common ( Plugins/Monitors/Common.hs, dist/build/xmobar/xmobar-tmp/Plugins/Monitors/Common.o )

Plugins/Monitors/Common.hs:181:8: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘[Char]’
    Suppress this warning by saying
      ‘_ <- ($)
              many
              noneOf
                "\n\
                \\r"’

Plugins/Monitors/Common.hs:186:10: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘[Char]’
    Suppress this warning by saying
      ‘_ <- ($) try ($) manyTill skipRestOfLine string s’

Plugins/Monitors/Common.hs:207:10: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘Char’
    Suppress this warning by saying ‘_ <- char '<'’

Plugins/Monitors/Common.hs:209:10: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘Char’
    Suppress this warning by saying ‘_ <- char '>'’

Plugins/Monitors/Common.hs:284:8: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘ThreadId’
    Suppress this warning by saying
      ‘_ <- ($!) forkIO getData action v1 0’

Plugins/Monitors/Common.hs:286:8: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘ThreadId’
    Suppress this warning by saying
      ‘_ <- ($!) forkIO getData action v2 delay’
[ 5 of 19] Compiling Plugins.Monitors.Batt ( Plugins/Monitors/Batt.hs, dist/build/xmobar/xmobar-tmp/Plugins/Monitors/Batt.o )
[ 6 of 19] Compiling Plugins.Monitors.Cpu ( Plugins/Monitors/Cpu.hs, dist/build/xmobar/xmobar-tmp/Plugins/Monitors/Cpu.o )
[ 7 of 19] Compiling Plugins.Monitors.Mem ( Plugins/Monitors/Mem.hs, dist/build/xmobar/xmobar-tmp/Plugins/Monitors/Mem.o )
[ 8 of 19] Compiling Plugins.Monitors.Net ( Plugins/Monitors/Net.hs, dist/build/xmobar/xmobar-tmp/Plugins/Monitors/Net.o )
[ 9 of 19] Compiling Plugins.Monitors.Swap ( Plugins/Monitors/Swap.hs, dist/build/xmobar/xmobar-tmp/Plugins/Monitors/Swap.o )
[10 of 19] Compiling Plugins.Monitors.Weather ( Plugins/Monitors/Weather.hs, dist/build/xmobar/xmobar-tmp/Plugins/Monitors/Weather.o )

Plugins/Monitors/Weather.hs:64:12: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘Char’
    Suppress this warning by saying ‘_ <- char '.'’

Plugins/Monitors/Weather.hs:66:12: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘Char’
    Suppress this warning by saying ‘_ <- char '.'’

Plugins/Monitors/Weather.hs:68:12: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘Char’
    Suppress this warning by saying ‘_ <- char ' '’

Plugins/Monitors/Weather.hs:70:12: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘Char’
    Suppress this warning by saying ‘_ <- char ' '’

Plugins/Monitors/Weather.hs:75:12: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘[Char]’
    Suppress this warning by saying
      ‘_ <- ($) manyTill (anyChar) char '('’

Plugins/Monitors/Weather.hs:77:12: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘Char’
    Suppress this warning by saying ‘_ <- skipRestOfLine’

Plugins/Monitors/Weather.hs:85:16: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘[Char]’
    Suppress this warning by saying
      ‘_ <- ($) manyTill (anyChar) char '('’

Plugins/Monitors/Weather.hs:87:16: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘Char’
    Suppress this warning by saying ‘_ <- skipRestOfLine’

Plugins/Monitors/Weather.hs:93:8: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘Char’
    Suppress this warning by saying ‘_ <- space’

Plugins/Monitors/Weather.hs:95:8: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘String’
    Suppress this warning by saying
      ‘_ <- (>>) skipRestOfLine getAllBut "/"’

Plugins/Monitors/Weather.hs:100:8: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘String’
    Suppress this warning by saying
      ‘_ <- skipTillString "Temperature: "’

Plugins/Monitors/Weather.hs:103:8: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘String’
    Suppress this warning by saying
      ‘_ <- skipTillString "Relative Humidity: "’

Plugins/Monitors/Weather.hs:105:8: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘String’
    Suppress this warning by saying
      ‘_ <- skipTillString "Pressure (altimeter): "’

Plugins/Monitors/Weather.hs:107:8: warning: [-Wunused-do-bind]
    A do-notation statement discarded a result of type ‘[Char]’
    Suppress this warning by saying
      ‘_ <- manyTill skipRestOfLine (eof)’
[11 of 19] Compiling Plugins.Monitors ( Plugins/Monitors.hs, dist/build/xmobar/xmobar-tmp/Plugins/Monitors.o )
[12 of 19] Compiling Plugins.PipeReader ( Plugins/PipeReader.hs, dist/build/xmobar/xmobar-tmp/Plugins/PipeReader.o )
[13 of 19] Compiling Plugins.StdinReader ( Plugins/StdinReader.hs, dist/build/xmobar/xmobar-tmp/Plugins/StdinReader.o )

Plugins/StdinReader.hs:29:16: error:
    • Ambiguous type variable ‘a0’ arising from a use of ‘catch’
      prevents the constraint ‘(GHC.Exception.Exception
                                  a0)’ from being solved.
      Probable fix: use a type annotation to specify what ‘a0’ should be.
      These potential instances exist:
        instance GHC.Exception.Exception ExitCode
          -- Defined in ‘GHC.IO.Exception’
        ...plus 20 instances involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In the second argument of ‘(=<<)’, namely
        ‘catch
           (hGetLine stdin)
           (\ e
              -> do { hPrint stderr e;
                      return "" })’
      In a stmt of a 'do' block:
        cb
        =<<
          catch
            (hGetLine stdin)
            (\ e
               -> do { hPrint stderr e;
                       return "" })
      In the expression:
        do { cb
             =<<
               catch
                 (hGetLine stdin)
                 (\ e
                    -> do { hPrint stderr e;
                            .... });
             eof <- hIsEOF stdin;
             if eof then exitImmediately ExitSuccess else start StdinReader cb }

Plugins/StdinReader.hs:29:49: error:
    • Ambiguous type variable ‘a0’ arising from a use of ‘hPrint’
      prevents the constraint ‘(Show a0)’ from being solved.
      Relevant bindings include
        e :: a0 (bound at Plugins/StdinReader.hs:29:41)
      Probable fix: use a type annotation to specify what ‘a0’ should be.
      These potential instances exist:
        instance (Show b, Show a) => Show (Either a b)
          -- Defined in ‘Data.Either’
        instance Show ExitCode -- Defined in ‘GHC.IO.Exception’
        instance Show HandlePosn -- Defined in ‘GHC.IO.Handle’
        ...plus 31 others
        ...plus 50 instances involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In a stmt of a 'do' block: hPrint stderr e
      In the expression:
        do { hPrint stderr e;
             return "" }
      In the second argument of ‘catch’, namely
        ‘(\ e
            -> do { hPrint stderr e;
                    return "" })’
cabal: Leaving directory '/tmp/cabal-tmp-30894/xmobar-0.8'
cabal: Error: some packages failed to install:
xmobar-0.8 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.