=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for hs-pandoc-3.1.13 Preprocessing library 'xml-light' for pandoc-3.1.13.. Building library 'xml-light' for pandoc-3.1.13.. [1 of 4] Compiling Text.Pandoc.XML.Light.Types [2 of 4] Compiling Text.Pandoc.XML.Light.Proc [3 of 4] Compiling Text.Pandoc.XML.Light.Output [4 of 4] Compiling Text.Pandoc.XML.Light [1 of 4] Compiling Text.Pandoc.XML.Light.Types [2 of 4] Compiling Text.Pandoc.XML.Light.Proc [3 of 4] Compiling Text.Pandoc.XML.Light.Output [4 of 4] Compiling Text.Pandoc.XML.Light Preprocessing library for pandoc-3.1.13.. Building library for pandoc-3.1.13.. [ 1 of 211] Compiling Paths_pandoc [ 2 of 211] Compiling Text.Pandoc.Asciify [ 3 of 211] Compiling Text.Pandoc.Citeproc.CslJson [ 4 of 211] Compiling Text.Pandoc.Citeproc.Util [ 5 of 211] Compiling Text.Pandoc.Citeproc.Data [ 6 of 211] Compiling Text.Pandoc.Emoji [ 7 of 211] Compiling Text.Pandoc.Extensions [ 8 of 211] Compiling Text.Pandoc.MIME [ 9 of 211] Compiling Text.Pandoc.MediaBag [ 10 of 211] Compiling Text.Pandoc.Parsing.Future [ 11 of 211] Compiling Text.Pandoc.Process [ 12 of 211] Compiling Text.Pandoc.Readers.Docx.Combine [ 13 of 211] Compiling Text.Pandoc.Readers.Docx.Symbols [ 14 of 211] Compiling Text.Pandoc.Readers.Docx.Util [ 15 of 211] Compiling Text.Pandoc.Readers.HTML.TagCategories [ 16 of 211] Compiling Text.Pandoc.Readers.ODT.Generic.Fallible [ 17 of 211] Compiling Text.Pandoc.Readers.ODT.Generic.Namespaces [ 18 of 211] Compiling Text.Pandoc.Readers.ODT.Generic.SetMap [ 19 of 211] Compiling Text.Pandoc.Readers.ODT.Generic.Utils [ 20 of 211] Compiling Text.Pandoc.Readers.ODT.Arrows.Utils [ 21 of 211] Compiling Text.Pandoc.Readers.ODT.Arrows.State [ 22 of 211] Compiling Text.Pandoc.Readers.ODT.Generic.XMLConverter src/Text/Pandoc/Readers/ODT/Generic/XMLConverter.hs:150:24: warning: [GHC-63394] [-Wx-partial] In the use of `head' (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 150 | currentElement state = head (parentElements state) | ^^^^ [ 23 of 211] Compiling Text.Pandoc.Readers.ODT.Namespaces [ 24 of 211] Compiling Text.Pandoc.Readers.ODT.Base [ 25 of 211] Compiling Text.Pandoc.Readers.Org.Shared [ 26 of 211] Compiling Text.Pandoc.RoffChar [ 27 of 211] Compiling Text.Pandoc.Shared [ 28 of 211] Compiling Text.Pandoc.Readers.ODT.StyleReader [ 29 of 211] Compiling Text.Pandoc.Logging [ 30 of 211] Compiling Text.Pandoc.Image [ 31 of 211] Compiling Text.Pandoc.Citeproc.Name [ 32 of 211] Compiling Text.Pandoc.Citeproc.MetaValue [ 33 of 211] Compiling Text.Pandoc.Chunks src/Text/Pandoc/Chunks.hs:102:39: 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." | 102 | addNext cs = zipWith go cs (map Just (tail cs) ++ [Nothing]) | ^^^^ [ 34 of 211] Compiling Text.Pandoc.Slides [ 35 of 211] Compiling Text.Pandoc.Sources [ 36 of 211] Compiling Text.Pandoc.TeX [ 37 of 211] Compiling Text.Pandoc.Translations.Types [ 38 of 211] Compiling Text.Pandoc.Class.CommonState [ 39 of 211] Compiling Text.Pandoc.UTF8 [ 40 of 211] Compiling Text.Pandoc.URI [ 41 of 211] Compiling Text.Pandoc.Readers.ODT.ContentReader [ 42 of 211] Compiling Text.Pandoc.Readers.Docx.Parse.Styles [ 43 of 211] Compiling Text.Pandoc.Error [ 44 of 211] Compiling Text.Pandoc.Class.PandocMonad [ 45 of 211] Compiling Text.Pandoc.Readers.Typst.Parsing [ 46 of 211] Compiling Text.Pandoc.Class.PandocPure [ 47 of 211] Compiling Text.Pandoc.Class.Sandbox [ 48 of 211] Compiling Text.Pandoc.Class.IO [ 49 of 211] Compiling Text.Pandoc.Class.PandocIO [ 50 of 211] Compiling Text.Pandoc.Class [ 51 of 211] Compiling Text.Pandoc.Highlighting [ 52 of 211] Compiling Text.Pandoc.Options [ 53 of 211] Compiling Text.Pandoc.Readers.ODT [ 54 of 211] Compiling Text.Pandoc.Readers.Native [ 55 of 211] Compiling Text.Pandoc.Readers.Haddock src/Text/Pandoc/Readers/Haddock.hs:106:34: 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." | 106 | else (toCells (head headerRows), | ^^^^ src/Text/Pandoc/Readers/Haddock.hs:107:38: 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." | 107 | map toCells (tail headerRows ++ bodyRows)) | ^^^^ [ 56 of 211] Compiling Text.Pandoc.Readers.EndNote [ 57 of 211] Compiling Text.Pandoc.Readers.Djot [ 58 of 211] Compiling Text.Pandoc.Readers.CslJson [ 59 of 211] Compiling Text.Pandoc.Parsing.Capabilities [ 60 of 211] Compiling Text.Pandoc.Parsing.State [ 61 of 211] Compiling Text.Pandoc.Parsing.Lists [ 62 of 211] Compiling Text.Pandoc.ImageSize [ 63 of 211] Compiling Text.Pandoc.Filter.Environment [ 64 of 211] Compiling Text.Pandoc.Data [ 65 of 211] Compiling Text.Pandoc.Translations [ 66 of 211] Compiling Text.Pandoc.Templates [ 67 of 211] Compiling Text.Pandoc.UUID [ 68 of 211] Compiling Text.Pandoc.Version [ 69 of 211] Compiling Text.Pandoc.Filter.JSON [ 70 of 211] Compiling Text.Pandoc.Writers.AnnotatedTable [ 71 of 211] Compiling Text.Pandoc.Writers.Blaze [ 72 of 211] Compiling Text.Pandoc.Writers.CslJson [ 73 of 211] Compiling Text.Pandoc.Writers.Docx.StyleMap [ 74 of 211] Compiling Text.Pandoc.Writers.GridTable [ 75 of 211] Compiling Text.Pandoc.Writers.JATS.Types [ 76 of 211] Compiling Text.Pandoc.Writers.LaTeX.Lang [ 77 of 211] Compiling Text.Pandoc.Writers.LaTeX.Notes [ 78 of 211] Compiling Text.Pandoc.Writers.LaTeX.Types [ 79 of 211] Compiling Text.Pandoc.Writers.LaTeX.Caption [ 80 of 211] Compiling Text.Pandoc.Writers.LaTeX.Util [ 81 of 211] Compiling Text.Pandoc.Writers.LaTeX.Table [ 82 of 211] Compiling Text.Pandoc.Writers.Math [ 83 of 211] Compiling Text.Pandoc.Writers.Native [ 84 of 211] Compiling Text.Pandoc.Writers.OOXML [ 85 of 211] Compiling Text.Pandoc.Writers.Docx.Types [ 86 of 211] Compiling Text.Pandoc.Writers.Docx.Table [ 87 of 211] Compiling Text.Pandoc.Writers.Roff [ 88 of 211] Compiling Text.Pandoc.XML [ 89 of 211] Compiling Text.Pandoc.Writers.JATS.Table [ 90 of 211] Compiling Text.Pandoc.Writers.JATS.References [ 91 of 211] Compiling Text.Pandoc.Readers.Jira [ 92 of 211] Compiling Text.Pandoc.Readers.JATS src/Text/Pandoc/Readers/JATS.hs:760:29: warning: [GHC-63394] [-Wx-partial] In the use of `head' (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 760 | return . para . head . take 1 . map constructor $ texMaths ++ mathMLs | ^^^^ [ 93 of 211] Compiling Text.Pandoc.Readers.FB2 [ 94 of 211] Compiling Text.Pandoc.Readers.DocBook [ 95 of 211] Compiling Text.Pandoc.Parsing.General [ 96 of 211] Compiling Text.Pandoc.Parsing.Smart [ 97 of 211] Compiling Text.Pandoc.Parsing.Math [ 98 of 211] Compiling Text.Pandoc.Parsing.GridTable src/Text/Pandoc/Parsing/GridTable.hs:251:3: 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." | 251 | tail fracs | ^^^^ [ 99 of 211] Compiling Text.Pandoc.Parsing.Citations [100 of 211] Compiling Text.Pandoc.Parsing [101 of 211] Compiling Text.Pandoc.Writers.Markdown.Types [102 of 211] Compiling Text.Pandoc.Writers.Markdown.Table [103 of 211] Compiling Text.Pandoc.SelfContained [104 of 211] Compiling Text.Pandoc.Readers.Vimwiki src/Text/Pandoc/Readers/Vimwiki.hs:255:26: 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." | 255 | else let (a, b) = (head t, last t) in | ^^^^ src/Text/Pandoc/Readers/Vimwiki.hs:295:12: 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." | 295 | return $ head bl | ^^^^ src/Text/Pandoc/Readers/Vimwiki.hs:411:31: 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." | 411 | return (replicate (length $ head trs) mempty, trs) | ^^^^ src/Text/Pandoc/Readers/Vimwiki.hs:511:12: 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." | 511 | guard $ (head s `notElem` spaceChars) | ^^^^ src/Text/Pandoc/Readers/Vimwiki.hs:525:12: 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." | 525 | guard $ (head s `notElem` spaceChars) | ^^^^ src/Text/Pandoc/Readers/Vimwiki.hs:628:36: 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." | 628 | return $ mconcat $ makeTagSpan' (head ss):(makeTagSpan <$> tail ss) | ^^^^ src/Text/Pandoc/Readers/Vimwiki.hs:628:62: warning: [GHC-63394] [-Wx-partial] In the use of `tail' (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 628 | return $ mconcat $ makeTagSpan' (head ss):(makeTagSpan <$> tail ss) | ^^^^ [105 of 211] Compiling Text.Pandoc.Readers.Typst.Math [106 of 211] Compiling Text.Pandoc.Readers.Typst [107 of 211] Compiling Text.Pandoc.Readers.Txt2Tags [108 of 211] Compiling Text.Pandoc.Readers.TikiWiki src/Text/Pandoc/Readers/TikiWiki.hs:161:40: 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." | 161 | headers rows = replicate (length $ head rows) ((B.plain . B.str) "") | ^^^^ src/Text/Pandoc/Readers/TikiWiki.hs:229:21: 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." | 229 | let secondBlock = head $ B.toList second in | ^^^^ src/Text/Pandoc/Readers/TikiWiki.hs:242:21: 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." | 242 | let itemBlock = head $ B.toList items in | ^^^^ [109 of 211] Compiling Text.Pandoc.Readers.Roff [110 of 211] Compiling Text.Pandoc.Readers.RTF [111 of 211] Compiling Text.Pandoc.Readers.RIS [112 of 211] Compiling Text.Pandoc.Readers.Org.ParserState [113 of 211] Compiling Text.Pandoc.Readers.Org.Parsing [114 of 211] Compiling Text.Pandoc.Readers.Org.ExportSettings [115 of 211] Compiling Text.Pandoc.Readers.Org.BlockStarts [116 of 211] Compiling Text.Pandoc.Readers.Org.DocumentTree [117 of 211] Compiling Text.Pandoc.Readers.Muse [118 of 211] Compiling Text.Pandoc.Readers.Metadata [119 of 211] Compiling Text.Pandoc.Readers.Man [120 of 211] Compiling Text.Pandoc.Readers.LaTeX.Parsing [121 of 211] Compiling Text.Pandoc.Readers.LaTeX.Table [122 of 211] Compiling Text.Pandoc.Readers.LaTeX.SIunitx [123 of 211] Compiling Text.Pandoc.Readers.LaTeX.Math [124 of 211] Compiling Text.Pandoc.Readers.LaTeX.Macro [125 of 211] Compiling Text.Pandoc.Readers.LaTeX.Lang [126 of 211] Compiling Text.Pandoc.Readers.LaTeX.Inline [127 of 211] Compiling Text.Pandoc.Readers.LaTeX.Citation [128 of 211] Compiling Text.Pandoc.Readers.LaTeX [129 of 211] Compiling Text.Pandoc.Readers.Org.Inlines [130 of 211] Compiling Text.Pandoc.Readers.Org.Meta [131 of 211] Compiling Text.Pandoc.Readers.Org.Blocks [132 of 211] Compiling Text.Pandoc.Readers.Org [133 of 211] Compiling Text.Pandoc.Readers.HTML.Types [134 of 211] Compiling Text.Pandoc.Readers.HTML.Parsing [135 of 211] Compiling Text.Pandoc.Readers.DokuWiki src/Text/Pandoc/Readers/DokuWiki.hs:486:45: 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." | 486 | then (firstRow, tail rows) | ^^^^ [136 of 211] Compiling Text.Pandoc.Readers.Docx.Fields [137 of 211] Compiling Text.Pandoc.Readers.Docx.Parse src/Text/Pandoc/Readers/Docx/Parse.hs:1131:33: warning: [GHC-63394] [-Wx-partial] In the use of `head' (imported from Data.List, 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." | 1131 | choiceChildren = map head $ filter (not . null) $ map elChildren choices | ^^^^ [138 of 211] Compiling Text.Pandoc.Readers.Docx.Lists [139 of 211] Compiling Text.Pandoc.Readers.Docx [140 of 211] Compiling Text.Pandoc.Readers.Creole [141 of 211] Compiling Text.Pandoc.Readers.CommonMark [142 of 211] Compiling Text.Pandoc.Format [143 of 211] Compiling Text.Pandoc.Citeproc.Locator [144 of 211] Compiling Text.Pandoc.Writers.LaTeX.Citation src/Text/Pandoc/Writers/LaTeX/Citation.hs:52:15: 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." | 52 | | noPrefix (tail cits) && noSuffix (init cits) && ismode NormalCitation cits | ^^^^ src/Text/Pandoc/Writers/LaTeX/Citation.hs:59: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." | 59 | head cits | ^^^^ [145 of 211] Compiling Text.Pandoc.CSV [146 of 211] Compiling Text.Pandoc.Readers.RST src/Text/Pandoc/Readers/RST.hs:1304:5: 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." | 1304 | $ tail $ splitTextByIndices (init indices) line | ^^^^ [147 of 211] Compiling Text.Pandoc.Readers.CSV [148 of 211] Compiling Text.Pandoc.CSS [149 of 211] Compiling Text.Pandoc.Writers.Shared [150 of 211] Compiling Text.Pandoc.Writers.ZimWiki src/Text/Pandoc/Writers/ZimWiki.hs:131:66: 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." | 131 | then zipWithM (tableItemToZimWiki opts) aligns (head rows) | ^^^^ [151 of 211] Compiling Text.Pandoc.Writers.Typst src/Text/Pandoc/Writers/Typst.hs:147:40: 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." | 147 | (head (orderedListMarkers | ^^^^ [152 of 211] Compiling Text.Pandoc.Writers.Textile [153 of 211] Compiling Text.Pandoc.Writers.Texinfo [154 of 211] Compiling Text.Pandoc.Writers.TEI src/Text/Pandoc/Writers/TEI.hs:143: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." | 143 | else escapeStringForXML (head langs) | ^^^^ [155 of 211] Compiling Text.Pandoc.Writers.RTF src/Text/Pandoc/Writers/RTF.hs:284:20: 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." | 284 | let rightEdges = tail $ scanl (\sofar new -> sofar + floor (new * totalTwips)) | ^^^^ [156 of 211] Compiling Text.Pandoc.Writers.RST [157 of 211] Compiling Text.Pandoc.Writers.Powerpoint.Presentation [158 of 211] Compiling Text.Pandoc.Writers.Powerpoint.Output [159 of 211] Compiling Text.Pandoc.Writers.Powerpoint [160 of 211] Compiling Text.Pandoc.Writers.Org [161 of 211] Compiling Text.Pandoc.Writers.OpenDocument src/Text/Pandoc/Writers/OpenDocument.hs:308:16: warning: [GHC-63394] [-Wx-partial] In the use of `head' (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 308 | ls <- head <$> gets stListStyles | ^^^^ [162 of 211] Compiling Text.Pandoc.Writers.ODT [163 of 211] Compiling Text.Pandoc.Writers.Muse src/Text/Pandoc/Writers/Muse.hs:725:66: 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." | 725 | else " literal (head names) <> "\">" <> contents' <> "")) | ^^^^ [164 of 211] Compiling Text.Pandoc.Writers.Ms [165 of 211] Compiling Text.Pandoc.Writers.MediaWiki [166 of 211] Compiling Text.Pandoc.Writers.XWiki [167 of 211] Compiling Text.Pandoc.Writers.Man [168 of 211] Compiling Text.Pandoc.Writers.LaTeX [169 of 211] Compiling Text.Pandoc.Citeproc.BibTeX [170 of 211] Compiling Text.Pandoc.Readers.BibTeX [171 of 211] Compiling Text.Pandoc.Writers.Jira [172 of 211] Compiling Text.Pandoc.Writers.ICML src/Text/Pandoc/Writers/ICML.hs:350:33: warning: [GHC-63394] [-Wx-partial] In the use of `head' (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 350 | else length $ head rows | ^^^^ src/Text/Pandoc/Writers/ICML.hs:437:41: 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." | 437 | f <- blockToICML opts stl' $ head item | ^^^^ src/Text/Pandoc/Writers/ICML.hs:438:34: 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." | 438 | r <- mapM insertTab $ tail item | ^^^^ src/Text/Pandoc/Writers/ICML.hs:489:43: 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." | 489 | else 1 + fst (head $ links st) | ^^^^ src/Text/Pandoc/Writers/ICML.hs:551:60: 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." | 551 | $ head begins | ^^^^ [173 of 211] Compiling Text.Pandoc.Writers.Haddock [174 of 211] Compiling Text.Pandoc.Writers.HTML [175 of 211] Compiling Text.Pandoc.Writers.Markdown.Inline [176 of 211] Compiling Text.Pandoc.Writers.Markdown [177 of 211] Compiling Text.Pandoc.Writers.OPML [178 of 211] Compiling Text.Pandoc.Writers.Ipynb [179 of 211] Compiling Text.Pandoc.Writers.CommonMark [180 of 211] Compiling Text.Pandoc.Writers.FB2 [181 of 211] Compiling Text.Pandoc.Writers.EPUB [182 of 211] Compiling Text.Pandoc.Writers.DokuWiki [183 of 211] Compiling Text.Pandoc.Writers.Docx [184 of 211] Compiling Text.Pandoc.Writers.DocBook src/Text/Pandoc/Writers/DocBook.hs:256:65: 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." | 256 | else " language=\"" <> escapeStringForXML (head langs) <> | ^^^^ [185 of 211] Compiling Text.Pandoc.Writers.Djot [186 of 211] Compiling Text.Pandoc.Writers.ConTeXt src/Text/Pandoc/Writers/ConTeXt.hs:701:53: 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." | 701 | else brackets $ literal $ toLabel $ head cls | ^^^^ [187 of 211] Compiling Text.Pandoc.Writers.ChunkedHTML [188 of 211] Compiling Text.Pandoc.Writers.BibTeX [189 of 211] Compiling Text.Pandoc.Writers.AsciiDoc [190 of 211] Compiling Text.Pandoc.PDF [191 of 211] Compiling Text.Pandoc.Readers.HTML.Table [192 of 211] Compiling Text.Pandoc.Readers.HTML [193 of 211] Compiling Text.Pandoc.Readers.Textile [194 of 211] Compiling Text.Pandoc.Readers.TWiki src/Text/Pandoc/Readers/TWiki.hs:227:32: 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." | 227 | columCount rows = length $ head rows | ^^^^ [195 of 211] Compiling Text.Pandoc.Readers.MediaWiki [196 of 211] Compiling Text.Pandoc.Readers.Markdown src/Text/Pandoc/Readers/Markdown.hs:1248:21: 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." | 1248 | rawHeads <- fmap (tail . splitTextByIndices (init indices)) $ | ^^^^ src/Text/Pandoc/Readers/Markdown.hs:1295:23: 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." | 1295 | return $ map trim $ tail $ | ^^^^ src/Text/Pandoc/Readers/Markdown.hs:1372:39: 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." | 1372 | then map (:[]) . tail . splitTextByIndices (init indices') | ^^^^ src/Text/Pandoc/Readers/Markdown.hs:1375:29: 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." | 1375 | (tail . splitTextByIndices (init indices')) | ^^^^ [197 of 211] Compiling Text.Pandoc.Readers.OPML [198 of 211] Compiling Text.Pandoc.Readers.Ipynb [199 of 211] Compiling Text.Pandoc.Citeproc [200 of 211] Compiling Text.Pandoc.Writers.JATS [201 of 211] Compiling Text.Pandoc.Writers [202 of 211] Compiling Text.Pandoc.Readers.EPUB [203 of 211] Compiling Text.Pandoc.Readers [204 of 211] Compiling Text.Pandoc.Scripting [205 of 211] Compiling Text.Pandoc.Filter [206 of 211] Compiling Text.Pandoc.App.Input [207 of 211] Compiling Text.Pandoc [208 of 211] Compiling Text.Pandoc.App.Opt [209 of 211] Compiling Text.Pandoc.App.CommandLineOptions [210 of 211] Compiling Text.Pandoc.App.OutputSettings [211 of 211] Compiling Text.Pandoc.App [ 1 of 211] Compiling Paths_pandoc [ 2 of 211] Compiling Text.Pandoc.Asciify [ 3 of 211] Compiling Text.Pandoc.Citeproc.CslJson [ 4 of 211] Compiling Text.Pandoc.Citeproc.Util [ 5 of 211] Compiling Text.Pandoc.Citeproc.Data [ 6 of 211] Compiling Text.Pandoc.Emoji [ 7 of 211] Compiling Text.Pandoc.Extensions [ 8 of 211] Compiling Text.Pandoc.MIME [ 9 of 211] Compiling Text.Pandoc.MediaBag [ 10 of 211] Compiling Text.Pandoc.Parsing.Future [ 11 of 211] Compiling Text.Pandoc.Process [ 12 of 211] Compiling Text.Pandoc.Readers.Docx.Combine [ 13 of 211] Compiling Text.Pandoc.Readers.Docx.Symbols [ 14 of 211] Compiling Text.Pandoc.Readers.Docx.Util [ 15 of 211] Compiling Text.Pandoc.Readers.HTML.TagCategories [ 16 of 211] Compiling Text.Pandoc.Readers.ODT.Generic.Fallible [ 17 of 211] Compiling Text.Pandoc.Readers.ODT.Generic.Namespaces [ 18 of 211] Compiling Text.Pandoc.Readers.ODT.Generic.SetMap [ 19 of 211] Compiling Text.Pandoc.Readers.ODT.Generic.Utils [ 20 of 211] Compiling Text.Pandoc.Readers.ODT.Arrows.Utils [ 21 of 211] Compiling Text.Pandoc.Readers.ODT.Arrows.State [ 22 of 211] Compiling Text.Pandoc.Readers.ODT.Generic.XMLConverter src/Text/Pandoc/Readers/ODT/Generic/XMLConverter.hs:150:24: warning: [GHC-63394] [-Wx-partial] In the use of `head' (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 150 | currentElement state = head (parentElements state) | ^^^^ [ 23 of 211] Compiling Text.Pandoc.Readers.ODT.Namespaces [ 24 of 211] Compiling Text.Pandoc.Readers.ODT.Base [ 25 of 211] Compiling Text.Pandoc.Readers.Org.Shared [ 26 of 211] Compiling Text.Pandoc.RoffChar [ 27 of 211] Compiling Text.Pandoc.Shared [ 28 of 211] Compiling Text.Pandoc.Readers.ODT.StyleReader [ 29 of 211] Compiling Text.Pandoc.Logging [ 30 of 211] Compiling Text.Pandoc.Image [ 31 of 211] Compiling Text.Pandoc.Citeproc.Name [ 32 of 211] Compiling Text.Pandoc.Citeproc.MetaValue [ 33 of 211] Compiling Text.Pandoc.Chunks src/Text/Pandoc/Chunks.hs:102:39: 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." | 102 | addNext cs = zipWith go cs (map Just (tail cs) ++ [Nothing]) | ^^^^ [ 34 of 211] Compiling Text.Pandoc.Slides [ 35 of 211] Compiling Text.Pandoc.Sources [ 36 of 211] Compiling Text.Pandoc.TeX [ 37 of 211] Compiling Text.Pandoc.Translations.Types [ 38 of 211] Compiling Text.Pandoc.Class.CommonState [ 39 of 211] Compiling Text.Pandoc.UTF8 [ 40 of 211] Compiling Text.Pandoc.URI [ 41 of 211] Compiling Text.Pandoc.Readers.ODT.ContentReader [ 42 of 211] Compiling Text.Pandoc.Readers.Docx.Parse.Styles [ 43 of 211] Compiling Text.Pandoc.Error [ 44 of 211] Compiling Text.Pandoc.Class.PandocMonad [ 45 of 211] Compiling Text.Pandoc.Readers.Typst.Parsing [ 46 of 211] Compiling Text.Pandoc.Class.PandocPure [ 47 of 211] Compiling Text.Pandoc.Class.Sandbox [ 48 of 211] Compiling Text.Pandoc.Class.IO [ 49 of 211] Compiling Text.Pandoc.Class.PandocIO [ 50 of 211] Compiling Text.Pandoc.Class [ 51 of 211] Compiling Text.Pandoc.Highlighting [ 52 of 211] Compiling Text.Pandoc.Options [ 53 of 211] Compiling Text.Pandoc.Readers.ODT [ 54 of 211] Compiling Text.Pandoc.Readers.Native [ 55 of 211] Compiling Text.Pandoc.Readers.Haddock src/Text/Pandoc/Readers/Haddock.hs:106:34: 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." | 106 | else (toCells (head headerRows), | ^^^^ src/Text/Pandoc/Readers/Haddock.hs:107:38: 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." | 107 | map toCells (tail headerRows ++ bodyRows)) | ^^^^ [ 56 of 211] Compiling Text.Pandoc.Readers.EndNote [ 57 of 211] Compiling Text.Pandoc.Readers.Djot [ 58 of 211] Compiling Text.Pandoc.Readers.CslJson [ 59 of 211] Compiling Text.Pandoc.Parsing.Capabilities [ 60 of 211] Compiling Text.Pandoc.Parsing.State [ 61 of 211] Compiling Text.Pandoc.Parsing.Lists [ 62 of 211] Compiling Text.Pandoc.ImageSize [ 63 of 211] Compiling Text.Pandoc.Filter.Environment [ 64 of 211] Compiling Text.Pandoc.Data [ 65 of 211] Compiling Text.Pandoc.Translations [ 66 of 211] Compiling Text.Pandoc.Templates [ 67 of 211] Compiling Text.Pandoc.UUID [ 68 of 211] Compiling Text.Pandoc.Version [ 69 of 211] Compiling Text.Pandoc.Filter.JSON [ 70 of 211] Compiling Text.Pandoc.Writers.AnnotatedTable [ 71 of 211] Compiling Text.Pandoc.Writers.Blaze [ 72 of 211] Compiling Text.Pandoc.Writers.CslJson [ 73 of 211] Compiling Text.Pandoc.Writers.Docx.StyleMap [ 74 of 211] Compiling Text.Pandoc.Writers.GridTable [ 75 of 211] Compiling Text.Pandoc.Writers.JATS.Types [ 76 of 211] Compiling Text.Pandoc.Writers.LaTeX.Lang [ 77 of 211] Compiling Text.Pandoc.Writers.LaTeX.Notes [ 78 of 211] Compiling Text.Pandoc.Writers.LaTeX.Types [ 79 of 211] Compiling Text.Pandoc.Writers.LaTeX.Caption [ 80 of 211] Compiling Text.Pandoc.Writers.LaTeX.Util [ 81 of 211] Compiling Text.Pandoc.Writers.LaTeX.Table [ 82 of 211] Compiling Text.Pandoc.Writers.Math [ 83 of 211] Compiling Text.Pandoc.Writers.Native [ 84 of 211] Compiling Text.Pandoc.Writers.OOXML [ 85 of 211] Compiling Text.Pandoc.Writers.Docx.Types [ 86 of 211] Compiling Text.Pandoc.Writers.Docx.Table [ 87 of 211] Compiling Text.Pandoc.Writers.Roff [ 88 of 211] Compiling Text.Pandoc.XML [ 89 of 211] Compiling Text.Pandoc.Writers.JATS.Table [ 90 of 211] Compiling Text.Pandoc.Writers.JATS.References [ 91 of 211] Compiling Text.Pandoc.Readers.Jira [ 92 of 211] Compiling Text.Pandoc.Readers.JATS src/Text/Pandoc/Readers/JATS.hs:760:29: warning: [GHC-63394] [-Wx-partial] In the use of `head' (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 760 | return . para . head . take 1 . map constructor $ texMaths ++ mathMLs | ^^^^ [ 93 of 211] Compiling Text.Pandoc.Readers.FB2 [ 94 of 211] Compiling Text.Pandoc.Readers.DocBook [ 95 of 211] Compiling Text.Pandoc.Parsing.General [ 96 of 211] Compiling Text.Pandoc.Parsing.Smart [ 97 of 211] Compiling Text.Pandoc.Parsing.Math [ 98 of 211] Compiling Text.Pandoc.Parsing.GridTable src/Text/Pandoc/Parsing/GridTable.hs:251:3: 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." | 251 | tail fracs | ^^^^ [ 99 of 211] Compiling Text.Pandoc.Parsing.Citations [100 of 211] Compiling Text.Pandoc.Parsing [101 of 211] Compiling Text.Pandoc.Writers.Markdown.Types [102 of 211] Compiling Text.Pandoc.Writers.Markdown.Table [103 of 211] Compiling Text.Pandoc.SelfContained [104 of 211] Compiling Text.Pandoc.Readers.Vimwiki src/Text/Pandoc/Readers/Vimwiki.hs:255:26: 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." | 255 | else let (a, b) = (head t, last t) in | ^^^^ src/Text/Pandoc/Readers/Vimwiki.hs:295:12: 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." | 295 | return $ head bl | ^^^^ src/Text/Pandoc/Readers/Vimwiki.hs:411:31: 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." | 411 | return (replicate (length $ head trs) mempty, trs) | ^^^^ src/Text/Pandoc/Readers/Vimwiki.hs:511:12: 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." | 511 | guard $ (head s `notElem` spaceChars) | ^^^^ src/Text/Pandoc/Readers/Vimwiki.hs:525:12: 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." | 525 | guard $ (head s `notElem` spaceChars) | ^^^^ src/Text/Pandoc/Readers/Vimwiki.hs:628:36: 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." | 628 | return $ mconcat $ makeTagSpan' (head ss):(makeTagSpan <$> tail ss) | ^^^^ src/Text/Pandoc/Readers/Vimwiki.hs:628:62: warning: [GHC-63394] [-Wx-partial] In the use of `tail' (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 628 | return $ mconcat $ makeTagSpan' (head ss):(makeTagSpan <$> tail ss) | ^^^^ [105 of 211] Compiling Text.Pandoc.Readers.Typst.Math [106 of 211] Compiling Text.Pandoc.Readers.Typst [107 of 211] Compiling Text.Pandoc.Readers.Txt2Tags [108 of 211] Compiling Text.Pandoc.Readers.TikiWiki src/Text/Pandoc/Readers/TikiWiki.hs:161:40: 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." | 161 | headers rows = replicate (length $ head rows) ((B.plain . B.str) "") | ^^^^ src/Text/Pandoc/Readers/TikiWiki.hs:229:21: 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." | 229 | let secondBlock = head $ B.toList second in | ^^^^ src/Text/Pandoc/Readers/TikiWiki.hs:242:21: 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." | 242 | let itemBlock = head $ B.toList items in | ^^^^ [109 of 211] Compiling Text.Pandoc.Readers.Roff [110 of 211] Compiling Text.Pandoc.Readers.RTF [111 of 211] Compiling Text.Pandoc.Readers.RIS [112 of 211] Compiling Text.Pandoc.Readers.Org.ParserState [113 of 211] Compiling Text.Pandoc.Readers.Org.Parsing [114 of 211] Compiling Text.Pandoc.Readers.Org.ExportSettings [115 of 211] Compiling Text.Pandoc.Readers.Org.BlockStarts [116 of 211] Compiling Text.Pandoc.Readers.Org.DocumentTree [117 of 211] Compiling Text.Pandoc.Readers.Muse [118 of 211] Compiling Text.Pandoc.Readers.Metadata [119 of 211] Compiling Text.Pandoc.Readers.Man [120 of 211] Compiling Text.Pandoc.Readers.LaTeX.Parsing [121 of 211] Compiling Text.Pandoc.Readers.LaTeX.Table [122 of 211] Compiling Text.Pandoc.Readers.LaTeX.SIunitx [123 of 211] Compiling Text.Pandoc.Readers.LaTeX.Math [124 of 211] Compiling Text.Pandoc.Readers.LaTeX.Macro [125 of 211] Compiling Text.Pandoc.Readers.LaTeX.Lang [126 of 211] Compiling Text.Pandoc.Readers.LaTeX.Inline [127 of 211] Compiling Text.Pandoc.Readers.LaTeX.Citation [128 of 211] Compiling Text.Pandoc.Readers.LaTeX [129 of 211] Compiling Text.Pandoc.Readers.Org.Inlines [130 of 211] Compiling Text.Pandoc.Readers.Org.Meta [131 of 211] Compiling Text.Pandoc.Readers.Org.Blocks [132 of 211] Compiling Text.Pandoc.Readers.Org [133 of 211] Compiling Text.Pandoc.Readers.HTML.Types [134 of 211] Compiling Text.Pandoc.Readers.HTML.Parsing [135 of 211] Compiling Text.Pandoc.Readers.DokuWiki src/Text/Pandoc/Readers/DokuWiki.hs:486:45: 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." | 486 | then (firstRow, tail rows) | ^^^^ [136 of 211] Compiling Text.Pandoc.Readers.Docx.Fields [137 of 211] Compiling Text.Pandoc.Readers.Docx.Parse src/Text/Pandoc/Readers/Docx/Parse.hs:1131:33: warning: [GHC-63394] [-Wx-partial] In the use of `head' (imported from Data.List, 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." | 1131 | choiceChildren = map head $ filter (not . null) $ map elChildren choices | ^^^^ [138 of 211] Compiling Text.Pandoc.Readers.Docx.Lists [139 of 211] Compiling Text.Pandoc.Readers.Docx [140 of 211] Compiling Text.Pandoc.Readers.Creole [141 of 211] Compiling Text.Pandoc.Readers.CommonMark [142 of 211] Compiling Text.Pandoc.Format [143 of 211] Compiling Text.Pandoc.Citeproc.Locator [144 of 211] Compiling Text.Pandoc.Writers.LaTeX.Citation src/Text/Pandoc/Writers/LaTeX/Citation.hs:52:15: 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." | 52 | | noPrefix (tail cits) && noSuffix (init cits) && ismode NormalCitation cits | ^^^^ src/Text/Pandoc/Writers/LaTeX/Citation.hs:59: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." | 59 | head cits | ^^^^ [145 of 211] Compiling Text.Pandoc.CSV [146 of 211] Compiling Text.Pandoc.Readers.RST src/Text/Pandoc/Readers/RST.hs:1304:5: 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." | 1304 | $ tail $ splitTextByIndices (init indices) line | ^^^^ [147 of 211] Compiling Text.Pandoc.Readers.CSV [148 of 211] Compiling Text.Pandoc.CSS [149 of 211] Compiling Text.Pandoc.Writers.Shared [150 of 211] Compiling Text.Pandoc.Writers.ZimWiki src/Text/Pandoc/Writers/ZimWiki.hs:131:66: 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." | 131 | then zipWithM (tableItemToZimWiki opts) aligns (head rows) | ^^^^ [151 of 211] Compiling Text.Pandoc.Writers.Typst src/Text/Pandoc/Writers/Typst.hs:147:40: 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." | 147 | (head (orderedListMarkers | ^^^^ [152 of 211] Compiling Text.Pandoc.Writers.Textile [153 of 211] Compiling Text.Pandoc.Writers.Texinfo [154 of 211] Compiling Text.Pandoc.Writers.TEI src/Text/Pandoc/Writers/TEI.hs:143: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." | 143 | else escapeStringForXML (head langs) | ^^^^ [155 of 211] Compiling Text.Pandoc.Writers.RTF src/Text/Pandoc/Writers/RTF.hs:284:20: 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." | 284 | let rightEdges = tail $ scanl (\sofar new -> sofar + floor (new * totalTwips)) | ^^^^ [156 of 211] Compiling Text.Pandoc.Writers.RST [157 of 211] Compiling Text.Pandoc.Writers.Powerpoint.Presentation [158 of 211] Compiling Text.Pandoc.Writers.Powerpoint.Output [159 of 211] Compiling Text.Pandoc.Writers.Powerpoint [160 of 211] Compiling Text.Pandoc.Writers.Org [161 of 211] Compiling Text.Pandoc.Writers.OpenDocument src/Text/Pandoc/Writers/OpenDocument.hs:308:16: warning: [GHC-63394] [-Wx-partial] In the use of `head' (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 308 | ls <- head <$> gets stListStyles | ^^^^ [162 of 211] Compiling Text.Pandoc.Writers.ODT [163 of 211] Compiling Text.Pandoc.Writers.Muse src/Text/Pandoc/Writers/Muse.hs:725:66: 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." | 725 | else " literal (head names) <> "\">" <> contents' <> "")) | ^^^^ [164 of 211] Compiling Text.Pandoc.Writers.Ms [165 of 211] Compiling Text.Pandoc.Writers.MediaWiki [166 of 211] Compiling Text.Pandoc.Writers.XWiki [167 of 211] Compiling Text.Pandoc.Writers.Man [168 of 211] Compiling Text.Pandoc.Writers.LaTeX [169 of 211] Compiling Text.Pandoc.Citeproc.BibTeX [170 of 211] Compiling Text.Pandoc.Readers.BibTeX [171 of 211] Compiling Text.Pandoc.Writers.Jira [172 of 211] Compiling Text.Pandoc.Writers.ICML src/Text/Pandoc/Writers/ICML.hs:350:33: warning: [GHC-63394] [-Wx-partial] In the use of `head' (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 350 | else length $ head rows | ^^^^ src/Text/Pandoc/Writers/ICML.hs:437:41: 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." | 437 | f <- blockToICML opts stl' $ head item | ^^^^ src/Text/Pandoc/Writers/ICML.hs:438:34: 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." | 438 | r <- mapM insertTab $ tail item | ^^^^ src/Text/Pandoc/Writers/ICML.hs:489:43: 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." | 489 | else 1 + fst (head $ links st) | ^^^^ src/Text/Pandoc/Writers/ICML.hs:551:60: 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." | 551 | $ head begins | ^^^^ [173 of 211] Compiling Text.Pandoc.Writers.Haddock [174 of 211] Compiling Text.Pandoc.Writers.HTML [175 of 211] Compiling Text.Pandoc.Writers.Markdown.Inline [176 of 211] Compiling Text.Pandoc.Writers.Markdown [177 of 211] Compiling Text.Pandoc.Writers.OPML [178 of 211] Compiling Text.Pandoc.Writers.Ipynb [179 of 211] Compiling Text.Pandoc.Writers.CommonMark [180 of 211] Compiling Text.Pandoc.Writers.FB2 [181 of 211] Compiling Text.Pandoc.Writers.EPUB [182 of 211] Compiling Text.Pandoc.Writers.DokuWiki [183 of 211] Compiling Text.Pandoc.Writers.Docx [184 of 211] Compiling Text.Pandoc.Writers.DocBook src/Text/Pandoc/Writers/DocBook.hs:256:65: 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." | 256 | else " language=\"" <> escapeStringForXML (head langs) <> | ^^^^ [185 of 211] Compiling Text.Pandoc.Writers.Djot [186 of 211] Compiling Text.Pandoc.Writers.ConTeXt src/Text/Pandoc/Writers/ConTeXt.hs:701:53: 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." | 701 | else brackets $ literal $ toLabel $ head cls | ^^^^ [187 of 211] Compiling Text.Pandoc.Writers.ChunkedHTML [188 of 211] Compiling Text.Pandoc.Writers.BibTeX [189 of 211] Compiling Text.Pandoc.Writers.AsciiDoc [190 of 211] Compiling Text.Pandoc.PDF [191 of 211] Compiling Text.Pandoc.Readers.HTML.Table [192 of 211] Compiling Text.Pandoc.Readers.HTML [193 of 211] Compiling Text.Pandoc.Readers.Textile [194 of 211] Compiling Text.Pandoc.Readers.TWiki src/Text/Pandoc/Readers/TWiki.hs:227:32: 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." | 227 | columCount rows = length $ head rows | ^^^^ [195 of 211] Compiling Text.Pandoc.Readers.MediaWiki [196 of 211] Compiling Text.Pandoc.Readers.Markdown src/Text/Pandoc/Readers/Markdown.hs:1248:21: 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." | 1248 | rawHeads <- fmap (tail . splitTextByIndices (init indices)) $ | ^^^^ src/Text/Pandoc/Readers/Markdown.hs:1295:23: 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." | 1295 | return $ map trim $ tail $ | ^^^^ src/Text/Pandoc/Readers/Markdown.hs:1372:39: 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." | 1372 | then map (:[]) . tail . splitTextByIndices (init indices') | ^^^^ src/Text/Pandoc/Readers/Markdown.hs:1375:29: 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." | 1375 | (tail . splitTextByIndices (init indices')) | ^^^^ [197 of 211] Compiling Text.Pandoc.Readers.OPML [198 of 211] Compiling Text.Pandoc.Readers.Ipynb [199 of 211] Compiling Text.Pandoc.Citeproc [200 of 211] Compiling Text.Pandoc.Writers.JATS *** Signal 11 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/converters/hs-pandoc *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/converters/hs-pandoc