Build #1 for filestore-0.6.5.1

[all reports]

Package filestore-0.6.5.1
Install InstallOk
Docs Ok
Tests Failed
Time submitted 2025-08-26 09:50:17.638541329 UTC
Compiler ghc-9.8.4
OS linux
Arch x86_64
Dependencies Diff-1.0.2, base-4.19.2.0, bytestring-0.12.1.0, containers-0.6.8, directory-1.3.8.5, filepath-1.4.301.0, old-locale-1.0.0.7, parsec-3.1.17.0, process-1.6.25.0, split-0.2.5, time-1.12.2, utf8-string-1.0.2, xml-1.3.14
Flags maxcount

Code Coverage

expressions13% (348/2619)
booleanguards0% (0/7)
conditions 0% (0/43)
qualifiers0% (0/4)
alternatives4% (8/183)
local declarations12% (6/47)
top-level declarations20% (47/224)

Build log

[view raw]

Resolving dependencies...
Configuring Diff-1.0.2...
Preprocessing library for Diff-1.0.2..
Building library for Diff-1.0.2..
[1 of 3] Compiling Data.Algorithm.Diff ( src/Data/Algorithm/Diff.hs, dist/build/Data/Algorithm/Diff.o, dist/build/Data/Algorithm/Diff.dyn_o )

src/Data/Algorithm/Diff.hs:69:9: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding: Patterns of type [DL] not matched: []
   |
69 |   where (hd:rst) = nextDLs dls
   |         ^^^^^^^^^^^^^^^^^^^^^^

src/Data/Algorithm/Diff.hs:87:23: 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."
   |
87 | lcs eq as bs = path . head . dropWhile (\dl -> poi dl /= lena || poj dl /= lenb) .
   |                       ^^^^
[2 of 3] Compiling Data.Algorithm.DiffContext ( src/Data/Algorithm/DiffContext.hs, dist/build/Data/Algorithm/DiffContext.o, dist/build/Data/Algorithm/DiffContext.dyn_o )
[3 of 3] Compiling Data.Algorithm.DiffOutput ( src/Data/Algorithm/DiffOutput.hs, dist/build/Data/Algorithm/DiffOutput.o, dist/build/Data/Algorithm/DiffOutput.dyn_o )
Preprocessing library for Diff-1.0.2..
Running Haddock on library for Diff-1.0.2..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 3] Compiling Data.Algorithm.Diff ( src/Data/Algorithm/Diff.hs, nothing )

src/Data/Algorithm/Diff.hs:87:23: 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."
   |
87 | lcs eq as bs = path . head . dropWhile (\dl -> poi dl /= lena || poj dl /= lenb) .
   |                       ^^^^
[2 of 3] Compiling Data.Algorithm.DiffContext ( src/Data/Algorithm/DiffContext.hs, nothing )
[3 of 3] Compiling Data.Algorithm.DiffOutput ( src/Data/Algorithm/DiffOutput.hs, nothing )
Haddock coverage:
  88% (  8 /  9) in 'Data.Algorithm.Diff'
  Missing documentation for:
    getGroupedDiffBy (src/Data/Algorithm/Diff.hs:122)
Warning: 'groupBy' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
  50% (  6 / 12) in 'Data.Algorithm.DiffContext'
  Missing documentation for:
    ContextDiff (src/Data/Algorithm/DiffContext.hs:29)
    Hunk (src/Data/Algorithm/DiffContext.hs:30)
    getContextDiffNumbered (src/Data/Algorithm/DiffContext.hs:104)
    Numbered (src/Data/Algorithm/DiffContext.hs:55)
    numbered (src/Data/Algorithm/DiffContext.hs:62)
    unnumber (src/Data/Algorithm/DiffContext.hs:65)
 100% (  8 /  8) in 'Data.Algorithm.DiffOutput'
Documentation created: dist/doc/html/Diff/, dist/doc/html/Diff/Diff.txt
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/Diff-1.0.2-2lVe2v3VBecGJ2lke5jxex
Completed    Diff-1.0.2
Configuring old-locale-1.0.0.7...
Preprocessing library for old-locale-1.0.0.7..
Building library for old-locale-1.0.0.7..
[1 of 1] Compiling System.Locale    ( System/Locale.hs, dist/build/System/Locale.o, dist/build/System/Locale.dyn_o )
Preprocessing library for old-locale-1.0.0.7..
Running Haddock on library for old-locale-1.0.0.7..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 1] Compiling System.Locale    ( System/Locale.hs, nothing )
Haddock coverage:
  60% (  3 /  5) in 'System.Locale'
  Missing documentation for:
    TimeLocale (System/Locale.hs:36)
    defaultTimeLocale (System/Locale.hs:50)
