Build #1 for haskeline-0.8.4.0

[all reports]

Package haskeline-0.8.4.0
Install InstallOk
Docs Ok
Tests Failed
Time submitted 2025-09-05 12:54:57.980848617 UTC
Compiler ghc-9.8.4
OS linux
Arch x86_64
Dependencies base-4.19.2.0, bytestring-0.12.1.0, containers-0.6.8, directory-1.3.8.5, exceptions-0.10.7, filepath-1.4.301.0, process-1.6.25.0, stm-2.5.3.1, terminfo-0.4.1.6, transformers-0.6.1.0, unix-2.8.6.0, base-4.19.2.0, containers-0.6.8
Flags examples terminfo

Code Coverage

expressions100% (0/0)
booleanguards100% (0/0)
conditions 100% (0/0)
qualifiers100% (0/0)
alternatives100% (0/0)
local declarations100% (0/0)
top-level declarations100% (0/0)

Build log

[view raw]

Resolving dependencies...
Downloading  haskeline-0.8.4.0
Downloaded   haskeline-0.8.4.0
Configuring haskeline-0.8.4.0...
Preprocessing library for haskeline-0.8.4.0..
Building library for haskeline-0.8.4.0..
[ 1 of 28] Compiling System.Console.Haskeline.Directory ( dist/build/System/Console/Haskeline/Directory.hs, dist/build/System/Console/Haskeline/Directory.o, dist/build/System/Console/Haskeline/Directory.dyn_o )
[ 2 of 28] Compiling System.Console.Haskeline.Key ( System/Console/Haskeline/Key.hs, dist/build/System/Console/Haskeline/Key.o, dist/build/System/Console/Haskeline/Key.dyn_o )
[ 3 of 28] Compiling System.Console.Haskeline.LineState ( System/Console/Haskeline/LineState.hs, dist/build/System/Console/Haskeline/LineState.o, dist/build/System/Console/Haskeline/LineState.dyn_o )

System/Console/Haskeline/LineState.hs:270:78: 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."
    |
270 |     moveToStart (CMode xs c ys) = let zs = reverse xs ++ (c:ys) in CMode [] (head zs) (tail zs)
    |                                                                              ^^^^

System/Console/Haskeline/LineState.hs:270:88: 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."
    |
270 |     moveToStart (CMode xs c ys) = let zs = reverse xs ++ (c:ys) in CMode [] (head zs) (tail zs)
    |                                                                                        ^^^^

System/Console/Haskeline/LineState.hs:273:73: 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."
    |
273 |     moveToEnd (CMode xs c ys) = let zs = reverse ys ++ (c:xs) in CMode (tail zs) (head zs) []
    |                                                                         ^^^^

System/Console/Haskeline/LineState.hs:273:83: 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."
    |
273 |     moveToEnd (CMode xs c ys) = let zs = reverse ys ++ (c:xs) in CMode (tail zs) (head zs) []
    |                                                                                   ^^^^
