Build #1 for cabal-debian-4.38.3

[all reports]

Package cabal-debian-4.38.3
Install DependencyFailed cabal-debian-4.38.3
Docs NotTried
Tests NotTried
Time submitted 2018-12-29 17:30:51.881536432 UTC
Compiler ghc-8.6.1
OS linux
Arch x86_64
Dependencies Cabal-, Diff-0.3.4, HUnit-, Unixutils-1.54.1, ansi-wl-pprint-, base-, bifunctors-5.5.3, containers-, data-default-, debian-3.93.2, deepseq-, directory-, exceptions-0.10.0, filepath-, hsemail-2, lens-4.17, memoize-0.8.1, mtl-2.2.2, network-uri-, newtype-generics-0.5.3, optparse-applicative-, parsec-, pretty-, process-, pureMD5-2.1.3, regex-tdfa-, set-extra-1.4.1, syb-0.7, text-, unix-, utf8-string-, Cabal-, Unixutils-1.54.1, base-, debian-3.93.2, lens-4.17, mtl-2.2.2, pretty-
Flags pretty-112

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     Diff-0.3.4
Starting     SHA-
Building     Diff-0.3.4
Building     SHA-
Completed    Diff-0.3.4
Starting     StateVar-
Building     StateVar-
Completed    StateVar-
Starting     base-orphans-0.8
Building     base-orphans-0.8
Completed    base-orphans-0.8
Downloading  bzlib-
Downloaded   bzlib-
Starting     bzlib-
Completed    SHA-
Starting     cabal-doctest-1.0.6
Building     bzlib-
Building     cabal-doctest-1.0.6
Completed    bzlib-
Starting     call-stack-0.1.0
Completed    cabal-doctest-1.0.6
Starting     cereal-
Building     call-stack-0.1.0
Building     cereal-
Completed    call-stack-0.1.0
Starting     colour-2.3.4
Building     colour-2.3.4
Completed    cereal-
Starting     data-default-class-
Building     data-default-class-
Completed    colour-2.3.4
Starting     dlist-
Building     dlist-
Completed    data-default-class-
Starting     entropy-
Completed    dlist-
Downloading  fmlist-0.9.2
Downloaded   fmlist-0.9.2
Starting     fmlist-0.9.2
Building     fmlist-0.9.2
Building     entropy-
Completed    fmlist-0.9.2
Starting     hashable-
Building     hashable-
Completed    entropy-
Downloading  memoize-0.8.1
Downloaded   memoize-0.8.1
Starting     memoize-0.8.1
Building     memoize-0.8.1
Completed    hashable-
Starting     network-
Completed    memoize-0.8.1
Starting     network-uri-
Building     network-uri-
Building     network-
Completed    network-uri-
Downloading  newtype-generics-0.5.3
Downloaded   newtype-generics-0.5.3
Starting     newtype-generics-0.5.3
Building     newtype-generics-0.5.3
Completed    newtype-generics-0.5.3
Starting     old-locale-
Building     old-locale-
Completed    old-locale-
Starting     parallel-
Building     parallel-
Completed    network-
Downloading  polyparse-1.12.1
Downloaded   polyparse-1.12.1
Starting     polyparse-1.12.1
Building     polyparse-1.12.1
Completed    parallel-
Starting     primitive-
Building     primitive-
Completed    polyparse-1.12.1
Starting     random-1.1
Building     random-1.1
Completed    random-1.1
Starting     reflection-2.1.4
Building     reflection-2.1.4
Completed    primitive-
Starting     regex-base-0.93.2
Building     regex-base-0.93.2
Completed    regex-base-0.93.2
Starting     semigroups-0.18.5
Building     semigroups-0.18.5
Completed    reflection-2.1.4
Starting     syb-0.7
Building     syb-0.7
Completed    semigroups-0.18.5
Starting     tagged-0.8.6
Building     tagged-0.8.6
Completed    syb-0.7
Starting     th-abstraction-
Completed    tagged-0.8.6
Starting     transformers-compat-0.6.2
Building     th-abstraction-
Building     transformers-compat-0.6.2
Completed    transformers-compat-0.6.2
Starting     utf8-string-
Completed    th-abstraction-
Starting     void-0.7.2
Building     utf8-string-
Building     void-0.7.2
Completed    void-0.7.2
Starting     zlib-0.6.2
Building     zlib-0.6.2
Completed    utf8-string-
Starting     contravariant-1.5
Building     contravariant-1.5
Completed    contravariant-1.5
Starting     HUnit-
Completed    zlib-0.6.2
Starting     ansi-terminal-0.8.2
Building     HUnit-
Building     ansi-terminal-0.8.2
Completed    HUnit-
Starting     data-default-instances-containers-0.0.1
Building     data-default-instances-containers-0.0.1
Completed    ansi-terminal-0.8.2
Starting     data-default-instances-dlist-0.0.1
Building     data-default-instances-dlist-0.0.1
Completed    data-default-instances-containers-0.0.1
Starting     unordered-containers-
Completed    data-default-instances-dlist-0.0.1
Starting     old-time-
Building     unordered-containers-
Building     old-time-
Completed    old-time-
Starting     data-default-instances-old-locale-0.0.1
Building     data-default-instances-old-locale-0.0.1
Completed    data-default-instances-old-locale-0.0.1
Downloading  HaXml-1.25.5
Downloaded   HaXml-1.25.5
Starting     HaXml-1.25.5
Building     HaXml-1.25.5
Completed    unordered-containers-
Starting     vector-
Building     vector-
Completed    vector-
Downloading  regex-tdfa-
Downloaded   regex-tdfa-
Starting     regex-tdfa-
Building     regex-tdfa-
Completed    regex-tdfa-
Starting     regex-posix-0.95.2
Building     regex-posix-0.95.2
Completed    HaXml-1.25.5
Downloading  set-extra-1.4.1
Downloaded   set-extra-1.4.1
Starting     set-extra-1.4.1
Building     set-extra-1.4.1
Completed    regex-posix-0.95.2
Starting     distributive-0.6
Completed    set-extra-1.4.1
Starting     crypto-api-0.13.3
Building     crypto-api-0.13.3
Building     distributive-0.6
Completed    distributive-0.6
Starting     transformers-base-
Building     transformers-base-
Completed    crypto-api-0.13.3
Starting     exceptions-0.10.0
Completed    transformers-base-
Downloading  generic-deriving-1.12.2
Downloaded   generic-deriving-1.12.2
Building     exceptions-0.10.0
Starting     generic-deriving-1.12.2
Building     generic-deriving-1.12.2
Completed    exceptions-0.10.0
Starting     ansi-wl-pprint-
Building     ansi-wl-pprint-
Completed    ansi-wl-pprint-
Downloading  hsemail-2
Downloaded   hsemail-2
Starting     hsemail-2
Building     hsemail-2
Completed    hsemail-2
Starting     data-default-
Building     data-default-
Completed    data-default-
Downloading  ListLike-4.6
Downloaded   ListLike-4.6
Starting     ListLike-4.6
Building     ListLike-4.6
Completed    generic-deriving-1.12.2
Starting     regex-compat-0.95.1
Building     regex-compat-0.95.1
Completed    regex-compat-0.95.1
Starting     comonad-5.0.4
Building     comonad-5.0.4
Completed    ListLike-4.6
Downloading  pureMD5-2.1.3
Downloaded   pureMD5-2.1.3
Starting     pureMD5-2.1.3
Building     pureMD5-2.1.3
Completed    comonad-5.0.4
Starting     optparse-applicative-
Building     optparse-applicative-
Completed    pureMD5-2.1.3
Downloading  process-extras-0.7.4
Downloaded   process-extras-0.7.4
Starting     process-extras-0.7.4
Building     process-extras-0.7.4
Completed    process-extras-0.7.4
Starting     bifunctors-5.5.3
Building     bifunctors-5.5.3
Completed    optparse-applicative-
Downloading  Unixutils-1.54.1
Downloaded   Unixutils-1.54.1
Starting     Unixutils-1.54.1
Building     Unixutils-1.54.1
Completed    Unixutils-1.54.1
Completed    bifunctors-5.5.3
Starting     semigroupoids-5.3.1
Starting     profunctors-5.3
Building     profunctors-5.3
Building     semigroupoids-5.3.1
Completed    profunctors-5.3
Starting     invariant-0.5.1
Building     invariant-0.5.1
Completed    semigroupoids-5.3.1
Starting     free-5.1
Building     free-5.1
Completed    invariant-0.5.1
Starting     either-5.0.1
Building     either-5.0.1
Completed    either-5.0.1
Downloading  debian-3.93.2
Downloaded   debian-3.93.2
Starting     debian-3.93.2
Building     debian-3.93.2
Failed to install debian-3.93.2
Build log ( /home/builder/.cabal/logs/ghc-8.6.1/debian-3.93.2-B1AWO1yFe5uHTxsIbXvajp.log ):
cabal: Entering directory '/tmp/cabal-tmp-6779/debian-3.93.2'
Configuring debian-3.93.2...
Preprocessing library for debian-3.93.2..
Building library for debian-3.93.2..
[ 1 of 37] Compiling Debian.Arch      ( Debian/Arch.hs, dist/build/Debian/Arch.o )
[ 2 of 37] Compiling Debian.Extra.Files ( Debian/Extra/Files.hs, dist/build/Debian/Extra/Files.o )
[ 3 of 37] Compiling Debian.Loc       ( Debian/Loc.hs, dist/build/Debian/Loc.o )
[ 4 of 37] Compiling Debian.Pretty    ( Debian/Pretty.hs, dist/build/Debian/Pretty.o )
[ 5 of 37] Compiling Debian.Control.Common ( Debian/Control/Common.hs, dist/build/Debian/Control/Common.o )
[ 6 of 37] Compiling Debian.Deb       ( Debian/Deb.hs, dist/build/Debian/Deb.o )
[ 7 of 37] Compiling Debian.Control.String ( Debian/Control/String.hs, dist/build/Debian/Control/String.o )
[ 8 of 37] Compiling Debian.Control.ByteString ( Debian/Control/ByteString.hs, dist/build/Debian/Control/ByteString.o )
[ 9 of 37] Compiling Debian.Control.TextLazy ( Debian/Control/TextLazy.hs, dist/build/Debian/Control/TextLazy.o )

