Resolving dependencies... Build profile: -w ghc-9.6.3 -O0 In order, the following will be built (use -v for more details): - Diff-0.5 (lib:Diff) (requires build) - either-5.0.2 (lib:either) (requires build) - fmlist-0.9.4 (lib:fmlist) (requires build) - hsemail-2.2.2 (lib:hsemail) (requires build) - language-c-0.9.3 (lib:language-c) (requires build) - pureMD5-2.1.4 (lib:pureMD5) (requires build) - temporary-1.3 (lib:temporary) (requires build) - ListLike-4.7.8.2 (lib:ListLike) (requires build) - c2hs-0.28.8 (exe:c2hs) (requires build) - process-extras-0.7.4 (lib:process-extras) (requires build) - bz2-1.0.1.0 (lib:bz2) (requires build) - debian-4.0.5 (lib:debian) (requires build) - cabal-debian-5.2.3 (first run) Starting Diff-0.5 (all, legacy fallback) Starting fmlist-0.9.4 (all, legacy fallback) Starting hsemail-2.2.2 (all, legacy fallback) Starting pureMD5-2.1.4 (all, legacy fallback) Starting either-5.0.2 (all, legacy fallback) Starting temporary-1.3 (all, legacy fallback) Starting language-c-0.9.3 (all, legacy fallback) Building pureMD5-2.1.4 (all, legacy fallback) Building Diff-0.5 (all, legacy fallback) Building fmlist-0.9.4 (all, legacy fallback) Building hsemail-2.2.2 (all, legacy fallback) Building either-5.0.2 (all, legacy fallback) Building temporary-1.3 (all, legacy fallback) Building language-c-0.9.3 (all, legacy fallback) Installing temporary-1.3 (all, legacy fallback) Installing fmlist-0.9.4 (all, legacy fallback) Installing either-5.0.2 (all, legacy fallback) Completed temporary-1.3 (all, legacy fallback) Installing Diff-0.5 (all, legacy fallback) Completed fmlist-0.9.4 (all, legacy fallback) Starting ListLike-4.7.8.2 (all, legacy fallback) Completed either-5.0.2 (all, legacy fallback) Installing pureMD5-2.1.4 (all, legacy fallback) Completed Diff-0.5 (all, legacy fallback) Building ListLike-4.7.8.2 (all, legacy fallback) Completed pureMD5-2.1.4 (all, legacy fallback) Installing hsemail-2.2.2 (all, legacy fallback) Completed hsemail-2.2.2 (all, legacy fallback) Installing ListLike-4.7.8.2 (all, legacy fallback) Completed ListLike-4.7.8.2 (all, legacy fallback) Starting process-extras-0.7.4 (all, legacy fallback) Building process-extras-0.7.4 (all, legacy fallback) Installing process-extras-0.7.4 (all, legacy fallback) Completed process-extras-0.7.4 (all, legacy fallback) Installing language-c-0.9.3 (all, legacy fallback) Completed language-c-0.9.3 (all, legacy fallback) Starting c2hs-0.28.8 (all, legacy fallback) Building c2hs-0.28.8 (all, legacy fallback) Installing c2hs-0.28.8 (all, legacy fallback) Completed c2hs-0.28.8 (all, legacy fallback) Starting bz2-1.0.1.0 (all, legacy fallback) Building bz2-1.0.1.0 (all, legacy fallback) Installing bz2-1.0.1.0 (all, legacy fallback) Completed bz2-1.0.1.0 (all, legacy fallback) Starting debian-4.0.5 (all, legacy fallback) Building debian-4.0.5 (all, legacy fallback) Installing debian-4.0.5 (all, legacy fallback) Completed debian-4.0.5 (all, legacy fallback) Configuring cabal-debian-5.2.3... Preprocessing library for cabal-debian-5.2.3.. Building library for cabal-debian-5.2.3.. [ 1 of 30] Compiling Data.Maybe.Extended ( src/Data/Maybe/Extended.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Data/Maybe/Extended.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Data/Maybe/Extended.dyn_o ) [ 2 of 30] Compiling Debian.Debianize.Changelog ( src/Debian/Debianize/Changelog.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Changelog.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Changelog.dyn_o ) [ 3 of 30] Compiling Debian.Debianize.Interspersed ( src/Debian/Debianize/Interspersed.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Interspersed.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Interspersed.dyn_o ) [ 4 of 30] Compiling Debian.Orphans ( src/Debian/Orphans.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Orphans.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Orphans.dyn_o ) src/Debian/Orphans.hs:5:1: warning: [-Wunused-imports] The import of Data.Function is redundant except perhaps to import instances from Data.Function To import instances alone, use: import Data.Function() | 5 | import Data.Function (on) | ^^^^^^^^^^^^^^^^^^^^^^^^^ src/Debian/Orphans.hs:15:1: warning: [-Wunused-imports] The import of Distribution.PackageDescription is redundant except perhaps to import instances from Distribution.PackageDescription To import instances alone, use: import Distribution.PackageDescription() | 15 | import Distribution.PackageDescription (Executable(..), PackageDescription(package)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Debian/Orphans.hs:18:1: warning: [GHC-99623] [-Wdodgy-imports] The import item VersionRange(..) suggests that VersionRange has (in-scope) constructors or class methods, but it has none | 18 | import Distribution.Version (cataVersionRange, normaliseVersionRange, VersionRange(..), VersionRangeF(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Debian/Orphans.hs:20:1: warning: [-Wunused-imports] The import of Language.Haskell.Extension is redundant except perhaps to import instances from Language.Haskell.Extension To import instances alone, use: import Language.Haskell.Extension() | 20 | import Language.Haskell.Extension (Language(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 5 of 30] Compiling Debian.Debianize.VersionSplits ( src/Debian/Debianize/VersionSplits.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/VersionSplits.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/VersionSplits.dyn_o ) [ 6 of 30] Compiling Debian.Debianize.Prelude ( src/Debian/Debianize/Prelude.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Prelude.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Prelude.dyn_o ) [ 7 of 30] Compiling Debian.Debianize.BasicInfo ( src/Debian/Debianize/BasicInfo.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/BasicInfo.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/BasicInfo.dyn_o ) [ 8 of 30] Compiling Debian.Policy ( src/Debian/Policy.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Policy.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Policy.dyn_o ) src/Debian/Policy.hs:316:1: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Either String NameAddr not matched: Left _ | 316 | Right maintainerOfLastResort = parseMaintainer "nobody " | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 9 of 30] Compiling Debian.Debianize.CopyrightDescription ( src/Debian/Debianize/CopyrightDescription.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/CopyrightDescription.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/CopyrightDescription.dyn_o ) [10 of 30] Compiling Debian.Debianize.BinaryDebDescription ( src/Debian/Debianize/BinaryDebDescription.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/BinaryDebDescription.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/BinaryDebDescription.dyn_o ) [11 of 30] Compiling Debian.GHC ( src/Debian/GHC.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/GHC.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/GHC.dyn_o ) [12 of 30] Compiling Debian.Debianize.InputCabal ( src/Debian/Debianize/InputCabal.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/InputCabal.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/InputCabal.dyn_o ) [13 of 30] Compiling Debian.Debianize.Bundled ( src/Debian/Debianize/Bundled.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Bundled.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Bundled.dyn_o ) [14 of 30] Compiling Debian.Debianize.SourceDebDescription ( src/Debian/Debianize/SourceDebDescription.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/SourceDebDescription.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/SourceDebDescription.dyn_o ) [15 of 30] Compiling Debian.Debianize.DebInfo ( src/Debian/Debianize/DebInfo.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/DebInfo.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/DebInfo.dyn_o ) [16 of 30] Compiling Debian.Debianize.CabalInfo ( src/Debian/Debianize/CabalInfo.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/CabalInfo.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/CabalInfo.dyn_o ) [17 of 30] Compiling Debian.Debianize.Monad ( src/Debian/Debianize/Monad.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Monad.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Monad.dyn_o ) [18 of 30] Compiling Debian.Debianize.Optparse ( src/Debian/Debianize/Optparse.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Optparse.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Optparse.dyn_o ) src/Debian/Debianize/Optparse.hs:46:1: warning: [-Wdeprecations] Module Text.PrettyPrint.ANSI.Leijen is deprecated: "Compatibility module for users of ansi-wl-pprint - use \"Prettyprinter\" instead" | 46 | import Text.PrettyPrint.ANSI.Leijen (linebreak, (<+>), string, indent) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Debian/Debianize/Optparse.hs:582:5: warning: [GHC-68441] [-Wdeprecations] In the use of <+> (imported from Text.PrettyPrint.ANSI.Leijen): Deprecated: "Compatibility module for users of ansi-wl-pprint - use "Prettyprinter" instead" | 582 | <+> linebreak <+> linebreak | ^^^ src/Debian/Debianize/Optparse.hs:582:9: warning: [GHC-68441] [-Wdeprecations] In the use of linebreak (imported from Text.PrettyPrint.ANSI.Leijen): Deprecated: "Compatibility module for users of ansi-wl-pprint - use "Prettyprinter" instead" | 582 | <+> linebreak <+> linebreak | ^^^^^^^^^ src/Debian/Debianize/Optparse.hs:582:19: warning: [GHC-68441] [-Wdeprecations] In the use of <+> (imported from Text.PrettyPrint.ANSI.Leijen): Deprecated: "Compatibility module for users of ansi-wl-pprint - use "Prettyprinter" instead" | 582 | <+> linebreak <+> linebreak | ^^^ src/Debian/Debianize/Optparse.hs:582:23: warning: [GHC-68441] [-Wdeprecations] In the use of linebreak (imported from Text.PrettyPrint.ANSI.Leijen): Deprecated: "Compatibility module for users of ansi-wl-pprint - use "Prettyprinter" instead" | 582 | <+> linebreak <+> linebreak | ^^^^^^^^^ src/Debian/Debianize/Optparse.hs:583:5: warning: [GHC-68441] [-Wdeprecations] In the use of <+> (imported from Text.PrettyPrint.ANSI.Leijen): Deprecated: "Compatibility module for users of ansi-wl-pprint - use "Prettyprinter" instead" | 583 | <+> indent 2 "% cabal-debian --maintainer 'Maintainer Name '" | ^^^ src/Debian/Debianize/Optparse.hs:583:9: warning: [GHC-68441] [-Wdeprecations] In the use of indent (imported from Text.PrettyPrint.ANSI.Leijen): Deprecated: "Compatibility module for users of ansi-wl-pprint - use "Prettyprinter" instead" | 583 | <+> indent 2 "% cabal-debian --maintainer 'Maintainer Name '" | ^^^^^^ src/Debian/Debianize/Optparse.hs:584:5: warning: [GHC-68441] [-Wdeprecations] In the use of <+> (imported from Text.PrettyPrint.ANSI.Leijen): Deprecated: "Compatibility module for users of ansi-wl-pprint - use "Prettyprinter" instead" | 584 | <+> linebreak <+> linebreak | ^^^ src/Debian/Debianize/Optparse.hs:584:9: warning: [GHC-68441] [-Wdeprecations] In the use of linebreak (imported from Text.PrettyPrint.ANSI.Leijen): Deprecated: "Compatibility module for users of ansi-wl-pprint - use "Prettyprinter" instead" | 584 | <+> linebreak <+> linebreak | ^^^^^^^^^ src/Debian/Debianize/Optparse.hs:584:19: warning: [GHC-68441] [-Wdeprecations] In the use of <+> (imported from Text.PrettyPrint.ANSI.Leijen): Deprecated: "Compatibility module for users of ansi-wl-pprint - use "Prettyprinter" instead" | 584 | <+> linebreak <+> linebreak | ^^^ src/Debian/Debianize/Optparse.hs:584:23: warning: [GHC-68441] [-Wdeprecations] In the use of linebreak (imported from Text.PrettyPrint.ANSI.Leijen): Deprecated: "Compatibility module for users of ansi-wl-pprint - use "Prettyprinter" instead" | 584 | <+> linebreak <+> linebreak | ^^^^^^^^^ src/Debian/Debianize/Optparse.hs:585:5: warning: [GHC-68441] [-Wdeprecations] In the use of <+> (imported from Text.PrettyPrint.ANSI.Leijen): Deprecated: "Compatibility module for users of ansi-wl-pprint - use "Prettyprinter" instead" | 585 | <+> (string . unlines $ [ | ^^^ src/Debian/Debianize/Optparse.hs:585:10: warning: [GHC-68441] [-Wdeprecations] In the use of string (imported from Text.PrettyPrint.ANSI.Leijen): Deprecated: "Compatibility module for users of ansi-wl-pprint - use "Prettyprinter" instead" | 585 | <+> (string . unlines $ [ | ^^^^^^ [19 of 30] Compiling Debian.Debianize.Files ( src/Debian/Debianize/Files.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Files.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Files.dyn_o ) [20 of 30] Compiling Debian.Debianize.InputDebian ( src/Debian/Debianize/InputDebian.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/InputDebian.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/InputDebian.dyn_o ) [21 of 30] Compiling Debian.Debianize.ExecAtoms ( src/Debian/Debianize/ExecAtoms.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/ExecAtoms.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/ExecAtoms.dyn_o ) [22 of 30] Compiling Debian.Debianize.Goodies ( src/Debian/Debianize/Goodies.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Goodies.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Goodies.dyn_o ) [23 of 30] Compiling Debian.Debianize.DebianName ( src/Debian/Debianize/DebianName.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/DebianName.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/DebianName.dyn_o ) [24 of 30] Compiling Debian.Debianize.Details ( src/Debian/Debianize/Details.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Details.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Details.dyn_o ) [25 of 30] Compiling Debian.Debianize.BuildDependencies ( src/Debian/Debianize/BuildDependencies.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/BuildDependencies.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/BuildDependencies.dyn_o ) src/Debian/Debianize/BuildDependencies.hs:36:1: warning: [-Wunused-imports] The import of PackageIdentifier, PackageName, PackageIdentifier(pkgName), PackageIdentifier(pkgVersion) from module Distribution.Package is redundant | 36 | import Distribution.Package (Dependency(..), PackageIdentifier(pkgName, pkgVersion), PackageName) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Debian/Debianize/BuildDependencies.hs:44:1: warning: [-Wunused-imports] The import of Distribution.Version is redundant except perhaps to import instances from Distribution.Version To import instances alone, use: import Distribution.Version() | 44 | import Distribution.Version (anyVersion, asVersionIntervals, fromVersionIntervals, intersectVersionRanges, isNoVersion, toVersionIntervals, unionVersionRanges, VersionRange, withinVersion) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [26 of 30] Compiling Debian.Debianize.Finalize ( src/Debian/Debianize/Finalize.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Finalize.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Finalize.dyn_o ) [27 of 30] Compiling Debian.Debianize.Output ( src/Debian/Debianize/Output.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Output.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize/Output.dyn_o ) src/Debian/Debianize/Output.hs:22:1: warning: [-Wunused-imports] The import of Control.Monad.Fail is redundant except perhaps to import instances from Control.Monad.Fail To import instances alone, use: import Control.Monad.Fail() | 22 | import Control.Monad.Fail (MonadFail) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Debian/Debianize/Output.hs:164:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Maybe (Data.Map.Internal.Map FilePath Text) not matched: Nothing | 164 | let ~(Just oldFiles) = evalDebianT debianizationFileMap (canonical old) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Debian/Debianize/Output.hs:165:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Maybe (Data.Map.Internal.Map FilePath Text) not matched: Nothing | 165 | ~(Just newFiles) = evalDebianT debianizationFileMap (canonical new) in | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [28 of 30] Compiling Debian.Debianize ( src/Debian/Debianize.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Debian/Debianize.dyn_o ) src/Debian/Debianize.hs:95:7: warning: [GHC-64649] [-Wdodgy-exports] The export item module Debian.GHC exports nothing | 95 | , module Debian.GHC | ^^^^^^^^^^^^^^^^^ [29 of 30] Compiling Paths_cabal_debian ( /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/autogen/Paths_cabal_debian.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Paths_cabal_debian.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/Paths_cabal_debian.dyn_o ) [30 of 30] Compiling System.Git ( src/System/Git.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/System/Git.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/System/Git.dyn_o ) Preprocessing executable 'cabal-debian' for cabal-debian-5.2.3.. Building executable 'cabal-debian' for cabal-debian-5.2.3.. [1 of 1] Compiling Main ( CabalDebian.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/cabal-debian/cabal-debian-tmp/Main.o ) [2 of 2] Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/cabal-debian/cabal-debian Preprocessing test suite 'cabal-debian-tests' for cabal-debian-5.2.3.. Building test suite 'cabal-debian-tests' for cabal-debian-5.2.3.. [1 of 1] Compiling Main ( Tests.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/cabal-debian-tests/cabal-debian-tests-tmp/Main.o ) Tests.hs:644:22: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Maybe ChangeLog not matched: Nothing Just (ChangeLog []) | 644 | let Just (ChangeLog (entry : _)) = view (debInfo . D.changelog) new | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Tests.hs:682:22: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Maybe ChangeLog not matched: Nothing Just (ChangeLog []) | 682 | let Just (ChangeLog (entry : _)) = view D.changelog old | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Tests.hs:706:21: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type Maybe ChangeLog not matched: Nothing Just (ChangeLog []) | 706 | D.changelog %= (\ (Just (ChangeLog (entry : older))) -> Just (ChangeLog (entry {logDate = date} : older))) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2 of 2] Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/build/cabal-debian-tests/cabal-debian-tests Running 1 test suites... Test suite cabal-debian-tests: RUNNING... Test suite cabal-debian-tests: FAIL Test suite logged to: /home/builder/builder-dir/build-cache/tmp-install/reports/cabal-debian-5.2.3.test Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Interspersed.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.ExecAtoms.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Changelog.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.BuildDependencies.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.GHC.hs.html Writing: cabal-debian-5.2.3-inplace/Data.Maybe.Extended.hs.html Writing: cabal-debian-5.2.3-inplace/System.Git.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.VersionSplits.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.SourceDebDescription.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Prelude.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Output.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Optparse.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Monad.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.InputDebian.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.InputCabal.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Goodies.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Finalize.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Files.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Details.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.DebInfo.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.DebianName.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.CopyrightDescription.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.CabalInfo.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Bundled.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.BinaryDebDescription.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.BasicInfo.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Policy.hs.html Writing: hpc_index.html Writing: hpc_index_fun.html Writing: hpc_index_alt.html Writing: hpc_index_exp.html Test coverage report written to /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/hpc/vanilla/html/cabal-debian-tests/hpc_index.html 0 of 1 test suites (0 of 1 test cases) passed. Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Interspersed.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.ExecAtoms.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Changelog.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.BuildDependencies.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.GHC.hs.html Writing: cabal-debian-5.2.3-inplace/Data.Maybe.Extended.hs.html Writing: cabal-debian-5.2.3-inplace/System.Git.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.VersionSplits.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.SourceDebDescription.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Prelude.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Output.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Optparse.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Monad.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.InputDebian.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.InputCabal.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Goodies.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Finalize.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Files.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Details.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.DebInfo.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.DebianName.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.CopyrightDescription.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.CabalInfo.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.Bundled.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.BinaryDebDescription.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Debianize.BasicInfo.hs.html Writing: cabal-debian-5.2.3-inplace/Debian.Policy.hs.html Writing: hpc_index.html Writing: hpc_index_fun.html Writing: hpc_index_alt.html Writing: hpc_index_exp.html Package coverage report written to /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/cabal-debian-5.2.3/noopt/hpc/vanilla/html/cabal-debian-5.2.3/hpc_index.html Error: cabal: Tests failed for cabal-debian-5.2.3.