[ 4 of 28] Compiling System.Console.Haskeline.Command ( System/Console/Haskeline/Command.hs, dist/build/System/Console/Haskeline/Command.o, dist/build/System/Console/Haskeline/Command.dyn_o )
[ 5 of 28] Compiling System.Console.Haskeline.Backend.WCWidth ( System/Console/Haskeline/Backend/WCWidth.hs, dist/build/System/Console/Haskeline/Backend/WCWidth.o, dist/build/System/Console/Haskeline/Backend/WCWidth.dyn_o )
[ 6 of 28] Compiling System.Console.Haskeline.Monads ( System/Console/Haskeline/Monads.hs, dist/build/System/Console/Haskeline/Monads.o, dist/build/System/Console/Haskeline/Monads.dyn_o )
[ 7 of 28] Compiling System.Console.Haskeline.Completion ( System/Console/Haskeline/Completion.hs, dist/build/System/Console/Haskeline/Completion.o, dist/build/System/Console/Haskeline/Completion.dyn_o )
[ 8 of 28] Compiling System.Console.Haskeline.Command.Undo ( System/Console/Haskeline/Command/Undo.hs, dist/build/System/Console/Haskeline/Command/Undo.o, dist/build/System/Console/Haskeline/Command/Undo.dyn_o )
[ 9 of 28] Compiling System.Console.Haskeline.Command.KillRing ( System/Console/Haskeline/Command/KillRing.hs, dist/build/System/Console/Haskeline/Command/KillRing.o, dist/build/System/Console/Haskeline/Command/KillRing.dyn_o )
[10 of 28] Compiling System.Console.Haskeline.Prefs ( System/Console/Haskeline/Prefs.hs, dist/build/System/Console/Haskeline/Prefs.o, dist/build/System/Console/Haskeline/Prefs.dyn_o )
[11 of 28] Compiling System.Console.Haskeline.Recover ( System/Console/Haskeline/Recover.hs, dist/build/System/Console/Haskeline/Recover.o, dist/build/System/Console/Haskeline/Recover.dyn_o )
[12 of 28] Compiling System.Console.Haskeline.History ( System/Console/Haskeline/History.hs, dist/build/System/Console/Haskeline/History.o, dist/build/System/Console/Haskeline/History.dyn_o )
[13 of 28] Compiling System.Console.Haskeline.Command.History ( System/Console/Haskeline/Command/History.hs, dist/build/System/Console/Haskeline/Command/History.o, dist/build/System/Console/Haskeline/Command/History.dyn_o )
[14 of 28] Compiling System.Console.Haskeline.Backend.Posix.Encoder ( System/Console/Haskeline/Backend/Posix/Encoder.hs, dist/build/System/Console/Haskeline/Backend/Posix/Encoder.o, dist/build/System/Console/Haskeline/Backend/Posix/Encoder.dyn_o )
[15 of 28] Compiling System.Console.Haskeline.Term ( System/Console/Haskeline/Term.hs, dist/build/System/Console/Haskeline/Term.o, dist/build/System/Console/Haskeline/Term.dyn_o )
[16 of 28] Compiling System.Console.Haskeline.RunCommand ( System/Console/Haskeline/RunCommand.hs, dist/build/System/Console/Haskeline/RunCommand.o, dist/build/System/Console/Haskeline/RunCommand.dyn_o )
[17 of 28] Compiling System.Console.Haskeline.Command.Completion ( System/Console/Haskeline/Command/Completion.hs, dist/build/System/Console/Haskeline/Command/Completion.o, dist/build/System/Console/Haskeline/Command/Completion.dyn_o )
[18 of 28] Compiling System.Console.Haskeline.Backend.Posix ( dist/build/System/Console/Haskeline/Backend/Posix.hs, dist/build/System/Console/Haskeline/Backend/Posix.o, dist/build/System/Console/Haskeline/Backend/Posix.dyn_o )
[19 of 28] Compiling System.Console.Haskeline.Backend.Terminfo ( System/Console/Haskeline/Backend/Terminfo.hs, dist/build/System/Console/Haskeline/Backend/Terminfo.o, dist/build/System/Console/Haskeline/Backend/Terminfo.dyn_o )
[20 of 28] Compiling System.Console.Haskeline.Backend.DumbTerm ( System/Console/Haskeline/Backend/DumbTerm.hs, dist/build/System/Console/Haskeline/Backend/DumbTerm.o, dist/build/System/Console/Haskeline/Backend/DumbTerm.dyn_o )

System/Console/Haskeline/Backend/DumbTerm.hs:10: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()
   |
