Build #3 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:51:20.257693633 UTC
Compiler ghc-8.6.1
OS linux
Arch x86_64
Dependencies Cabal-2.4.0.1, Diff-0.3.4, HUnit-1.6.0.0, Unixutils-1.54.1, ansi-wl-pprint-0.6.8.2, base-4.12.0.0, bifunctors-5.5.3, containers-0.6.0.1, data-default-0.7.1.1, debian-3.93.2, deepseq-1.4.4.0, directory-1.3.3.0, exceptions-0.10.0, filepath-1.4.2.1, hsemail-2, lens-4.17, memoize-0.8.1, mtl-2.2.2, network-uri-2.6.1.0, newtype-generics-0.5.3, optparse-applicative-0.14.3.0, parsec-3.1.13.0, pretty-1.1.3.6, process-1.6.3.0, pureMD5-2.1.3, regex-tdfa-1.2.3.1, set-extra-1.4.1, syb-0.7, text-1.2.3.1, unix-2.7.2.2, utf8-string-1.0.1.1, Cabal-2.4.0.1, Unixutils-1.54.1, base-4.12.0.0, debian-3.93.2, lens-4.17, mtl-2.2.2, pretty-1.1.3.6
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: https://wiki.haskell.org/Cabal/NewBuild

Resolving dependencies...
Starting     Diff-0.3.4
Starting     SHA-1.6.4.4
Building     Diff-0.3.4
Building     SHA-1.6.4.4
Completed    Diff-0.3.4
Starting     StateVar-1.1.1.1
Building     StateVar-1.1.1.1
Completed    StateVar-1.1.1.1
Starting     base-orphans-0.8
Building     base-orphans-0.8
Completed    base-orphans-0.8
Starting     bzlib-0.5.0.5
Completed    SHA-1.6.4.4
Starting     cabal-doctest-1.0.6
Building     bzlib-0.5.0.5
Building     cabal-doctest-1.0.6
Completed    bzlib-0.5.0.5
Starting     call-stack-0.1.0
Completed    cabal-doctest-1.0.6
Starting     cereal-0.5.7.0
Building     call-stack-0.1.0
Building     cereal-0.5.7.0
Completed    call-stack-0.1.0
Starting     colour-2.3.4
Building     colour-2.3.4
Completed    cereal-0.5.7.0
Starting     data-default-class-0.1.2.0
Building     data-default-class-0.1.2.0
Completed    colour-2.3.4
Starting     dlist-0.8.0.5
Building     dlist-0.8.0.5
Completed    data-default-class-0.1.2.0
Starting     entropy-0.4.1.4
Completed    dlist-0.8.0.5
Starting     fmlist-0.9.2
Building     fmlist-0.9.2
Building     entropy-0.4.1.4
Completed    fmlist-0.9.2
Starting     hashable-1.2.7.0
Building     hashable-1.2.7.0
Completed    entropy-0.4.1.4
Starting     memoize-0.8.1
Building     memoize-0.8.1
Completed    hashable-1.2.7.0
Starting     network-2.8.0.0
Completed    memoize-0.8.1
Starting     network-uri-2.6.1.0
Building     network-uri-2.6.1.0
Building     network-2.8.0.0
Completed    network-uri-2.6.1.0
Starting     newtype-generics-0.5.3
Building     newtype-generics-0.5.3
Completed    newtype-generics-0.5.3
Starting     old-locale-1.0.0.7
Building     old-locale-1.0.0.7
Completed    old-locale-1.0.0.7
Starting     parallel-3.2.2.0
Building     parallel-3.2.2.0
Completed    network-2.8.0.0
Starting     polyparse-1.12.1
Building     polyparse-1.12.1
Completed    parallel-3.2.2.0
Starting     primitive-0.6.4.0
Building     primitive-0.6.4.0
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-0.6.4.0
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-0.2.10.0
Completed    tagged-0.8.6
Starting     transformers-compat-0.6.2
Building     th-abstraction-0.2.10.0
Building     transformers-compat-0.6.2
Completed    transformers-compat-0.6.2
Starting     utf8-string-1.0.1.1
Building     utf8-string-1.0.1.1
Completed    th-abstraction-0.2.10.0
Starting     void-0.7.2
Building     void-0.7.2
Completed    void-0.7.2
Starting     zlib-0.6.2
Building     zlib-0.6.2
Completed    utf8-string-1.0.1.1
Starting     contravariant-1.5
Building     contravariant-1.5
Completed    contravariant-1.5
Starting     HUnit-1.6.0.0
Completed    zlib-0.6.2
Starting     ansi-terminal-0.8.2
Building     HUnit-1.6.0.0
Building     ansi-terminal-0.8.2
Completed    HUnit-1.6.0.0
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-0.2.9.0
Building     unordered-containers-0.2.9.0
Completed    data-default-instances-dlist-0.0.1
Starting     old-time-1.1.0.3
Building     old-time-1.1.0.3
Completed    old-time-1.1.0.3
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
Starting     HaXml-1.25.5
Building     HaXml-1.25.5
Completed    unordered-containers-0.2.9.0
Starting     vector-0.12.0.2
Building     vector-0.12.0.2
Completed    vector-0.12.0.2
Starting     regex-tdfa-1.2.3.1
Building     regex-tdfa-1.2.3.1
Completed    regex-tdfa-1.2.3.1
Starting     regex-posix-0.95.2
Building     regex-posix-0.95.2
Completed    HaXml-1.25.5
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-0.4.5.2
Building     transformers-base-0.4.5.2
Completed    crypto-api-0.13.3
Starting     exceptions-0.10.0
Completed    transformers-base-0.4.5.2
Starting     generic-deriving-1.12.2
Building     exceptions-0.10.0
Building     generic-deriving-1.12.2
Completed    exceptions-0.10.0
Starting     ansi-wl-pprint-0.6.8.2
Building     ansi-wl-pprint-0.6.8.2
Completed    ansi-wl-pprint-0.6.8.2
Starting     hsemail-2
Building     hsemail-2
Completed    hsemail-2
Starting     data-default-0.7.1.1
Building     data-default-0.7.1.1
Completed    data-default-0.7.1.1
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
Starting     pureMD5-2.1.3
Building     pureMD5-2.1.3
Completed    comonad-5.0.4
Starting     optparse-applicative-0.14.3.0
Building     optparse-applicative-0.14.3.0
Completed    pureMD5-2.1.3
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-0.14.3.0
Starting     Unixutils-1.54.1
Building     Unixutils-1.54.1
Completed    Unixutils-1.54.1
Completed    bifunctors-5.5.3
Starting     profunctors-5.3
Starting     semigroupoids-5.3.1
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
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-5744/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-1.8.0.2:Data.Time.Format.Parse):
    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
            where
                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-5744/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