Resolving dependencies... Build profile: -w ghc-9.8.4 -O0 In order, the following will be built (use -v for more details): - colour-2.3.6 (lib:colour) (requires build) - prettyprinter-1.7.1 (lib:prettyprinter) (requires build) - splitmix-0.1.1 (lib:splitmix) (requires build) - ansi-terminal-types-1.1 (lib:ansi-terminal-types) (requires build) - random-1.3.1 (lib:random) (requires build) - ansi-terminal-1.1.2 (lib:ansi-terminal) (requires build) - QuickCheck-2.15.0.1 (lib:QuickCheck) (requires build) - prettyprinter-ansi-terminal-1.1.3 (lib:prettyprinter-ansi-terminal) (requires build) - optparse-applicative-0.19.0.0 (first run) Configuring colour-2.3.6... Preprocessing library for colour-2.3.6.. Building library for colour-2.3.6.. [ 1 of 14] Compiling Data.Colour.CIE.Chromaticity ( Data/Colour/CIE/Chromaticity.hs, dist/build/Data/Colour/CIE/Chromaticity.o, dist/build/Data/Colour/CIE/Chromaticity.dyn_o ) [ 2 of 14] Compiling Data.Colour.CIE.Illuminant ( Data/Colour/CIE/Illuminant.hs, dist/build/Data/Colour/CIE/Illuminant.o, dist/build/Data/Colour/CIE/Illuminant.dyn_o ) [ 3 of 14] Compiling Data.Colour.Chan ( Data/Colour/Chan.hs, dist/build/Data/Colour/Chan.o, dist/build/Data/Colour/Chan.dyn_o ) [ 4 of 14] Compiling Data.Colour.Internal ( Data/Colour/Internal.hs, dist/build/Data/Colour/Internal.o, dist/build/Data/Colour/Internal.dyn_o ) [ 5 of 14] Compiling Data.Colour.Matrix ( Data/Colour/Matrix.hs, dist/build/Data/Colour/Matrix.o, dist/build/Data/Colour/Matrix.dyn_o ) [ 6 of 14] Compiling Data.Colour.RGB ( Data/Colour/RGB.hs, dist/build/Data/Colour/RGB.o, dist/build/Data/Colour/RGB.dyn_o ) [ 7 of 14] Compiling Data.Colour.RGBSpace.HSL ( Data/Colour/RGBSpace/HSL.hs, dist/build/Data/Colour/RGBSpace/HSL.o, dist/build/Data/Colour/RGBSpace/HSL.dyn_o ) [ 8 of 14] Compiling Data.Colour.RGBSpace.HSV ( Data/Colour/RGBSpace/HSV.hs, dist/build/Data/Colour/RGBSpace/HSV.o, dist/build/Data/Colour/RGBSpace/HSV.dyn_o ) [ 9 of 14] Compiling Data.Colour.SRGB.Linear ( Data/Colour/SRGB/Linear.hs, dist/build/Data/Colour/SRGB/Linear.o, dist/build/Data/Colour/SRGB/Linear.dyn_o ) [10 of 14] Compiling Data.Colour.RGBSpace ( Data/Colour/RGBSpace.hs, dist/build/Data/Colour/RGBSpace.o, dist/build/Data/Colour/RGBSpace.dyn_o ) [11 of 14] Compiling Data.Colour.SRGB ( Data/Colour/SRGB.hs, dist/build/Data/Colour/SRGB.o, dist/build/Data/Colour/SRGB.dyn_o ) Data/Colour/SRGB.hs:117:8: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 117 | x' | head x == '#' = tail x | ^^^^ Data/Colour/SRGB.hs:117:24: warning: [GHC-63394] [-Wx-partial] In the use of tail (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 117 | x' | head x == '#' = tail x | ^^^^ Data/Colour/SRGB.hs:127:50: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 127 | sRGB24read x | length rx /= 1 || not (null (snd (head rx))) = | ^^^^ Data/Colour/SRGB.hs:129:33: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 129 | | otherwise = fst (head rx) | ^^^^ [12 of 14] Compiling Data.Colour ( Data/Colour.hs, dist/build/Data/Colour.o, dist/build/Data/Colour.dyn_o ) [13 of 14] Compiling Data.Colour.Names ( Data/Colour/Names.hs, dist/build/Data/Colour/Names.o, dist/build/Data/Colour/Names.dyn_o ) [14 of 14] Compiling Data.Colour.CIE ( Data/Colour/CIE.hs, dist/build/Data/Colour/CIE.o, dist/build/Data/Colour/CIE.dyn_o ) Installing library in /tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/incoming/new-275359/tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/colour-2.3.6-253cbe603d6176b2857f0dc52f7fcc24904af21685fe604e4b8a85488a2ca750/lib Configuring prettyprinter-1.7.1... Preprocessing library for prettyprinter-1.7.1.. Building library for prettyprinter-1.7.1.. [ 1 of 28] Compiling Prettyprinter.Render.Util.Panic ( src/Prettyprinter/Render/Util/Panic.hs, dist/build/Prettyprinter/Render/Util/Panic.o, dist/build/Prettyprinter/Render/Util/Panic.dyn_o ) [ 2 of 28] Compiling Prettyprinter.Internal ( src/Prettyprinter/Internal.hs, dist/build/Prettyprinter/Internal.o, dist/build/Prettyprinter/Internal.dyn_o ) [ 3 of 28] Compiling Prettyprinter.Render.String ( src/Prettyprinter/Render/String.hs, dist/build/Prettyprinter/Render/String.o, dist/build/Prettyprinter/Render/String.dyn_o ) [ 4 of 28] Compiling Data.Text.Prettyprint.Doc.Render.String ( src/Data/Text/Prettyprint/Doc/Render/String.hs, dist/build/Data/Text/Prettyprint/Doc/Render/String.o, dist/build/Data/Text/Prettyprint/Doc/Render/String.dyn_o ) [ 5 of 28] Compiling Prettyprinter.Internal.Type ( src/Prettyprinter/Internal/Type.hs, dist/build/Prettyprinter/Internal/Type.o, dist/build/Prettyprinter/Internal/Type.dyn_o ) [ 6 of 28] Compiling Data.Text.Prettyprint.Doc.Internal.Type ( src/Data/Text/Prettyprint/Doc/Internal/Type.hs, dist/build/Data/Text/Prettyprint/Doc/Internal/Type.o, dist/build/Data/Text/Prettyprint/Doc/Internal/Type.dyn_o ) [ 7 of 28] Compiling Prettyprinter.Internal.Debug ( src/Prettyprinter/Internal/Debug.hs, dist/build/Prettyprinter/Internal/Debug.o, dist/build/Prettyprinter/Internal/Debug.dyn_o ) [ 8 of 28] Compiling Data.Text.Prettyprint.Doc.Internal.Debug ( src/Data/Text/Prettyprint/Doc/Internal/Debug.hs, dist/build/Data/Text/Prettyprint/Doc/Internal/Debug.o, dist/build/Data/Text/Prettyprint/Doc/Internal/Debug.dyn_o ) [ 9 of 28] Compiling Data.Text.Prettyprint.Doc.Internal ( src/Data/Text/Prettyprint/Doc/Internal.hs, dist/build/Data/Text/Prettyprint/Doc/Internal.o, dist/build/Data/Text/Prettyprint/Doc/Internal.dyn_o ) [10 of 28] Compiling Data.Text.Prettyprint.Doc.Render.Util.Panic ( src/Data/Text/Prettyprint/Doc/Render/Util/Panic.hs, dist/build/Data/Text/Prettyprint/Doc/Render/Util/Panic.o, dist/build/Data/Text/Prettyprint/Doc/Render/Util/Panic.dyn_o ) [11 of 28] Compiling Prettyprinter.Render.Util.StackMachine ( src/Prettyprinter/Render/Util/StackMachine.hs, dist/build/Prettyprinter/Render/Util/StackMachine.o, dist/build/Prettyprinter/Render/Util/StackMachine.dyn_o ) src/Prettyprinter/Render/Util/StackMachine.hs:34:1: warning: [GHC-66111] [-Wunused-imports] The import of Control.Applicative is redundant except perhaps to import instances from Control.Applicative To import instances alone, use: import Control.Applicative() | 34 | import Control.Applicative | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [12 of 28] Compiling Data.Text.Prettyprint.Doc.Render.Util.StackMachine ( src/Data/Text/Prettyprint/Doc/Render/Util/StackMachine.hs, dist/build/Data/Text/Prettyprint/Doc/Render/Util/StackMachine.o, dist/build/Data/Text/Prettyprint/Doc/Render/Util/StackMachine.dyn_o ) [13 of 28] Compiling Prettyprinter.Symbols.Ascii ( src/Prettyprinter/Symbols/Ascii.hs, dist/build/Prettyprinter/Symbols/Ascii.o, dist/build/Prettyprinter/Symbols/Ascii.dyn_o ) [14 of 28] Compiling Prettyprinter ( src/Prettyprinter.hs, dist/build/Prettyprinter.o, dist/build/Prettyprinter.dyn_o ) [15 of 28] Compiling Prettyprinter.Render.Util.SimpleDocTree ( src/Prettyprinter/Render/Util/SimpleDocTree.hs, dist/build/Prettyprinter/Render/Util/SimpleDocTree.o, dist/build/Prettyprinter/Render/Util/SimpleDocTree.dyn_o ) [16 of 28] Compiling Data.Text.Prettyprint.Doc.Render.Util.SimpleDocTree ( src/Data/Text/Prettyprint/Doc/Render/Util/SimpleDocTree.hs, dist/build/Data/Text/Prettyprint/Doc/Render/Util/SimpleDocTree.o, dist/build/Data/Text/Prettyprint/Doc/Render/Util/SimpleDocTree.dyn_o ) [17 of 28] Compiling Prettyprinter.Render.Tutorials.TreeRenderingTutorial ( src/Prettyprinter/Render/Tutorials/TreeRenderingTutorial.hs, dist/build/Prettyprinter/Render/Tutorials/TreeRenderingTutorial.o, dist/build/Prettyprinter/Render/Tutorials/TreeRenderingTutorial.dyn_o ) [18 of 28] Compiling Data.Text.Prettyprint.Doc.Render.Tutorials.TreeRenderingTutorial ( src/Data/Text/Prettyprint/Doc/Render/Tutorials/TreeRenderingTutorial.hs, dist/build/Data/Text/Prettyprint/Doc/Render/Tutorials/TreeRenderingTutorial.o, dist/build/Data/Text/Prettyprint/Doc/Render/Tutorials/TreeRenderingTutorial.dyn_o ) [19 of 28] Compiling Prettyprinter.Render.Tutorials.StackMachineTutorial ( src/Prettyprinter/Render/Tutorials/StackMachineTutorial.hs, dist/build/Prettyprinter/Render/Tutorials/StackMachineTutorial.o, dist/build/Prettyprinter/Render/Tutorials/StackMachineTutorial.dyn_o ) [20 of 28] Compiling Data.Text.Prettyprint.Doc.Render.Tutorials.StackMachineTutorial ( src/Data/Text/Prettyprint/Doc/Render/Tutorials/StackMachineTutorial.hs, dist/build/Data/Text/Prettyprint/Doc/Render/Tutorials/StackMachineTutorial.o, dist/build/Data/Text/Prettyprint/Doc/Render/Tutorials/StackMachineTutorial.dyn_o ) src/Data/Text/Prettyprint/Doc/Render/Tutorials/StackMachineTutorial.hs:7:1: warning: [GHC-15328] [-Wdeprecations] Module Prettyprinter.Render.Tutorials.StackMachineTutorial is deprecated: "Writing your own stack machine is probably more efficient and customizable; also consider using »renderSimplyDecorated(A)« instead" | 7 | import Prettyprinter.Render.Tutorials.StackMachineTutorial | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [21 of 28] Compiling Prettyprinter.Render.Text ( src/Prettyprinter/Render/Text.hs, dist/build/Prettyprinter/Render/Text.o, dist/build/Prettyprinter/Render/Text.dyn_o ) [22 of 28] Compiling Data.Text.Prettyprint.Doc.Render.Text ( src/Data/Text/Prettyprint/Doc/Render/Text.hs, dist/build/Data/Text/Prettyprint/Doc/Render/Text.o, dist/build/Data/Text/Prettyprint/Doc/Render/Text.dyn_o ) [23 of 28] Compiling Data.Text.Prettyprint.Doc ( src/Data/Text/Prettyprint/Doc.hs, dist/build/Data/Text/Prettyprint/Doc.o, dist/build/Data/Text/Prettyprint/Doc.dyn_o ) [24 of 28] Compiling Data.Text.Prettyprint.Doc.Symbols.Ascii ( src/Data/Text/Prettyprint/Doc/Symbols/Ascii.hs, dist/build/Data/Text/Prettyprint/Doc/Symbols/Ascii.o, dist/build/Data/Text/Prettyprint/Doc/Symbols/Ascii.dyn_o ) [25 of 28] Compiling Prettyprinter.Symbols.Unicode ( src/Prettyprinter/Symbols/Unicode.hs, dist/build/Prettyprinter/Symbols/Unicode.o, dist/build/Prettyprinter/Symbols/Unicode.dyn_o ) [26 of 28] Compiling Data.Text.Prettyprint.Doc.Symbols.Unicode ( src/Data/Text/Prettyprint/Doc/Symbols/Unicode.hs, dist/build/Data/Text/Prettyprint/Doc/Symbols/Unicode.o, dist/build/Data/Text/Prettyprint/Doc/Symbols/Unicode.dyn_o ) [27 of 28] Compiling Prettyprinter.Util ( src/Prettyprinter/Util.hs, dist/build/Prettyprinter/Util.o, dist/build/Prettyprinter/Util.dyn_o ) [28 of 28] Compiling Data.Text.Prettyprint.Doc.Util ( src/Data/Text/Prettyprint/Doc/Util.hs, dist/build/Data/Text/Prettyprint/Doc/Util.o, dist/build/Data/Text/Prettyprint/Doc/Util.dyn_o ) Installing library in /tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/incoming/new-275359/tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/prettyprinter-1.7.1-29f29359090f62940bd7fa7962611aaf4db6ff89f46ca0fe301c41698bbae825/lib Configuring splitmix-0.1.1... Preprocessing library for splitmix-0.1.1.. Building library for splitmix-0.1.1.. [1 of 4] Compiling Data.Bits.Compat ( src-compat/Data/Bits/Compat.hs, dist/build/Data/Bits/Compat.o, dist/build/Data/Bits/Compat.dyn_o ) [2 of 4] Compiling System.Random.SplitMix.Init ( src/System/Random/SplitMix/Init.hs, dist/build/System/Random/SplitMix/Init.o, dist/build/System/Random/SplitMix/Init.dyn_o ) [3 of 4] Compiling System.Random.SplitMix ( src/System/Random/SplitMix.hs, dist/build/System/Random/SplitMix.o, dist/build/System/Random/SplitMix.dyn_o ) [4 of 4] Compiling System.Random.SplitMix32 ( src/System/Random/SplitMix32.hs, dist/build/System/Random/SplitMix32.o, dist/build/System/Random/SplitMix32.dyn_o ) Installing library in /tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/incoming/new-275359/tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/splitmix-0.1.1-52bf8212af2f811d7d9687b17bc3a6b89bd23e2f903806d40660ce3576bffb5d/lib Configuring ansi-terminal-types-1.1... Preprocessing library for ansi-terminal-types-1.1.. Building library for ansi-terminal-types-1.1.. [1 of 1] Compiling System.Console.ANSI.Types ( src/System/Console/ANSI/Types.hs, dist/build/System/Console/ANSI/Types.o, dist/build/System/Console/ANSI/Types.dyn_o ) Installing library in /tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/incoming/new-275359/tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/ansi-terminal-types-1.1-fd6c8ec093deffea382bd38bf68456cce835ee62ea4d8efdd7d014838359f260/lib Configuring random-1.3.1... Preprocessing library for random-1.3.1.. Building library for random-1.3.1.. [1 of 6] Compiling System.Random.Array ( src/System/Random/Array.hs, dist/build/System/Random/Array.o, dist/build/System/Random/Array.dyn_o ) [2 of 6] Compiling System.Random.GFinite ( src/System/Random/GFinite.hs, dist/build/System/Random/GFinite.o, dist/build/System/Random/GFinite.dyn_o ) [3 of 6] Compiling System.Random.Internal ( src/System/Random/Internal.hs, dist/build/System/Random/Internal.o, dist/build/System/Random/Internal.dyn_o ) [4 of 6] Compiling System.Random.Seed ( src/System/Random/Seed.hs, dist/build/System/Random/Seed.o, dist/build/System/Random/Seed.dyn_o ) [5 of 6] Compiling System.Random ( src/System/Random.hs, dist/build/System/Random.o, dist/build/System/Random.dyn_o ) [6 of 6] Compiling System.Random.Stateful ( src/System/Random/Stateful.hs, dist/build/System/Random/Stateful.o, dist/build/System/Random/Stateful.dyn_o ) Installing library in /tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/incoming/new-275359/tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/random-1.3.1-993629eb713cfb056a377ec103a7c8f84a917abdb41ea57f8c0d7cc3d7760b8b/lib Configuring ansi-terminal-1.1.2... Preprocessing library for ansi-terminal-1.1.2.. Building library for ansi-terminal-1.1.2.. [1 of 3] Compiling System.Console.ANSI.Codes ( src/System/Console/ANSI/Codes.hs, dist/build/System/Console/ANSI/Codes.o, dist/build/System/Console/ANSI/Codes.dyn_o ) [2 of 3] Compiling System.Console.ANSI.Internal ( unix/System/Console/ANSI/Internal.hs, dist/build/System/Console/ANSI/Internal.o, dist/build/System/Console/ANSI/Internal.dyn_o ) [3 of 3] Compiling System.Console.ANSI ( src/System/Console/ANSI.hs, dist/build/System/Console/ANSI.o, dist/build/System/Console/ANSI.dyn_o ) Installing library in /tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/incoming/new-275359/tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/ansi-terminal-1.1.2-2165acdd7d95f578551f4f1f3ea8db4446151779246cd0ce4be079a4bcb1143e/lib Configuring QuickCheck-2.15.0.1... Preprocessing library for QuickCheck-2.15.0.1.. Building library for QuickCheck-2.15.0.1.. [ 1 of 16] Compiling Test.QuickCheck.Exception ( src/Test/QuickCheck/Exception.hs, dist/build/Test/QuickCheck/Exception.o, dist/build/Test/QuickCheck/Exception.dyn_o ) [ 2 of 16] Compiling Test.QuickCheck.Random ( src/Test/QuickCheck/Random.hs, dist/build/Test/QuickCheck/Random.o, dist/build/Test/QuickCheck/Random.dyn_o ) src/Test/QuickCheck/Random.hs:50:37: warning: [GHC-68441] [-Wdeprecations] In the use of genShortByteString (imported from System.Random, but defined in System.Random.Internal): Deprecated: "In favor of `System.Random.uniformShortByteString`" | 50 | genShortByteString n = wrapQCGen (genShortByteString n) | ^^^^^^^^^^^^^^^^^^ src/Test/QuickCheck/Random.hs:83:16: warning: [GHC-68441] [-Wdeprecations] In the use of split (imported from System.Random, but defined in System.Random.Internal): Deprecated: "In favor of `splitGen`" | 83 | left = fst . split | ^^^^^ src/Test/QuickCheck/Random.hs:84:17: warning: [GHC-68441] [-Wdeprecations] In the use of split (imported from System.Random, but defined in System.Random.Internal): Deprecated: "In favor of `splitGen`" | 84 | right = snd . split | ^^^^^ [ 3 of 16] Compiling Test.QuickCheck.Gen ( src/Test/QuickCheck/Gen.hs, dist/build/Test/QuickCheck/Gen.o, dist/build/Test/QuickCheck/Gen.dyn_o ) src/Test/QuickCheck/Gen.hs:92:12: warning: [GHC-68441] [-Wdeprecations] In the use of split (imported from System.Random, but defined in System.Random.Internal): Deprecated: "In favor of `splitGen`" | 92 | case split r of | ^^^^^ [ 4 of 16] Compiling Test.QuickCheck.Gen.Unsafe ( src/Test/QuickCheck/Gen/Unsafe.hs, dist/build/Test/QuickCheck/Gen/Unsafe.o, dist/build/Test/QuickCheck/Gen/Unsafe.dyn_o ) [ 5 of 16] Compiling Test.QuickCheck.Arbitrary ( src/Test/QuickCheck/Arbitrary.hs, dist/build/Test/QuickCheck/Arbitrary.o, dist/build/Test/QuickCheck/Arbitrary.dyn_o ) [ 6 of 16] Compiling Test.QuickCheck.Poly ( src/Test/QuickCheck/Poly.hs, dist/build/Test/QuickCheck/Poly.o, dist/build/Test/QuickCheck/Poly.dyn_o ) [ 7 of 16] Compiling Test.QuickCheck.Modifiers ( src/Test/QuickCheck/Modifiers.hs, dist/build/Test/QuickCheck/Modifiers.o, dist/build/Test/QuickCheck/Modifiers.dyn_o ) [ 8 of 16] Compiling Test.QuickCheck.Function ( src/Test/QuickCheck/Function.hs, dist/build/Test/QuickCheck/Function.o, dist/build/Test/QuickCheck/Function.dyn_o ) [ 9 of 16] Compiling Test.QuickCheck.Text ( src/Test/QuickCheck/Text.hs, dist/build/Test/QuickCheck/Text.o, dist/build/Test/QuickCheck/Text.dyn_o ) [10 of 16] Compiling Test.QuickCheck.State ( src/Test/QuickCheck/State.hs, dist/build/Test/QuickCheck/State.o, dist/build/Test/QuickCheck/State.dyn_o ) [11 of 16] Compiling Test.QuickCheck.Property ( src/Test/QuickCheck/Property.hs, dist/build/Test/QuickCheck/Property.o, dist/build/Test/QuickCheck/Property.dyn_o ) [12 of 16] Compiling Test.QuickCheck.Test ( src/Test/QuickCheck/Test.hs, dist/build/Test/QuickCheck/Test.o, dist/build/Test/QuickCheck/Test.dyn_o ) src/Test/QuickCheck/Test.hs:501:17: warning: [GHC-68441] [-Wdeprecations] In the use of split (imported from System.Random, but defined in System.Random.Internal): Deprecated: "In favor of `splitGen`" | 501 | (rnd1,rnd2) = split (randomSeed st) | ^^^^^ [13 of 16] Compiling Test.QuickCheck.Monadic ( src/Test/QuickCheck/Monadic.hs, dist/build/Test/QuickCheck/Monadic.o, dist/build/Test/QuickCheck/Monadic.dyn_o ) [14 of 16] Compiling Test.QuickCheck.All ( src/Test/QuickCheck/All.hs, dist/build/Test/QuickCheck/All.o, dist/build/Test/QuickCheck/All.dyn_o ) [15 of 16] Compiling Test.QuickCheck.Features ( src/Test/QuickCheck/Features.hs, dist/build/Test/QuickCheck/Features.o, dist/build/Test/QuickCheck/Features.dyn_o ) [16 of 16] Compiling Test.QuickCheck ( src/Test/QuickCheck.hs, dist/build/Test/QuickCheck.o, dist/build/Test/QuickCheck.dyn_o ) Installing library in /tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/incoming/new-275359/tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/QuickCheck-2.15.0.1-5983dcaa584ea483ef9e9ea2af7fa224df0fae931fdcab4c744423c7bc41920d/lib Configuring prettyprinter-ansi-terminal-1.1.3... Preprocessing library for prettyprinter-ansi-terminal-1.1.3.. Building library for prettyprinter-ansi-terminal-1.1.3.. [1 of 4] Compiling Prettyprinter.Render.Terminal.Internal ( src/Prettyprinter/Render/Terminal/Internal.hs, dist/build/Prettyprinter/Render/Terminal/Internal.o, dist/build/Prettyprinter/Render/Terminal/Internal.dyn_o ) [2 of 4] Compiling Prettyprinter.Render.Terminal ( src/Prettyprinter/Render/Terminal.hs, dist/build/Prettyprinter/Render/Terminal.o, dist/build/Prettyprinter/Render/Terminal.dyn_o ) [3 of 4] Compiling Data.Text.Prettyprint.Doc.Render.Terminal ( src/Data/Text/Prettyprint/Doc/Render/Terminal.hs, dist/build/Data/Text/Prettyprint/Doc/Render/Terminal.o, dist/build/Data/Text/Prettyprint/Doc/Render/Terminal.dyn_o ) [4 of 4] Compiling Data.Text.Prettyprint.Doc.Render.Terminal.Internal ( src/Data/Text/Prettyprint/Doc/Render/Terminal/Internal.hs, dist/build/Data/Text/Prettyprint/Doc/Render/Terminal/Internal.o, dist/build/Data/Text/Prettyprint/Doc/Render/Terminal/Internal.dyn_o ) Installing library in /tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/incoming/new-275359/tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/prettyprinter-ansi-terminal-1.1.3-afdcfc817c6c25e8e5dcb8fc93d7a510d5bde0af65c5f56d857f8f1938fc15f3/lib Configuring optparse-applicative-0.19.0.0... Preprocessing library for optparse-applicative-0.19.0.0.. Building library for optparse-applicative-0.19.0.0.. [ 1 of 17] Compiling Options.Applicative.Help.Levenshtein ( src/Options/Applicative/Help/Levenshtein.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Help/Levenshtein.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Help/Levenshtein.dyn_o ) src/Options/Applicative/Help/Levenshtein.hs:24:20: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 24 | oneDiag a b (head uppers) (-1 : head lowers) | ^^^^ src/Options/Applicative/Help/Levenshtein.hs:24:39: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 24 | oneDiag a b (head uppers) (-1 : head lowers) | ^^^^ src/Options/Applicative/Help/Levenshtein.hs:40:53: warning: [GHC-63394] [-Wx-partial] In the use of tail (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 40 | = nw : doDiag (ach' : as) (bch' : bs) nw (tail n) (tail w) | ^^^^ src/Options/Applicative/Help/Levenshtein.hs:40:62: warning: [GHC-63394] [-Wx-partial] In the use of tail (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 40 | = nw : doDiag (ach' : as) (bch' : bs) nw (tail n) (tail w) | ^^^^ src/Options/Applicative/Help/Levenshtein.hs:48:27: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 48 | 1 + min3 (head w) nw (head n) | ^^^^ src/Options/Applicative/Help/Levenshtein.hs:48:39: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 48 | 1 + min3 (head w) nw (head n) | ^^^^ src/Options/Applicative/Help/Levenshtein.hs:50:35: warning: [GHC-63394] [-Wx-partial] In the use of tail (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 50 | me : doDiag as bs me (tail n) (tail w) | ^^^^ src/Options/Applicative/Help/Levenshtein.hs:50:44: warning: [GHC-63394] [-Wx-partial] In the use of tail (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 50 | me : doDiag as bs me (tail n) (tail w) | ^^^^ src/Options/Applicative/Help/Levenshtein.hs:52:24: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 52 | firstelt = 1 + head diagBelow | ^^^^ src/Options/Applicative/Help/Levenshtein.hs:53:64: warning: [GHC-63394] [-Wx-partial] In the use of tail (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 53 | thisdiag = firstelt : doDiag a' b' firstelt diagAbove (tail diagBelow) | ^^^^ src/Options/Applicative/Help/Levenshtein.hs:59:20: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 59 | nextDiag = head (tail diags) | ^^^^ src/Options/Applicative/Help/Levenshtein.hs:59:26: warning: [GHC-63394] [-Wx-partial] In the use of tail (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 59 | nextDiag = head (tail diags) | ^^^^ [ 2 of 17] Compiling Options.Applicative.Help.Pretty ( src/Options/Applicative/Help/Pretty.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Help/Pretty.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Help/Pretty.dyn_o ) [ 3 of 17] Compiling Options.Applicative.Help.Chunk ( src/Options/Applicative/Help/Chunk.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Help/Chunk.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Help/Chunk.dyn_o ) [ 4 of 17] Compiling Options.Applicative.Help.Types ( src/Options/Applicative/Help/Types.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Help/Types.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Help/Types.dyn_o ) [ 5 of 17] Compiling Options.Applicative.Types ( src/Options/Applicative/Types.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Types.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Types.dyn_o ) src/Options/Applicative/Types.hs:59:31: warning: [GHC-61689] [-Wdodgy-imports] Module Data.Semigroup does not export Option. | 59 | import Data.Semigroup hiding (Option) | ^^^^^^ [ 6 of 17] Compiling Options.Applicative.NonEmpty ( src/Options/Applicative/NonEmpty.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/NonEmpty.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/NonEmpty.dyn_o ) [ 7 of 17] Compiling Options.Applicative.Internal ( src/Options/Applicative/Internal.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Internal.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Internal.dyn_o ) [ 8 of 17] Compiling Options.Applicative.Common ( src/Options/Applicative/Common.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Common.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Common.dyn_o ) [ 9 of 17] Compiling Options.Applicative.Help.Core ( src/Options/Applicative/Help/Core.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Help/Core.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Help/Core.dyn_o ) [10 of 17] Compiling Options.Applicative.Help ( src/Options/Applicative/Help.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Help.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Help.dyn_o ) [11 of 17] Compiling Options.Applicative.Builder.Internal ( src/Options/Applicative/Builder/Internal.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Builder/Internal.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Builder/Internal.dyn_o ) src/Options/Applicative/Builder/Internal.hs:29:31: warning: [GHC-61689] [-Wdodgy-imports] Module Data.Semigroup does not export Option. | 29 | import Data.Semigroup hiding (Option) | ^^^^^^ [12 of 17] Compiling Options.Applicative.Builder.Completer ( src/Options/Applicative/Builder/Completer.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Builder/Completer.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Builder/Completer.dyn_o ) [13 of 17] Compiling Options.Applicative.Builder ( src/Options/Applicative/Builder.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Builder.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Builder.dyn_o ) [14 of 17] Compiling Options.Applicative.BashCompletion ( src/Options/Applicative/BashCompletion.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/BashCompletion.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/BashCompletion.dyn_o ) src/Options/Applicative/BashCompletion.hs:16:1: warning: [GHC-66111] [-Wunused-imports] The import of Data.Foldable is redundant except perhaps to import instances from Data.Foldable To import instances alone, use: import Data.Foldable() | 16 | import Data.Foldable ( asum ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [15 of 17] Compiling Options.Applicative.Extra ( src/Options/Applicative/Extra.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Extra.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Extra.dyn_o ) [16 of 17] Compiling Options.Applicative ( src/Options/Applicative.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative.dyn_o ) [17 of 17] Compiling Options.Applicative.Arrows ( src/Options/Applicative/Arrows.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Arrows.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/Options/Applicative/Arrows.dyn_o ) Preprocessing test suite 'tests' for optparse-applicative-0.19.0.0.. Building test suite 'tests' for optparse-applicative-0.19.0.0.. [ 1 of 13] Compiling Examples.Alternatives ( tests/Examples/Alternatives.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/Alternatives.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/Alternatives.dyn_o ) [ 2 of 13] Compiling Examples.Cabal ( tests/Examples/Cabal.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/Cabal.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/Cabal.dyn_o ) tests/Examples/Cabal.hs:7:1: warning: [GHC-66111] [-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() | 7 | import Data.Monoid | ^^^^^^^^^^^^^^^^^^ [ 3 of 13] Compiling Examples.Commands ( tests/Examples/Commands.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/Commands.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/Commands.dyn_o ) tests/Examples/Commands.hs:5:1: warning: [GHC-66111] [-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() | 5 | import Data.Monoid | ^^^^^^^^^^^^^^^^^^ [ 4 of 13] Compiling Examples.Formatting ( tests/Examples/Formatting.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/Formatting.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/Formatting.dyn_o ) [ 5 of 13] Compiling Examples.Hello ( tests/Examples/Hello.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/Hello.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/Hello.dyn_o ) tests/Examples/Hello.hs:5:1: warning: [GHC-66111] [-Wunused-imports] The import of Data.Semigroup is redundant except perhaps to import instances from Data.Semigroup To import instances alone, use: import Data.Semigroup() | 5 | import Data.Semigroup ((<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 6 of 13] Compiling Examples.LongSub ( tests/Examples/LongSub.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/LongSub.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/LongSub.dyn_o ) tests/Examples/LongSub.hs:4:1: warning: [GHC-66111] [-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() | 4 | import Data.Monoid | ^^^^^^^^^^^^^^^^^^ [ 7 of 13] Compiling Examples.ParserGroup.AllGrouped ( tests/Examples/ParserGroup/AllGrouped.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/ParserGroup/AllGrouped.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/ParserGroup/AllGrouped.dyn_o ) tests/Examples/ParserGroup/AllGrouped.hs:5:1: warning: [GHC-66111] [-Wunused-imports] The import of Data.Semigroup is redundant except perhaps to import instances from Data.Semigroup To import instances alone, use: import Data.Semigroup() | 5 | import Data.Semigroup ((<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 8 of 13] Compiling Examples.ParserGroup.Basic ( tests/Examples/ParserGroup/Basic.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/ParserGroup/Basic.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/ParserGroup/Basic.dyn_o ) tests/Examples/ParserGroup/Basic.hs:5:1: warning: [GHC-66111] [-Wunused-imports] The import of Data.Semigroup is redundant except perhaps to import instances from Data.Semigroup To import instances alone, use: import Data.Semigroup() | 5 | import Data.Semigroup ((<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 9 of 13] Compiling Examples.ParserGroup.CommandGroups ( tests/Examples/ParserGroup/CommandGroups.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/ParserGroup/CommandGroups.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/ParserGroup/CommandGroups.dyn_o ) tests/Examples/ParserGroup/CommandGroups.hs:6:1: warning: [GHC-66111] [-Wunused-imports] The import of Data.Semigroup is redundant except perhaps to import instances from Data.Semigroup To import instances alone, use: import Data.Semigroup() | 6 | import Data.Semigroup ((<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10 of 13] Compiling Examples.ParserGroup.DuplicateCommandGroups ( tests/Examples/ParserGroup/DuplicateCommandGroups.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/ParserGroup/DuplicateCommandGroups.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/ParserGroup/DuplicateCommandGroups.dyn_o ) tests/Examples/ParserGroup/DuplicateCommandGroups.hs:6:1: warning: [GHC-66111] [-Wunused-imports] The import of Data.Semigroup is redundant except perhaps to import instances from Data.Semigroup To import instances alone, use: import Data.Semigroup() | 6 | import Data.Semigroup ((<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11 of 13] Compiling Examples.ParserGroup.Duplicates ( tests/Examples/ParserGroup/Duplicates.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/ParserGroup/Duplicates.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/ParserGroup/Duplicates.dyn_o ) tests/Examples/ParserGroup/Duplicates.hs:5:1: warning: [GHC-66111] [-Wunused-imports] The import of Data.Semigroup is redundant except perhaps to import instances from Data.Semigroup To import instances alone, use: import Data.Semigroup() | 5 | import Data.Semigroup ((<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [12 of 13] Compiling Examples.ParserGroup.Nested ( tests/Examples/ParserGroup/Nested.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/ParserGroup/Nested.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Examples/ParserGroup/Nested.dyn_o ) tests/Examples/ParserGroup/Nested.hs:5:1: warning: [GHC-66111] [-Wunused-imports] The import of Data.Semigroup is redundant except perhaps to import instances from Data.Semigroup To import instances alone, use: import Data.Semigroup() | 5 | import Data.Semigroup ((<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [13 of 13] Compiling Main ( tests/test.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests-tmp/Main.o ) tests/test.hs:22:1: warning: [GHC-66111] [-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() | 22 | import Data.Function (on) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test.hs:25:41: warning: [GHC-61689] [-Wdodgy-imports] Module Data.Semigroup does not export option. | 25 | import Data.Semigroup hiding (option) | ^^^^^^ tests/test.hs:183:16: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 183 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:194:16: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 194 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:235:16: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 235 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:250:16: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 250 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:486:16: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 486 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:561:22: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 561 | errMsg = head $ lines msg | ^^^^ tests/test.hs:634:16: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 634 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:727:16: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 727 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:737:16: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 737 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:749:16: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 749 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:760:16: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 760 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:769:16: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 769 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:778:16: warning: [GHC-63394] [-Wx-partial] In the use of head (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 778 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:923:11: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type (String, ExitCode) not matched: (_, (ExitFailure _)) | 923 | let (msg, ExitSuccess) = renderFailure failure "" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test.hs:936:11: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type (String, ExitCode) not matched: (_, (ExitFailure _)) | 936 | let (msg, ExitSuccess) = renderFailure failure "" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [14 of 14] Linking /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/build/tests/tests Running 1 test suites... Test suite tests: RUNNING... Test suite tests: PASS Test suite logged to: /var/lib/hackage-doc-builder/build-cache/tmp-install/reports/optparse-applicative-0.19.0.0.test Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.BashCompletion.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Internal.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Types.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.NonEmpty.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Help.Types.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Help.Pretty.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Help.Levenshtein.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Help.Core.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Help.Chunk.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Extra.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Common.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Builder.Internal.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Builder.Completer.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Builder.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Arrows.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 /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/hpc/vanilla/html/tests/hpc_index.html 1 of 1 test suites (1 of 1 test cases) passed. Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.BashCompletion.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Internal.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Types.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.NonEmpty.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Help.Types.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Help.Pretty.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Help.Levenshtein.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Help.Core.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Help.Chunk.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Extra.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Common.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Builder.Internal.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Builder.Completer.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Builder.hs.html Writing: optparse-applicative-0.19.0.0-inplace/Options.Applicative.Arrows.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 /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/optparse-applicative-0.19.0.0/noopt/hpc/vanilla/html/optparse-applicative-0.19.0.0/hpc_index.html