10 | import Control.Applicative(Applicative)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[21 of 28] Compiling System.Console.Haskeline.Backend ( System/Console/Haskeline/Backend.hs, dist/build/System/Console/Haskeline/Backend.o, dist/build/System/Console/Haskeline/Backend.dyn_o )
[22 of 28] Compiling System.Console.Haskeline.InputT ( System/Console/Haskeline/InputT.hs, dist/build/System/Console/Haskeline/InputT.o, dist/build/System/Console/Haskeline/InputT.dyn_o )
[23 of 28] Compiling System.Console.Haskeline.ReaderT ( System/Console/Haskeline/ReaderT.hs, dist/build/System/Console/Haskeline/ReaderT.o, dist/build/System/Console/Haskeline/ReaderT.dyn_o )
[24 of 28] Compiling System.Console.Haskeline.Emacs ( System/Console/Haskeline/Emacs.hs, dist/build/System/Console/Haskeline/Emacs.o, dist/build/System/Console/Haskeline/Emacs.dyn_o )
[25 of 28] Compiling System.Console.Haskeline.Vi ( System/Console/Haskeline/Vi.hs, dist/build/System/Console/Haskeline/Vi.o, dist/build/System/Console/Haskeline/Vi.dyn_o )
[26 of 28] Compiling System.Console.Haskeline ( System/Console/Haskeline.hs, dist/build/System/Console/Haskeline.o, dist/build/System/Console/Haskeline.dyn_o )
[27 of 28] Compiling System.Console.Haskeline.Internal ( System/Console/Haskeline/Internal.hs, dist/build/System/Console/Haskeline/Internal.o, dist/build/System/Console/Haskeline/Internal.dyn_o )
[28 of 28] Compiling System.Console.Haskeline.IO ( System/Console/Haskeline/IO.hs, dist/build/System/Console/Haskeline/IO.o, dist/build/System/Console/Haskeline/IO.dyn_o )
Preprocessing executable 'haskeline-examples-Test' for haskeline-0.8.4.0..
Building executable 'haskeline-examples-Test' for haskeline-0.8.4.0..
[1 of 1] Compiling Main             ( examples/Test.hs, dist/build/haskeline-examples-Test/haskeline-examples-Test-tmp/Main.o )
[2 of 2] Linking dist/build/haskeline-examples-Test/haskeline-examples-Test
Preprocessing library for haskeline-0.8.4.0..
Running Haddock on library for haskeline-0.8.4.0..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[ 1 of 28] Compiling System.Console.Haskeline.Directory ( dist/build/System/Console/Haskeline/Directory.hs, nothing )
[ 2 of 28] Compiling System.Console.Haskeline.Key ( System/Console/Haskeline/Key.hs, nothing )
[ 3 of 28] Compiling System.Console.Haskeline.LineState ( System/Console/Haskeline/LineState.hs, nothing )

System/Console/Haskeline/LineState.hs:270:78: 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."
    |
270 |     moveToStart (CMode xs c ys) = let zs = reverse xs ++ (c:ys) in CMode [] (head zs) (tail zs)
    |                                                                              ^^^^

System/Console/Haskeline/LineState.hs:270:88: 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."
    |
270 |     moveToStart (CMode xs c ys) = let zs = reverse xs ++ (c:ys) in CMode [] (head zs) (tail zs)
    |                                                                                        ^^^^

System/Console/Haskeline/LineState.hs:273:73: 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."
    |
273 |     moveToEnd (CMode xs c ys) = let zs = reverse ys ++ (c:xs) in CMode (tail zs) (head zs) []
    |                                                                         ^^^^

System/Console/Haskeline/LineState.hs:273:83: 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."
    |
273 |     moveToEnd (CMode xs c ys) = let zs = reverse ys ++ (c:xs) in CMode (tail zs) (head zs) []
    |                                                                                   ^^^^
[ 4 of 28] Compiling System.Console.Haskeline.Command ( System/Console/Haskeline/Command.hs, nothing )
[ 5 of 28] Compiling System.Console.Haskeline.Backend.WCWidth ( System/Console/Haskeline/Backend/WCWidth.hs, nothing )
[ 6 of 28] Compiling System.Console.Haskeline.Monads ( System/Console/Haskeline/Monads.hs, nothing )
[ 7 of 28] Compiling System.Console.Haskeline.Completion ( System/Console/Haskeline/Completion.hs, nothing )
[ 8 of 28] Compiling System.Console.Haskeline.Command.Undo ( System/Console/Haskeline/Command/Undo.hs, nothing )
[ 9 of 28] Compiling System.Console.Haskeline.Command.KillRing ( System/Console/Haskeline/Command/KillRing.hs, nothing )
[10 of 28] Compiling System.Console.Haskeline.Prefs ( System/Console/Haskeline/Prefs.hs, nothing )
[11 of 28] Compiling System.Console.Haskeline.Recover ( System/Console/Haskeline/Recover.hs, nothing )
[12 of 28] Compiling System.Console.Haskeline.History ( System/Console/Haskeline/History.hs, nothing )
[13 of 28] Compiling System.Console.Haskeline.Command.History ( System/Console/Haskeline/Command/History.hs, nothing )
[14 of 28] Compiling System.Console.Haskeline.Backend.Posix.Encoder ( System/Console/Haskeline/Backend/Posix/Encoder.hs, nothing )
[15 of 28] Compiling System.Console.Haskeline.Term ( System/Console/Haskeline/Term.hs, nothing )
[16 of 28] Compiling System.Console.Haskeline.RunCommand ( System/Console/Haskeline/RunCommand.hs, nothing )
[17 of 28] Compiling System.Console.Haskeline.Command.Completion ( System/Console/Haskeline/Command/Completion.hs, nothing )
[18 of 28] Compiling System.Console.Haskeline.Backend.Posix ( dist/build/System/Console/Haskeline/Backend/Posix.hs, nothing )
[19 of 28] Compiling System.Console.Haskeline.Backend.Terminfo ( System/Console/Haskeline/Backend/Terminfo.hs, nothing )
[20 of 28] Compiling System.Console.Haskeline.Backend.DumbTerm ( System/Console/Haskeline/Backend/DumbTerm.hs, nothing )