Documentation created: dist/doc/html/old-locale/,
dist/doc/html/old-locale/old-locale.txt
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/old-locale-1.0.0.7-2YowMuiAcJ5JaeIIGUyoRA
Completed    old-locale-1.0.0.7
Configuring split-0.2.5...
Preprocessing library for split-0.2.5..
Building library for split-0.2.5..
[1 of 2] Compiling Data.List.Split.Internals ( src/Data/List/Split/Internals.hs, dist/build/Data/List/Split/Internals.o, dist/build/Data/List/Split/Internals.dyn_o )
[2 of 2] Compiling Data.List.Split  ( src/Data/List/Split.hs, dist/build/Data/List/Split.o, dist/build/Data/List/Split.dyn_o )
Preprocessing library for split-0.2.5..
Running Haddock on library for split-0.2.5..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 2] Compiling Data.List.Split.Internals ( src/Data/List/Split/Internals.hs, nothing )
[2 of 2] Compiling Data.List.Split  ( src/Data/List/Split.hs, nothing )
Haddock coverage:
Warning: 'Splitter' is ambiguous. It is defined
    * at src/Data/List/Split/Internals.hs:21:19
    * at src/Data/List/Split/Internals.hs:21: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/Data/List/Split/Internals.hs:21:1
Warning: 'n' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'm' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
  91% ( 63 / 69) in 'Data.List.Split.Internals'
Warning: 'Splitter' is ambiguous. It is defined
    * at src/Data/List/Split/Internals.hs:21:19
    * at src/Data/List/Split/Internals.hs:21: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/Data/List/Split/Internals.hs:21:1
  90% ( 46 / 51) in 'Data.List.Split'
Documentation created: dist/doc/html/split/, dist/doc/html/split/split.txt
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/split-0.2.5-HdqIBMrRyNiLuV2hi4AZF8
Completed    split-0.2.5
Configuring utf8-string-1.0.2...
Preprocessing library for utf8-string-1.0.2..
Building library for utf8-string-1.0.2..
[1 of 5] Compiling Codec.Binary.UTF8.String ( Codec/Binary/UTF8/String.hs, dist/build/Codec/Binary/UTF8/String.o, dist/build/Codec/Binary/UTF8/String.dyn_o )
[2 of 5] Compiling Codec.Binary.UTF8.Generic ( Codec/Binary/UTF8/Generic.hs, dist/build/Codec/Binary/UTF8/Generic.o, dist/build/Codec/Binary/UTF8/Generic.dyn_o )

Codec/Binary/UTF8/Generic.hs:87:21: warning: [GHC-63394] [-Wx-partial]
    In the use of tail
    (imported from Data.List, 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."
   |
87 |   tail            = List.tail
   |                     ^^^^^^^^^
[3 of 5] Compiling Data.ByteString.Lazy.UTF8 ( Data/ByteString/Lazy/UTF8.hs, dist/build/Data/ByteString/Lazy/UTF8.o, dist/build/Data/ByteString/Lazy/UTF8.dyn_o )
[4 of 5] Compiling Data.ByteString.UTF8 ( Data/ByteString/UTF8.hs, dist/build/Data/ByteString/UTF8.o, dist/build/Data/ByteString/UTF8.dyn_o )
[5 of 5] Compiling Data.String.UTF8 ( Data/String/UTF8.hs, dist/build/Data/String/UTF8.o, dist/build/Data/String/UTF8.dyn_o )
Preprocessing library for utf8-string-1.0.2..
Running Haddock on library for utf8-string-1.0.2..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 5] Compiling Codec.Binary.UTF8.String ( Codec/Binary/UTF8/String.hs, nothing )
[2 of 5] Compiling Codec.Binary.UTF8.Generic ( Codec/Binary/UTF8/Generic.hs, nothing )

