Build #7 for structured-haskell-mode-1.0.6

[all reports]

Package structured-haskell-mode-1.0.6
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-11 22:26:22.697108 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0, descriptive-0.0.2, haskell-src-exts-1.15.0.1, text-1.2.2.1
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring base-orphans-0.5.4...
Configuring base-compat-0.9.1...
Building base-orphans-0.5.4...
Building base-compat-0.9.1...
Installed base-orphans-0.5.4
Configuring dlist-0.8.0.2...
Building dlist-0.8.0.2...
Configuring mtl-2.2.1...
Installed base-compat-0.9.1
Building mtl-2.2.1...
Configuring old-locale-1.0.0.7...
Installed dlist-0.8.0.2
Building old-locale-1.0.0.7...
Configuring semigroups-0.18.2...
Installed old-locale-1.0.0.7
Building semigroups-0.18.2...
Configuring stm-2.4.4.1...
Installed mtl-2.2.1
Configuring primitive-0.6.1.0...
Installed semigroups-0.18.2
Building stm-2.4.4.1...
Building primitive-0.6.1.0...
Configuring time-locale-compat-0.1.1.3...
Installed stm-2.4.4.1
Building time-locale-compat-0.1.1.3...
Configuring text-1.2.2.1...
Installed time-locale-compat-0.1.1.3
Building text-1.2.2.1...
Configuring transformers-compat-0.5.1.4...
Installed primitive-0.6.1.0
Building transformers-compat-0.5.1.4...
Installed transformers-compat-0.5.1.4
Configuring old-time-1.1.0.3...
Building old-time-1.1.0.3...
Configuring StateVar-1.1.0.4...
Installed old-time-1.1.0.3
Building StateVar-1.1.0.4...
Configuring vector-0.11.0.0...
Installed StateVar-1.1.0.4
Building vector-0.11.0.0...
Configuring tagged-0.8.5...
Installed text-1.2.2.1
Building tagged-0.8.5...
Installed tagged-0.8.5
Configuring hashable-1.2.4.0...
Building hashable-1.2.4.0...
Configuring distributive-0.5.0.2...
Installed hashable-1.2.4.0
Building distributive-0.5.0.2...
Configuring polyparse-1.12...
Installed distributive-0.5.0.2
Building polyparse-1.12...
Installed vector-0.11.0.0
Configuring unordered-containers-0.2.7.1...
Building unordered-containers-0.2.7.1...
Configuring void-0.7.1...
Installed polyparse-1.12
Building void-0.7.1...
Configuring scientific-0.3.4.9...
Installed void-0.7.1
Building scientific-0.3.4.9...
Installed unordered-containers-0.2.7.1
Configuring cpphs-1.20.2...
Configuring contravariant-1.4...
Installed scientific-0.3.4.9
Building cpphs-1.20.2...
Building contravariant-1.4...
Installed contravariant-1.4
Configuring comonad-5...
Building comonad-5...
Configuring attoparsec-0.13.1.0...
Installed cpphs-1.20.2
Building attoparsec-0.13.1.0...
Installed comonad-5
Configuring bifunctors-5.4.1...
Building bifunctors-5.4.1...
Configuring haskell-src-exts-1.15.0.1...
Installed attoparsec-0.13.1.0
Building haskell-src-exts-1.15.0.1...
Configuring aeson-1.0.2.1...
Installed bifunctors-5.4.1
Building aeson-1.0.2.1...
Installed aeson-1.0.2.1
Configuring descriptive-0.0.2...
Building descriptive-0.0.2...
Installed descriptive-0.0.2
Installed haskell-src-exts-1.15.0.1
Configuring structured-haskell-mode-1.0.6...
Building structured-haskell-mode-1.0.6...
Failed to install structured-haskell-mode-1.0.6
Build log ( /home/builder/.cabal/logs/structured-haskell-mode-1.0.6.log ):
cabal: Entering directory '/tmp/cabal-tmp-27803/structured-haskell-mode-1.0.6'
Configuring structured-haskell-mode-1.0.6...
Building structured-haskell-mode-1.0.6...
Preprocessing executable 'structured-haskell-mode' for
structured-haskell-mode-1.0.6...
[1 of 1] Compiling Main             ( src/Main.hs, dist/build/structured-haskell-mode/structured-haskell-mode-tmp/Main.o )

src/Main.hs:48:8: error:
    • Couldn't match expected type ‘Either
                                      (Description Option) (Action, ParseType, [Extension])’
                  with actual type ‘(Either t0 (Action, ParseType, [Extension]), t1)’
    • In the pattern: (Right (action, typ, exts), _)
      In a case alternative:
          (Right (action, typ, exts), _) -> outputWith action typ exts code
      In a stmt of a 'do' block:
        case consume options (map T.pack args) of {
          (Right (action, typ, exts), _) -> outputWith action typ exts code
          (Left _err, _)
            -> error (T.unpack (textDescription (fst (describe options [])))) }

src/Main.hs:50:8: error:
    • Couldn't match expected type ‘Either
                                      (Description Option) (Action, ParseType, [Extension])’
                  with actual type ‘(Either t2 t3, t4)’
    • In the pattern: (Left _err, _)
      In a case alternative:
          (Left _err, _)
            -> error (T.unpack (textDescription (fst (describe options []))))
      In a stmt of a 'do' block:
        case consume options (map T.pack args) of {
          (Right (action, typ, exts), _) -> outputWith action typ exts code
          (Left _err, _)
            -> error (T.unpack (textDescription (fst (describe options [])))) }

src/Main.hs:51:49: error:
    • Couldn't match expected type ‘(Description Option, b0)’
                  with actual type ‘Description Option’
    • In the first argument of ‘fst’, namely ‘(describe options [])’
      In the first argument of ‘textDescription’, namely
        ‘(fst (describe options []))’
      In the first argument of ‘T.unpack’, namely
        ‘(textDescription (fst (describe options [])))’
cabal: Leaving directory '/tmp/cabal-tmp-27803/structured-haskell-mode-1.0.6'
cabal: Error: some packages failed to install:
structured-haskell-mode-1.0.6 failed during the building phase. The exception
was:
ExitFailure 1

Test log

No test log was submitted for this report.