System/Console/Haskeline/Backend/DumbTerm.hs:10: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()
   |
10 | import Control.Applicative(Applicative)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[21 of 28] Compiling System.Console.Haskeline.Backend ( System/Console/Haskeline/Backend.hs, nothing )
[22 of 28] Compiling System.Console.Haskeline.InputT ( System/Console/Haskeline/InputT.hs, nothing )
[23 of 28] Compiling System.Console.Haskeline.ReaderT ( System/Console/Haskeline/ReaderT.hs, nothing )
[24 of 28] Compiling System.Console.Haskeline.Emacs ( System/Console/Haskeline/Emacs.hs, nothing )
[25 of 28] Compiling System.Console.Haskeline.Vi ( System/Console/Haskeline/Vi.hs, nothing )
[26 of 28] Compiling System.Console.Haskeline ( System/Console/Haskeline.hs, nothing )
[27 of 28] Compiling System.Console.Haskeline.Internal ( System/Console/Haskeline/Internal.hs, nothing )
[28 of 28] Compiling System.Console.Haskeline.IO ( System/Console/Haskeline/IO.hs, nothing )
Haddock coverage:
Warning: 'Grapheme' is ambiguous. It is defined
    * at System/Console/Haskeline/LineState.hs:76:17
    * at System/Console/Haskeline/LineState.hs:76: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 System/Console/Haskeline/LineState.hs:76:1
  68% ( 11 / 16) in 'System.Console.Haskeline.Completion'
  Missing documentation for:
    Module header
    Completion (System/Console/Haskeline/Completion.hs:37)
    completeQuotedWord (System/Console/Haskeline/Completion.hs:147)
    completeFilename (System/Console/Haskeline/Completion.hs:119)
    filenameWordBreakChars (System/Console/Haskeline/Completion.hs:115)
Warning: 'Prefs' is ambiguous. It is defined
    * at System/Console/Haskeline/Prefs.hs:33:14
    * at System/Console/Haskeline/Prefs.hs:33: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 System/Console/Haskeline/Prefs.hs:33:1
  72% (  8 / 11) in 'System.Console.Haskeline.History'
  Missing documentation for:
    History (System/Console/Haskeline/History.hs:38)
    emptyHistory (System/Console/Haskeline/History.hs:50)
    addHistory (System/Console/Haskeline/History.hs:86)
Warning: 'ExternalHandle' is ambiguous. It is defined
    * at System/Console/Haskeline/Backend/Posix/Encoder.hs:33:23
    * at System/Console/Haskeline/Backend/Posix/Encoder.hs:33: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 System/Console/Haskeline/Backend/Posix/Encoder.hs:33:1
Warning: 'Behavior' is ambiguous. It is defined
    * at System/Console/Haskeline/InputT.hs:152:17
    * at System/Console/Haskeline/InputT.hs:152: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 System/Console/Haskeline/InputT.hs:152:1
Warning: 'Settings' is ambiguous. It is defined
    * at System/Console/Haskeline/InputT.hs:24:19
    * at System/Console/Haskeline/InputT.hs:24: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 System/Console/Haskeline/InputT.hs:24:1
Warning: 'InputT' is ambiguous. It is defined
    * at System/Console/Haskeline/InputT.hs:44:22
    * at System/Console/Haskeline/InputT.hs:44: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 System/Console/Haskeline/InputT.hs:44:1
