Running phase: setupCompilerEnvironmentPhase Build with /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3. Running phase: unpackPhase unpacking source archive /nix/store/bhpikxcccpk34gd64nag6jbqs8klafav-optparse-applicative-0.18.1.0.tar.gz source root is optparse-applicative-0.18.1.0 setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file "optparse-applicative-0.18.1.0/tests/test.hs" Running phase: patchPhase Replace Cabal file with edited version from mirror://hackage/optparse-applicative-0.18.1.0/revision/1.cabal. applying patch /nix/store/82cn34p1a3zkbcnr0y96kc5yypk0w9ff-optparse-applicative-0.18.1-allow-QuickCheck-2.15.patch patching file optparse-applicative.cabal Hunk #1 succeeded at 135 (offset 1 line). Running phase: compileBuildDriverPhase setupCompileFlags: -package-db=/build/tmp.D3fkBIGpj2/setup-package.conf.d -threaded [1 of 2] Compiling Main ( Setup.hs, /build/tmp.D3fkBIGpj2/Main.o ) [2 of 2] Linking Setup Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configureFlags: --verbose --prefix=/nix/store/3a2dys2m6jiw3jdzw2l3g8ga82clhavz-optparse-applicative-0.18.1.0 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/hxx1ib0q4fmyaqg1lvnhizxjhzilrvx2-optparse-applicative-0.18.1.0-doc/share/doc/optparse-applicative-0.18.1.0 --with-gcc=gcc --package-db=/build/tmp.D3fkBIGpj2/package.conf.d --ghc-option=-j4 --ghc-option=+RTS --ghc-option=-A64M --ghc-option=-RTS --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --enable-split-sections --enable-library-stripping --enable-executable-stripping --ghc-option=-haddock --extra-lib-dirs=/nix/store/nmgkl5md2346myfn25sr08mywl1hbh84-ncurses-6.6/lib --extra-lib-dirs=/nix/store/iw22fkslpax5sd2pmrqqqj6kvx9hsxy2-libffi-3.8.0/lib --extra-lib-dirs=/nix/store/7sn2gdv1ichb62134k1vc8ghsdiqsz62-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/2r9sd3srzkg334nyic95qmly0mjw37ch-numactl-2.0.18/lib Using Parsec parser Configuring optparse-applicative-0.18.1.0... Flags chosen: process=True Dependency base >=4.5 && <5: using base-4.20.2.0 Dependency prettyprinter >=1.7 && <1.8: using prettyprinter-1.7.1 Dependency prettyprinter-ansi-terminal >=1.1.2 && <1.2: using prettyprinter-ansi-terminal-1.1.3 Dependency process >=1.0 && <1.7: using process-1.6.26.1 Dependency text >=1.2: using text-2.1.3 Dependency transformers >=0.2 && <0.7: using transformers-0.6.1.1 Dependency transformers-compat >=0.3 && <0.8: using transformers-compat-0.7.2 Dependency QuickCheck >=2.8 && <2.16: using QuickCheck-2.15.0.1 Dependency base: using base-4.20.2.0 Dependency optparse-applicative: using optparse-applicative-0.18.1.0 Source component graph: component lib component test:tests dependency lib Configured component graph: component optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT include base-4.20.2.0-a5ec include prettyprinter-1.7.1-3TehZyKXKLc9JqWdHP1hC include prettyprinter-ansi-terminal-1.1.3-9vzVHNDdIVf9irOTTqjxlz include process-1.6.26.1-b560 include text-2.1.3-6248 include transformers-0.6.1.1-6440 include transformers-compat-0.7.2-IXz5aIcQDHjJIlL4N4Uymv component optparse-applicative-0.18.1.0-DfbvAaRVDCT6H2GLWRRVta-tests include QuickCheck-2.15.0.1-DoCBkNsF8SpAVmhTpFuY6d include base-4.20.2.0-a5ec include optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT Linked component graph: unit optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT include base-4.20.2.0-a5ec include prettyprinter-1.7.1-3TehZyKXKLc9JqWdHP1hC include prettyprinter-ansi-terminal-1.1.3-9vzVHNDdIVf9irOTTqjxlz include process-1.6.26.1-b560 include text-2.1.3-6248 include transformers-0.6.1.1-6440 include transformers-compat-0.7.2-IXz5aIcQDHjJIlL4N4Uymv Options.Applicative=optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT:Options.Applicative,Options.Applicative.Arrows=optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT:Options.Applicative.Arrows,Options.Applicative.BashCompletion=optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT:Options.Applicative.BashCompletion,Options.Applicative.Builder=optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT:Options.Applicative.Builder,Options.Applicative.Builder.Completer=optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT:Options.Applicative.Builder.Completer,Options.Applicative.Builder.Internal=optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT:Options.Applicative.Builder.Internal,Options.Applicative.Common=optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT:Options.Applicative.Common,Options.Applicative.Extra=optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT:Options.Applicative.Extra,Options.Applicative.Help=optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT:Options.Applicative.Help,Options.Applicative.Help.Chunk=optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT:Options.Applicative.Help.Chunk,Options.Applicative.Help.Core=optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT:Options.Applicative.Help.Core,Options.Applicative.Help.Levenshtein=optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT:Options.Applicative.Help.Levenshtein,Options.Applicative.Help.Pretty=optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT:Options.Applicative.Help.Pretty,Options.Applicative.Help.Types=optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT:Options.Applicative.Help.Types,Options.Applicative.Internal=optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT:Options.Applicative.Internal,Options.Applicative.NonEmpty=optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT:Options.Applicative.NonEmpty,Options.Applicative.Types=optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT:Options.Applicative.Types unit optparse-applicative-0.18.1.0-DfbvAaRVDCT6H2GLWRRVta-tests include QuickCheck-2.15.0.1-DoCBkNsF8SpAVmhTpFuY6d include base-4.20.2.0-a5ec include optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT Ready component graph: definite optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT depends base-4.20.2.0-a5ec depends prettyprinter-1.7.1-3TehZyKXKLc9JqWdHP1hC depends prettyprinter-ansi-terminal-1.1.3-9vzVHNDdIVf9irOTTqjxlz depends process-1.6.26.1-b560 depends text-2.1.3-6248 depends transformers-0.6.1.1-6440 depends transformers-compat-0.7.2-IXz5aIcQDHjJIlL4N4Uymv definite optparse-applicative-0.18.1.0-DfbvAaRVDCT6H2GLWRRVta-tests depends QuickCheck-2.15.0.1-DoCBkNsF8SpAVmhTpFuY6d depends base-4.20.2.0-a5ec depends optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT Using Cabal-3.12.1.0 compiled by ghc-9.10 Using compiler: ghc-9.10.3 Using install prefix: /nix/store/3a2dys2m6jiw3jdzw2l3g8ga82clhavz-optparse-applicative-0.18.1.0 Executables installed in: /nix/store/3a2dys2m6jiw3jdzw2l3g8ga82clhavz-optparse-applicative-0.18.1.0/bin Libraries installed in: /nix/store/3a2dys2m6jiw3jdzw2l3g8ga82clhavz-optparse-applicative-0.18.1.0/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55/optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT Dynamic Libraries installed in: /nix/store/3a2dys2m6jiw3jdzw2l3g8ga82clhavz-optparse-applicative-0.18.1.0/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55 Private executables installed in: /nix/store/3a2dys2m6jiw3jdzw2l3g8ga82clhavz-optparse-applicative-0.18.1.0/libexec/aarch64-linux-ghc-9.10.3-eb55/optparse-applicative-0.18.1.0 Data files installed in: /nix/store/3a2dys2m6jiw3jdzw2l3g8ga82clhavz-optparse-applicative-0.18.1.0/share/aarch64-linux-ghc-9.10.3-eb55/optparse-applicative-0.18.1.0 Documentation installed in: /nix/store/hxx1ib0q4fmyaqg1lvnhizxjhzilrvx2-optparse-applicative-0.18.1.0-doc/share/doc/optparse-applicative-0.18.1.0 Configuration files installed in: /nix/store/3a2dys2m6jiw3jdzw2l3g8ga82clhavz-optparse-applicative-0.18.1.0/etc No alex found Using ar found on system at: /nix/store/m1armxrx1nk768pislz3kzicq2mr4wck-binutils-wrapper-2.46/bin/ar No c2hs found No cpphs found No doctest found Using gcc version 15.3.0 given by user at: /nix/store/1m3h2yhx00myw3yblflznibhdb2r6ipx-gcc-wrapper-15.3.0/bin/gcc Using ghc version 9.10.3 found on system at: /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/ghc Using ghc-pkg version 9.10.3 found on system at: /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/ghc-pkg-9.10.3 No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.31.1 found on system at: /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/haddock-ghc-9.10.3 No happy found Using haskell-suite found on system at: haskell-suite-dummy-location Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location No hmake found Using hpc version 0.69 found on system at: /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/hpc-ghc-9.10.3 Using hsc2hs version 0.68.10 found on system at: /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3 Using hscolour version 1.25 found on system at: /nix/store/pzf13a3faar5znsn51jxl01l1qw7qjw1-hscolour-1.25/bin/HsColour No jhc found Using ld found on system at: /nix/store/1m3h2yhx00myw3yblflznibhdb2r6ipx-gcc-wrapper-15.3.0/bin/ld No pkg-config found Using runghc version 9.10.3 found on system at: /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/runghc-9.10.3 Using strip version 2.46 found on system at: /nix/store/1m3h2yhx00myw3yblflznibhdb2r6ipx-gcc-wrapper-15.3.0/bin/strip Using tar found on system at: /nix/store/2yldvksvc01sv7agz7vrczymm1ffcirx-gnutar-1.35/bin/tar No uhc found Running phase: buildPhase Preprocessing library for optparse-applicative-0.18.1.0... Building library for optparse-applicative-0.18.1.0... [ 1 of 17] Compiling Options.Applicative.Help.Levenshtein ( src/Options/Applicative/Help/Levenshtein.hs, dist/build/Options/Applicative/Help/Levenshtein.o, dist/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.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' 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.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' 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.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.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.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.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.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' 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.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' 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.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.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.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.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.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' 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.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.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.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' 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.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.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, dist/build/Options/Applicative/Help/Pretty.o, dist/build/Options/Applicative/Help/Pretty.dyn_o ) [ 3 of 17] Compiling Options.Applicative.Help.Chunk ( src/Options/Applicative/Help/Chunk.hs, dist/build/Options/Applicative/Help/Chunk.o, dist/build/Options/Applicative/Help/Chunk.dyn_o ) [ 4 of 17] Compiling Options.Applicative.Help.Types ( src/Options/Applicative/Help/Types.hs, dist/build/Options/Applicative/Help/Types.o, dist/build/Options/Applicative/Help/Types.dyn_o ) [ 5 of 17] Compiling Options.Applicative.Types ( src/Options/Applicative/Types.hs, dist/build/Options/Applicative/Types.o, dist/build/Options/Applicative/Types.dyn_o ) src/Options/Applicative/Types.hs:58:31: warning: [GHC-61689] [-Wdodgy-imports] Module ‘Data.Semigroup’ does not export ‘Option’. | 58 | import Data.Semigroup hiding (Option) | ^^^^^^ [ 6 of 17] Compiling Options.Applicative.NonEmpty ( src/Options/Applicative/NonEmpty.hs, dist/build/Options/Applicative/NonEmpty.o, dist/build/Options/Applicative/NonEmpty.dyn_o ) [ 7 of 17] Compiling Options.Applicative.Internal ( src/Options/Applicative/Internal.hs, dist/build/Options/Applicative/Internal.o, dist/build/Options/Applicative/Internal.dyn_o ) [ 8 of 17] Compiling Options.Applicative.Common ( src/Options/Applicative/Common.hs, dist/build/Options/Applicative/Common.o, dist/build/Options/Applicative/Common.dyn_o ) [ 9 of 17] Compiling Options.Applicative.Help.Core ( src/Options/Applicative/Help/Core.hs, dist/build/Options/Applicative/Help/Core.o, dist/build/Options/Applicative/Help/Core.dyn_o ) src/Options/Applicative/Help/Core.hs:26:28: warning: [GHC-38856] [-Wunused-imports] The import of ‘foldl'’ from module ‘Data.Foldable’ is redundant | 26 | import Data.Foldable (any, foldl') | ^^^^^^ [10 of 17] Compiling Options.Applicative.Help ( src/Options/Applicative/Help.hs, dist/build/Options/Applicative/Help.o, dist/build/Options/Applicative/Help.dyn_o ) [11 of 17] Compiling Options.Applicative.Builder.Internal ( src/Options/Applicative/Builder/Internal.hs, dist/build/Options/Applicative/Builder/Internal.o, dist/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, dist/build/Options/Applicative/Builder/Completer.o, dist/build/Options/Applicative/Builder/Completer.dyn_o ) [13 of 17] Compiling Options.Applicative.Builder ( src/Options/Applicative/Builder.hs, dist/build/Options/Applicative/Builder.o, dist/build/Options/Applicative/Builder.dyn_o ) [14 of 17] Compiling Options.Applicative.BashCompletion ( src/Options/Applicative/BashCompletion.hs, dist/build/Options/Applicative/BashCompletion.o, dist/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, dist/build/Options/Applicative/Extra.o, dist/build/Options/Applicative/Extra.dyn_o ) [16 of 17] Compiling Options.Applicative ( src/Options/Applicative.hs, dist/build/Options/Applicative.o, dist/build/Options/Applicative.dyn_o ) [17 of 17] Compiling Options.Applicative.Arrows ( src/Options/Applicative/Arrows.hs, dist/build/Options/Applicative/Arrows.o, dist/build/Options/Applicative/Arrows.dyn_o ) [ 1 of 17] Compiling Options.Applicative.Help.Levenshtein ( src/Options/Applicative/Help/Levenshtein.hs, dist/build/Options/Applicative/Help/Levenshtein.p_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.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' 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.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' 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.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.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.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.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.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' 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.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' 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.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.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.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.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.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' 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.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.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.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' 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.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.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, dist/build/Options/Applicative/Help/Pretty.p_o ) [ 3 of 17] Compiling Options.Applicative.Help.Chunk ( src/Options/Applicative/Help/Chunk.hs, dist/build/Options/Applicative/Help/Chunk.p_o ) [ 4 of 17] Compiling Options.Applicative.Help.Types ( src/Options/Applicative/Help/Types.hs, dist/build/Options/Applicative/Help/Types.p_o ) [ 5 of 17] Compiling Options.Applicative.Types ( src/Options/Applicative/Types.hs, dist/build/Options/Applicative/Types.p_o ) src/Options/Applicative/Types.hs:58:31: warning: [GHC-61689] [-Wdodgy-imports] Module ‘Data.Semigroup’ does not export ‘Option’. | 58 | import Data.Semigroup hiding (Option) | ^^^^^^ [ 6 of 17] Compiling Options.Applicative.NonEmpty ( src/Options/Applicative/NonEmpty.hs, dist/build/Options/Applicative/NonEmpty.p_o ) [ 7 of 17] Compiling Options.Applicative.Internal ( src/Options/Applicative/Internal.hs, dist/build/Options/Applicative/Internal.p_o ) [ 8 of 17] Compiling Options.Applicative.Common ( src/Options/Applicative/Common.hs, dist/build/Options/Applicative/Common.p_o ) [ 9 of 17] Compiling Options.Applicative.Help.Core ( src/Options/Applicative/Help/Core.hs, dist/build/Options/Applicative/Help/Core.p_o ) src/Options/Applicative/Help/Core.hs:26:28: warning: [GHC-38856] [-Wunused-imports] The import of ‘foldl'’ from module ‘Data.Foldable’ is redundant | 26 | import Data.Foldable (any, foldl') | ^^^^^^ [10 of 17] Compiling Options.Applicative.Help ( src/Options/Applicative/Help.hs, dist/build/Options/Applicative/Help.p_o ) [11 of 17] Compiling Options.Applicative.Builder.Internal ( src/Options/Applicative/Builder/Internal.hs, dist/build/Options/Applicative/Builder/Internal.p_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, dist/build/Options/Applicative/Builder/Completer.p_o ) [13 of 17] Compiling Options.Applicative.Builder ( src/Options/Applicative/Builder.hs, dist/build/Options/Applicative/Builder.p_o ) [14 of 17] Compiling Options.Applicative.BashCompletion ( src/Options/Applicative/BashCompletion.hs, dist/build/Options/Applicative/BashCompletion.p_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, dist/build/Options/Applicative/Extra.p_o ) [16 of 17] Compiling Options.Applicative ( src/Options/Applicative.hs, dist/build/Options/Applicative.p_o ) [17 of 17] Compiling Options.Applicative.Arrows ( src/Options/Applicative/Arrows.hs, dist/build/Options/Applicative/Arrows.p_o ) Preprocessing test suite 'tests' for optparse-applicative-0.18.1.0... Building test suite 'tests' for optparse-applicative-0.18.1.0... [1 of 7] Compiling Examples.Alternatives ( tests/Examples/Alternatives.hs, dist/build/tests/tests-tmp/Examples/Alternatives.o, dist/build/tests/tests-tmp/Examples/Alternatives.dyn_o ) [2 of 7] Compiling Examples.Cabal ( tests/Examples/Cabal.hs, dist/build/tests/tests-tmp/Examples/Cabal.o, dist/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 7] Compiling Examples.Commands ( tests/Examples/Commands.hs, dist/build/tests/tests-tmp/Examples/Commands.o, dist/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 7] Compiling Examples.Formatting ( tests/Examples/Formatting.hs, dist/build/tests/tests-tmp/Examples/Formatting.o, dist/build/tests/tests-tmp/Examples/Formatting.dyn_o ) [5 of 7] Compiling Examples.Hello ( tests/Examples/Hello.hs, dist/build/tests/tests-tmp/Examples/Hello.o, dist/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 7] Compiling Examples.LongSub ( tests/Examples/LongSub.hs, dist/build/tests/tests-tmp/Examples/LongSub.o, dist/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 7] Compiling Main ( tests/test.hs, dist/build/tests/tests-tmp/Main.o ) tests/test.hs:18:41: warning: [GHC-61689] [-Wdodgy-imports] Module ‘Data.Semigroup’ does not export ‘option’. | 18 | import Data.Semigroup hiding (option) | ^^^^^^ tests/test.hs:176:16: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 176 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:187:16: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 187 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:228:16: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 228 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:243:16: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 243 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:479:16: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 479 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:554:22: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 554 | errMsg = head $ lines msg | ^^^^ tests/test.hs:627:16: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 627 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:720:16: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 720 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:730:16: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 730 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:742:16: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 742 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:753:16: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 753 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:762:16: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 762 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:771:16: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." | 771 | let text = head . lines . fst $ renderFailure failure "test" | ^^^^ tests/test.hs:916: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 _)) | 916 | let (msg, ExitSuccess) = renderFailure failure "" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test.hs:929: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 _)) | 929 | let (msg, ExitSuccess) = renderFailure failure "" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [8 of 8] Linking dist/build/tests/tests Running phase: checkPhase Running 1 test suites... Test suite tests: RUNNING... === prop_hello from tests/test.hs:72 === +++ OK, passed 1 test. === prop_modes from tests/test.hs:76 === +++ OK, passed 1 test. === prop_cmd_header from tests/test.hs:80 === +++ OK, passed 1 test. === prop_cabal_conf from tests/test.hs:89 === +++ OK, passed 1 test. === prop_args from tests/test.hs:93 === +++ OK, passed 1 test. === prop_args_opts from tests/test.hs:98 === +++ OK, passed 1 test. === prop_args_ddash from tests/test.hs:103 === +++ OK, passed 1 test. === prop_alts from tests/test.hs:108 === +++ OK, passed 1 test. === prop_show_default from tests/test.hs:116 === +++ OK, passed 1 test. === prop_alt_cont from tests/test.hs:131 === +++ OK, passed 1 test. === prop_alt_help from tests/test.hs:138 === +++ OK, passed 1 test. === prop_optional_help from tests/test.hs:154 === +++ OK, passed 1 test. === prop_optional_requiring_parens from tests/test.hs:167 === +++ OK, passed 1 test. === prop_optional_alt_requiring_parens from tests/test.hs:179 === +++ OK, passed 1 test. === prop_nested_optional_help from tests/test.hs:190 === +++ OK, passed 1 test. === prop_long_equals from tests/test.hs:209 === +++ OK, passed 1 test. === prop_long_equals_doesnt_do_shorts from tests/test.hs:220 === +++ OK, passed 1 test. === prop_nested_fun from tests/test.hs:231 === +++ OK, passed 1 test. === prop_nested_commands from tests/test.hs:246 === +++ OK, passed 1 test. === prop_drops_back_contexts from tests/test.hs:255 === +++ OK, passed 1 test. === prop_context_carry from tests/test.hs:265 === +++ OK, passed 1 test. === prop_help_on_empty from tests/test.hs:275 === +++ OK, passed 1 test. === prop_help_on_empty_sub from tests/test.hs:285 === +++ OK, passed 1 test. === prop_many_args from tests/test.hs:295 === +++ OK, passed 100 tests. === prop_disambiguate from tests/test.hs:303 === +++ OK, passed 1 test. === prop_ambiguous from tests/test.hs:312 === +++ OK, passed 1 test. === prop_disambiguate_in_same_subparsers from tests/test.hs:322 === +++ OK, passed 1 test. === prop_disambiguate_commands_in_separate_subparsers from tests/test.hs:329 === +++ OK, passed 1 test. === prop_fail_ambiguous_commands_in_same_subparser from tests/test.hs:338 === +++ OK, passed 1 test. === prop_fail_ambiguous_commands_in_separate_subparser from tests/test.hs:345 === +++ OK, passed 1 test. === prop_without_disambiguation_same_named_commands_should_parse_in_order from tests/test.hs:354 === +++ OK, passed 1 test. === prop_completion from tests/test.hs:364 === +++ OK, passed 1 test. === prop_completion_opt_after_double_dash from tests/test.hs:378 === +++ OK, passed 1 test. === prop_completion_only_reachable from tests/test.hs:394 === +++ OK, passed 1 test. === prop_completion_only_reachable_deep from tests/test.hs:409 === +++ OK, passed 1 test. === prop_completion_multi from tests/test.hs:426 === +++ OK, passed 1 test. === prop_completion_rich from tests/test.hs:441 === +++ OK, passed 1 test. === prop_completion_rich_lengths from tests/test.hs:455 === +++ OK, passed 1 test. === prop_bind_usage from tests/test.hs:472 === +++ OK, passed 1 test. === prop_issue_19 from tests/test.hs:482 === +++ OK, passed 1 test. === prop_arguments1_none from tests/test.hs:491 === +++ OK, passed 100 tests. === prop_arguments1_some from tests/test.hs:499 === +++ OK, passed 1 test. === prop_arguments_switch from tests/test.hs:507 === +++ OK, passed 1 test. === prop_issue_35 from tests/test.hs:516 === +++ OK, passed 1 test. === prop_backtracking from tests/test.hs:526 === +++ OK, passed 1 test. === prop_subparser_inline from tests/test.hs:536 === +++ OK, passed 1 test. === prop_error_context from tests/test.hs:546 === +++ OK, passed 1 test. === prop_arg_order_1 from tests/test.hs:567 === +++ OK, passed 1 test. === prop_arg_order_2 from tests/test.hs:576 === +++ OK, passed 1 test. === prop_arg_order_3 from tests/test.hs:586 === +++ OK, passed 1 test. === prop_unix_style from tests/test.hs:596 === +++ OK, passed 100 tests. === prop_unix_with_options from tests/test.hs:605 === +++ OK, passed 1 test. === prop_count_flags from tests/test.hs:614 === +++ OK, passed 1 test. === prop_issue_47 from tests/test.hs:621 === +++ OK, passed 1 test. === prop_long_help from tests/test.hs:630 === +++ OK, passed 1 test. === prop_issue_50 from tests/test.hs:640 === +++ OK, passed 1 test. === prop_intersperse_1 from tests/test.hs:647 === +++ OK, passed 1 test. === prop_intersperse_2 from tests/test.hs:655 === +++ OK, passed 1 test. === prop_intersperse_3 from tests/test.hs:670 === +++ OK, passed 1 test. === prop_forward_options from tests/test.hs:682 === +++ OK, passed 1 test. === prop_issue_52 from tests/test.hs:692 === +++ OK, passed 1 test. === prop_multiple_subparsers from tests/test.hs:702 === +++ OK, passed 1 test. === prop_argument_error from tests/test.hs:713 === +++ OK, passed 1 test. === prop_reader_error_mplus from tests/test.hs:723 === +++ OK, passed 1 test. === prop_missing_flags_described from tests/test.hs:733 === +++ OK, passed 1 test. === prop_many_missing_flags_described from tests/test.hs:745 === +++ OK, passed 1 test. === prop_alt_missing_flags_described from tests/test.hs:756 === +++ OK, passed 1 test. === prop_missing_option_parameter_err from tests/test.hs:765 === +++ OK, passed 1 test. === prop_many_pairs_success from tests/test.hs:774 === +++ OK, passed 1 test. === prop_many_pairs_failure from tests/test.hs:783 === +++ OK, passed 1 test. === prop_many_pairs_lazy_progress from tests/test.hs:792 === +++ OK, passed 1 test. === prop_suggest from tests/test.hs:800 === +++ OK, passed 1 test. === prop_grouped_some_option_ellipsis from tests/test.hs:813 === +++ OK, passed 1 test. === prop_grouped_many_option_ellipsis from tests/test.hs:821 === +++ OK, passed 1 test. === prop_grouped_some_argument_ellipsis from tests/test.hs:829 === +++ OK, passed 1 test. === prop_grouped_many_argument_ellipsis from tests/test.hs:837 === +++ OK, passed 1 test. === prop_grouped_some_pairs_argument_ellipsis from tests/test.hs:845 === +++ OK, passed 1 test. === prop_grouped_many_pairs_argument_ellipsis from tests/test.hs:853 === +++ OK, passed 1 test. === prop_grouped_some_dual_option_ellipsis from tests/test.hs:861 === +++ OK, passed 1 test. === prop_grouped_many_dual_option_ellipsis from tests/test.hs:869 === +++ OK, passed 1 test. === prop_grouped_some_dual_flag_ellipsis from tests/test.hs:877 === +++ OK, passed 1 test. === prop_grouped_many_dual_flag_ellipsis from tests/test.hs:884 === +++ OK, passed 1 test. === prop_issue_402 from tests/test.hs:891 === +++ OK, passed 1 test. === prop_nice_some1 from tests/test.hs:898 === +++ OK, passed 1 test. === prop_some1_works from tests/test.hs:905 === +++ OK, passed 1 test. === prop_help_contexts from tests/test.hs:912 === +++ OK, passed 1 test. === prop_help_unknown_context from tests/test.hs:925 === +++ OK, passed 1 test. === prop_long_command_line_flow from tests/test.hs:939 === +++ OK, passed 1 test. === prop_listToChunk_1 from tests/test.hs:958 === +++ OK, passed 100 tests. === prop_listToChunk_2 from tests/test.hs:961 === +++ OK, passed 100 tests. === prop_extractChunk_1 from tests/test.hs:964 === +++ OK, passed 100 tests. === prop_extractChunk_2 from tests/test.hs:967 === +++ OK, passed 100 tests. === prop_stringChunk_1 from tests/test.hs:970 === +++ OK, passed 100 tests. === prop_stringChunk_2 from tests/test.hs:975 === +++ OK, passed 100 tests. === prop_paragraph from tests/test.hs:978 === +++ OK, passed 100 tests. === prop_edit_distance_gezero from tests/test.hs:994 === +++ OK, passed 100 tests. === prop_edit_insertion from tests/test.hs:997 === +++ OK, passed 100 tests. === prop_edit_symmetric from tests/test.hs:1001 === +++ OK, passed 100 tests. === prop_edit_substitution from tests/test.hs:1005 === +++ OK, passed 100 tests; 1 discarded. === prop_edit_transposition from tests/test.hs:1009 === +++ OK, passed 100 tests. Test suite tests: PASS Test suite logged to: dist/test/optparse-applicative-0.18.1.0-tests.log 1 of 1 test suites (1 of 1 test cases) passed. Running phase: haddockPhase Preprocessing library for optparse-applicative-0.18.1.0... Running Haddock on library for optparse-applicative-0.18.1.0... [ 1 of 17] Compiling Options.Applicative.Help.Levenshtein ( src/Options/Applicative/Help/Levenshtein.hs, nothing ) 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.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' 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.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' 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.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.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.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.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.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' 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.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' 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.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.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.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.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.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' 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.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.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.Internal.List): "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' 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.Internal.List): "This is a partial function, it throws an error on empty lists. Replace it with 'drop' 1, or use pattern matching or 'GHC.Internal.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, nothing ) [ 3 of 17] Compiling Options.Applicative.Help.Chunk ( src/Options/Applicative/Help/Chunk.hs, nothing ) [ 4 of 17] Compiling Options.Applicative.Help.Types ( src/Options/Applicative/Help/Types.hs, nothing ) [ 5 of 17] Compiling Options.Applicative.Types ( src/Options/Applicative/Types.hs, nothing ) src/Options/Applicative/Types.hs:58:31: warning: [GHC-61689] [-Wdodgy-imports] Module ‘Data.Semigroup’ does not export ‘Option’. | 58 | import Data.Semigroup hiding (Option) | ^^^^^^ [ 6 of 17] Compiling Options.Applicative.NonEmpty ( src/Options/Applicative/NonEmpty.hs, nothing ) [ 7 of 17] Compiling Options.Applicative.Internal ( src/Options/Applicative/Internal.hs, nothing ) [ 8 of 17] Compiling Options.Applicative.Common ( src/Options/Applicative/Common.hs, nothing ) [ 9 of 17] Compiling Options.Applicative.Help.Core ( src/Options/Applicative/Help/Core.hs, nothing ) src/Options/Applicative/Help/Core.hs:26:28: warning: [GHC-38856] [-Wunused-imports] The import of ‘foldl'’ from module ‘Data.Foldable’ is redundant | 26 | import Data.Foldable (any, foldl') | ^^^^^^ [10 of 17] Compiling Options.Applicative.Help ( src/Options/Applicative/Help.hs, nothing ) [11 of 17] Compiling Options.Applicative.Builder.Internal ( src/Options/Applicative/Builder/Internal.hs, nothing ) 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, nothing ) [13 of 17] Compiling Options.Applicative.Builder ( src/Options/Applicative/Builder.hs, nothing ) [14 of 17] Compiling Options.Applicative.BashCompletion ( src/Options/Applicative/BashCompletion.hs, nothing ) 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, nothing ) [16 of 17] Compiling Options.Applicative ( src/Options/Applicative.hs, nothing ) [17 of 17] Compiling Options.Applicative.Arrows ( src/Options/Applicative/Arrows.hs, nothing ) Haddock coverage: 50% ( 1 / 2) in 'Options.Applicative.Help.Levenshtein' Missing documentation for: Module header 93% ( 85 / 91) in 'Options.Applicative.Help.Pretty' Missing documentation for: Module header Doc (src/Options/Applicative/Help/Pretty.hs:29) SimpleDoc (src/Options/Applicative/Help/Pretty.hs:30) .$. (src/Options/Applicative/Help/Pretty.hs:36) (src/Options/Applicative/Help/Pretty.hs:38) prettyString (src/Options/Applicative/Help/Pretty.hs:113) Warning: 'a' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Chunk' is ambiguous. It is defined * at src/Options/Applicative/Help/Chunk.hs:26:19 * at src/Options/Applicative/Help/Chunk.hs:26:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Options/Applicative/Help/Chunk.hs:26:1 92% ( 12 / 13) in 'Options.Applicative.Help.Chunk' Missing documentation for: Module header 33% ( 1 / 3) in 'Options.Applicative.Help.Types' Missing documentation for: Module header ParserHelp (src/Options/Applicative/Help/Types.hs:12) Warning: 'execParserPure' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'a' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'OptReader' is ambiguous. It is defined * at src/Options/Applicative/Types.hs:239:5 * at src/Options/Applicative/Types.hs:238:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Options/Applicative/Types.hs:238:1 Warning: 'name' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Completer' is ambiguous. It is defined * at src/Options/Applicative/Types.hs:310:21 * at src/Options/Applicative/Types.hs:310:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Options/Applicative/Types.hs:310:1 38% ( 17 / 44) in 'Options.Applicative.Types' Missing documentation for: Module header ParseError (src/Options/Applicative/Types.hs:68) OptName (src/Options/Applicative/Types.hs:132) isShortName (src/Options/Applicative/Types.hs:137) isLongName (src/Options/Applicative/Types.hs:141) Backtracking (src/Options/Applicative/Types.hs:104) CReader (src/Options/Applicative/Types.hs:230) ParserM (src/Options/Applicative/Types.hs:273) CompletionResult (src/Options/Applicative/Types.hs:325) ParserFailure (src/Options/Applicative/Types.hs:332) overFailure (src/Options/Applicative/Types.hs:359) Args (src/Options/Applicative/Types.hs:374) ArgumentReachability (src/Options/Applicative/Types.hs:401) OptTree (src/Options/Applicative/Types.hs:411) ParserHelp (src/Options/Applicative/Help/Types.hs:12) SomeParser (src/Options/Applicative/Types.hs:176) IsCmdStart (src/Options/Applicative/Types.hs:77) fromM (src/Options/Applicative/Types.hs:288) oneM (src/Options/Applicative/Types.hs:291) manyM (src/Options/Applicative/Types.hs:294) someM (src/Options/Applicative/Types.hs:301) filterOptional (src/Options/Applicative/Types.hs:419) optVisibility (src/Options/Applicative/Types.hs:432) optMetaVar (src/Options/Applicative/Types.hs:438) optHelp (src/Options/Applicative/Types.hs:435) optShowDefault (src/Options/Applicative/Types.hs:441) optDescMod (src/Options/Applicative/Types.hs:444) 50% ( 1 / 2) in 'Options.Applicative.NonEmpty' Missing documentation for: Module header 0% ( 0 / 21) in 'Options.Applicative.Internal' Missing documentation for: Module header P (src/Options/Applicative/Internal.hs:50) MonadP (src/Options/Applicative/Internal.hs:41) ParseError (src/Options/Applicative/Types.hs:68) uncons (src/Options/Applicative/Internal.hs:95) hoistMaybe (src/Options/Applicative/Internal.hs:86) hoistEither (src/Options/Applicative/Internal.hs:89) runReadM (src/Options/Applicative/Internal.hs:99) withReadM (src/Options/Applicative/Internal.hs:102) runP (src/Options/Applicative/Internal.hs:92) Completion (src/Options/Applicative/Internal.hs:126) runCompletion (src/Options/Applicative/Internal.hs:158) contextNames (src/Options/Applicative/Internal.hs:72) ListT (src/Options/Applicative/Internal.hs:165) takeListT (src/Options/Applicative/Internal.hs:177) runListT (src/Options/Applicative/Internal.hs:181) hoistList (src/Options/Applicative/Internal.hs:266) NondetT (src/Options/Applicative/Internal.hs:221) cut (src/Options/Applicative/Internal.hs:253) (src/Options/Applicative/Internal.hs:247) disamb (src/Options/Applicative/Internal.hs:256) 68% ( 13 / 19) in 'Options.Applicative.Common' Missing documentation for: Module header showOption (src/Options/Applicative/Common.hs:66) runParserInfo (src/Options/Applicative/Common.hs:238) runParserFully (src/Options/Applicative/Common.hs:241) runParserStep (src/Options/Applicative/Common.hs:228) optionNames (src/Options/Applicative/Common.hs:70) 38% ( 7 / 18) in 'Options.Applicative.Help.Core' Missing documentation for: Module header ParserHelp (src/Options/Applicative/Help/Types.hs:12) errorHelp (src/Options/Applicative/Help/Core.hs:214) headerHelp (src/Options/Applicative/Help/Core.hs:217) suggestionsHelp (src/Options/Applicative/Help/Core.hs:220) usageHelp (src/Options/Applicative/Help/Core.hs:226) descriptionHelp (src/Options/Applicative/Help/Core.hs:229) bodyHelp (src/Options/Applicative/Help/Core.hs:232) footerHelp (src/Options/Applicative/Help/Core.hs:235) globalsHelp (src/Options/Applicative/Help/Core.hs:223) parserGlobals (src/Options/Applicative/Help/Core.hs:257) 91% ( 11 / 12) in 'Options.Applicative.Help' Missing documentation for: Module header Warning: 'OptionFields' is ambiguous. It is defined * at src/Options/Applicative/Builder/Internal.hs:35:23 * at src/Options/Applicative/Builder/Internal.hs:35:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Options/Applicative/Builder/Internal.hs:35:1 Warning: 'FlagFields' is ambiguous. It is defined * at src/Options/Applicative/Builder/Internal.hs:40:21 * at src/Options/Applicative/Builder/Internal.hs:40:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Options/Applicative/Builder/Internal.hs:40:1 Warning: 'strOption' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'flag' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'hidden' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 23% ( 5 / 21) in 'Options.Applicative.Builder.Internal' Missing documentation for: Module header HasName (src/Options/Applicative/Builder/Internal.hs:51) HasCompleter (src/Options/Applicative/Builder/Internal.hs:60) HasValue (src/Options/Applicative/Builder/Internal.hs:69) HasMetavar (src/Options/Applicative/Builder/Internal.hs:77) OptionFields (src/Options/Applicative/Builder/Internal.hs:35) FlagFields (src/Options/Applicative/Builder/Internal.hs:40) CommandFields (src/Options/Applicative/Builder/Internal.hs:44) ArgumentFields (src/Options/Applicative/Builder/Internal.hs:48) DefaultProp (src/Options/Applicative/Builder/Internal.hs:88) optionMod (src/Options/Applicative/Builder/Internal.hs:130) fieldMod (src/Options/Applicative/Builder/Internal.hs:133) mkCommand (src/Options/Applicative/Builder/Internal.hs:156) mkParser (src/Options/Applicative/Builder/Internal.hs:165) mkOption (src/Options/Applicative/Builder/Internal.hs:175) mkProps (src/Options/Applicative/Builder/Internal.hs:180) Warning: 'Completer' is ambiguous. It is defined * at src/Options/Applicative/Types.hs:310:21 * at src/Options/Applicative/Types.hs:310:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Options/Applicative/Types.hs:310:1 85% ( 6 / 7) in 'Options.Applicative.Builder.Completer' Missing documentation for: Module header Warning: 'ParserInfo' is ambiguous. It is defined * at src/Options/Applicative/Types.hs:89:21 * at src/Options/Applicative/Types.hs:89:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Options/Applicative/Types.hs:89:1 Warning: 'Option' is ambiguous. It is defined * at src/Options/Applicative/Types.hs:171:17 * at src/Options/Applicative/Types.hs:171:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Options/Applicative/Types.hs:171:1 Warning: 'ParserPrefs' is ambiguous. It is defined * at src/Options/Applicative/Types.hs:111:20 * at src/Options/Applicative/Types.hs:111:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Options/Applicative/Types.hs:111:1 86% ( 72 / 83) in 'Options.Applicative.Builder' Missing documentation for: Module header ParseError (src/Options/Applicative/Types.hs:68) PrefsMod (src/Options/Applicative/Builder.hs:470) OptionFields (src/Options/Applicative/Builder/Internal.hs:35) FlagFields (src/Options/Applicative/Builder/Internal.hs:40) ArgumentFields (src/Options/Applicative/Builder/Internal.hs:48) CommandFields (src/Options/Applicative/Builder/Internal.hs:44) HasName (src/Options/Applicative/Builder/Internal.hs:51) HasCompleter (src/Options/Applicative/Builder/Internal.hs:60) HasValue (src/Options/Applicative/Builder/Internal.hs:69) HasMetavar (src/Options/Applicative/Builder/Internal.hs:77) 80% ( 4 / 5) in 'Options.Applicative.BashCompletion' Missing documentation for: bashCompletionParser (src/Options/Applicative/BashCompletion.hs:39) Warning: 'ParserInfo' is ambiguous. It is defined * at src/Options/Applicative/Types.hs:89:21 * at src/Options/Applicative/Types.hs:89:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Options/Applicative/Types.hs:89:1 Warning: 'ParserFailure' is ambiguous. It is defined * at src/Options/Applicative/Types.hs:332:27 * at src/Options/Applicative/Types.hs:332:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Options/Applicative/Types.hs:332:1 Warning: 'Context' is ambiguous. It is defined * at src/Options/Applicative/Types.hs:180:16 * at src/Options/Applicative/Types.hs:180:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Options/Applicative/Types.hs:180:1 73% ( 14 / 19) in 'Options.Applicative.Extra' Missing documentation for: Module header renderFailure (src/Options/Applicative/Extra.hs:345) ParserFailure (src/Options/Applicative/Types.hs:332) overFailure (src/Options/Applicative/Types.hs:359) CompletionResult (src/Options/Applicative/Types.hs:325) Warning: 'ByteString' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Text' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Parsec' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'ParserInfo' is ambiguous. It is defined * at src/Options/Applicative/Types.hs:89:21 * at src/Options/Applicative/Types.hs:89:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Options/Applicative/Types.hs:89:1 Warning: 'ParserPrefs' is ambiguous. It is defined * at src/Options/Applicative/Types.hs:111:20 * at src/Options/Applicative/Types.hs:111:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Options/Applicative/Types.hs:111:1 Warning: 'Completer' is ambiguous. It is defined * at src/Options/Applicative/Types.hs:310:21 * at src/Options/Applicative/Types.hs:310:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Options/Applicative/Types.hs:310:1 86% (105 /121) in 'Options.Applicative' Missing documentation for: Module header OptionFields (src/Options/Applicative/Builder/Internal.hs:35) FlagFields (src/Options/Applicative/Builder/Internal.hs:40) ArgumentFields (src/Options/Applicative/Builder/Internal.hs:48) CommandFields (src/Options/Applicative/Builder/Internal.hs:44) HasName (src/Options/Applicative/Builder/Internal.hs:51) HasCompleter (src/Options/Applicative/Builder/Internal.hs:60) HasValue (src/Options/Applicative/Builder/Internal.hs:69) HasMetavar (src/Options/Applicative/Builder/Internal.hs:77) renderFailure (src/Options/Applicative/Extra.hs:345) overFailure (src/Options/Applicative/Types.hs:359) PrefsMod (src/Options/Applicative/Builder.hs:470) ParseError (src/Options/Applicative/Types.hs:68) ParserHelp (src/Options/Applicative/Help/Types.hs:12) ParserFailure (src/Options/Applicative/Types.hs:332) CompletionResult (src/Options/Applicative/Types.hs:325) Warning: 'A' is ambiguous. It is defined * at src/Options/Applicative/Arrows.hs:47:19 * at src/Options/Applicative/Arrows.hs:47:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Options/Applicative/Arrows.hs:47:1 100% ( 6 / 6) in 'Options.Applicative.Arrows' Warning: Options.Applicative.Help.Pretty: could not find link destinations for: - Prettyprinter.Internal.Rep_SimpleDocStream Documentation created: dist/doc/html/optparse-applicative/, dist/doc/html/optparse-applicative/optparse-applicative.txt Preprocessing test suite 'tests' for optparse-applicative-0.18.1.0... Running phase: installPhase Installing library in /nix/store/3a2dys2m6jiw3jdzw2l3g8ga82clhavz-optparse-applicative-0.18.1.0/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55/optparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/3a2dys2m6jiw3jdzw2l3g8ga82clhavz-optparse-applicative-0.18.1.0 shrinking /nix/store/3a2dys2m6jiw3jdzw2l3g8ga82clhavz-optparse-applicative-0.18.1.0/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55/libHSoptparse-applicative-0.18.1.0-8JlhHFft4aWGlnsxqrOwJT-ghc9.10.3.so checking for references to /build/ in /nix/store/3a2dys2m6jiw3jdzw2l3g8ga82clhavz-optparse-applicative-0.18.1.0... patching script interpreter paths in /nix/store/3a2dys2m6jiw3jdzw2l3g8ga82clhavz-optparse-applicative-0.18.1.0 stripping (with command strip and flags -S -p) in /nix/store/3a2dys2m6jiw3jdzw2l3g8ga82clhavz-optparse-applicative-0.18.1.0/lib shrinking RPATHs of ELF executables and libraries in /nix/store/hxx1ib0q4fmyaqg1lvnhizxjhzilrvx2-optparse-applicative-0.18.1.0-doc checking for references to /build/ in /nix/store/hxx1ib0q4fmyaqg1lvnhizxjhzilrvx2-optparse-applicative-0.18.1.0-doc... patching script interpreter paths in /nix/store/hxx1ib0q4fmyaqg1lvnhizxjhzilrvx2-optparse-applicative-0.18.1.0-doc