Codec/Binary/UTF8/Generic.hs:87:21: warning: [GHC-63394] [-Wx-partial]
    In the use of tail
    (imported from Data.List, 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."
   |
87 |   tail            = List.tail
   |                     ^^^^^^^^^
[3 of 5] Compiling Data.ByteString.Lazy.UTF8 ( Data/ByteString/Lazy/UTF8.hs, nothing )
[4 of 5] Compiling Data.ByteString.UTF8 ( Data/ByteString/UTF8.hs, nothing )
[5 of 5] Compiling Data.String.UTF8 ( Data/String/UTF8.hs, nothing )
Haddock coverage:
 100% (  8 /  8) in 'Codec.Binary.UTF8.String'
  94% ( 16 / 17) in 'Codec.Binary.UTF8.Generic'
  Missing documentation for:
    UTF8Bytes (Codec/Binary/UTF8/Generic.hs:48)
 100% ( 17 / 17) in 'Data.ByteString.Lazy.UTF8'
 100% ( 18 / 18) in 'Data.ByteString.UTF8'
  88% ( 24 / 27) in 'Data.String.UTF8'
  Missing documentation for:
    UTF8Bytes (Codec/Binary/UTF8/Generic.hs:48)
    fromRep (Data/String/UTF8.hs:64)
    toRep (Data/String/UTF8.hs:67)
Warning: Data.ByteString.Lazy.UTF8: could not find link destinations for: 
	- Data.ByteString.Lazy.Internal.D:R:ItemByteString
Warning: Data.ByteString.UTF8: could not find link destinations for: 
	- Data.ByteString.Internal.Type.D:R:ItemByteString
Documentation created: dist/doc/html/utf8-string/,
dist/doc/html/utf8-string/utf8-string.txt
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/utf8-string-1.0.2-ARoN8tTzuLW5AQK61y3Hvx
Completed    utf8-string-1.0.2
Warning: xml.cabal:18:32: version operators used. To use version operators the
package needs to specify at least 'cabal-version: >= 1.8'.
Configuring xml-1.3.14...
Preprocessing library for xml-1.3.14..
Building library for xml-1.3.14..
[1 of 7] Compiling Text.XML.Light.Types ( Text/XML/Light/Types.hs, dist/build/Text/XML/Light/Types.o, dist/build/Text/XML/Light/Types.dyn_o )
[2 of 7] Compiling Text.XML.Light.Proc ( Text/XML/Light/Proc.hs, dist/build/Text/XML/Light/Proc.o, dist/build/Text/XML/Light/Proc.dyn_o )
[3 of 7] Compiling Text.XML.Light.Output ( Text/XML/Light/Output.hs, dist/build/Text/XML/Light/Output.o, dist/build/Text/XML/Light/Output.dyn_o )
[4 of 7] Compiling Text.XML.Light.Lexer ( Text/XML/Light/Lexer.hs, dist/build/Text/XML/Light/Lexer.o, dist/build/Text/XML/Light/Lexer.dyn_o )

Text/XML/Light/Lexer.hs:119:1: warning: [GHC-94817] [-Wtabs]
    Tab character found here, and in one further location.
    Suggested fix: Please use spaces instead.
    |
119 |          | otherwise           = munch ('>':acc) (nesting-1) ds
    | ^^^^^^^^

Text/XML/Light/Lexer.hs:149:39: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
149 |                     in TokStart (fst (head cs)) n as b : ts
    |                                       ^^^^
[5 of 7] Compiling Text.XML.Light.Input ( Text/XML/Light/Input.hs, dist/build/Text/XML/Light/Input.o, dist/build/Text/XML/Light/Input.dyn_o )
[6 of 7] Compiling Text.XML.Light.Cursor ( Text/XML/Light/Cursor.hs, dist/build/Text/XML/Light/Cursor.o, dist/build/Text/XML/Light/Cursor.dyn_o )
[7 of 7] Compiling Text.XML.Light   ( Text/XML/Light.hs, dist/build/Text/XML/Light.o, dist/build/Text/XML/Light.dyn_o )
Preprocessing library for xml-1.3.14..
Running Haddock on library for xml-1.3.14..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 7] Compiling Text.XML.Light.Types ( Text/XML/Light/Types.hs, nothing )
[2 of 7] Compiling Text.XML.Light.Proc ( Text/XML/Light/Proc.hs, nothing )
[3 of 7] Compiling Text.XML.Light.Output ( Text/XML/Light/Output.hs, nothing )
[4 of 7] Compiling Text.XML.Light.Lexer ( Text/XML/Light/Lexer.hs, nothing )

Text/XML/Light/Lexer.hs:119:1: warning: [GHC-94817] [-Wtabs]
    Tab character found here, and in one further location.
    Suggested fix: Please use spaces instead.
    |
119 |          | otherwise           = munch ('>':acc) (nesting-1) ds
    | ^^^^^^^^

Text/XML/Light/Lexer.hs:149:39: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
149 |                     in TokStart (fst (head cs)) n as b : ts
    |                                       ^^^^