Warning: 'hoist' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'forkIO' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Prefs' is ambiguous. It is defined
    * at System/Console/Haskeline/Prefs.hs:33:14
    * at System/Console/Haskeline/Prefs.hs:33: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 System/Console/Haskeline/Prefs.hs:33:1
Warning: 'ReaderT' is ambiguous. It is defined
    * in Control.Monad.Trans.Reader
    * in Control.Monad.Trans.Reader
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined in Control.Monad.Trans.Reader
Warning: 'InputT' is ambiguous. It is defined
    * at System/Console/Haskeline/InputT.hs:44:22
    * at System/Console/Haskeline/InputT.hs:44: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 System/Console/Haskeline/InputT.hs:44:1
 100% (  7 /  7) in 'System.Console.Haskeline.ReaderT'
Warning: 'Interrupt' is ambiguous. It is defined
    * at System/Console/Haskeline/Term.hs:104:18
    * at System/Console/Haskeline/Term.hs:104: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 System/Console/Haskeline/Term.hs:104:1
Warning: 'InputT' is ambiguous. It is defined
    * at System/Console/Haskeline/InputT.hs:44:22
    * at System/Console/Haskeline/InputT.hs:44: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 System/Console/Haskeline/InputT.hs:44:1
  98% ( 49 / 50) in 'System.Console.Haskeline'
  Missing documentation for:
    Interrupt (System/Console/Haskeline/Term.hs:104)
  50% (  1 /  2) in 'System.Console.Haskeline.Internal'
  Missing documentation for:
    Module header
  83% (  5 /  6) in 'System.Console.Haskeline.IO'
  Missing documentation for:
    InputState (System/Console/Haskeline/IO.hs:54)
Documentation created: dist/doc/html/haskeline/,
dist/doc/html/haskeline/haskeline.txt
Preprocessing executable 'haskeline-examples-Test' for haskeline-0.8.4.0..
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/haskeline-0.8.4.0-6nt3CFYns549FxyXSFNq0l
Installing executable haskeline-examples-Test in /var/lib/hackage-doc-builder/build-cache/tmp-install/bin
Warning: The directory
/var/lib/hackage-doc-builder/build-cache/tmp-install/bin is not in the system
search path.
Completed    haskeline-0.8.4.0

Test log

[view raw]

Resolving dependencies...
Build profile: -w ghc-9.8.4 -O0
In order, the following will be built (use -v for more details):
 - call-stack-0.4.0 (lib:call-stack) (requires build)
 - HUnit-1.6.2.0 (lib:HUnit) (requires build)
 - haskeline-0.8.4.0 (first run)
Configuring call-stack-0.4.0...
Preprocessing library for call-stack-0.4.0..
Building library for call-stack-0.4.0..
[1 of 3] Compiling Data.SrcLoc      ( src/Data/SrcLoc.hs, dist/build/Data/SrcLoc.o, dist/build/Data/SrcLoc.dyn_o )
[2 of 3] Compiling Data.CallStack   ( src/Data/CallStack.hs, dist/build/Data/CallStack.o, dist/build/Data/CallStack.dyn_o )
[3 of 3] Compiling Paths_call_stack ( dist/build/autogen/Paths_call_stack.hs, dist/build/Paths_call_stack.o, dist/build/Paths_call_stack.dyn_o )
Installing library in /tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/incoming/new-3094988/tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/call-stack-0.4.0-31951dc4e9db177e2ea89098d1122ced7b6da41fd279273945130bdfc91e7098/lib
Configuring HUnit-1.6.2.0...
Preprocessing library for HUnit-1.6.2.0..
Building library for HUnit-1.6.2.0..
[1 of 6] Compiling Paths_HUnit      ( dist/build/autogen/Paths_HUnit.hs, dist/build/Paths_HUnit.o, dist/build/Paths_HUnit.dyn_o )
[2 of 6] Compiling Test.HUnit.Lang  ( src/Test/HUnit/Lang.hs, dist/build/Test/HUnit/Lang.o, dist/build/Test/HUnit/Lang.dyn_o )
[3 of 6] Compiling Test.HUnit.Base  ( src/Test/HUnit/Base.hs, dist/build/Test/HUnit/Base.o, dist/build/Test/HUnit/Base.dyn_o )
[4 of 6] Compiling Test.HUnit.Terminal ( src/Test/HUnit/Terminal.hs, dist/build/Test/HUnit/Terminal.o, dist/build/Test/HUnit/Terminal.dyn_o )