Debian/Control/TextLazy.hs:32:1: warning: [-Wunused-imports]
    The qualified import of ‘reverse’
    from module ‘Data.Text.Lazy’ is redundant
32 | import qualified Data.Text.Lazy as T (Text, pack, unpack, map, dropAround, reverse, fromStrict, toStrict)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[10 of 37] Compiling Debian.Control.Text ( Debian/Control/Text.hs, dist/build/Debian/Control/Text.o )

Debian/Control/Text.hs:32:1: warning: [-Wunused-imports]
    The qualified import of ‘reverse’
    from module ‘Data.Text’ is redundant
32 | import qualified Data.Text as T (Text, pack, unpack, map, dropAround, reverse)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[11 of 37] Compiling Debian.Control.Builder ( Debian/Control/Builder.hs, dist/build/Debian/Control/Builder.o )

Debian/Control/Builder.hs:34:1: warning: [-Wunused-imports]
    The qualified import of ‘Data.Text’ is redundant
      except perhaps to import instances from ‘Data.Text’
    To import instances alone, use: import Data.Text()
34 | import qualified Data.Text as T (pack, unpack, map, reverse)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Debian/Control/Builder.hs:36:1: warning: [-Wunused-imports]
    The import of ‘fromLazyText’
    from module ‘Data.Text.Lazy.Builder’ is redundant