[5 of 7] Compiling Text.XML.Light.Input ( Text/XML/Light/Input.hs, nothing )
[6 of 7] Compiling Text.XML.Light.Cursor ( Text/XML/Light/Cursor.hs, nothing )
[7 of 7] Compiling Text.XML.Light   ( Text/XML/Light.hs, nothing )
Haddock coverage:
  90% ( 10 / 11) in 'Text.XML.Light.Types'
  Missing documentation for:
    CDataKind (Text/XML/Light/Types.hs:50)
 100% ( 21 / 21) in 'Text.XML.Light.Proc'
  65% ( 13 / 20) in 'Text.XML.Light.Output'
  Missing documentation for:
    showContent (Text/XML/Light/Output.hs:141)
    showElement (Text/XML/Light/Output.hs:144)
    showCData (Text/XML/Light/Output.hs:147)
    showQName (Text/XML/Light/Output.hs:199)
    showAttr (Text/XML/Light/Output.hs:196)
    ConfigPP (Text/XML/Light/Output.hs:34)
    tagEnd (Text/XML/Light/Output.hs:189)
  11% (  3 / 26) in 'Text.XML.Light.Lexer'
  Missing documentation for:
    Module header
    XmlSource (Text/XML/Light/Lexer.hs:15)
    linenumber (Text/XML/Light/Lexer.hs:37)
    LChar (Text/XML/Light/Lexer.hs:64)
    LString (Text/XML/Light/Lexer.hs:65)
    Token (Text/XML/Light/Lexer.hs:66)
    tokens (Text/XML/Light/Lexer.hs:73)
    tokens' (Text/XML/Light/Lexer.hs:76)
    special (Text/XML/Light/Lexer.hs:97)
    qualName (Text/XML/Light/Lexer.hs:129)
    tag (Text/XML/Light/Lexer.hs:141)
    attribs (Text/XML/Light/Lexer.hs:152)
    attrib (Text/XML/Light/Lexer.hs:170)
    attr_val (Text/XML/Light/Lexer.hs:175)
    dropSpace (Text/XML/Light/Lexer.hs:180)
    break' (Text/XML/Light/Lexer.hs:196)
    breakn (Text/XML/Light/Lexer.hs:202)
    decode_attr (Text/XML/Light/Lexer.hs:207)
    Txt (Text/XML/Light/Lexer.hs:213)
    decode_text (Text/XML/Light/Lexer.hs:216)
    cref_to_char (Text/XML/Light/Lexer.hs:224)
    num_esc (Text/XML/Light/Lexer.hs:234)
    cvt_char (Text/XML/Light/Lexer.hs:242)
 100% (  3 /  3) in 'Text.XML.Light.Input'
  90% ( 45 / 50) in 'Text.XML.Light.Cursor'
  Missing documentation for:
    Tag (Text/XML/Light/Cursor.hs:76)
    getTag (Text/XML/Light/Cursor.hs:82)
    setTag (Text/XML/Light/Cursor.hs:88)
    fromTag (Text/XML/Light/Cursor.hs:91)
    Path (Text/XML/Light/Cursor.hs:97)
Warning: Text.XML.Light: Could not find documentation for exported module: Text.XML.Light
 100% ( 10 / 10) in 'Text.XML.Light'
Documentation created: dist/doc/html/xml/, dist/doc/html/xml/xml.txt
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/xml-1.3.14-JnCdlzXXj30BruNnIVppZY
Completed    xml-1.3.14
Downloading  filestore-0.6.5.1
Downloaded   filestore-0.6.5.1
Configuring filestore-0.6.5.1...
Preprocessing library for filestore-0.6.5.1..
Building library for filestore-0.6.5.1..
[ 1 of 10] Compiling Data.FileStore.Compat.Locale ( Data/FileStore/Compat/Locale.hs, dist/build/Data/FileStore/Compat/Locale.o, dist/build/Data/FileStore/Compat/Locale.dyn_o )
[ 2 of 10] Compiling Data.FileStore.Types ( Data/FileStore/Types.hs, dist/build/Data/FileStore/Types.o, dist/build/Data/FileStore/Types.dyn_o )
[ 3 of 10] Compiling Data.FileStore.Utils ( Data/FileStore/Utils.hs, dist/build/Data/FileStore/Utils.o, dist/build/Data/FileStore/Utils.dyn_o )

Data/FileStore/Utils.hs:30: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()
   |
30 | import Control.Applicative ((<$>))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Data/FileStore/Utils.hs:158:7: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type [[Char]] not matched:
            []
            [_]
            [_, _]
    |
158 |   let (fn:n:res:_) = splitWhen (==':') str
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Data/FileStore/Utils.hs:243:18: 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."
    |
243 |   E.catch (liftM head (getDirectoryContents $ encodeArg d) >> a) $ \(e :: E.IOException) ->
    |                  ^^^^
[ 4 of 10] Compiling Data.FileStore.MercurialCommandServer ( Data/FileStore/MercurialCommandServer.hs, dist/build/Data/FileStore/MercurialCommandServer.o, dist/build/Data/FileStore/MercurialCommandServer.dyn_o )

Data/FileStore/MercurialCommandServer.hs:23: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()
   |
23 | import Control.Applicative ((<$>))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 5 of 10] Compiling Data.FileStore.Mercurial ( Data/FileStore/Mercurial.hs, dist/build/Data/FileStore/Mercurial.o, dist/build/Data/FileStore/Mercurial.dyn_o )

Data/FileStore/Mercurial.hs:136:25: 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."
    |
136 |           else return $ head result
    |                         ^^^^

Data/FileStore/Mercurial.hs:170:51: 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."
    |
170 |                 then map FSDirectory $ nub $ map (head . splitDirectories . removePrefix dir) $ lines $ toString output2
    |                                                   ^^^^
[ 6 of 10] Compiling Data.FileStore.Git ( Data/FileStore/Git.hs, dist/build/Data/FileStore/Git.o, dist/build/Data/FileStore/Git.dyn_o )

Data/FileStore/Git.hs:307:7: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type [B.ByteString] not matched:
            []
            [_]
            [_, _]
            [_, _, _]
            ...
    |