src/Test/HUnit/Terminal.hs:41:41: 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."
   |
41 |     | otherwise          = ta f (c:bs) (tail as) cs
   |                                         ^^^^
[5 of 6] Compiling Test.HUnit.Text  ( src/Test/HUnit/Text.hs, dist/build/Test/HUnit/Text.o, dist/build/Test/HUnit/Text.dyn_o )
[6 of 6] Compiling Test.HUnit       ( src/Test/HUnit.hs, dist/build/Test/HUnit.o, dist/build/Test/HUnit.dyn_o )
Installing library in /tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/incoming/new-3094988/tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/HUnit-1.6.2.0-aa8518921a665b3ce3b9f7f0c7a8a7fa42d03d10681bd5ecec8be730444183ec/lib
Configuring haskeline-0.8.4.0...
Preprocessing library for haskeline-0.8.4.0..
Building library for haskeline-0.8.4.0..
[ 1 of 28] Compiling System.Console.Haskeline.Directory ( /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Directory.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Directory.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Directory.dyn_o )
[ 2 of 28] Compiling System.Console.Haskeline.Key ( System/Console/Haskeline/Key.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Key.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Key.dyn_o )
[ 3 of 28] Compiling System.Console.Haskeline.LineState ( System/Console/Haskeline/LineState.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/LineState.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/LineState.dyn_o )

System/Console/Haskeline/LineState.hs:270:78: 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."
    |
270 |     moveToStart (CMode xs c ys) = let zs = reverse xs ++ (c:ys) in CMode [] (head zs) (tail zs)
    |                                                                              ^^^^

System/Console/Haskeline/LineState.hs:270:88: 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."
    |
270 |     moveToStart (CMode xs c ys) = let zs = reverse xs ++ (c:ys) in CMode [] (head zs) (tail zs)
    |                                                                                        ^^^^

System/Console/Haskeline/LineState.hs:273:73: 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."
    |
273 |     moveToEnd (CMode xs c ys) = let zs = reverse ys ++ (c:xs) in CMode (tail zs) (head zs) []
    |                                                                         ^^^^

System/Console/Haskeline/LineState.hs:273:83: 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."
    |
273 |     moveToEnd (CMode xs c ys) = let zs = reverse ys ++ (c:xs) in CMode (tail zs) (head zs) []
    |                                                                                   ^^^^
[ 4 of 28] Compiling System.Console.Haskeline.Command ( System/Console/Haskeline/Command.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Command.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Command.dyn_o )
[ 5 of 28] Compiling System.Console.Haskeline.Backend.WCWidth ( System/Console/Haskeline/Backend/WCWidth.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Backend/WCWidth.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Backend/WCWidth.dyn_o )
[ 6 of 28] Compiling System.Console.Haskeline.Monads ( System/Console/Haskeline/Monads.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Monads.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Monads.dyn_o )
[ 7 of 28] Compiling System.Console.Haskeline.Completion ( System/Console/Haskeline/Completion.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Completion.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Completion.dyn_o )
[ 8 of 28] Compiling System.Console.Haskeline.Command.Undo ( System/Console/Haskeline/Command/Undo.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Command/Undo.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Command/Undo.dyn_o )
[ 9 of 28] Compiling System.Console.Haskeline.Command.KillRing ( System/Console/Haskeline/Command/KillRing.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Command/KillRing.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Command/KillRing.dyn_o )
[10 of 28] Compiling System.Console.Haskeline.Prefs ( System/Console/Haskeline/Prefs.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Prefs.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Prefs.dyn_o )
[11 of 28] Compiling System.Console.Haskeline.Recover ( System/Console/Haskeline/Recover.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Recover.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Recover.dyn_o )
[12 of 28] Compiling System.Console.Haskeline.History ( System/Console/Haskeline/History.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/History.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/History.dyn_o )
[13 of 28] Compiling System.Console.Haskeline.Command.History ( System/Console/Haskeline/Command/History.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Command/History.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Command/History.dyn_o )
[14 of 28] Compiling System.Console.Haskeline.Backend.Posix.Encoder ( System/Console/Haskeline/Backend/Posix/Encoder.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Backend/Posix/Encoder.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Backend/Posix/Encoder.dyn_o )
[15 of 28] Compiling System.Console.Haskeline.Term ( System/Console/Haskeline/Term.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Term.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Term.dyn_o )
[16 of 28] Compiling System.Console.Haskeline.RunCommand ( System/Console/Haskeline/RunCommand.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/RunCommand.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/RunCommand.dyn_o )
[17 of 28] Compiling System.Console.Haskeline.Command.Completion ( System/Console/Haskeline/Command/Completion.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Command/Completion.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Command/Completion.dyn_o )
[18 of 28] Compiling System.Console.Haskeline.Backend.Posix ( /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Backend/Posix.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Backend/Posix.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Backend/Posix.dyn_o )
[19 of 28] Compiling System.Console.Haskeline.Backend.Terminfo ( System/Console/Haskeline/Backend/Terminfo.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Backend/Terminfo.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Backend/Terminfo.dyn_o )
[20 of 28] Compiling System.Console.Haskeline.Backend.DumbTerm ( System/Console/Haskeline/Backend/DumbTerm.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Backend/DumbTerm.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Backend/DumbTerm.dyn_o )

