Build #3 for hindent-5.3.0

[all reports]

Package hindent-5.3.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2019-04-29 15:36:39.414956046 UTC
Compiler ghc-8.6.3
OS linux
Arch x86_64
Dependencies Cabal-, base-, bytestring-, containers-, directory-, exceptions-0.10.1, filepath-, haskell-src-exts-1.21.0, monad-loops-0.4.3, mtl-2.2.2, text-, transformers-, utf8-string-, yaml-, base-, bytestring-, deepseq-, directory-, exceptions-0.10.1, ghc-prim-0.5.3, haskell-src-exts-1.21.0, optparse-applicative-, path-0.6.1, path-io-1.4.2, text-, transformers-, unix-compat-0.5.1, utf8-string-, yaml-
Flags none

Build log

[view raw]

Warning: The install command is a part of the legacy v1 style of cabal usage.

Please switch to using either the new project style and the new-install
command or the legacy v1-install alias as new-style projects will become the
default in the next version of cabal-install. Please file a bug if you cannot
replicate a working v1- use case with the new-style commands.

For more information, see:

Resolving dependencies...
Starting     colour-2.3.4
Starting     hashable-
Starting     dlist-
Starting     base-compat-0.10.5
Building     colour-2.3.4
Building     hashable-
Building     dlist-
Building     base-compat-0.10.5
Completed    dlist-
Starting     haskell-src-exts-1.21.0
Building     haskell-src-exts-1.21.0
Completed    hashable-
Starting     integer-logarithms-1.0.3
Building     integer-logarithms-1.0.3
Completed    base-compat-0.10.5
Starting     monad-loops-0.4.3
Completed    integer-logarithms-1.0.3
Starting     primitive-
Building     monad-loops-0.4.3
Completed    colour-2.3.4
Starting     random-1.1
Building     primitive-
Building     random-1.1
Completed    monad-loops-0.4.3
Starting     split-
Building     split-
Completed    random-1.1
Starting     tagged-0.8.6
Completed    split-
Starting     th-abstraction-
Building     tagged-0.8.6
Building     th-abstraction-
Completed    tagged-0.8.6
Starting     time-locale-compat-
Building     time-locale-compat-
Completed    time-locale-compat-
Starting     transformers-compat-0.6.4
Completed    th-abstraction-
Starting     unix-compat-0.5.1
Building     transformers-compat-0.6.4
Building     unix-compat-0.5.1
Completed    unix-compat-0.5.1
Starting     unliftio-core-
Building     unliftio-core-
Completed    transformers-compat-0.6.4
Starting     utf8-string-
Completed    primitive-
Starting     unordered-containers-
Building     utf8-string-
Building     unordered-containers-
Completed    unliftio-core-
Starting     ansi-terminal-0.9
Building     ansi-terminal-0.9
Completed    utf8-string-
Starting     uuid-types-1.0.3
Building     uuid-types-1.0.3
Completed    ansi-terminal-0.9
Starting     exceptions-0.10.1
Building     exceptions-0.10.1
Completed    uuid-types-1.0.3
Starting     vector-
Building     vector-
Completed    exceptions-0.10.1
Starting     scientific-
Completed    unordered-containers-
Starting     ansi-wl-pprint-
Building     scientific-
Building     ansi-wl-pprint-
Completed    ansi-wl-pprint-
Starting     temporary-1.3
Building     temporary-1.3
Completed    scientific-
Starting     resourcet-1.2.2
Building     resourcet-1.2.2
Completed    temporary-1.3
Starting     optparse-applicative-
Building     optparse-applicative-
Completed    resourcet-1.2.2
Starting     attoparsec-
Building     attoparsec-
Completed    optparse-applicative-
Completed    attoparsec-
Completed    vector-
Starting     vector-algorithms-
Starting     aeson-
Building     vector-algorithms-
Building     aeson-
Completed    vector-algorithms-
Starting     mono-traversable-
Building     mono-traversable-
Completed    aeson-
Starting     path-0.6.1
Building     path-0.6.1
Completed    mono-traversable-
Starting     conduit-
Building     conduit-
Completed    path-0.6.1
Starting     path-io-1.4.2
Building     path-io-1.4.2
Completed    path-io-1.4.2
Completed    conduit-
Starting     libyaml-
Building     libyaml-
Completed    haskell-src-exts-1.21.0
Completed    libyaml-
Starting     yaml-
Building     yaml-
Completed    yaml-
Starting     hindent-5.3.0
Building     hindent-5.3.0
Failed to install hindent-5.3.0
Build log ( /home/builder/.cabal/logs/ghc-8.6.3/hindent-5.3.0-7CBOTLg4MqLHfgV9Pp95Pn.log ):
cabal: Entering directory '/tmp/cabal-tmp-10536/hindent-5.3.0'
Configuring hindent-5.3.0...
Preprocessing library for hindent-5.3.0..
Building library for hindent-5.3.0..
[1 of 5] Compiling HIndent.CabalFile ( src/HIndent/CabalFile.hs, dist/build/HIndent/CabalFile.o )
[2 of 5] Compiling HIndent.CodeBlock ( src/HIndent/CodeBlock.hs, dist/build/HIndent/CodeBlock.o )

src/HIndent/CodeBlock.hs:10:1: warning: [-Wunused-imports]
    The import of ‘Data.Monoid’ is redundant
      except perhaps to import instances from ‘Data.Monoid’
    To import instances alone, use: import Data.Monoid()
10 | import Data.Monoid
   | ^^^^^^^^^^^^^^^^^^
[3 of 5] Compiling HIndent.Types    ( src/HIndent/Types.hs, dist/build/HIndent/Types.o )
[4 of 5] Compiling HIndent.Pretty   ( src/HIndent/Pretty.hs, dist/build/HIndent/Pretty.o )

src/HIndent/Pretty.hs:438:10: error:
    Duplicate instance declarations:
      instance Pretty Type -- Defined at src/HIndent/Pretty.hs:438:10
      instance Pretty Kind -- Defined at src/HIndent/Pretty.hs:1445:10
438 | instance Pretty Type where
    |          ^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-10536/hindent-5.3.0'
cabal: Error: some packages failed to install:
hindent-5.3.0-7CBOTLg4MqLHfgV9Pp95Pn failed during the building phase. The
exception was:
ExitFailure 1