36 | import Data.Text.Lazy.Builder (Builder, fromLazyText, fromText, toLazyText)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Debian/Control/Builder.hs:104:1: warning: [-Wmissing-signatures]
    Top-level binding with no type signature:
      dropAround :: LL.ListLike c item => (item -> Bool) -> c -> c
104 | dropAround p = LL.dropWhile p . LL.dropWhileEnd p
    | ^^^^^^^^^^
[12 of 37] Compiling Debian.Release   ( Debian/Release.hs, dist/build/Debian/Release.o )
[13 of 37] Compiling Debian.Sources   ( Debian/Sources.hs, dist/build/Debian/Sources.o )
[14 of 37] Compiling Debian.Time      ( Debian/Time.hs, dist/build/Debian/Time.o )

Debian/Time.hs:23:19: warning: [-Wdeprecations]
    In the use of ‘parseTime’
    (imported from Data.Time, but defined in time-
    Deprecated: "use "parseTimeM True" instead"
23 | parseTimeRFC822 = parseTime defaultTimeLocale rfc822DateFormat'
   |                   ^^^^^^^^^
[15 of 37] Compiling Debian.URI       ( Debian/URI.hs, dist/build/Debian/URI.o )
[16 of 37] Compiling Debian.Apt.Methods ( Debian/Apt/Methods.hs, dist/build/Debian/Apt/Methods.o )

Debian/Apt/Methods.hs:28:1: warning: [-Wdeprecations]
    Module ‘Control.Monad.Error’ is deprecated:
      Use "Control.Monad.Except" instead
28 | import "mtl" Control.Monad.Error
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[17 of 37] Compiling Debian.UTF8      ( Debian/UTF8.hs, dist/build/Debian/UTF8.o )
[18 of 37] Compiling Debian.Version.Internal ( Debian/Version/Internal.hs, dist/build/Debian/Version/Internal.o )
[19 of 37] Compiling Debian.Version.Common ( Debian/Version/Common.hs, dist/build/Debian/Version/Common.o )
[20 of 37] Compiling Debian.Version.ByteString ( Debian/Version/ByteString.hs, dist/build/Debian/Version/ByteString.o )
[21 of 37] Compiling Debian.Version.String ( Debian/Version/String.hs, dist/build/Debian/Version/String.o )
[22 of 37] Compiling Debian.Version   ( Debian/Version.hs, dist/build/Debian/Version.o )
[23 of 37] Compiling Debian.Relation.Common ( Debian/Relation/Common.hs, dist/build/Debian/Relation/Common.o )
[24 of 37] Compiling Debian.Relation.String ( Debian/Relation/String.hs, dist/build/Debian/Relation/String.o )
[25 of 37] Compiling Debian.Relation.Text ( Debian/Relation/Text.hs, dist/build/Debian/Relation/Text.o )
[26 of 37] Compiling Debian.Relation.ByteString ( Debian/Relation/ByteString.hs, dist/build/Debian/Relation/ByteString.o )
[27 of 37] Compiling Debian.Relation  ( Debian/Relation.hs, dist/build/Debian/Relation.o )
[28 of 37] Compiling Debian.Control.Policy ( Debian/Control/Policy.hs, dist/build/Debian/Control/Policy.o )

Debian/Control/Policy.hs:87:5: warning: [-Wunused-top-binds]
    Defined but not used: ‘control’
87 |     control :: a -> Control' Text
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[29 of 37] Compiling Debian.Control   ( Debian/Control.hs, dist/build/Debian/Control.o )

Debian/Control.hs:56:1: warning: [-Wunused-imports]
    The qualified import of ‘Debian.Control.TextLazy’ is redundant
      except perhaps to import instances from ‘Debian.Control.TextLazy’
    To import instances alone, use: import Debian.Control.TextLazy()
56 | import qualified Debian.Control.TextLazy as TL
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[30 of 37] Compiling Debian.Util.FakeChanges ( Debian/Util/FakeChanges.hs, dist/build/Debian/Util/FakeChanges.o )

Debian/Util/FakeChanges.hs:18:1: warning: [-Wdeprecations]
    Module ‘Network.BSD’ is deprecated:
      This platform dependent module is no longer supported.
18 | import Network.BSD (getHostName)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Debian/Util/FakeChanges.hs:249:57: warning: [-Wdeprecations]
    In the use of ‘getHostName’ (imported from Network.BSD):
    Deprecated: "This platform dependent module is no longer supported."
249 |                          (Left (_ :: SomeException)) -> getHostName -- FIXME: this is not a FQDN
    |                                                         ^^^^^^^^^^^
[31 of 37] Compiling Debian.GenBuildDeps ( Debian/GenBuildDeps.hs, dist/build/Debian/GenBuildDeps.o )

Debian/GenBuildDeps.hs:155:25: warning: [-Wname-shadowing]
    This binding for ‘ready’ shadows the existing binding
      defined at Debian/GenBuildDeps.hs:120:21
155 |       makeReady blocked ready thisReady =
    |                         ^^^^^

Debian/GenBuildDeps.hs:221:7: warning: [-Wincomplete-patterns]
    Pattern match(es) are non-exhaustive
    In an equation for ‘addBackEdge’: Patterns not matched: []
221 |       addBackEdge path@(root : _) =
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
[32 of 37] Compiling Debian.Apt.Index ( Debian/Apt/Index.hs, dist/build/Debian/Apt/Index.o )

Debian/Apt/Index.hs:30:1: warning: [-Wunused-imports]
    The import of ‘null’ from module ‘Data.Text’ is redundant
30 | import Data.Text as Text (Text, unpack, concat, lines, null, words)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Debian/Apt/Index.hs:35:1: warning: [-Wunused-imports]
    The import of ‘Debian.Control.Common’ is redundant
      except perhaps to import instances from ‘Debian.Control.Common’
    To import instances alone, use: import Debian.Control.Common()
35 | import Debian.Control.Common
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[33 of 37] Compiling Debian.Report    ( Debian/Report.hs, dist/build/Debian/Report.o )

Debian/Report.hs:69:5: error:
    • Data.Map.foldWithKey is gone. Use foldrWithKey.
    • In the expression: M.foldWithKey (checkTrumped pmB) M.empty pmA
      In an equation for ‘trumpedMap’:
          trumpedMap pmA pmB
            = M.foldWithKey (checkTrumped pmB) M.empty pmA
                checkTrumped pm package aVersion trumpedPM
                  = case M.lookup package pm of
                      (Just bVersion)
                        | bVersion > aVersion -> M.insert package ... trumpedPM
                      _ -> trumpedPM
69 |     M.foldWithKey (checkTrumped pmB) M.empty pmA
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-6779/debian-3.93.2'
Completed    free-5.1
cabal: Error: some packages failed to install:
cabal-debian-4.38.3-HHSildgzm6p93br9dEmlLX depends on cabal-debian-4.38.3
which failed to install.
debian-3.93.2-B1AWO1yFe5uHTxsIbXvajp failed during the building phase. The
exception was:
ExitFailure 1