Build #2 for hindent-5.3.0

[all reports]

Package hindent-5.3.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2019-04-29 15:23:16.877565767 UTC
Compiler ghc-8.6.3
OS linux
Arch x86_64
Dependencies Cabal-2.4.0.1, base-4.12.0.0, bytestring-0.10.8.2, containers-0.6.0.1, directory-1.3.3.0, exceptions-0.10.1, filepath-1.4.2.1, haskell-src-exts-1.21.0, monad-loops-0.4.3, mtl-2.2.2, text-1.2.3.1, transformers-0.5.5.0, utf8-string-1.0.1.1, yaml-0.11.0.0, base-4.12.0.0, bytestring-0.10.8.2, deepseq-1.4.4.0, directory-1.3.3.0, exceptions-0.10.1, ghc-prim-0.5.3, haskell-src-exts-1.21.0, optparse-applicative-0.14.3.0, path-0.6.1, path-io-1.4.2, text-1.2.3.1, transformers-0.5.5.0, unix-compat-0.5.1, utf8-string-1.0.1.1, yaml-0.11.0.0
Flags none

Code Coverage

No Code Coverage was submitted for this report.

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: https://wiki.haskell.org/Cabal/NewBuild

Resolving dependencies...
Starting     dlist-0.8.0.6
Starting     colour-2.3.4
Starting     hashable-1.2.7.0
Starting     base-compat-0.10.5
Building     dlist-0.8.0.6
Building     hashable-1.2.7.0
Building     colour-2.3.4
Building     base-compat-0.10.5
Completed    dlist-0.8.0.6
Starting     haskell-src-exts-1.21.0
Building     haskell-src-exts-1.21.0
Completed    hashable-1.2.7.0
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-0.6.4.0
Building     monad-loops-0.4.3
Completed    colour-2.3.4
Starting     random-1.1
Building     primitive-0.6.4.0
Building     random-1.1
Completed    monad-loops-0.4.3
Starting     split-0.2.3.3
Building     split-0.2.3.3
Completed    random-1.1
Starting     tagged-0.8.6
Completed    split-0.2.3.3
Starting     th-abstraction-0.3.1.0
Building     tagged-0.8.6
Building     th-abstraction-0.3.1.0
Completed    tagged-0.8.6
Starting     time-locale-compat-0.1.1.5
Building     time-locale-compat-0.1.1.5
Completed    time-locale-compat-0.1.1.5
Starting     transformers-compat-0.6.4
Completed    th-abstraction-0.3.1.0
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-0.1.2.0
Building     unliftio-core-0.1.2.0
Completed    primitive-0.6.4.0
Starting     utf8-string-1.0.1.1
Completed    transformers-compat-0.6.4
Starting     unordered-containers-0.2.10.0
Building     utf8-string-1.0.1.1
Building     unordered-containers-0.2.10.0
Completed    unliftio-core-0.1.2.0
Starting     ansi-terminal-0.9
Building     ansi-terminal-0.9
Completed    utf8-string-1.0.1.1
Starting     uuid-types-1.0.3
Completed    ansi-terminal-0.9
Starting     vector-0.12.0.2
Building     uuid-types-1.0.3
Building     vector-0.12.0.2
Completed    uuid-types-1.0.3
Starting     scientific-0.3.6.2
Building     scientific-0.3.6.2
Completed    unordered-containers-0.2.10.0
Starting     exceptions-0.10.1
Building     exceptions-0.10.1
Completed    scientific-0.3.6.2
Starting     ansi-wl-pprint-0.6.8.2
Building     ansi-wl-pprint-0.6.8.2
Completed    exceptions-0.10.1
Starting     attoparsec-0.13.2.2
Building     attoparsec-0.13.2.2
Completed    ansi-wl-pprint-0.6.8.2
Starting     temporary-1.3
Building     temporary-1.3
Completed    temporary-1.3
Starting     resourcet-1.2.2
Building     resourcet-1.2.2
Completed    resourcet-1.2.2
Starting     optparse-applicative-0.14.3.0
Building     optparse-applicative-0.14.3.0
Completed    attoparsec-0.13.2.2
Completed    optparse-applicative-0.14.3.0
Completed    vector-0.12.0.2
Starting     vector-algorithms-0.8.0.1
Starting     aeson-1.4.3.0
Building     vector-algorithms-0.8.0.1
Building     aeson-1.4.3.0
Completed    vector-algorithms-0.8.0.1
Starting     mono-traversable-1.0.11.0
Building     mono-traversable-1.0.11.0
Completed    aeson-1.4.3.0
Starting     path-0.6.1
Building     path-0.6.1
Completed    mono-traversable-1.0.11.0
Starting     conduit-1.3.1.1
Building     conduit-1.3.1.1
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-1.3.1.1
Starting     libyaml-0.1.1.0
Building     libyaml-0.1.1.0
Completed    haskell-src-exts-1.21.0
Completed    libyaml-0.1.1.0
Starting     yaml-0.11.0.0
Building     yaml-0.11.0.0
Completed    yaml-0.11.0.0
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-3331/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-3331/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

Test log

No test log was submitted for this report.