307 |   let (rev : date' : author : email : subject : rest) = B.split '\0' entry
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Data/FileStore/Git.hs:350:22: 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."
    |
350 |   then parseChanges (tail zs) >>=
    |                      ^^^^

Data/FileStore/Git.hs:351:57: 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."
    |
351 |        return . (++) (Deleted file' : Added (toString $ head zs) : [])
    |                                                         ^^^^
[ 7 of 10] Compiling Data.FileStore.Generic ( Data/FileStore/Generic.hs, dist/build/Data/FileStore/Generic.o, dist/build/Data/FileStore/Generic.dyn_o )

Data/FileStore/Generic.hs:140:47: 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."
    |
140 |         else retrieve fs name (Just $ revId $ Prelude.head revs)
    |                                               ^^^^^^^^^^^^
[ 8 of 10] Compiling Data.FileStore.DarcsXml ( Data/FileStore/DarcsXml.hs, dist/build/Data/FileStore/DarcsXml.o, dist/build/Data/FileStore/DarcsXml.dyn_o )
[ 9 of 10] Compiling Data.FileStore.Darcs ( Data/FileStore/Darcs.hs, dist/build/Data/FileStore/Darcs.o, dist/build/Data/FileStore/Darcs.dyn_o )

Data/FileStore/Darcs.hs:162:57: 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."
    |
162 |                                     Just a  -> return $ head a
    |                                                         ^^^^
[10 of 10] Compiling Data.FileStore   ( Data/FileStore.hs, dist/build/Data/FileStore.o, dist/build/Data/FileStore.dyn_o )
Preprocessing library for filestore-0.6.5.1..
Running Haddock on library for filestore-0.6.5.1..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[ 1 of 10] Compiling Data.FileStore.Compat.Locale ( Data/FileStore/Compat/Locale.hs, nothing )
[ 2 of 10] Compiling Data.FileStore.Types ( Data/FileStore/Types.hs, nothing )
[ 3 of 10] Compiling Data.FileStore.Utils ( Data/FileStore/Utils.hs, nothing )

Data/FileStore/Utils.hs:30: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()
   |
30 | import Control.Applicative ((<$>))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Data/FileStore/Utils.hs:243:18: 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."
    |
243 |   E.catch (liftM head (getDirectoryContents $ encodeArg d) >> a) $ \(e :: E.IOException) ->
    |                  ^^^^
[ 4 of 10] Compiling Data.FileStore.MercurialCommandServer ( Data/FileStore/MercurialCommandServer.hs, nothing )

Data/FileStore/MercurialCommandServer.hs:23: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()
   |
23 | import Control.Applicative ((<$>))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 5 of 10] Compiling Data.FileStore.Mercurial ( Data/FileStore/Mercurial.hs, nothing )

Data/FileStore/Mercurial.hs:136:25: 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."
    |
136 |           else return $ head result
    |                         ^^^^

Data/FileStore/Mercurial.hs:170:51: 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."
    |
170 |                 then map FSDirectory $ nub $ map (head . splitDirectories . removePrefix dir) $ lines $ toString output2
    |                                                   ^^^^
[ 6 of 10] Compiling Data.FileStore.Git ( Data/FileStore/Git.hs, nothing )

Data/FileStore/Git.hs:350:22: 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."
    |
350 |   then parseChanges (tail zs) >>=
    |                      ^^^^

Data/FileStore/Git.hs:351:57: 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."
    |
351 |        return . (++) (Deleted file' : Added (toString $ head zs) : [])
    |                                                         ^^^^
[ 7 of 10] Compiling Data.FileStore.Generic ( Data/FileStore/Generic.hs, nothing )

Data/FileStore/Generic.hs:140:47: 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."
    |
140 |         else retrieve fs name (Just $ revId $ Prelude.head revs)
    |                                               ^^^^^^^^^^^^
[ 8 of 10] Compiling Data.FileStore.DarcsXml ( Data/FileStore/DarcsXml.hs, nothing )
[ 9 of 10] Compiling Data.FileStore.Darcs ( Data/FileStore/Darcs.hs, nothing )

Data/FileStore/Darcs.hs:162:57: 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."
    |
162 |                                     Just a  -> return $ head a
    |                                                         ^^^^
[10 of 10] Compiling Data.FileStore   ( Data/FileStore.hs, nothing )
Haddock coverage:
  18% (  3 / 16) in 'Data.FileStore.Types'
  Missing documentation for:
    RevisionId (Data/FileStore/Types.hs:38)
    Resource (Data/FileStore/Types.hs:40)
    Author (Data/FileStore/Types.hs:44)
    Change (Data/FileStore/Types.hs:50)
    Description (Data/FileStore/Types.hs:56)
    Revision (Data/FileStore/Types.hs:58)
    Contents (Data/FileStore/Types.hs:67)
    TimeRange (Data/FileStore/Types.hs:79)
    MergeInfo (Data/FileStore/Types.hs:85)
    FileStoreError (Data/FileStore/Types.hs:92)
    SearchMatch (Data/FileStore/Types.hs:138)
    SearchQuery (Data/FileStore/Types.hs:121)
    defaultSearchQuery (Data/FileStore/Types.hs:131)
Warning: 'above' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'index' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
  92% ( 13 / 14) in 'Data.FileStore.Utils'
  Missing documentation for:
    escapeRegexSpecialChars (Data/FileStore/Utils.hs:123)
 100% (  2 /  2) in 'Data.FileStore.Mercurial'
 100% (  2 /  2) in 'Data.FileStore.Git'
 100% (  9 /  9) in 'Data.FileStore.Generic'
Warning: 'Revision' is ambiguous. It is defined
    * at Data/FileStore/Types.hs:59:3
    * at Data/FileStore/Types.hs:58: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 Data/FileStore/Types.hs:58:1
 100% (  2 /  2) in 'Data.FileStore.Darcs'
 100% (  6 /  6) in 'Data.FileStore'
Documentation created: dist/doc/html/filestore/,
dist/doc/html/filestore/filestore.txt
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/filestore-0.6.5.1-HnNa6DnnkJw7MxT5kcUbIV
Completed    filestore-0.6.5.1

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):
 - Diff-1.0.2 (lib:Diff) (requires build)
 - call-stack-0.4.0 (lib:call-stack) (requires build)
 - old-locale-1.0.0.7 (lib:old-locale) (requires build)
 - split-0.2.5 (lib:split) (requires build)
 - utf8-string-1.0.2 (lib:utf8-string) (requires build)
 - xml-1.3.14 (lib:xml) (requires build)
 - HUnit-1.6.2.0 (lib:HUnit) (requires build)
 - filestore-0.6.5.1 (first run)
Configuring Diff-1.0.2...
Preprocessing library for Diff-1.0.2..
Building library for Diff-1.0.2..
[1 of 3] Compiling Data.Algorithm.Diff ( src/Data/Algorithm/Diff.hs, dist/build/Data/Algorithm/Diff.o, dist/build/Data/Algorithm/Diff.dyn_o )

src/Data/Algorithm/Diff.hs:69:9: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding: Patterns of type [DL] not matched: []
   |
69 |   where (hd:rst) = nextDLs dls
   |         ^^^^^^^^^^^^^^^^^^^^^^

src/Data/Algorithm/Diff.hs:87:23: 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."
   |
87 | lcs eq as bs = path . head . dropWhile (\dl -> poi dl /= lena || poj dl /= lenb) .
   |                       ^^^^
[2 of 3] Compiling Data.Algorithm.DiffContext ( src/Data/Algorithm/DiffContext.hs, dist/build/Data/Algorithm/DiffContext.o, dist/build/Data/Algorithm/DiffContext.dyn_o )
[3 of 3] Compiling Data.Algorithm.DiffOutput ( src/Data/Algorithm/DiffOutput.hs, dist/build/Data/Algorithm/DiffOutput.o, dist/build/Data/Algorithm/DiffOutput.dyn_o )
Installing library in /tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/incoming/new-936794/tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/Diff-1.0.2-c3d705ae9abb232cb75c1c644a6b21986201a9cffe7a80558cfb7db71c4d8a66/lib
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-936794/tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/call-stack-0.4.0-31951dc4e9db177e2ea89098d1122ced7b6da41fd279273945130bdfc91e7098/lib
Configuring old-locale-1.0.0.7...
Preprocessing library for old-locale-1.0.0.7..
Building library for old-locale-1.0.0.7..
[1 of 1] Compiling System.Locale    ( System/Locale.hs, dist/build/System/Locale.o, dist/build/System/Locale.dyn_o )
Installing library in /tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/incoming/new-936794/tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/old-locale-1.0.0.7-2f1658c62d163bf34cd13b22ae5cb7857f7a5a4576e1bf453dc855a3a4c3a877/lib
Configuring split-0.2.5...
Preprocessing library for split-0.2.5..
Building library for split-0.2.5..
[1 of 2] Compiling Data.List.Split.Internals ( src/Data/List/Split/Internals.hs, dist/build/Data/List/Split/Internals.o, dist/build/Data/List/Split/Internals.dyn_o )
[2 of 2] Compiling Data.List.Split  ( src/Data/List/Split.hs, dist/build/Data/List/Split.o, dist/build/Data/List/Split.dyn_o )
Installing library in /tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/incoming/new-936794/tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/split-0.2.5-f33af888e5d7aae30da13f4007499ef6436bee09a1ae76cd1167bd51d6698972/lib
Configuring utf8-string-1.0.2...
Preprocessing library for utf8-string-1.0.2..
Building library for utf8-string-1.0.2..
[1 of 5] Compiling Codec.Binary.UTF8.String ( Codec/Binary/UTF8/String.hs, dist/build/Codec/Binary/UTF8/String.o, dist/build/Codec/Binary/UTF8/String.dyn_o )
[2 of 5] Compiling Codec.Binary.UTF8.Generic ( Codec/Binary/UTF8/Generic.hs, dist/build/Codec/Binary/UTF8/Generic.o, dist/build/Codec/Binary/UTF8/Generic.dyn_o )

Codec/Binary/UTF8/Generic.hs:87:21: warning: [GHC-63394] [-Wx-partial]
    In the use of tail
    (imported from Data.List, 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."
   |
87 |   tail            = List.tail
   |                     ^^^^^^^^^
[3 of 5] Compiling Data.ByteString.Lazy.UTF8 ( Data/ByteString/Lazy/UTF8.hs, dist/build/Data/ByteString/Lazy/UTF8.o, dist/build/Data/ByteString/Lazy/UTF8.dyn_o )
[4 of 5] Compiling Data.ByteString.UTF8 ( Data/ByteString/UTF8.hs, dist/build/Data/ByteString/UTF8.o, dist/build/Data/ByteString/UTF8.dyn_o )
[5 of 5] Compiling Data.String.UTF8 ( Data/String/UTF8.hs, dist/build/Data/String/UTF8.o, dist/build/Data/String/UTF8.dyn_o )
Installing library in /tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/incoming/new-936794/tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/utf8-string-1.0.2-d290b66489568a7dddb2a70986a20e580e2c0ad40703ee8b17b35c528f41209f/lib
Warning: xml.cabal:18:32: version operators used. To use version operators the
package needs to specify at least 'cabal-version: >= 1.8'.
Configuring xml-1.3.14...
Preprocessing library for xml-1.3.14..
Building library for xml-1.3.14..
[1 of 7] Compiling Text.XML.Light.Types ( Text/XML/Light/Types.hs, dist/build/Text/XML/Light/Types.o, dist/build/Text/XML/Light/Types.dyn_o )
[2 of 7] Compiling Text.XML.Light.Proc ( Text/XML/Light/Proc.hs, dist/build/Text/XML/Light/Proc.o, dist/build/Text/XML/Light/Proc.dyn_o )
[3 of 7] Compiling Text.XML.Light.Output ( Text/XML/Light/Output.hs, dist/build/Text/XML/Light/Output.o, dist/build/Text/XML/Light/Output.dyn_o )
[4 of 7] Compiling Text.XML.Light.Lexer ( Text/XML/Light/Lexer.hs, dist/build/Text/XML/Light/Lexer.o, dist/build/Text/XML/Light/Lexer.dyn_o )

Text/XML/Light/Lexer.hs:119:1: warning: [GHC-94817] [-Wtabs]
    Tab character found here, and in one further location.
    Suggested fix: Please use spaces instead.
    |
119 |          | otherwise           = munch ('>':acc) (nesting-1) ds
    | ^^^^^^^^

Text/XML/Light/Lexer.hs:149:39: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
149 |                     in TokStart (fst (head cs)) n as b : ts
    |                                       ^^^^
[5 of 7] Compiling Text.XML.Light.Input ( Text/XML/Light/Input.hs, dist/build/Text/XML/Light/Input.o, dist/build/Text/XML/Light/Input.dyn_o )
[6 of 7] Compiling Text.XML.Light.Cursor ( Text/XML/Light/Cursor.hs, dist/build/Text/XML/Light/Cursor.o, dist/build/Text/XML/Light/Cursor.dyn_o )
[7 of 7] Compiling Text.XML.Light   ( Text/XML/Light.hs, dist/build/Text/XML/Light.o, dist/build/Text/XML/Light.dyn_o )
Installing library in /tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/incoming/new-936794/tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/xml-1.3.14-f7a1cbb4f00db04b00ede643cef3457dc6ab25cb9a4d6350c1ed5f31e3ae28a7/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-936794/tmp/hackage-doc-builder/.local/state/cabal/store/ghc-9.8.4/HUnit-1.6.2.0-aa8518921a665b3ce3b9f7f0c7a8a7fa42d03d10681bd5ecec8be730444183ec/lib
Configuring filestore-0.6.5.1...
Preprocessing library for filestore-0.6.5.1..
Building library for filestore-0.6.5.1..
[ 1 of 10] Compiling Data.FileStore.Compat.Locale ( Data/FileStore/Compat/Locale.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore/Compat/Locale.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore/Compat/Locale.dyn_o )
[ 2 of 10] Compiling Data.FileStore.Types ( Data/FileStore/Types.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore/Types.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore/Types.dyn_o )
[ 3 of 10] Compiling Data.FileStore.Utils ( Data/FileStore/Utils.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore/Utils.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore/Utils.dyn_o )

Data/FileStore/Utils.hs:30: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()
   |
30 | import Control.Applicative ((<$>))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Data/FileStore/Utils.hs:158:7: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type [[Char]] not matched:
            []
            [_]
            [_, _]
    |
158 |   let (fn:n:res:_) = splitWhen (==':') str
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Data/FileStore/Utils.hs:243:18: 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."
    |
243 |   E.catch (liftM head (getDirectoryContents $ encodeArg d) >> a) $ \(e :: E.IOException) ->
    |                  ^^^^
[ 4 of 10] Compiling Data.FileStore.MercurialCommandServer ( Data/FileStore/MercurialCommandServer.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore/MercurialCommandServer.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore/MercurialCommandServer.dyn_o )

Data/FileStore/MercurialCommandServer.hs:23: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()
   |
23 | import Control.Applicative ((<$>))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 5 of 10] Compiling Data.FileStore.Mercurial ( Data/FileStore/Mercurial.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore/Mercurial.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore/Mercurial.dyn_o )

Data/FileStore/Mercurial.hs:136:25: 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."
    |
136 |           else return $ head result
    |                         ^^^^

Data/FileStore/Mercurial.hs:170:51: 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."
    |
170 |                 then map FSDirectory $ nub $ map (head . splitDirectories . removePrefix dir) $ lines $ toString output2
    |                                                   ^^^^
[ 6 of 10] Compiling Data.FileStore.Git ( Data/FileStore/Git.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore/Git.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore/Git.dyn_o )

Data/FileStore/Git.hs:307:7: warning: [GHC-62161] [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type [B.ByteString] not matched:
            []
            [_]
            [_, _]
            [_, _, _]
            ...
    |
307 |   let (rev : date' : author : email : subject : rest) = B.split '\0' entry
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Data/FileStore/Git.hs:350:22: 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."
    |
350 |   then parseChanges (tail zs) >>=
    |                      ^^^^

Data/FileStore/Git.hs:351:57: 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."
    |
351 |        return . (++) (Deleted file' : Added (toString $ head zs) : [])
    |                                                         ^^^^
[ 7 of 10] Compiling Data.FileStore.Generic ( Data/FileStore/Generic.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore/Generic.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore/Generic.dyn_o )

Data/FileStore/Generic.hs:140:47: 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."
    |
140 |         else retrieve fs name (Just $ revId $ Prelude.head revs)
    |                                               ^^^^^^^^^^^^
[ 8 of 10] Compiling Data.FileStore.DarcsXml ( Data/FileStore/DarcsXml.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore/DarcsXml.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore/DarcsXml.dyn_o )
[ 9 of 10] Compiling Data.FileStore.Darcs ( Data/FileStore/Darcs.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore/Darcs.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore/Darcs.dyn_o )

Data/FileStore/Darcs.hs:162:57: 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."
    |
162 |                                     Just a  -> return $ head a
    |                                                         ^^^^
[10 of 10] Compiling Data.FileStore   ( Data/FileStore.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/Data/FileStore.dyn_o )
Preprocessing test suite 'test-filestore' for filestore-0.6.5.1..
Building test suite 'test-filestore' for filestore-0.6.5.1..
[1 of 1] Compiling Main             ( tests/Tests.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/build/test-filestore/test-filestore-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/filestore-0.6.5.1/noopt/build/test-filestore/test-filestore
Running 1 test suites...
Test suite test-filestore: RUNNING...
Test suite test-filestore: FAIL
Test suite logged to:
/var/lib/hackage-doc-builder/build-cache/tmp-install/reports/filestore-0.6.5.1.test
Writing: filestore-0.6.5.1-inplace/Data.FileStore.Generic.hs.html
Writing: filestore-0.6.5.1-inplace/Data.FileStore.Utils.hs.html
Writing: filestore-0.6.5.1-inplace/Data.FileStore.Mercurial.hs.html
Writing: filestore-0.6.5.1-inplace/Data.FileStore.Git.hs.html
Writing: filestore-0.6.5.1-inplace/Data.FileStore.Types.hs.html
Writing: hpc_index.html
Writing: hpc_index_fun.html
Writing: hpc_index_alt.html
Writing: hpc_index_exp.html
Test coverage report written to
/var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/hpc/vanilla/html/test-filestore/hpc_index.html
0 of 1 test suites (0 of 1 test cases) passed.
Writing: filestore-0.6.5.1-inplace/Data.FileStore.Generic.hs.html
Writing: filestore-0.6.5.1-inplace/Data.FileStore.Utils.hs.html
Writing: filestore-0.6.5.1-inplace/Data.FileStore.Mercurial.hs.html
Writing: filestore-0.6.5.1-inplace/Data.FileStore.Git.hs.html
Writing: filestore-0.6.5.1-inplace/Data.FileStore.Types.hs.html
Writing: hpc_index.html
Writing: hpc_index_fun.html
Writing: hpc_index_alt.html
Writing: hpc_index_exp.html
Package coverage report written to
/var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/filestore-0.6.5.1/noopt/hpc/vanilla/html/filestore-0.6.5.1/hpc_index.html
Error: cabal: Tests failed for filestore-0.6.5.1.