System/Console/Haskeline/Backend/DumbTerm.hs:10: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()
   |
10 | import Control.Applicative(Applicative)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[21 of 28] Compiling System.Console.Haskeline.Backend ( System/Console/Haskeline/Backend.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Backend.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Backend.dyn_o )
[22 of 28] Compiling System.Console.Haskeline.InputT ( System/Console/Haskeline/InputT.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/InputT.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/InputT.dyn_o )
[23 of 28] Compiling System.Console.Haskeline.ReaderT ( System/Console/Haskeline/ReaderT.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/ReaderT.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/ReaderT.dyn_o )
[24 of 28] Compiling System.Console.Haskeline.Emacs ( System/Console/Haskeline/Emacs.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Emacs.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Emacs.dyn_o )
[25 of 28] Compiling System.Console.Haskeline.Vi ( System/Console/Haskeline/Vi.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Vi.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Vi.dyn_o )
[26 of 28] Compiling System.Console.Haskeline ( System/Console/Haskeline.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline.dyn_o )
[27 of 28] Compiling System.Console.Haskeline.Internal ( System/Console/Haskeline/Internal.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Internal.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/Internal.dyn_o )
[28 of 28] Compiling System.Console.Haskeline.IO ( System/Console/Haskeline/IO.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/IO.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/System/Console/Haskeline/IO.dyn_o )
Preprocessing executable 'haskeline-examples-Test' for haskeline-0.8.4.0..
Building executable 'haskeline-examples-Test' for haskeline-0.8.4.0..
[1 of 1] Compiling Main             ( examples/Test.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/haskeline-examples-Test/haskeline-examples-Test-tmp/Main.o )
[2 of 2] Linking /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/haskeline-examples-Test/haskeline-examples-Test
Preprocessing test suite 'haskeline-tests' for haskeline-0.8.4.0..
Building test suite 'haskeline-tests' for haskeline-0.8.4.0..
[1 of 3] Compiling Pty              ( tests/Pty.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/haskeline-tests/haskeline-tests-tmp/Pty.o )
[2 of 3] Compiling RunTTY           ( tests/RunTTY.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/haskeline-tests/haskeline-tests-tmp/RunTTY.o )
[3 of 3] Compiling Main             ( tests/Unit.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/haskeline-tests/haskeline-tests-tmp/Main.o )

tests/Unit.hs:48:10: 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 |     p <- head . lines <$> readProcess "which" ["haskeline-examples-Test"] ""
   |          ^^^^
[4 of 4] Linking /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/haskeline-0.8.4.0/noopt/build/haskeline-tests/haskeline-tests
Running 1 test suites...
Test suite haskeline-tests: RUNNING...
Test suite haskeline-tests: FAIL
Test suite logged to:
/var/lib/hackage-doc-builder/build-cache/tmp-install/reports/haskeline-0.8.4.0.test
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/haskeline-0.8.4.0/noopt/hpc/vanilla/html/haskeline-tests/hpc_index.html
0 of 1 test suites (0 of 1 test cases) passed.
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/haskeline-0.8.4.0/noopt/hpc/vanilla/html/haskeline-0.8.4.0/hpc_index.html
Error: cabal: Tests failed for haskeline-0.8.4.0.