1. 969.51 s [opt-env-conf-test] ppIndent $ do
  2. 969.51 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:566:21-79
  3. 969.51 s [opt-env-conf-test] @@ -563,7 +563,6 @@
  4. 969.51 s [opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  5. 969.51 s [opt-env-conf-test] ppIndent $ go p'
  6. 969.51 s [opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
  7. 969.51 s [opt-env-conf-test] - debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  8. 969.51 s [opt-env-conf-test] ppIndent $ go p'
  9. 969.51 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  10. 969.51 s [opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  11. 969.51 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Doc.hs:332:22-38
  12. 969.51 s [opt-env-conf-test] @@ -329,7 +329,7 @@
  13. 969.51 s [opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
  14. 969.51 s [opt-env-conf-test] renderLongOptDocs optDocs
  15. 969.51 s [opt-env-conf-test] ]
  16. 969.51 s [opt-env-conf-test] - | not (nullDocs optDocs)
  17. 969.51 s [opt-env-conf-test] + | not (not nullDocs optDocs)
  18. 969.51 s [opt-env-conf-test] ],
  19. 969.51 s [opt-env-conf-test] concat
  20. 969.51 s [opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
  21. 969.51 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Doc.hs:323:15-16
  22. 969.51 s [opt-env-conf-test] @@ -320,11 +320,10 @@
  23. 969.51 s [opt-env-conf-test] renderSetDocs docs
  24. 969.51 s [opt-env-conf-test] ],
  25. 969.52 s [opt-env-conf-test] concat
  26. 969.52 s [opt-env-conf-test] [ [ [".Sh ", "COMMANDS"],
  27. 969.52 s [opt-env-conf-test] renderCommandDocs docs
  28. 969.52 s [opt-env-conf-test] ]
  29. 969.52 s [opt-env-conf-test] - | not (null commandDocs)
  30. 969.52 s [opt-env-conf-test] ],
  31. 969.52 s [opt-env-conf-test] concat
  32. 969.52 s [opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
  33. 969.52 s [opt-env-conf-test] renderLongOptDocs optDocs
  34. 969.52 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Doc.hs:326:22-38
  35. 969.52 s [opt-env-conf-test] @@ -323,7 +323,7 @@
  36. 969.52 s [opt-env-conf-test] [ [ [".Sh ", "COMMANDS"],
  37. 969.52 s [opt-env-conf-test] renderCommandDocs docs
  38. 969.52 s [opt-env-conf-test] ]
  39. 969.52 s [opt-env-conf-test] - | not (null commandDocs)
  40. 969.52 s [opt-env-conf-test] + | not (True)
  41. 969.52 s [opt-env-conf-test] ],
  42. 969.52 s [opt-env-conf-test] concat
  43. 969.52 s [opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
  44. 969.52 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:569:21-72
  45. 969.52 s [opt-env-conf-test] @@ -566,7 +566,6 @@
  46. 969.52 s [opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  47. 969.52 s [opt-env-conf-test] ppIndent $ go p'
  48. 969.52 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  49. 969.52 s [opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  50. 969.52 s [opt-env-conf-test] ppIndent $ do
  51. 969.52 s [opt-env-conf-test] mNewConfig <- go pc
  52. 969.52 s [opt-env-conf-test] mRes <- go pa
  53. 969.52 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Doc.hs:317:15-35
  54. 969.52 s [opt-env-conf-test] @@ -314,7 +314,6 @@
  55. 969.52 s [opt-env-conf-test] [".Nd ", chunk $ T.pack progDesc],
  56. 969.52 s [opt-env-conf-test] [".Sh ", "VERSION"],
  57. 969.52 s [opt-env-conf-test] [versionChunk version],
  58. 969.52 s [opt-env-conf-test] - [".Sh ", "SYNOPSIS"],
  59. 969.52 s [opt-env-conf-test] renderShortOptDocs progname $ docsToOptDocs docs',
  60. 969.52 s [opt-env-conf-test] [".Sh ", "SETTINGS"],
  61. 969.52 s [opt-env-conf-test] renderSetDocs docs
  62. 969.52 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:594:32-47
  63. 969.52 s [opt-env-conf-test] @@ -591,9 +591,8 @@
  64. 969.52 s [opt-env-conf-test] Just c -> do
  65. 969.52 s [opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
  66. 969.52 s [opt-env-conf-test] mRes <- go' (commandArg c : path) $ commandParser c
  67. 969.52 s [opt-env-conf-test] pure $ case mRes of
  68. 969.52 s [opt-env-conf-test] - Nothing -> Just (reverse path, commandParserDocs c)
  69. 969.52 s [opt-env-conf-test] Just res -> pure res
  70. 969.52 s [opt-env-conf-test]
  71. 969.52 s [opt-env-conf-test] newtype PP a = PP (ReaderT PPEnv (ValidationT ParseError (StateT PPState (NonDetT IO))) a)
  72. 969.52 s [opt-env-conf-test] deriving
  73. 969.53 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:553:30-37
  74. 969.53 s [opt-env-conf-test] @@ -550,9 +550,8 @@
  75. 969.53 s [opt-env-conf-test] Just a -> do
  76. 969.53 s [opt-env-conf-test] debug ["Left side succeeded."]
  77. 969.53 s [opt-env-conf-test] pure a
  78. 969.53 s [opt-env-conf-test] Nothing -> do
  79. 969.53 s [opt-env-conf-test] - debug ["Left side failed, trying right side."]
  80. 975.35 s [opt-env-conf-test] ppIndent $ go p2
  81. 975.35 s [opt-env-conf-test] ParserMany mLoc p' -> do
  82. 975.35 s [opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  83. 975.38 s [opt-env-conf-test] ppIndent $ go p'
  84. 975.38 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:568:44-43
  85. 975.38 s [opt-env-conf-test] @@ -565,12 +565,11 @@
  86. 975.38 s [opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
  87. 975.38 s [opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  88. 975.38 s [opt-env-conf-test] ppIndent $ go p'
  89. 975.38 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  90. 975.38 s [opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  91. 975.38 s [opt-env-conf-test] ppIndent $ do
  92. 975.38 s [opt-env-conf-test] mNewConfig <- go pc
  93. 975.38 s [opt-env-conf-test] mRes <- go pa
  94. 975.38 s [opt-env-conf-test] pure $ mRes <|> mNewConfig -- Reverse order
  95. 975.38 s [opt-env-conf-test] ParserSetting mLoc _ -> do
  96. 975.39 s [opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
  97. 975.39 s [opt-env-conf-test] pure Nothing
  98. 975.39 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Doc.hs:332:17-39
  99. 975.39 s [opt-env-conf-test] @@ -329,7 +329,7 @@
  100. 975.39 s [opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
  101. 975.39 s [opt-env-conf-test] renderLongOptDocs optDocs
  102. 975.39 s [opt-env-conf-test] ]
  103. 975.39 s [opt-env-conf-test] - | not (nullDocs optDocs)
  104. 975.39 s [opt-env-conf-test] + | not not (nullDocs optDocs)
  105. 975.39 s [opt-env-conf-test] ],
  106. 975.39 s [opt-env-conf-test] concat
  107. 975.39 s [opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
  108. 975.39 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Doc.hs:323:19-39
  109. 975.39 s [opt-env-conf-test] @@ -320,7 +320,6 @@
  110. 975.39 s [opt-env-conf-test] renderSetDocs docs
  111. 975.39 s [opt-env-conf-test] ],
  112. 975.39 s [opt-env-conf-test] concat
  113. 975.39 s [opt-env-conf-test] - [ [ [".Sh ", "COMMANDS"],
  114. 975.39 s [opt-env-conf-test] renderCommandDocs docs
  115. 975.39 s [opt-env-conf-test] ]
  116. 975.39 s [opt-env-conf-test] | not (null commandDocs)
  117. 975.39 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:566:21-79
  118. 975.39 s [opt-env-conf-test] @@ -563,7 +563,6 @@
  119. 975.39 s [opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  120. 975.39 s [opt-env-conf-test] ppIndent $ go p'
  121. 975.39 s [opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
  122. 975.39 s [opt-env-conf-test] - debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  123. 975.39 s [opt-env-conf-test] ppIndent $ go p'
  124. 975.39 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  125. 975.39 s [opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  126. 975.39 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:569:21-72
  127. 975.39 s [opt-env-conf-test] @@ -566,7 +566,6 @@
  128. 975.39 s [opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  129. 975.39 s [opt-env-conf-test] ppIndent $ go p'
  130. 975.39 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  131. 975.40 s [opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  132. 975.40 s [opt-env-conf-test] ppIndent $ do
  133. 975.40 s [opt-env-conf-test] mNewConfig <- go pc
  134. 975.40 s [opt-env-conf-test] mRes <- go pa
  135. 975.40 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:582:17-47
  136. 975.40 s [opt-env-conf-test] @@ -579,21 +579,10 @@
  137. 975.40 s [opt-env-conf-test] forM_ mDefault $ \d -> debug ["default:", chunk $ T.pack $ show d]
  138. 975.40 s [opt-env-conf-test] ppIndent $ do
  139. 975.40 s [opt-env-conf-test] mS <- ppArg
  140. 975.40 s [opt-env-conf-test] case mS of
  141. 975.40 s [opt-env-conf-test] Nothing -> do
  142. 975.40 s [opt-env-conf-test] debug ["No argument found for choosing a command."]
  143. 975.40 s [opt-env-conf-test] pure Nothing
  144. 975.40 s [opt-env-conf-test] - Just s -> do
  145. 975.40 s [opt-env-conf-test] - case find ((== s) . commandArg) cs of
  146. 975.40 s [opt-env-conf-test] - Nothing -> do
  147. 975.40 s [opt-env-conf-test] - debug ["Argument found, but no matching command: ", chunk $ T.pack $ show s]
  148. 975.40 s [opt-env-conf-test] - pure Nothing
  149. 975.40 s [opt-env-conf-test] - Just c -> do
  150. 975.40 s [opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
  151. 975.40 s [opt-env-conf-test] - mRes <- go' (commandArg c : path) $ commandParser c
  152. 975.40 s [opt-env-conf-test] - pure $ case mRes of
  153. 975.40 s [opt-env-conf-test] - Nothing -> Just (reverse path, commandParserDocs c)
  154. 975.40 s [opt-env-conf-test] - Just res -> pure res
  155. 975.40 s [opt-env-conf-test]
  156. 975.40 s [opt-env-conf-test] newtype PP a = PP (ReaderT PPEnv (ValidationT ParseError (StateT PPState (NonDetT IO))) a)
  157. 975.40 s [opt-env-conf-test] deriving
  158. 975.40 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:587:21-47
  159. 975.40 s [opt-env-conf-test] @@ -584,16 +584,10 @@
  160. 975.40 s [opt-env-conf-test] debug ["No argument found for choosing a command."]
  161. 975.40 s [opt-env-conf-test] pure Nothing
  162. 975.40 s [opt-env-conf-test] Just s -> do
  163. 975.40 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  164. 975.40 s [opt-env-conf-test] Nothing -> do
  165. 975.40 s [opt-env-conf-test] debug ["Argument found, but no matching command: ", chunk $ T.pack $ show s]
  166. 975.40 s [opt-env-conf-test] pure Nothing
  167. 975.40 s [opt-env-conf-test] - Just c -> do
  168. 975.40 s [opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
  169. 975.40 s [opt-env-conf-test] - mRes <- go' (commandArg c : path) $ commandParser c
  170. 975.40 s [opt-env-conf-test] - pure $ case mRes of
  171. 975.40 s [opt-env-conf-test] - Nothing -> Just (reverse path, commandParserDocs c)
  172. 975.40 s [opt-env-conf-test] - Just res -> pure res
  173. 975.40 s [opt-env-conf-test]
  174. 975.40 s [opt-env-conf-test] newtype PP a = PP (ReaderT PPEnv (ValidationT ParseError (StateT PPState (NonDetT IO))) a)
  175. 975.41 s [opt-env-conf-test] deriving
  176. 975.41 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Doc.hs:441:13-14
  177. 975.41 s [opt-env-conf-test] @@ -438,9 +438,7 @@
  178. 975.41 s [opt-env-conf-test] else withHelpDocs docs
  179. 975.41 s [opt-env-conf-test] ],
  180. 975.41 s [opt-env-conf-test] concat
  181. 975.41 s [opt-env-conf-test] - [ [ headerChunks "Available commands",
  182. 975.41 s [opt-env-conf-test] - renderCommandDocsShort docs
  183. 975.41 s [opt-env-conf-test] ]
  184. 975.41 s [opt-env-conf-test] | not (null (docsToCommandDocs docs))
  185. 975.41 s [opt-env-conf-test] ]
  186. 975.41 s [opt-env-conf-test] ]
  187. 975.41 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:582:17-47
  188. 975.41 s [opt-env-conf-test] @@ -579,21 +579,18 @@
  189. 975.41 s [opt-env-conf-test] forM_ mDefault $ \d -> debug ["default:", chunk $ T.pack $ show d]
  190. 975.41 s [opt-env-conf-test] ppIndent $ do
  191. 975.41 s [opt-env-conf-test] mS <- ppArg
  192. 975.41 s [opt-env-conf-test] case mS of
  193. 975.41 s [opt-env-conf-test] - Nothing -> do
  194. 975.41 s [opt-env-conf-test] - debug ["No argument found for choosing a command."]
  195. 975.41 s [opt-env-conf-test] - pure Nothing
  196. 975.41 s [opt-env-conf-test] Just s -> do
  197. 975.41 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  198. 975.41 s [opt-env-conf-test] Nothing -> do
  199. 975.41 s [opt-env-conf-test] debug ["Argument found, but no matching command: ", chunk $ T.pack $ show s]
  200. 975.41 s [opt-env-conf-test] pure Nothing
  201. 975.41 s [opt-env-conf-test] Just c -> do
  202. 975.41 s [opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
  203. 975.41 s [opt-env-conf-test] mRes <- go' (commandArg c : path) $ commandParser c
  204. 975.41 s [opt-env-conf-test] pure $ case mRes of
  205. 975.41 s [opt-env-conf-test] Nothing -> Just (reverse path, commandParserDocs c)
  206. 975.41 s [opt-env-conf-test] Just res -> pure res
  207. 975.41 s [opt-env-conf-test]
  208. 975.41 s [opt-env-conf-test] newtype PP a = PP (ReaderT PPEnv (ValidationT ParseError (StateT PPState (NonDetT IO))) a)
  209. 975.41 s [opt-env-conf-test] deriving
  210. 975.41 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:594:32-47
  211. 975.41 s [opt-env-conf-test] @@ -591,9 +591,8 @@
  212. 975.41 s [opt-env-conf-test] Just c -> do
  213. 975.41 s [opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
  214. 975.41 s [opt-env-conf-test] mRes <- go' (commandArg c : path) $ commandParser c
  215. 975.41 s [opt-env-conf-test] pure $ case mRes of
  216. 975.41 s [opt-env-conf-test] Nothing -> Just (reverse path, commandParserDocs c)
  217. 975.41 s [opt-env-conf-test] - Just res -> pure res
  218. 975.41 s [opt-env-conf-test]
  219. 975.41 s [opt-env-conf-test] newtype PP a = PP (ReaderT PPEnv (ValidationT ParseError (StateT PPState (NonDetT IO))) a)
  220. 975.41 s [opt-env-conf-test] deriving
  221. 975.41 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:587:21-47
  222. 975.41 s [opt-env-conf-test] @@ -584,16 +584,13 @@
  223. 975.42 s [opt-env-conf-test] debug ["No argument found for choosing a command."]
  224. 975.42 s [opt-env-conf-test] pure Nothing
  225. 975.42 s [opt-env-conf-test] Just s -> do
  226. 975.42 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  227. 975.42 s [opt-env-conf-test] - Nothing -> do
  228. 975.42 s [opt-env-conf-test] - debug ["Argument found, but no matching command: ", chunk $ T.pack $ show s]
  229. 975.42 s [opt-env-conf-test] - pure Nothing
  230. 975.42 s [opt-env-conf-test] Just c -> do
  231. 975.42 s [opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
  232. 975.42 s [opt-env-conf-test] mRes <- go' (commandArg c : path) $ commandParser c
  233. 975.42 s [opt-env-conf-test] pure $ case mRes of
  234. 975.42 s [opt-env-conf-test] Nothing -> Just (reverse path, commandParserDocs c)
  235. 975.42 s [opt-env-conf-test] Just res -> pure res
  236. 975.42 s [opt-env-conf-test]
  237. 975.42 s [opt-env-conf-test] newtype PP a = PP (ReaderT PPEnv (ValidationT ParseError (StateT PPState (NonDetT IO))) a)
  238. 975.42 s [opt-env-conf-test] deriving
  239. 975.42 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:535:35-33
  240. 975.42 s [opt-env-conf-test] @@ -532,12 +532,11 @@
  241. 975.42 s [opt-env-conf-test] mf <- go ff
  242. 975.42 s [opt-env-conf-test] ma <- go fa
  243. 975.42 s [opt-env-conf-test] pure $ ma <|> mf -- Reverse order
  244. 975.42 s [opt-env-conf-test] ParserSelect fe ff -> do
  245. 975.42 s [opt-env-conf-test] - debug [syntaxChunk "Select"]
  246. 975.42 s [opt-env-conf-test] ppIndent $ do
  247. 975.42 s [opt-env-conf-test] me <- go fe
  248. 975.42 s [opt-env-conf-test] mf <- go ff
  249. 975.42 s [opt-env-conf-test] pure $ mf <|> me -- Reverse order
  250. 975.42 s [opt-env-conf-test] ParserEmpty mLoc -> do
  251. 982.56 s [opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  252. 982.58 s [opt-env-conf-test] pure Nothing
  253. 982.58 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Doc.hs:323:17-18
  254. 982.58 s [opt-env-conf-test] @@ -320,9 +320,8 @@
  255. 982.58 s [opt-env-conf-test] renderSetDocs docs
  256. 982.58 s [opt-env-conf-test] ],
  257. 982.58 s [opt-env-conf-test] concat
  258. 982.58 s [opt-env-conf-test] - [ [ [".Sh ", "COMMANDS"],
  259. 982.58 s [opt-env-conf-test] renderCommandDocs docs
  260. 982.58 s [opt-env-conf-test] ]
  261. 982.58 s [opt-env-conf-test] | not (null commandDocs)
  262. 982.58 s [opt-env-conf-test] ],
  263. 982.58 s [opt-env-conf-test] concat
  264. 982.58 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Doc.hs:332:17-39
  265. 982.58 s [opt-env-conf-test] @@ -329,7 +329,7 @@
  266. 982.58 s [opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
  267. 982.58 s [opt-env-conf-test] renderLongOptDocs optDocs
  268. 982.58 s [opt-env-conf-test] ]
  269. 982.58 s [opt-env-conf-test] - | not (nullDocs optDocs)
  270. 982.58 s [opt-env-conf-test] + | True
  271. 982.58 s [opt-env-conf-test] ],
  272. 982.59 s [opt-env-conf-test] concat
  273. 982.59 s [opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
  274. 982.59 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Doc.hs:436:16-32
  275. 982.59 s [opt-env-conf-test] @@ -433,7 +433,7 @@
  276. 982.59 s [opt-env-conf-test] ],
  277. 982.59 s [opt-env-conf-test] [ headerChunks "Available settings",
  278. 982.59 s [opt-env-conf-test] renderSetDocs $
  279. 982.59 s [opt-env-conf-test] - if null commandPath
  280. 982.59 s [opt-env-conf-test] + if False
  281. 982.59 s [opt-env-conf-test] then withHelpAndVersionDocs mVersion docs
  282. 982.59 s [opt-env-conf-test] else withHelpDocs docs
  283. 982.59 s [opt-env-conf-test] ],
  284. 982.59 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:569:21-72
  285. 982.59 s [opt-env-conf-test] @@ -566,7 +566,6 @@
  286. 982.59 s [opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  287. 982.59 s [opt-env-conf-test] ppIndent $ go p'
  288. 982.59 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  289. 982.59 s [opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  290. 982.59 s [opt-env-conf-test] ppIndent $ do
  291. 982.59 s [opt-env-conf-test] mNewConfig <- go pc
  292. 982.59 s [opt-env-conf-test] mRes <- go pa
  293. 982.59 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:485:20-25
  294. 982.59 s [opt-env-conf-test] @@ -482,9 +482,8 @@
  295. 982.59 s [opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
  296. 982.59 s [opt-env-conf-test] tryReaders rs s = left NE.reverse $ go rs
  297. 982.59 s [opt-env-conf-test] where
  298. 982.59 s [opt-env-conf-test] go (r :| rl) = case runReader r s of
  299. 982.59 s [opt-env-conf-test] - Left err -> go' (err :| []) rl
  300. 982.59 s [opt-env-conf-test] Right a -> Right a
  301. 982.59 s [opt-env-conf-test] go' errs = \case
  302. 982.59 s [opt-env-conf-test] [] -> Left errs
  303. 982.59 s [opt-env-conf-test] (r : rl) -> case runReader r s of
  304. 982.59 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Doc.hs:323:17-18
  305. 982.59 s [opt-env-conf-test] @@ -320,9 +320,7 @@
  306. 982.59 s [opt-env-conf-test] renderSetDocs docs
  307. 982.59 s [opt-env-conf-test] ],
  308. 982.59 s [opt-env-conf-test] concat
  309. 982.59 s [opt-env-conf-test] - [ [ [".Sh ", "COMMANDS"],
  310. 982.59 s [opt-env-conf-test] - renderCommandDocs docs
  311. 982.59 s [opt-env-conf-test] ]
  312. 982.59 s [opt-env-conf-test] | not (null commandDocs)
  313. 982.59 s [opt-env-conf-test] ],
  314. 982.59 s [opt-env-conf-test] concat
  315. 982.59 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:485:20-25
  316. 982.59 s [opt-env-conf-test] @@ -482,9 +482,8 @@
  317. 982.59 s [opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
  318. 982.59 s [opt-env-conf-test] tryReaders rs s = left NE.reverse $ go rs
  319. 982.59 s [opt-env-conf-test] where
  320. 982.59 s [opt-env-conf-test] go (r :| rl) = case runReader r s of
  321. 982.59 s [opt-env-conf-test] Left err -> go' (err :| []) rl
  322. 982.59 s [opt-env-conf-test] - Right a -> Right a
  323. 982.59 s [opt-env-conf-test] go' errs = \case
  324. 982.60 s [opt-env-conf-test] [] -> Left errs
  325. 982.60 s [opt-env-conf-test] (r : rl) -> case runReader r s of
  326. 982.60 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:463:3-20
  327. 982.60 s [opt-env-conf-test] @@ -460,13 +460,8 @@
  328. 982.60 s [opt-env-conf-test] PP a ->
  329. 982.60 s [opt-env-conf-test] PP a
  330. 982.60 s [opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities func =
  331. 982.60 s [opt-env-conf-test] case missingCapabilities capabilities requiredCapabilities of
  332. 982.60 s [opt-env-conf-test] - Just missings -> do
  333. 982.60 s [opt-env-conf-test] - debug $
  334. 982.60 s [opt-env-conf-test] - "Missing capabilities: "
  335. 982.60 s [opt-env-conf-test] - : capabilitiesChunks (Set.fromList (NE.toList missings))
  336. 982.60 s [opt-env-conf-test] - ppErrors mLoc $ NE.map ParseErrorMissingCapability missings
  337. 982.60 s [opt-env-conf-test] Nothing -> func
  338. 982.60 s [opt-env-conf-test]
  339. 982.60 s [opt-env-conf-test] data ParseResult a
  340. 982.60 s [opt-env-conf-test] = NotRun
  341. 982.60 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:490:19-27
  342. 982.60 s [opt-env-conf-test] @@ -487,9 +487,8 @@
  343. 982.60 s [opt-env-conf-test] Right a -> Right a
  344. 982.60 s [opt-env-conf-test] go' errs = \case
  345. 982.60 s [opt-env-conf-test] [] -> Left errs
  346. 982.60 s [opt-env-conf-test] (r : rl) -> case runReader r s of
  347. 982.60 s [opt-env-conf-test] Left err -> go' (err <| errs) rl
  348. 982.60 s [opt-env-conf-test] - Right a -> Right a
  349. 982.60 s [opt-env-conf-test]
  350. 982.60 s [opt-env-conf-test] runHelpParser ::
  351. 982.60 s [opt-env-conf-test] -- DebugMode
  352. 982.60 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Doc.hs:579:25-39
  353. 982.60 s [opt-env-conf-test] @@ -576,7 +576,7 @@
  354. 982.60 s [opt-env-conf-test] indent $ concatMap renderSetDocWithoutHeader $ d : sds,
  355. 982.60 s [opt-env-conf-test] [[]]
  356. 982.60 s [opt-env-conf-test] ]
  357. 982.60 s [opt-env-conf-test] - | not isTopLevel
  358. 982.60 s [opt-env-conf-test] + | True
  359. 982.60 s [opt-env-conf-test] ],
  360. 982.60 s [opt-env-conf-test] goOr isTopLevel rest
  361. 982.60 s [opt-env-conf-test] ]
  362. 982.60 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:464:22-66
  363. 982.60 s [opt-env-conf-test] @@ -461,11 +461,8 @@
  364. 982.60 s [opt-env-conf-test] PP a
  365. 982.60 s [opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities func =
  366. 982.60 s [opt-env-conf-test] case missingCapabilities capabilities requiredCapabilities of
  367. 982.60 s [opt-env-conf-test] Just missings -> do
  368. 982.60 s [opt-env-conf-test] - debug $
  369. 982.60 s [opt-env-conf-test] - "Missing capabilities: "
  370. 982.60 s [opt-env-conf-test] - : capabilitiesChunks (Set.fromList (NE.toList missings))
  371. 982.60 s [opt-env-conf-test] ppErrors mLoc $ NE.map ParseErrorMissingCapability missings
  372. 982.60 s [opt-env-conf-test] Nothing -> func
  373. 982.60 s [opt-env-conf-test]
  374. 982.60 s [opt-env-conf-test] data ParseResult a
  375. 982.60 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:477:21-21
  376. 982.60 s [opt-env-conf-test] @@ -474,9 +474,8 @@
  377. 982.60 s [opt-env-conf-test] | Found a
  378. 982.60 s [opt-env-conf-test]
  379. 982.60 s [opt-env-conf-test] requireReaders :: [Reader a] -> PP (NonEmpty (Reader a))
  380. 982.60 s [opt-env-conf-test] requireReaders rs = case NE.nonEmpty rs of
  381. 982.60 s [opt-env-conf-test] - Nothing -> ppError Nothing ParseErrorNoReaders
  382. 982.60 s [opt-env-conf-test] Just ne -> pure ne
  383. 982.60 s [opt-env-conf-test]
  384. 982.60 s [opt-env-conf-test] -- Try the readers in order
  385. 982.60 s [opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
  386. 982.60 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:477:21-21
  387. 982.60 s [opt-env-conf-test] @@ -474,9 +474,8 @@
  388. 982.60 s [opt-env-conf-test] | Found a
  389. 982.60 s [opt-env-conf-test]
  390. 982.60 s [opt-env-conf-test] requireReaders :: [Reader a] -> PP (NonEmpty (Reader a))
  391. 982.60 s [opt-env-conf-test] requireReaders rs = case NE.nonEmpty rs of
  392. 982.60 s [opt-env-conf-test] Nothing -> ppError Nothing ParseErrorNoReaders
  393. 982.60 s [opt-env-conf-test] - Just ne -> pure ne
  394. 982.60 s [opt-env-conf-test]
  395. 982.60 s [opt-env-conf-test] -- Try the readers in order
  396. 982.60 s [opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
  397. 982.60 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:101:41-43
  398. 982.60 s [opt-env-conf-test] @@ -98,9 +98,8 @@
  399. 982.60 s [opt-env-conf-test] Nothing -> eraseErrorSrcLocs
  400. 982.60 s [opt-env-conf-test] Just _ -> id
  401. 982.60 s [opt-env-conf-test] in f firstErrors
  402. 982.60 s [opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
  403. 982.60 s [opt-env-conf-test] - Success a -> pure (Right a)
  404. 982.60 s [opt-env-conf-test] Failure _ -> goNexts ns'
  405. 982.60 s [opt-env-conf-test] in goNexts nexts
  406. 982.60 s [opt-env-conf-test] where
  407. 982.60 s [opt-env-conf-test] go ::
  408. 982.60 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:84:3-26
  409. 982.60 s [opt-env-conf-test] @@ -81,27 +81,8 @@
  410. 982.60 s [opt-env-conf-test] Nothing -> pure result
  411. 982.60 s [opt-env-conf-test] Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
  412. 982.60 s [opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
  413. 982.60 s [opt-env-conf-test] case mTup of
  414. 982.60 s [opt-env-conf-test] Nothing -> error "TODO figure out when this list can be empty"
  415. 982.60 s [opt-env-conf-test] - Just ((errOrRes, _), nexts) -> case errOrRes of
  416. 982.60 s [opt-env-conf-test] - Success a -> pure (Right a)
  417. 982.60 s [opt-env-conf-test] - Failure firstErrors ->
  418. 982.60 s [opt-env-conf-test] - let goNexts ns = do
  419. 982.60 s [opt-env-conf-test] - -- TODO: Consider keeping around all errors?
  420. 982.60 s [opt-env-conf-test] - mNext <- runNonDetTLazy ns
  421. 982.60 s [opt-env-conf-test] - case mNext of
  422. 982.60 s [opt-env-conf-test] - Nothing ->
  423. 982.60 s [opt-env-conf-test] - pure $
  424. 982.60 s [opt-env-conf-test] - Left $
  425. 982.60 s [opt-env-conf-test] - -- Only show source locations in debug mode.
  426. 982.60 s [opt-env-conf-test] - let f = case mDebugMode of
  427. 982.60 s [opt-env-conf-test] - Nothing -> eraseErrorSrcLocs
  428. 982.60 s [opt-env-conf-test] - Just _ -> id
  429. 982.60 s [opt-env-conf-test] - in f firstErrors
  430. 982.60 s [opt-env-conf-test] - Just ((eOR, _), ns') -> case eOR of
  431. 982.60 s [opt-env-conf-test] - Success a -> pure (Right a)
  432. 982.60 s [opt-env-conf-test] - Failure _ -> goNexts ns'
  433. 982.60 s [opt-env-conf-test] - in goNexts nexts
  434. 982.60 s [opt-env-conf-test] where
  435. 982.60 s [opt-env-conf-test] go ::
  436. 982.60 s [opt-env-conf-test] Parser a ->
  437. 982.60 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:86:36-26
  438. 982.60 s [opt-env-conf-test] @@ -83,25 +83,24 @@
  439. 982.60 s [opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
  440. 982.60 s [opt-env-conf-test] case mTup of
  441. 982.60 s [opt-env-conf-test] Nothing -> error "TODO figure out when this list can be empty"
  442. 982.60 s [opt-env-conf-test] Just ((errOrRes, _), nexts) -> case errOrRes of
  443. 982.61 s [opt-env-conf-test] - Success a -> pure (Right a)
  444. 982.61 s [opt-env-conf-test] Failure firstErrors ->
  445. 982.61 s [opt-env-conf-test] let goNexts ns = do
  446. 982.61 s [opt-env-conf-test] -- TODO: Consider keeping around all errors?
  447. 982.61 s [opt-env-conf-test] mNext <- runNonDetTLazy ns
  448. 982.61 s [opt-env-conf-test] case mNext of
  449. 982.61 s [opt-env-conf-test] Nothing ->
  450. 982.61 s [opt-env-conf-test] pure $
  451. 982.61 s [opt-env-conf-test] Left $
  452. 982.61 s [opt-env-conf-test] -- Only show source locations in debug mode.
  453. 982.61 s [opt-env-conf-test] let f = case mDebugMode of
  454. 982.61 s [opt-env-conf-test] Nothing -> eraseErrorSrcLocs
  455. 982.61 s [opt-env-conf-test] Just _ -> id
  456. 982.61 s [opt-env-conf-test] in f firstErrors
  457. 982.61 s [opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
  458. 982.61 s [opt-env-conf-test] Success a -> pure (Right a)
  459. 982.61 s [opt-env-conf-test] Failure _ -> goNexts ns'
  460. 982.61 s [opt-env-conf-test] in goNexts nexts
  461. 982.61 s [opt-env-conf-test] where
  462. 982.61 s [opt-env-conf-test] go ::
  463. 982.61 s [opt-env-conf-test] Parser a ->
  464. 982.61 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:113:25-35
  465. 982.61 s [opt-env-conf-test] @@ -110,9 +110,8 @@
  466. 989.43 s [opt-env-conf-test] ParserPure a -> do
  467. 989.43 s [opt-env-conf-test] debug [syntaxChunk "pure value"]
  468. 989.43 s [opt-env-conf-test] pure a
  469. 989.46 s [opt-env-conf-test] ParserAp ff fa -> do
  470. 989.46 s [opt-env-conf-test] - debug [syntaxChunk "Ap"]
  471. 989.46 s [opt-env-conf-test] ppIndent $ go ff <*> go fa
  472. 989.46 s [opt-env-conf-test] ParserEmpty mLoc -> do
  473. 989.46 s [opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  474. 989.46 s [opt-env-conf-test] ppError mLoc ParseErrorEmpty
  475. 989.46 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:117:15-61
  476. 989.46 s [opt-env-conf-test] @@ -114,7 +114,6 @@
  477. 989.46 s [opt-env-conf-test] debug [syntaxChunk "Ap"]
  478. 989.46 s [opt-env-conf-test] ppIndent $ go ff <*> go fa
  479. 989.46 s [opt-env-conf-test] ParserEmpty mLoc -> do
  480. 989.46 s [opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  481. 989.46 s [opt-env-conf-test] ppError mLoc ParseErrorEmpty
  482. 989.46 s [opt-env-conf-test] ParserSelect fe ff -> do
  483. 989.46 s [opt-env-conf-test] debug [syntaxChunk "Select"]
  484. 989.46 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:101:41-43
  485. 989.46 s [opt-env-conf-test] @@ -98,9 +98,8 @@
  486. 989.46 s [opt-env-conf-test] Nothing -> eraseErrorSrcLocs
  487. 989.46 s [opt-env-conf-test] Just _ -> id
  488. 989.46 s [opt-env-conf-test] in f firstErrors
  489. 989.46 s [opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
  490. 989.46 s [opt-env-conf-test] Success a -> pure (Right a)
  491. 989.46 s [opt-env-conf-test] - Failure _ -> goNexts ns'
  492. 989.46 s [opt-env-conf-test] in goNexts nexts
  493. 989.46 s [opt-env-conf-test] where
  494. 989.46 s [opt-env-conf-test] go ::
  495. 989.46 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:86:36-26
  496. 989.46 s [opt-env-conf-test] @@ -83,25 +83,8 @@
  497. 989.46 s [opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
  498. 989.46 s [opt-env-conf-test] case mTup of
  499. 989.46 s [opt-env-conf-test] Nothing -> error "TODO figure out when this list can be empty"
  500. 989.46 s [opt-env-conf-test] Just ((errOrRes, _), nexts) -> case errOrRes of
  501. 989.46 s [opt-env-conf-test] Success a -> pure (Right a)
  502. 989.46 s [opt-env-conf-test] - Failure firstErrors ->
  503. 989.46 s [opt-env-conf-test] - let goNexts ns = do
  504. 989.46 s [opt-env-conf-test] - -- TODO: Consider keeping around all errors?
  505. 989.46 s [opt-env-conf-test] - mNext <- runNonDetTLazy ns
  506. 989.46 s [opt-env-conf-test] - case mNext of
  507. 989.46 s [opt-env-conf-test] - Nothing ->
  508. 989.46 s [opt-env-conf-test] - pure $
  509. 989.46 s [opt-env-conf-test] - Left $
  510. 989.46 s [opt-env-conf-test] - -- Only show source locations in debug mode.
  511. 989.46 s [opt-env-conf-test] - let f = case mDebugMode of
  512. 989.46 s [opt-env-conf-test] - Nothing -> eraseErrorSrcLocs
  513. 989.47 s [opt-env-conf-test] - Just _ -> id
  514. 989.47 s [opt-env-conf-test] - in f firstErrors
  515. 989.47 s [opt-env-conf-test] - Just ((eOR, _), ns') -> case eOR of
  516. 989.47 s [opt-env-conf-test] - Success a -> pure (Right a)
  517. 989.47 s [opt-env-conf-test] - Failure _ -> goNexts ns'
  518. 989.47 s [opt-env-conf-test] - in goNexts nexts
  519. 989.47 s [opt-env-conf-test] where
  520. 989.47 s [opt-env-conf-test] go ::
  521. 989.47 s [opt-env-conf-test] Parser a ->
  522. 989.47 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:97:31-41
  523. 989.47 s [opt-env-conf-test] @@ -94,9 +94,8 @@
  524. 989.47 s [opt-env-conf-test] pure $
  525. 989.47 s [opt-env-conf-test] Left $
  526. 989.47 s [opt-env-conf-test] -- Only show source locations in debug mode.
  527. 989.47 s [opt-env-conf-test] let f = case mDebugMode of
  528. 989.47 s [opt-env-conf-test] Nothing -> eraseErrorSrcLocs
  529. 989.47 s [opt-env-conf-test] - Just _ -> id
  530. 989.47 s [opt-env-conf-test] in f firstErrors
  531. 989.47 s [opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
  532. 989.47 s [opt-env-conf-test] Success a -> pure (Right a)
  533. 989.47 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:92:15-43
  534. 989.47 s [opt-env-conf-test] @@ -89,18 +89,10 @@
  535. 989.47 s [opt-env-conf-test] let goNexts ns = do
  536. 989.47 s [opt-env-conf-test] -- TODO: Consider keeping around all errors?
  537. 989.47 s [opt-env-conf-test] mNext <- runNonDetTLazy ns
  538. 989.47 s [opt-env-conf-test] case mNext of
  539. 989.47 s [opt-env-conf-test] - Nothing ->
  540. 989.47 s [opt-env-conf-test] - pure $
  541. 989.47 s [opt-env-conf-test] - Left $
  542. 989.47 s [opt-env-conf-test] - -- Only show source locations in debug mode.
  543. 989.47 s [opt-env-conf-test] - let f = case mDebugMode of
  544. 989.47 s [opt-env-conf-test] - Nothing -> eraseErrorSrcLocs
  545. 989.47 s [opt-env-conf-test] - Just _ -> id
  546. 989.48 s [opt-env-conf-test] - in f firstErrors
  547. 989.48 s [opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
  548. 989.48 s [opt-env-conf-test] Success a -> pure (Right a)
  549. 989.48 s [opt-env-conf-test] Failure _ -> goNexts ns'
  550. 989.48 s [opt-env-conf-test] in goNexts nexts
  551. 989.48 s [opt-env-conf-test] where
  552. 989.48 s [opt-env-conf-test] go ::
  553. 989.48 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:80:9-79
  554. 989.48 s [opt-env-conf-test] @@ -77,9 +77,8 @@
  555. 989.48 s [opt-env-conf-test] let go' = do
  556. 989.48 s [opt-env-conf-test] result <- go parser
  557. 989.48 s [opt-env-conf-test] leftoverArgs <- gets ppStateArgs
  558. 989.48 s [opt-env-conf-test] case recogniseLeftovers leftoverArgs of
  559. 989.48 s [opt-env-conf-test] - Nothing -> pure result
  560. 989.48 s [opt-env-conf-test] Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
  561. 989.48 s [opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
  562. 989.48 s [opt-env-conf-test] case mTup of
  563. 989.48 s [opt-env-conf-test] Nothing -> error "TODO figure out when this list can be empty"
  564. 989.48 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:80:9-79
  565. 989.48 s [opt-env-conf-test] @@ -77,9 +77,8 @@
  566. 989.48 s [opt-env-conf-test] let go' = do
  567. 989.48 s [opt-env-conf-test] result <- go parser
  568. 989.48 s [opt-env-conf-test] leftoverArgs <- gets ppStateArgs
  569. 989.48 s [opt-env-conf-test] case recogniseLeftovers leftoverArgs of
  570. 989.48 s [opt-env-conf-test] Nothing -> pure result
  571. 989.48 s [opt-env-conf-test] - Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
  572. 989.48 s [opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
  573. 989.48 s [opt-env-conf-test] case mTup of
  574. 989.48 s [opt-env-conf-test] Nothing -> error "TODO figure out when this list can be empty"
  575. 989.48 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Run.hs:75:27-28
  576. 989.48 s [opt-env-conf-test] @@ -72,7 +72,7 @@
  577. 989.48 s [opt-env-conf-test] { ppEnvEnv = envVars,
  578. 989.48 s [opt-env-conf-test] ppEnvConf = mConfig,
  579. 989.48 s [opt-env-conf-test] ppEnvDebug = mDebugMode,
  580. 989.48 s [opt-env-conf-test] - ppEnvIndent = 0
  581. 989.48 s [opt-env-conf-test] + ppEnvIndent = 1
  582. 989.48 s [opt-env-conf-test] }
  583. 989.48 s [opt-env-conf-test] let go' = do
  584. 989.48 s [opt-env-conf-test] result <- go parser
  585. 989.48 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:119:29-42
  586. 989.48 s [opt-env-conf-test] @@ -116,9 +116,8 @@
  587. 989.48 s [opt-env-conf-test] ParserEmpty mLoc -> do
  588. 989.48 s [opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  589. 989.48 s [opt-env-conf-test] ppError mLoc ParseErrorEmpty
  590. 989.48 s [opt-env-conf-test] ParserSelect fe ff -> do
  591. 989.48 s [opt-env-conf-test] - debug [syntaxChunk "Select"]
  592. 989.48 s [opt-env-conf-test] ppIndent $ select (go fe) (go ff)
  593. 989.48 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  594. 989.48 s [opt-env-conf-test] debug [syntaxChunk "Alt"]
  595. 989.48 s [opt-env-conf-test] ppIndent $ do
  596. 989.48 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:463:3-20
  597. 989.48 s [opt-env-conf-test] @@ -460,13 +460,12 @@
  598. 989.48 s [opt-env-conf-test] PP a ->
  599. 989.48 s [opt-env-conf-test] PP a
  600. 989.48 s [opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities func =
  601. 989.48 s [opt-env-conf-test] case missingCapabilities capabilities requiredCapabilities of
  602. 989.48 s [opt-env-conf-test] Just missings -> do
  603. 989.48 s [opt-env-conf-test] debug $
  604. 989.48 s [opt-env-conf-test] "Missing capabilities: "
  605. 989.48 s [opt-env-conf-test] : capabilitiesChunks (Set.fromList (NE.toList missings))
  606. 989.48 s [opt-env-conf-test] ppErrors mLoc $ NE.map ParseErrorMissingCapability missings
  607. 989.48 s [opt-env-conf-test] - Nothing -> func
  608. 989.48 s [opt-env-conf-test]
  609. 989.48 s [opt-env-conf-test] data ParseResult a
  610. 989.48 s [opt-env-conf-test] = NotRun
  611. 989.48 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:131:24-31
  612. 989.48 s [opt-env-conf-test] @@ -128,9 +128,8 @@
  613. 989.48 s [opt-env-conf-test] Just a -> do
  614. 989.48 s [opt-env-conf-test] debug ["Left side succeeded."]
  615. 989.48 s [opt-env-conf-test] pure a
  616. 989.48 s [opt-env-conf-test] Nothing -> do
  617. 989.48 s [opt-env-conf-test] - debug ["Left side failed, trying right side."]
  618. 989.48 s [opt-env-conf-test] ppIndent $ go p2
  619. 989.49 s [opt-env-conf-test] ParserMany mLoc p' -> do
  620. 989.49 s [opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  621. 989.49 s [opt-env-conf-test] ppIndent $ do
  622. 989.49 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:84:3-26
  623. 989.49 s [opt-env-conf-test] @@ -81,27 +81,26 @@
  624. 989.49 s [opt-env-conf-test] Nothing -> pure result
  625. 989.49 s [opt-env-conf-test] Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
  626. 989.49 s [opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
  627. 989.49 s [opt-env-conf-test] case mTup of
  628. 989.49 s [opt-env-conf-test] - Nothing -> error "TODO figure out when this list can be empty"
  629. 989.49 s [opt-env-conf-test] Just ((errOrRes, _), nexts) -> case errOrRes of
  630. 989.49 s [opt-env-conf-test] Success a -> pure (Right a)
  631. 989.49 s [opt-env-conf-test] Failure firstErrors ->
  632. 989.49 s [opt-env-conf-test] let goNexts ns = do
  633. 989.49 s [opt-env-conf-test] -- TODO: Consider keeping around all errors?
  634. 989.49 s [opt-env-conf-test] mNext <- runNonDetTLazy ns
  635. 989.49 s [opt-env-conf-test] case mNext of
  636. 989.49 s [opt-env-conf-test] Nothing ->
  637. 989.49 s [opt-env-conf-test] pure $
  638. 989.49 s [opt-env-conf-test] Left $
  639. 989.49 s [opt-env-conf-test] -- Only show source locations in debug mode.
  640. 989.49 s [opt-env-conf-test] let f = case mDebugMode of
  641. 989.49 s [opt-env-conf-test] Nothing -> eraseErrorSrcLocs
  642. 989.49 s [opt-env-conf-test] Just _ -> id
  643. 989.49 s [opt-env-conf-test] in f firstErrors
  644. 989.49 s [opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
  645. 989.49 s [opt-env-conf-test] Success a -> pure (Right a)
  646. 989.49 s [opt-env-conf-test] Failure _ -> goNexts ns'
  647. 989.49 s [opt-env-conf-test] in goNexts nexts
  648. 989.49 s [opt-env-conf-test] where
  649. 989.49 s [opt-env-conf-test] go ::
  650. 989.49 s [opt-env-conf-test] Parser a ->
  651. 989.49 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:127:11-31
  652. 989.49 s [opt-env-conf-test] @@ -124,13 +124,10 @@
  653. 989.49 s [opt-env-conf-test] ppIndent $ do
  654. 989.49 s [opt-env-conf-test] debug ["Trying left side."]
  655. 989.49 s [opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
  656. 989.49 s [opt-env-conf-test] case eor of
  657. 989.49 s [opt-env-conf-test] - Just a -> do
  658. 989.49 s [opt-env-conf-test] - debug ["Left side succeeded."]
  659. 989.49 s [opt-env-conf-test] - pure a
  660. 989.49 s [opt-env-conf-test] Nothing -> do
  661. 989.49 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  662. 989.49 s [opt-env-conf-test] ppIndent $ go p2
  663. 989.49 s [opt-env-conf-test] ParserMany mLoc p' -> do
  664. 989.49 s [opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  665. 989.49 s [opt-env-conf-test] ppIndent $ do
  666. 989.49 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:97:31-41
  667. 989.49 s [opt-env-conf-test] @@ -94,9 +94,8 @@
  668. 989.49 s [opt-env-conf-test] pure $
  669. 989.49 s [opt-env-conf-test] Left $
  670. 997.82 s [opt-env-conf-test] -- Only show source locations in debug mode.
  671. 997.85 s [opt-env-conf-test] let f = case mDebugMode of
  672. 997.85 s [opt-env-conf-test] - Nothing -> eraseErrorSrcLocs
  673. 997.85 s [opt-env-conf-test] Just _ -> id
  674. 997.85 s [opt-env-conf-test] in f firstErrors
  675. 997.85 s [opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
  676. 997.85 s [opt-env-conf-test] Success a -> pure (Right a)
  677. 997.85 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:127:11-31
  678. 997.85 s [opt-env-conf-test] @@ -124,13 +124,10 @@
  679. 997.85 s [opt-env-conf-test] ppIndent $ do
  680. 997.85 s [opt-env-conf-test] debug ["Trying left side."]
  681. 997.85 s [opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
  682. 997.85 s [opt-env-conf-test] case eor of
  683. 997.85 s [opt-env-conf-test] Just a -> do
  684. 997.86 s [opt-env-conf-test] debug ["Left side succeeded."]
  685. 997.86 s [opt-env-conf-test] pure a
  686. 997.86 s [opt-env-conf-test] - Nothing -> do
  687. 997.86 s [opt-env-conf-test] - debug ["Left side failed, trying right side."]
  688. 997.86 s [opt-env-conf-test] - ppIndent $ go p2
  689. 997.86 s [opt-env-conf-test] ParserMany mLoc p' -> do
  690. 997.86 s [opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  691. 997.86 s [opt-env-conf-test] ppIndent $ do
  692. 997.86 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:122:26-31
  693. 997.86 s [opt-env-conf-test] @@ -119,18 +119,17 @@
  694. 997.86 s [opt-env-conf-test] ParserSelect fe ff -> do
  695. 997.86 s [opt-env-conf-test] debug [syntaxChunk "Select"]
  696. 997.86 s [opt-env-conf-test] ppIndent $ select (go fe) (go ff)
  697. 997.86 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  698. 997.86 s [opt-env-conf-test] - debug [syntaxChunk "Alt"]
  699. 997.86 s [opt-env-conf-test] ppIndent $ do
  700. 997.86 s [opt-env-conf-test] debug ["Trying left side."]
  701. 997.86 s [opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
  702. 997.86 s [opt-env-conf-test] case eor of
  703. 997.86 s [opt-env-conf-test] Just a -> do
  704. 997.86 s [opt-env-conf-test] debug ["Left side succeeded."]
  705. 997.86 s [opt-env-conf-test] pure a
  706. 997.86 s [opt-env-conf-test] Nothing -> do
  707. 997.86 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  708. 997.86 s [opt-env-conf-test] ppIndent $ go p2
  709. 997.86 s [opt-env-conf-test] ParserMany mLoc p' -> do
  710. 997.86 s [opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  711. 997.86 s [opt-env-conf-test] ppIndent $ do
  712. 997.86 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:117:15-61
  713. 997.86 s [opt-env-conf-test] @@ -114,7 +114,6 @@
  714. 997.86 s [opt-env-conf-test] debug [syntaxChunk "Ap"]
  715. 997.86 s [opt-env-conf-test] ppIndent $ go ff <*> go fa
  716. 997.86 s [opt-env-conf-test] ParserEmpty mLoc -> do
  717. 997.86 s [opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  718. 997.86 s [opt-env-conf-test] ppError mLoc ParseErrorEmpty
  719. 997.86 s [opt-env-conf-test] ParserSelect fe ff -> do
  720. 997.86 s [opt-env-conf-test] debug [syntaxChunk "Select"]
  721. 997.86 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:116:27-37
  722. 997.86 s [opt-env-conf-test] @@ -113,9 +113,8 @@
  723. 997.86 s [opt-env-conf-test] ParserAp ff fa -> do
  724. 997.87 s [opt-env-conf-test] debug [syntaxChunk "Ap"]
  725. 997.87 s [opt-env-conf-test] ppIndent $ go ff <*> go fa
  726. 997.87 s [opt-env-conf-test] ParserEmpty mLoc -> do
  727. 997.87 s [opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  728. 997.87 s [opt-env-conf-test] ppError mLoc ParseErrorEmpty
  729. 997.87 s [opt-env-conf-test] ParserSelect fe ff -> do
  730. 997.87 s [opt-env-conf-test] debug [syntaxChunk "Select"]
  731. 997.87 s [opt-env-conf-test] ppIndent $ select (go fe) (go ff)
  732. 997.87 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:117:15-61
  733. 997.87 s [opt-env-conf-test] @@ -114,7 +114,6 @@
  734. 997.87 s [opt-env-conf-test] debug [syntaxChunk "Ap"]
  735. 997.87 s [opt-env-conf-test] ppIndent $ go ff <*> go fa
  736. 997.87 s [opt-env-conf-test] ParserEmpty mLoc -> do
  737. 997.87 s [opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  738. 997.87 s [opt-env-conf-test] ppError mLoc ParseErrorEmpty
  739. 997.87 s [opt-env-conf-test] ParserSelect fe ff -> do
  740. 997.87 s [opt-env-conf-test] debug [syntaxChunk "Select"]
  741. 997.87 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:135:15-60
  742. 997.87 s [opt-env-conf-test] @@ -132,7 +132,6 @@
  743. 997.87 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  744. 997.87 s [opt-env-conf-test] ppIndent $ go p2
  745. 997.87 s [opt-env-conf-test] ParserMany mLoc p' -> do
  746. 997.87 s [opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  747. 997.87 s [opt-env-conf-test] ppIndent $ do
  748. 997.87 s [opt-env-conf-test] eor <- tryPP $ go p'
  749. 997.87 s [opt-env-conf-test] case eor of
  750. 997.87 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:138:11-28
  751. 997.87 s [opt-env-conf-test] @@ -135,11 +135,8 @@
  752. 997.87 s [opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  753. 997.87 s [opt-env-conf-test] ppIndent $ do
  754. 997.87 s [opt-env-conf-test] eor <- tryPP $ go p'
  755. 997.87 s [opt-env-conf-test] case eor of
  756. 997.87 s [opt-env-conf-test] Nothing -> pure []
  757. 997.87 s [opt-env-conf-test] - Just a -> do
  758. 997.87 s [opt-env-conf-test] - as <- go (ParserMany mLoc p')
  759. 997.87 s [opt-env-conf-test] - pure (a : as)
  760. 997.87 s [opt-env-conf-test] ParserSome mLoc p' -> do
  761. 997.87 s [opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
  762. 997.87 s [opt-env-conf-test] ppIndent $ do
  763. 997.87 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:138:11-28
  764. 997.87 s [opt-env-conf-test] @@ -135,11 +135,10 @@
  765. 997.87 s [opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  766. 997.87 s [opt-env-conf-test] ppIndent $ do
  767. 997.87 s [opt-env-conf-test] eor <- tryPP $ go p'
  768. 997.87 s [opt-env-conf-test] case eor of
  769. 997.87 s [opt-env-conf-test] - Nothing -> pure []
  770. 997.87 s [opt-env-conf-test] Just a -> do
  771. 997.87 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  772. 997.87 s [opt-env-conf-test] pure (a : as)
  773. 997.87 s [opt-env-conf-test] ParserSome mLoc p' -> do
  774. 997.87 s [opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
  775. 997.87 s [opt-env-conf-test] ppIndent $ do
  776. 997.87 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:135:15-60
  777. 997.87 s [opt-env-conf-test] @@ -132,7 +132,6 @@
  778. 997.87 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  779. 997.88 s [opt-env-conf-test] ppIndent $ go p2
  780. 997.88 s [opt-env-conf-test] ParserMany mLoc p' -> do
  781. 997.88 s [opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  782. 997.88 s [opt-env-conf-test] ppIndent $ do
  783. 997.88 s [opt-env-conf-test] eor <- tryPP $ go p'
  784. 997.88 s [opt-env-conf-test] case eor of
  785. 997.88 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:151:15-68
  786. 997.88 s [opt-env-conf-test] @@ -148,7 +148,6 @@
  787. 997.88 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  788. 997.88 s [opt-env-conf-test] pure (a :| as)
  789. 997.88 s [opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
  790. 997.88 s [opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  791. 997.88 s [opt-env-conf-test] ppIndent $ do
  792. 997.88 s [opt-env-conf-test] e <- ask
  793. 997.88 s [opt-env-conf-test] s <- get
  794. 997.88 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:161:24-50
  795. 997.88 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  796. 997.88 s [opt-env-conf-test] case result of
  797. 997.88 s [opt-env-conf-test] Success a -> pure a
  798. 997.88 s [opt-env-conf-test] Failure errs -> do
  799. 997.88 s [opt-env-conf-test] - if not $ all errorIsForgivable errs
  800. 997.88 s [opt-env-conf-test] + if not $ False
  801. 997.88 s [opt-env-conf-test] then ppErrors' errs
  802. 997.88 s [opt-env-conf-test] else do
  803. 997.88 s [opt-env-conf-test] -- Settings available below
  804. 997.88 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:151:15-68
  805. 997.88 s [opt-env-conf-test] @@ -148,7 +148,6 @@
  806. 997.88 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  807. 997.88 s [opt-env-conf-test] pure (a :| as)
  808. 997.88 s [opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
  809. 997.88 s [opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  810. 997.88 s [opt-env-conf-test] ppIndent $ do
  811. 997.88 s [opt-env-conf-test] e <- ask
  812. 997.88 s [opt-env-conf-test] s <- get
  813. 997.88 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:151:15-68
  814. 997.88 s [opt-env-conf-test] @@ -148,7 +148,6 @@
  815. 997.88 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  816. 997.88 s [opt-env-conf-test] pure (a :| as)
  817. 997.88 s [opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
  818. 997.88 s [opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  819. 997.88 s [opt-env-conf-test] ppIndent $ do
  820. 997.88 s [opt-env-conf-test] e <- ask
  821. 997.88 s [opt-env-conf-test] s <- get
  822. 997.88 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:161:18-50
  823. 997.88 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  824. 997.88 s [opt-env-conf-test] case result of
  825. 997.88 s [opt-env-conf-test] Success a -> pure a
  826. 997.88 s [opt-env-conf-test] Failure errs -> do
  827. 997.89 s [opt-env-conf-test] - if not $ all errorIsForgivable errs
  828. 997.89 s [opt-env-conf-test] + if False
  829. 997.89 s [opt-env-conf-test] then ppErrors' errs
  830. 997.89 s [opt-env-conf-test] else do
  831. 997.89 s [opt-env-conf-test] -- Settings available below
  832. 997.89 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:144:15-60
  833. 997.89 s [opt-env-conf-test] @@ -141,7 +141,6 @@
  834. 997.89 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  835. 997.89 s [opt-env-conf-test] pure (a : as)
  836. 997.89 s [opt-env-conf-test] ParserSome mLoc p' -> do
  837. 997.89 s [opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
  838. 997.89 s [opt-env-conf-test] ppIndent $ do
  839. 997.89 s [opt-env-conf-test] a <- go p'
  840. 997.89 s [opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
  841. 997.89 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:161:24-50
  842. 997.89 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  843. 997.89 s [opt-env-conf-test] case result of
  844. 997.89 s [opt-env-conf-test] Success a -> pure a
  845. 997.89 s [opt-env-conf-test] Failure errs -> do
  846. 997.89 s [opt-env-conf-test] - if not $ all errorIsForgivable errs
  847. 997.89 s [opt-env-conf-test] + if not $ not all errorIsForgivable errs
  848. 997.89 s [opt-env-conf-test] then ppErrors' errs
  849. 997.89 s [opt-env-conf-test] else do
  850. 997.89 s [opt-env-conf-test] -- Settings available below
  851. 997.89 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:161:18-50
  852. 997.89 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  853. 997.89 s [opt-env-conf-test] case result of
  854. 997.89 s [opt-env-conf-test] Success a -> pure a
  855. 997.89 s [opt-env-conf-test] Failure errs -> do
  856. 997.89 s [opt-env-conf-test] - if not $ all errorIsForgivable errs
  857. 997.89 s [opt-env-conf-test] + if not not $ all errorIsForgivable errs
  858. 997.89 s [opt-env-conf-test] then ppErrors' errs
  859. 997.89 s [opt-env-conf-test] else do
  860. 997.89 s [opt-env-conf-test] -- Settings available below
  861. 997.89 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:161:24-50
  862. 997.89 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  863. 997.89 s [opt-env-conf-test] case result of
  864. 997.89 s [opt-env-conf-test] Success a -> pure a
  865. 997.89 s [opt-env-conf-test] Failure errs -> do
  866. 997.89 s [opt-env-conf-test] - if not $ all errorIsForgivable errs
  867. 997.89 s [opt-env-conf-test] + if not $ True
  868. 997.89 s [opt-env-conf-test] then ppErrors' errs
  869. 997.89 s [opt-env-conf-test] else do
  870. 997.89 s [opt-env-conf-test] -- Settings available below
  871. 997.89 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:135:15-60
  872. 997.89 s [opt-env-conf-test] @@ -132,7 +132,6 @@
  873. 997.89 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  874. 997.89 s [opt-env-conf-test] ppIndent $ go p2
  875. 997.89 s [opt-env-conf-test] ParserMany mLoc p' -> do
  876. 997.89 s [opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  877. 1002.97 s [opt-env-conf-test] ppIndent $ do
  878. 1002.97 s [opt-env-conf-test] eor <- tryPP $ go p'
  879. 1002.97 s [opt-env-conf-test] case eor of
  880. 1003.00 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:195:29-70
  881. 1003.00 s [opt-env-conf-test] @@ -192,9 +192,8 @@
  882. 1003.00 s [opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities $ do
  883. 1003.00 s [opt-env-conf-test] errOrB <- liftIO $ f a
  884. 1003.00 s [opt-env-conf-test] case errOrB of
  885. 1003.00 s [opt-env-conf-test] Left err -> do
  886. 1003.00 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  887. 1003.00 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  888. 1003.00 s [opt-env-conf-test] Right b -> do
  889. 1003.00 s [opt-env-conf-test] debug ["succeeded"]
  890. 1003.00 s [opt-env-conf-test] pure b
  891. 1003.00 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:194:15-25
  892. 1003.00 s [opt-env-conf-test] @@ -191,13 +191,10 @@
  893. 1003.00 s [opt-env-conf-test] ppIndent $
  894. 1003.00 s [opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities $ do
  895. 1003.00 s [opt-env-conf-test] errOrB <- liftIO $ f a
  896. 1003.00 s [opt-env-conf-test] case errOrB of
  897. 1003.00 s [opt-env-conf-test] - Left err -> do
  898. 1003.00 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  899. 1003.00 s [opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed forgivable err
  900. 1003.00 s [opt-env-conf-test] Right b -> do
  901. 1003.00 s [opt-env-conf-test] debug ["succeeded"]
  902. 1003.00 s [opt-env-conf-test] pure b
  903. 1003.00 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  904. 1003.00 s [opt-env-conf-test] debug [syntaxChunk "Commands", ": ", mSrcLocChunk mLoc]
  905. 1003.00 s [opt-env-conf-test] forM_ mDefault $ \d -> debug ["default:", chunk $ T.pack $ show d]
  906. 1003.00 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:194:15-25
  907. 1003.00 s [opt-env-conf-test] @@ -191,13 +191,10 @@
  908. 1003.00 s [opt-env-conf-test] ppIndent $
  909. 1003.00 s [opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities $ do
  910. 1003.01 s [opt-env-conf-test] errOrB <- liftIO $ f a
  911. 1003.01 s [opt-env-conf-test] case errOrB of
  912. 1003.01 s [opt-env-conf-test] Left err -> do
  913. 1003.01 s [opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  914. 1003.01 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  915. 1003.01 s [opt-env-conf-test] - Right b -> do
  916. 1003.01 s [opt-env-conf-test] - debug ["succeeded"]
  917. 1003.01 s [opt-env-conf-test] - pure b
  918. 1003.01 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  919. 1003.01 s [opt-env-conf-test] debug [syntaxChunk "Commands", ": ", mSrcLocChunk mLoc]
  920. 1003.01 s [opt-env-conf-test] forM_ mDefault $ \d -> debug ["default:", chunk $ T.pack $ show d]
  921. 1003.01 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:216:25-85
  922. 1003.01 s [opt-env-conf-test] @@ -213,7 +213,6 @@
  923. 1003.01 s [opt-env-conf-test] case mDefaultCommand of
  924. 1003.01 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
  925. 1003.01 s [opt-env-conf-test] Just dc -> do
  926. 1003.01 s [opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
  927. 1003.01 s [opt-env-conf-test] go $ commandParser dc
  928. 1003.01 s [opt-env-conf-test] Just s -> do
  929. 1003.01 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  930. 1003.01 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:215:28-40
  931. 1003.01 s [opt-env-conf-test] @@ -212,9 +212,8 @@
  932. 1003.01 s [opt-env-conf-test] find ((== d) . commandArg) cs
  933. 1003.01 s [opt-env-conf-test] case mDefaultCommand of
  934. 1003.01 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
  935. 1003.01 s [opt-env-conf-test] Just dc -> do
  936. 1003.01 s [opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
  937. 1003.01 s [opt-env-conf-test] go $ commandParser dc
  938. 1003.01 s [opt-env-conf-test] Just s -> do
  939. 1003.01 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  940. 1003.01 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
  941. 1003.01 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:213:15-40
  942. 1003.01 s [opt-env-conf-test] @@ -210,11 +210,10 @@
  943. 1003.01 s [opt-env-conf-test] let mDefaultCommand = do
  944. 1003.01 s [opt-env-conf-test] d <- mDefault
  945. 1003.01 s [opt-env-conf-test] find ((== d) . commandArg) cs
  946. 1003.01 s [opt-env-conf-test] case mDefaultCommand of
  947. 1003.01 s [opt-env-conf-test] - Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
  948. 1003.01 s [opt-env-conf-test] Just dc -> do
  949. 1003.01 s [opt-env-conf-test] debug ["Choosing default command: ", commandChunk (commandArg dc)]
  950. 1003.01 s [opt-env-conf-test] go $ commandParser dc
  951. 1003.01 s [opt-env-conf-test] Just s -> do
  952. 1003.01 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  953. 1003.01 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
  954. 1003.01 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:213:15-40
  955. 1003.01 s [opt-env-conf-test] @@ -210,11 +210,8 @@
  956. 1003.01 s [opt-env-conf-test] let mDefaultCommand = do
  957. 1003.01 s [opt-env-conf-test] d <- mDefault
  958. 1003.01 s [opt-env-conf-test] find ((== d) . commandArg) cs
  959. 1003.02 s [opt-env-conf-test] case mDefaultCommand of
  960. 1003.02 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
  961. 1003.02 s [opt-env-conf-test] - Just dc -> do
  962. 1003.02 s [opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
  963. 1003.02 s [opt-env-conf-test] - go $ commandParser dc
  964. 1003.02 s [opt-env-conf-test] Just s -> do
  965. 1003.02 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  966. 1003.02 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
  967. 1003.02 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:222:25-73
  968. 1003.02 s [opt-env-conf-test] @@ -219,7 +219,6 @@
  969. 1003.02 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  970. 1003.02 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
  971. 1003.02 s [opt-env-conf-test] Just c -> do
  972. 1003.02 s [opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
  973. 1003.02 s [opt-env-conf-test] go $ commandParser c
  974. 1003.02 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  975. 1003.02 s [opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  976. 1003.02 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:222:25-73
  977. 1003.02 s [opt-env-conf-test] @@ -219,7 +219,6 @@
  978. 1003.02 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  979. 1003.02 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
  980. 1003.02 s [opt-env-conf-test] Just c -> do
  981. 1003.02 s [opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
  982. 1003.02 s [opt-env-conf-test] go $ commandParser c
  983. 1003.02 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  984. 1003.02 s [opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  985. 1003.02 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:221:27-39
  986. 1003.02 s [opt-env-conf-test] @@ -218,9 +218,8 @@
  987. 1003.02 s [opt-env-conf-test] Just s -> do
  988. 1003.02 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  989. 1003.02 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
  990. 1003.02 s [opt-env-conf-test] Just c -> do
  991. 1003.02 s [opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
  992. 1003.02 s [opt-env-conf-test] go $ commandParser c
  993. 1003.02 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  994. 1003.02 s [opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  995. 1003.02 s [opt-env-conf-test] ppIndent $ do
  996. 1003.02 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:219:15-39
  997. 1003.02 s [opt-env-conf-test] @@ -216,11 +216,10 @@
  998. 1003.02 s [opt-env-conf-test] debug ["Choosing default command: ", commandChunk (commandArg dc)]
  999. 1003.02 s [opt-env-conf-test] go $ commandParser dc
  1000. 1003.02 s [opt-env-conf-test] Just s -> do
  1001. 1003.02 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  1002. 1003.02 s [opt-env-conf-test] - Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
  1003. 1003.02 s [opt-env-conf-test] Just c -> do
  1004. 1003.02 s [opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
  1005. 1003.02 s [opt-env-conf-test] go $ commandParser c
  1006. 1003.02 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  1007. 1003.02 s [opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  1008. 1003.02 s [opt-env-conf-test] ppIndent $ do
  1009. 1003.02 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:219:15-39
  1010. 1003.02 s [opt-env-conf-test] @@ -216,11 +216,8 @@
  1011. 1003.02 s [opt-env-conf-test] debug ["Choosing default command: ", commandChunk (commandArg dc)]
  1012. 1003.02 s [opt-env-conf-test] go $ commandParser dc
  1013. 1003.02 s [opt-env-conf-test] Just s -> do
  1014. 1003.02 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  1015. 1003.02 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
  1016. 1003.02 s [opt-env-conf-test] - Just c -> do
  1017. 1003.02 s [opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
  1018. 1003.02 s [opt-env-conf-test] - go $ commandParser c
  1019. 1003.02 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  1020. 1003.02 s [opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  1021. 1003.02 s [opt-env-conf-test] ppIndent $ do
  1022. 1003.02 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:207:11-39
  1023. 1003.03 s [opt-env-conf-test] @@ -204,23 +204,13 @@
  1024. 1003.03 s [opt-env-conf-test] ppIndent $ do
  1025. 1003.03 s [opt-env-conf-test] mS <- ppArg
  1026. 1003.03 s [opt-env-conf-test] let docsForErrors = map (void . commandParserDocs) cs
  1027. 1003.03 s [opt-env-conf-test] case mS of
  1028. 1003.03 s [opt-env-conf-test] - Nothing -> do
  1029. 1003.03 s [opt-env-conf-test] - debug ["No argument found for choosing a command."]
  1030. 1003.03 s [opt-env-conf-test] - let mDefaultCommand = do
  1031. 1003.03 s [opt-env-conf-test] - d <- mDefault
  1032. 1003.03 s [opt-env-conf-test] - find ((== d) . commandArg) cs
  1033. 1003.03 s [opt-env-conf-test] - case mDefaultCommand of
  1034. 1003.03 s [opt-env-conf-test] - Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
  1035. 1003.03 s [opt-env-conf-test] - Just dc -> do
  1036. 1003.03 s [opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
  1037. 1003.03 s [opt-env-conf-test] - go $ commandParser dc
  1038. 1007.83 s [opt-env-conf-test] Just s -> do
  1039. 1007.83 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  1040. 1007.84 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
  1041. 1007.84 s [opt-env-conf-test] Just c -> do
  1042. 1007.84 s [opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
  1043. 1007.84 s [opt-env-conf-test] go $ commandParser c
  1044. 1007.84 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  1045. 1007.84 s [opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  1046. 1007.84 s [opt-env-conf-test] ppIndent $ do
  1047. 1007.84 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:207:11-39
  1048. 1007.84 s [opt-env-conf-test] @@ -204,23 +204,17 @@
  1049. 1007.84 s [opt-env-conf-test] ppIndent $ do
  1050. 1007.84 s [opt-env-conf-test] mS <- ppArg
  1051. 1007.84 s [opt-env-conf-test] let docsForErrors = map (void . commandParserDocs) cs
  1052. 1007.84 s [opt-env-conf-test] case mS of
  1053. 1007.84 s [opt-env-conf-test] Nothing -> do
  1054. 1007.84 s [opt-env-conf-test] debug ["No argument found for choosing a command."]
  1055. 1007.84 s [opt-env-conf-test] let mDefaultCommand = do
  1056. 1007.84 s [opt-env-conf-test] d <- mDefault
  1057. 1007.84 s [opt-env-conf-test] find ((== d) . commandArg) cs
  1058. 1007.84 s [opt-env-conf-test] case mDefaultCommand of
  1059. 1007.84 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
  1060. 1007.84 s [opt-env-conf-test] Just dc -> do
  1061. 1007.84 s [opt-env-conf-test] debug ["Choosing default command: ", commandChunk (commandArg dc)]
  1062. 1007.84 s [opt-env-conf-test] go $ commandParser dc
  1063. 1007.84 s [opt-env-conf-test] - Just s -> do
  1064. 1007.84 s [opt-env-conf-test] - case find ((== s) . commandArg) cs of
  1065. 1007.84 s [opt-env-conf-test] - Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
  1066. 1007.84 s [opt-env-conf-test] - Just c -> do
  1067. 1007.84 s [opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
  1068. 1007.84 s [opt-env-conf-test] - go $ commandParser c
  1069. 1007.84 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  1070. 1007.84 s [opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  1071. 1007.85 s [opt-env-conf-test] ppIndent $ do
  1072. 1007.85 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:225:15-66
  1073. 1007.85 s [opt-env-conf-test] @@ -222,7 +222,6 @@
  1074. 1007.85 s [opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
  1075. 1007.85 s [opt-env-conf-test] go $ commandParser c
  1076. 1007.85 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  1077. 1007.85 s [opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  1078. 1007.85 s [opt-env-conf-test] ppIndent $ do
  1079. 1007.85 s [opt-env-conf-test] debug ["loading config"]
  1080. 1007.85 s [opt-env-conf-test] mNewConfig <- ppIndent $ go pc
  1081. 1007.85 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:225:15-66
  1082. 1007.85 s [opt-env-conf-test] @@ -222,7 +222,6 @@
  1083. 1007.85 s [opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
  1084. 1007.85 s [opt-env-conf-test] go $ commandParser c
  1085. 1007.85 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  1086. 1007.85 s [opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  1087. 1007.85 s [opt-env-conf-test] ppIndent $ do
  1088. 1007.85 s [opt-env-conf-test] debug ["loading config"]
  1089. 1007.85 s [opt-env-conf-test] mNewConfig <- ppIndent $ go pc
  1090. 1007.85 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:225:15-66
  1091. 1007.85 s [opt-env-conf-test] @@ -222,7 +222,6 @@
  1092. 1007.85 s [opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
  1093. 1007.85 s [opt-env-conf-test] go $ commandParser c
  1094. 1007.85 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  1095. 1007.85 s [opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  1096. 1007.85 s [opt-env-conf-test] ppIndent $ do
  1097. 1007.85 s [opt-env-conf-test] debug ["loading config"]
  1098. 1007.85 s [opt-env-conf-test] mNewConfig <- ppIndent $ go pc
  1099. 1007.85 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:224:38-20
  1100. 1007.85 s [opt-env-conf-test] @@ -221,15 +221,14 @@
  1101. 1007.85 s [opt-env-conf-test] Just c -> do
  1102. 1007.85 s [opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
  1103. 1007.85 s [opt-env-conf-test] go $ commandParser c
  1104. 1007.85 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  1105. 1007.85 s [opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  1106. 1007.85 s [opt-env-conf-test] ppIndent $ do
  1107. 1007.85 s [opt-env-conf-test] debug ["loading config"]
  1108. 1007.85 s [opt-env-conf-test] mNewConfig <- ppIndent $ go pc
  1109. 1007.85 s [opt-env-conf-test] debug ["with loaded config"]
  1110. 1007.85 s [opt-env-conf-test] ppIndent $
  1111. 1007.85 s [opt-env-conf-test] local (\e -> e {ppEnvConf = mNewConfig}) $
  1112. 1007.85 s [opt-env-conf-test] go pa
  1113. 1007.85 s [opt-env-conf-test] ParserSetting mLoc set@Setting {..} -> do
  1114. 1007.85 s [opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
  1115. 1007.85 s [opt-env-conf-test] when (not (Set.null settingRequiredCapabilities)) $
  1116. 1007.86 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:262:16-34
  1117. 1007.86 s [opt-env-conf-test] @@ -259,7 +259,7 @@
  1118. 1007.86 s [opt-env-conf-test] mLoc
  1119. 1007.86 s [opt-env-conf-test] let mOptDoc = settingOptDoc set
  1120. 1007.86 s [opt-env-conf-test] mArg <-
  1121. 1007.86 s [opt-env-conf-test] - if settingTryArgument
  1122. 1007.86 s [opt-env-conf-test] + if True
  1123. 1007.86 s [opt-env-conf-test] then do
  1124. 1007.86 s [opt-env-conf-test] -- Require readers before finding the argument so the parser
  1125. 1007.86 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1126. 1007.86 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:262:16-34
  1127. 1007.86 s [opt-env-conf-test] @@ -259,7 +259,7 @@
  1128. 1007.86 s [opt-env-conf-test] mLoc
  1129. 1007.86 s [opt-env-conf-test] let mOptDoc = settingOptDoc set
  1130. 1007.86 s [opt-env-conf-test] mArg <-
  1131. 1007.86 s [opt-env-conf-test] - if settingTryArgument
  1132. 1007.86 s [opt-env-conf-test] + if False
  1133. 1007.86 s [opt-env-conf-test] then do
  1134. 1007.86 s [opt-env-conf-test] -- Require readers before finding the argument so the parser
  1135. 1007.86 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1136. 1007.86 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:262:16-34
  1137. 1007.86 s [opt-env-conf-test] @@ -259,7 +259,7 @@
  1138. 1007.86 s [opt-env-conf-test] mLoc
  1139. 1007.86 s [opt-env-conf-test] let mOptDoc = settingOptDoc set
  1140. 1007.86 s [opt-env-conf-test] mArg <-
  1141. 1007.86 s [opt-env-conf-test] - if settingTryArgument
  1142. 1007.86 s [opt-env-conf-test] + if not settingTryArgument
  1143. 1007.86 s [opt-env-conf-test] then do
  1144. 1007.86 s [opt-env-conf-test] -- Require readers before finding the argument so the parser
  1145. 1007.86 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1146. 1007.86 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:273:21-39
  1147. 1007.86 s [opt-env-conf-test] @@ -270,14 +270,13 @@
  1148. 1007.86 s [opt-env-conf-test] debug ["could not set based on argument: no argument"]
  1149. 1007.86 s [opt-env-conf-test] pure NotFound
  1150. 1007.86 s [opt-env-conf-test] Just argStr -> cap $
  1151. 1007.86 s [opt-env-conf-test] case tryReaders rs argStr of
  1152. 1007.86 s [opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorArgumentRead mOptDoc errs
  1153. 1007.86 s [opt-env-conf-test] Right a -> do
  1154. 1007.86 s [opt-env-conf-test] debug
  1155. 1007.86 s [opt-env-conf-test] [ "set based on argument: ",
  1156. 1007.86 s [opt-env-conf-test] chunk $ T.pack $ show argStr
  1157. 1007.86 s [opt-env-conf-test] ]
  1158. 1007.86 s [opt-env-conf-test] pure $ Found a
  1159. 1007.86 s [opt-env-conf-test] else pure NotRun
  1160. 1007.86 s [opt-env-conf-test]
  1161. 1007.86 s [opt-env-conf-test] case mArg of
  1162. 1007.86 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:273:21-39
  1163. 1007.86 s [opt-env-conf-test] @@ -270,14 +270,8 @@
  1164. 1007.86 s [opt-env-conf-test] debug ["could not set based on argument: no argument"]
  1165. 1007.86 s [opt-env-conf-test] pure NotFound
  1166. 1007.86 s [opt-env-conf-test] Just argStr -> cap $
  1167. 1007.86 s [opt-env-conf-test] case tryReaders rs argStr of
  1168. 1007.86 s [opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorArgumentRead mOptDoc errs
  1169. 1007.86 s [opt-env-conf-test] - Right a -> do
  1170. 1007.86 s [opt-env-conf-test] - debug
  1171. 1007.86 s [opt-env-conf-test] - [ "set based on argument: ",
  1172. 1007.86 s [opt-env-conf-test] - chunk $ T.pack $ show argStr
  1173. 1007.86 s [opt-env-conf-test] - ]
  1174. 1007.86 s [opt-env-conf-test] - pure $ Found a
  1175. 1007.86 s [opt-env-conf-test] else pure NotRun
  1176. 1007.86 s [opt-env-conf-test]
  1177. 1007.86 s [opt-env-conf-test] case mArg of
  1178. 1007.86 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:268:17-39
  1179. 1007.86 s [opt-env-conf-test] @@ -265,19 +265,16 @@
  1180. 1007.86 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1181. 1007.86 s [opt-env-conf-test] rs <- requireReaders settingReaders
  1182. 1007.87 s [opt-env-conf-test] mS <- ppArg
  1183. 1007.87 s [opt-env-conf-test] case mS of
  1184. 1007.87 s [opt-env-conf-test] - Nothing -> do
  1185. 1007.87 s [opt-env-conf-test] - debug ["could not set based on argument: no argument"]
  1186. 1007.87 s [opt-env-conf-test] - pure NotFound
  1187. 1007.87 s [opt-env-conf-test] Just argStr -> cap $
  1188. 1007.87 s [opt-env-conf-test] case tryReaders rs argStr of
  1189. 1007.87 s [opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorArgumentRead mOptDoc errs
  1190. 1007.87 s [opt-env-conf-test] Right a -> do
  1191. 1007.87 s [opt-env-conf-test] debug
  1192. 1007.87 s [opt-env-conf-test] [ "set based on argument: ",
  1193. 1007.87 s [opt-env-conf-test] chunk $ T.pack $ show argStr
  1194. 1007.87 s [opt-env-conf-test] ]
  1195. 1007.87 s [opt-env-conf-test] pure $ Found a
  1196. 1007.87 s [opt-env-conf-test] else pure NotRun
  1197. 1007.87 s [opt-env-conf-test]
  1198. 1007.87 s [opt-env-conf-test] case mArg of
  1199. 1007.87 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:268:17-39
  1200. 1007.87 s [opt-env-conf-test] @@ -265,19 +265,10 @@
  1201. 1007.87 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1202. 1007.87 s [opt-env-conf-test] rs <- requireReaders settingReaders
  1203. 1007.87 s [opt-env-conf-test] mS <- ppArg
  1204. 1007.87 s [opt-env-conf-test] case mS of
  1205. 1007.87 s [opt-env-conf-test] Nothing -> do
  1206. 1007.87 s [opt-env-conf-test] debug ["could not set based on argument: no argument"]
  1207. 1007.87 s [opt-env-conf-test] pure NotFound
  1208. 1007.87 s [opt-env-conf-test] - Just argStr -> cap $
  1209. 1007.87 s [opt-env-conf-test] - case tryReaders rs argStr of
  1210. 1007.87 s [opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorArgumentRead mOptDoc errs
  1211. 1007.87 s [opt-env-conf-test] - Right a -> do
  1212. 1007.87 s [opt-env-conf-test] - debug
  1213. 1007.87 s [opt-env-conf-test] - [ "set based on argument: ",
  1214. 1007.87 s [opt-env-conf-test] - chunk $ T.pack $ show argStr
  1215. 1007.87 s [opt-env-conf-test] - ]
  1216. 1007.87 s [opt-env-conf-test] - pure $ Found a
  1217. 1014.16 s [opt-env-conf-test] else pure NotRun
  1218. 1014.16 s [opt-env-conf-test]
  1219. 1014.18 s [opt-env-conf-test] case mArg of
  1220. 1014.18 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:292:19-37
  1221. 1014.18 s [opt-env-conf-test] @@ -289,16 +289,10 @@
  1222. 1014.18 s [opt-env-conf-test] Nothing -> pure NotRun
  1223. 1014.18 s [opt-env-conf-test] Just a -> do
  1224. 1014.19 s [opt-env-conf-test] mS <- ppSwitch settingDasheds
  1225. 1014.19 s [opt-env-conf-test] case mS of
  1226. 1014.19 s [opt-env-conf-test] - Nothing -> do
  1227. 1014.19 s [opt-env-conf-test] - debug
  1228. 1014.19 s [opt-env-conf-test] - [ "could not set based on switch, no switch: ",
  1229. 1014.19 s [opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
  1230. 1014.19 s [opt-env-conf-test] - ]
  1231. 1014.19 s [opt-env-conf-test] - pure NotFound
  1232. 1014.19 s [opt-env-conf-test] Just () -> cap $ do
  1233. 1014.19 s [opt-env-conf-test] debug ["set based on switch."]
  1234. 1014.19 s [opt-env-conf-test] pure $ Found a
  1235. 1014.19 s [opt-env-conf-test]
  1236. 1014.19 s [opt-env-conf-test] case mSwitch of
  1237. 1014.19 s [opt-env-conf-test] Found a -> do
  1238. 1014.19 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:292:19-37
  1239. 1014.19 s [opt-env-conf-test] @@ -289,16 +289,13 @@
  1240. 1014.19 s [opt-env-conf-test] Nothing -> pure NotRun
  1241. 1014.19 s [opt-env-conf-test] Just a -> do
  1242. 1014.19 s [opt-env-conf-test] mS <- ppSwitch settingDasheds
  1243. 1014.19 s [opt-env-conf-test] case mS of
  1244. 1014.19 s [opt-env-conf-test] Nothing -> do
  1245. 1014.19 s [opt-env-conf-test] debug
  1246. 1014.19 s [opt-env-conf-test] [ "could not set based on switch, no switch: ",
  1247. 1014.19 s [opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
  1248. 1014.19 s [opt-env-conf-test] ]
  1249. 1014.19 s [opt-env-conf-test] pure NotFound
  1250. 1014.19 s [opt-env-conf-test] - Just () -> cap $ do
  1251. 1014.19 s [opt-env-conf-test] - debug ["set based on switch."]
  1252. 1014.19 s [opt-env-conf-test] - pure $ Found a
  1253. 1014.20 s [opt-env-conf-test]
  1254. 1014.20 s [opt-env-conf-test] case mSwitch of
  1255. 1014.20 s [opt-env-conf-test] Found a -> do
  1256. 1014.20 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:288:26-37
  1257. 1014.20 s [opt-env-conf-test] @@ -285,20 +285,19 @@
  1258. 1014.20 s [opt-env-conf-test] markParsed
  1259. 1014.20 s [opt-env-conf-test] pure a
  1260. 1014.20 s [opt-env-conf-test] _ -> do
  1261. 1014.20 s [opt-env-conf-test] mSwitch <- case settingSwitchValue of
  1262. 1014.20 s [opt-env-conf-test] - Nothing -> pure NotRun
  1263. 1014.20 s [opt-env-conf-test] Just a -> do
  1264. 1014.20 s [opt-env-conf-test] mS <- ppSwitch settingDasheds
  1265. 1014.20 s [opt-env-conf-test] case mS of
  1266. 1014.20 s [opt-env-conf-test] Nothing -> do
  1267. 1014.20 s [opt-env-conf-test] debug
  1268. 1014.20 s [opt-env-conf-test] [ "could not set based on switch, no switch: ",
  1269. 1014.20 s [opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
  1270. 1014.20 s [opt-env-conf-test] ]
  1271. 1014.20 s [opt-env-conf-test] pure NotFound
  1272. 1014.20 s [opt-env-conf-test] Just () -> cap $ do
  1273. 1014.20 s [opt-env-conf-test] debug ["set based on switch."]
  1274. 1014.20 s [opt-env-conf-test] pure $ Found a
  1275. 1014.20 s [opt-env-conf-test]
  1276. 1014.20 s [opt-env-conf-test] case mSwitch of
  1277. 1014.20 s [opt-env-conf-test] Found a -> do
  1278. 1014.20 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:288:26-37
  1279. 1014.20 s [opt-env-conf-test] @@ -285,20 +285,8 @@
  1280. 1014.20 s [opt-env-conf-test] markParsed
  1281. 1014.20 s [opt-env-conf-test] pure a
  1282. 1014.20 s [opt-env-conf-test] _ -> do
  1283. 1014.20 s [opt-env-conf-test] mSwitch <- case settingSwitchValue of
  1284. 1014.20 s [opt-env-conf-test] Nothing -> pure NotRun
  1285. 1014.20 s [opt-env-conf-test] - Just a -> do
  1286. 1014.20 s [opt-env-conf-test] - mS <- ppSwitch settingDasheds
  1287. 1014.20 s [opt-env-conf-test] - case mS of
  1288. 1014.20 s [opt-env-conf-test] - Nothing -> do
  1289. 1014.20 s [opt-env-conf-test] - debug
  1290. 1014.20 s [opt-env-conf-test] - [ "could not set based on switch, no switch: ",
  1291. 1014.20 s [opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
  1292. 1014.20 s [opt-env-conf-test] - ]
  1293. 1014.20 s [opt-env-conf-test] - pure NotFound
  1294. 1014.20 s [opt-env-conf-test] - Just () -> cap $ do
  1295. 1014.21 s [opt-env-conf-test] - debug ["set based on switch."]
  1296. 1014.21 s [opt-env-conf-test] - pure $ Found a
  1297. 1014.21 s [opt-env-conf-test]
  1298. 1014.21 s [opt-env-conf-test] case mSwitch of
  1299. 1014.21 s [opt-env-conf-test] Found a -> do
  1300. 1014.21 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:309:24-40
  1301. 1014.21 s [opt-env-conf-test] @@ -306,7 +306,7 @@
  1302. 1014.21 s [opt-env-conf-test] pure a
  1303. 1014.21 s [opt-env-conf-test] _ -> do
  1304. 1014.21 s [opt-env-conf-test] mOpt <-
  1305. 1014.21 s [opt-env-conf-test] - if settingTryOption
  1306. 1014.21 s [opt-env-conf-test] + if True
  1307. 1014.21 s [opt-env-conf-test] then do
  1308. 1014.21 s [opt-env-conf-test] -- Require readers before finding the option so the parser
  1309. 1014.21 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1310. 1014.21 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:309:24-40
  1311. 1014.21 s [opt-env-conf-test] @@ -306,7 +306,7 @@
  1312. 1014.21 s [opt-env-conf-test] pure a
  1313. 1014.21 s [opt-env-conf-test] _ -> do
  1314. 1014.21 s [opt-env-conf-test] mOpt <-
  1315. 1014.21 s [opt-env-conf-test] - if settingTryOption
  1316. 1014.21 s [opt-env-conf-test] + if False
  1317. 1014.21 s [opt-env-conf-test] then do
  1318. 1014.21 s [opt-env-conf-test] -- Require readers before finding the option so the parser
  1319. 1014.21 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1320. 1014.21 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:309:24-40
  1321. 1014.21 s [opt-env-conf-test] @@ -306,7 +306,7 @@
  1322. 1014.21 s [opt-env-conf-test] pure a
  1323. 1014.21 s [opt-env-conf-test] _ -> do
  1324. 1014.21 s [opt-env-conf-test] mOpt <-
  1325. 1014.21 s [opt-env-conf-test] - if settingTryOption
  1326. 1014.21 s [opt-env-conf-test] + if not settingTryOption
  1327. 1014.21 s [opt-env-conf-test] then do
  1328. 1014.21 s [opt-env-conf-test] -- Require readers before finding the option so the parser
  1329. 1014.21 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1330. 1014.21 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:323:29-47
  1331. 1014.21 s [opt-env-conf-test] @@ -320,14 +320,13 @@
  1332. 1014.21 s [opt-env-conf-test] ]
  1333. 1014.21 s [opt-env-conf-test] pure NotFound
  1334. 1014.21 s [opt-env-conf-test] Just optionStr -> cap $
  1335. 1014.21 s [opt-env-conf-test] case tryReaders rs optionStr of
  1336. 1014.21 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
  1337. 1014.21 s [opt-env-conf-test] Right a -> do
  1338. 1014.21 s [opt-env-conf-test] debug
  1339. 1014.21 s [opt-env-conf-test] [ "set based on option: ",
  1340. 1014.21 s [opt-env-conf-test] chunk $ T.pack $ show optionStr
  1341. 1014.21 s [opt-env-conf-test] ]
  1342. 1014.21 s [opt-env-conf-test] pure $ Found a
  1343. 1014.21 s [opt-env-conf-test] else pure NotRun
  1344. 1014.21 s [opt-env-conf-test]
  1345. 1014.21 s [opt-env-conf-test] case mOpt of
  1346. 1014.21 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:323:29-47
  1347. 1014.21 s [opt-env-conf-test] @@ -320,14 +320,8 @@
  1348. 1014.21 s [opt-env-conf-test] ]
  1349. 1014.21 s [opt-env-conf-test] pure NotFound
  1350. 1014.21 s [opt-env-conf-test] Just optionStr -> cap $
  1351. 1014.22 s [opt-env-conf-test] case tryReaders rs optionStr of
  1352. 1014.22 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
  1353. 1014.22 s [opt-env-conf-test] - Right a -> do
  1354. 1014.22 s [opt-env-conf-test] - debug
  1355. 1014.22 s [opt-env-conf-test] - [ "set based on option: ",
  1356. 1014.22 s [opt-env-conf-test] - chunk $ T.pack $ show optionStr
  1357. 1014.22 s [opt-env-conf-test] - ]
  1358. 1014.22 s [opt-env-conf-test] - pure $ Found a
  1359. 1014.22 s [opt-env-conf-test] else pure NotRun
  1360. 1014.22 s [opt-env-conf-test]
  1361. 1014.22 s [opt-env-conf-test] case mOpt of
  1362. 1014.22 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:315:25-47
  1363. 1014.22 s [opt-env-conf-test] @@ -312,22 +312,16 @@
  1364. 1014.22 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1365. 1014.22 s [opt-env-conf-test] rs <- requireReaders settingReaders
  1366. 1014.22 s [opt-env-conf-test] mS <- ppOpt settingDasheds
  1367. 1014.22 s [opt-env-conf-test] case mS of
  1368. 1014.22 s [opt-env-conf-test] - Nothing -> do
  1369. 1014.22 s [opt-env-conf-test] - debug
  1370. 1014.22 s [opt-env-conf-test] - [ "could not set based on options, no option: ",
  1371. 1014.22 s [opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
  1372. 1014.22 s [opt-env-conf-test] - ]
  1373. 1014.22 s [opt-env-conf-test] - pure NotFound
  1374. 1014.22 s [opt-env-conf-test] Just optionStr -> cap $
  1375. 1014.22 s [opt-env-conf-test] case tryReaders rs optionStr of
  1376. 1014.22 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
  1377. 1014.22 s [opt-env-conf-test] Right a -> do
  1378. 1014.22 s [opt-env-conf-test] debug
  1379. 1014.22 s [opt-env-conf-test] [ "set based on option: ",
  1380. 1014.22 s [opt-env-conf-test] chunk $ T.pack $ show optionStr
  1381. 1014.22 s [opt-env-conf-test] ]
  1382. 1014.22 s [opt-env-conf-test] pure $ Found a
  1383. 1014.22 s [opt-env-conf-test] else pure NotRun
  1384. 1014.22 s [opt-env-conf-test]
  1385. 1014.22 s [opt-env-conf-test] case mOpt of
  1386. 1014.22 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:315:25-47
  1387. 1014.22 s [opt-env-conf-test] @@ -312,22 +312,13 @@
  1388. 1014.22 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1389. 1014.22 s [opt-env-conf-test] rs <- requireReaders settingReaders
  1390. 1014.22 s [opt-env-conf-test] mS <- ppOpt settingDasheds
  1391. 1014.22 s [opt-env-conf-test] case mS of
  1392. 1014.22 s [opt-env-conf-test] Nothing -> do
  1393. 1014.22 s [opt-env-conf-test] debug
  1394. 1014.22 s [opt-env-conf-test] [ "could not set based on options, no option: ",
  1395. 1014.22 s [opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
  1396. 1014.22 s [opt-env-conf-test] ]
  1397. 1014.22 s [opt-env-conf-test] pure NotFound
  1398. 1014.22 s [opt-env-conf-test] - Just optionStr -> cap $
  1399. 1020.17 s [opt-env-conf-test] - case tryReaders rs optionStr of
  1400. 1020.17 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
  1401. 1020.20 s [opt-env-conf-test] - Right a -> do
  1402. 1020.20 s [opt-env-conf-test] - debug
  1403. 1020.20 s [opt-env-conf-test] - [ "set based on option: ",
  1404. 1020.20 s [opt-env-conf-test] - chunk $ T.pack $ show optionStr
  1405. 1020.20 s [opt-env-conf-test] - ]
  1406. 1020.20 s [opt-env-conf-test] - pure $ Found a
  1407. 1020.20 s [opt-env-conf-test] else pure NotRun
  1408. 1020.20 s [opt-env-conf-test]
  1409. 1020.20 s [opt-env-conf-test] case mOpt of
  1410. 1020.20 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:352:29-39
  1411. 1020.20 s [opt-env-conf-test] @@ -349,14 +349,13 @@
  1412. 1020.20 s [opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
  1413. 1020.20 s [opt-env-conf-test] -- result.
  1414. 1020.20 s [opt-env-conf-test] results <- for founds $ \varStr ->
  1415. 1020.20 s [opt-env-conf-test] case tryReaders rs varStr of
  1416. 1020.20 s [opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  1417. 1020.21 s [opt-env-conf-test] Right a -> do
  1418. 1020.21 s [opt-env-conf-test] debug
  1419. 1020.21 s [opt-env-conf-test] [ "set based on env: ",
  1420. 1020.21 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  1421. 1020.21 s [opt-env-conf-test] ]
  1422. 1020.21 s [opt-env-conf-test] pure a
  1423. 1020.21 s [opt-env-conf-test] case listToMaybe results of
  1424. 1020.21 s [opt-env-conf-test] Nothing -> do
  1425. 1020.21 s [opt-env-conf-test] debug
  1426. 1020.21 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:352:29-39
  1427. 1020.21 s [opt-env-conf-test] @@ -349,14 +349,8 @@
  1428. 1020.21 s [opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
  1429. 1020.21 s [opt-env-conf-test] -- result.
  1430. 1020.21 s [opt-env-conf-test] results <- for founds $ \varStr ->
  1431. 1020.21 s [opt-env-conf-test] case tryReaders rs varStr of
  1432. 1020.21 s [opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  1433. 1020.21 s [opt-env-conf-test] - Right a -> do
  1434. 1020.21 s [opt-env-conf-test] - debug
  1435. 1020.21 s [opt-env-conf-test] - [ "set based on env: ",
  1436. 1020.21 s [opt-env-conf-test] - chunk $ T.pack $ show varStr
  1437. 1020.21 s [opt-env-conf-test] - ]
  1438. 1020.21 s [opt-env-conf-test] - pure a
  1439. 1020.21 s [opt-env-conf-test] case listToMaybe results of
  1440. 1020.22 s [opt-env-conf-test] Nothing -> do
  1441. 1020.22 s [opt-env-conf-test] debug
  1442. 1020.22 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:216:25-85
  1443. 1020.22 s [opt-env-conf-test] @@ -213,7 +213,6 @@
  1444. 1020.22 s [opt-env-conf-test] case mDefaultCommand of
  1445. 1020.22 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
  1446. 1020.22 s [opt-env-conf-test] Just dc -> do
  1447. 1020.22 s [opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
  1448. 1020.22 s [opt-env-conf-test] go $ commandParser dc
  1449. 1020.22 s [opt-env-conf-test] Just s -> do
  1450. 1020.22 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  1451. 1020.22 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:197:56-66
  1452. 1020.22 s [opt-env-conf-test] @@ -194,7 +194,7 @@
  1453. 1020.22 s [opt-env-conf-test] case errOrB of
  1454. 1020.22 s [opt-env-conf-test] Left err -> do
  1455. 1020.22 s [opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  1456. 1020.22 s [opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed forgivable err
  1457. 1020.22 s [opt-env-conf-test] + ppError mLoc $ ParseErrorCheckFailed True err
  1458. 1020.22 s [opt-env-conf-test] Right b -> do
  1459. 1020.22 s [opt-env-conf-test] debug ["succeeded"]
  1460. 1020.22 s [opt-env-conf-test] pure b
  1461. 1020.22 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:360:27-53
  1462. 1020.22 s [opt-env-conf-test] @@ -357,14 +357,13 @@
  1463. 1020.22 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  1464. 1020.22 s [opt-env-conf-test] ]
  1465. 1020.22 s [opt-env-conf-test] pure a
  1466. 1020.22 s [opt-env-conf-test] case listToMaybe results of
  1467. 1020.22 s [opt-env-conf-test] Nothing -> do
  1468. 1020.22 s [opt-env-conf-test] debug
  1469. 1020.22 s [opt-env-conf-test] [ "could not set based on env vars, no var: ",
  1470. 1020.22 s [opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  1471. 1020.22 s [opt-env-conf-test] ]
  1472. 1020.22 s [opt-env-conf-test] pure NotFound
  1473. 1020.22 s [opt-env-conf-test] - Just a -> pure $ Found a
  1474. 1020.23 s [opt-env-conf-test]
  1475. 1020.23 s [opt-env-conf-test] case mEnv of
  1476. 1020.23 s [opt-env-conf-test] Found a -> do
  1477. 1020.23 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:490:19-27
  1478. 1020.23 s [opt-env-conf-test] @@ -487,9 +487,8 @@
  1479. 1020.23 s [opt-env-conf-test] Right a -> Right a
  1480. 1020.23 s [opt-env-conf-test] go' errs = \case
  1481. 1020.23 s [opt-env-conf-test] [] -> Left errs
  1482. 1020.23 s [opt-env-conf-test] (r : rl) -> case runReader r s of
  1483. 1020.23 s [opt-env-conf-test] - Left err -> go' (err <| errs) rl
  1484. 1020.23 s [opt-env-conf-test] Right a -> Right a
  1485. 1020.23 s [opt-env-conf-test]
  1486. 1020.23 s [opt-env-conf-test] runHelpParser ::
  1487. 1020.23 s [opt-env-conf-test] -- DebugMode
  1488. 1020.23 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:196:25-83
  1489. 1020.23 s [opt-env-conf-test] @@ -193,7 +193,6 @@
  1490. 1020.23 s [opt-env-conf-test] errOrB <- liftIO $ f a
  1491. 1020.23 s [opt-env-conf-test] case errOrB of
  1492. 1020.23 s [opt-env-conf-test] Left err -> do
  1493. 1020.23 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  1494. 1020.23 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  1495. 1020.23 s [opt-env-conf-test] Right b -> do
  1496. 1020.23 s [opt-env-conf-test] debug ["succeeded"]
  1497. 1020.23 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:339:37-53
  1498. 1020.23 s [opt-env-conf-test] @@ -336,35 +336,34 @@
  1499. 1020.23 s [opt-env-conf-test] pure a
  1500. 1020.23 s [opt-env-conf-test] _ -> do
  1501. 1020.23 s [opt-env-conf-test] let mEnvDoc = settingEnvDoc set
  1502. 1020.23 s [opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
  1503. 1020.23 s [opt-env-conf-test] - Nothing -> pure NotRun
  1504. 1020.23 s [opt-env-conf-test] Just ne -> do
  1505. 1020.23 s [opt-env-conf-test] -- Require readers before finding the env vars so the parser
  1506. 1020.23 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1507. 1020.23 s [opt-env-conf-test] rs <- requireReaders settingReaders
  1508. 1020.23 s [opt-env-conf-test] es <- asks ppEnvEnv
  1509. 1020.23 s [opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  1510. 1020.23 s [opt-env-conf-test] -- Run the parser on all specified env vars before
  1511. 1020.23 s [opt-env-conf-test] -- returning the first because we want to fail if any
  1512. 1020.23 s [opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
  1513. 1020.23 s [opt-env-conf-test] -- result.
  1514. 1020.23 s [opt-env-conf-test] results <- for founds $ \varStr ->
  1515. 1020.24 s [opt-env-conf-test] case tryReaders rs varStr of
  1516. 1020.24 s [opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  1517. 1020.24 s [opt-env-conf-test] Right a -> do
  1518. 1020.24 s [opt-env-conf-test] debug
  1519. 1020.24 s [opt-env-conf-test] [ "set based on env: ",
  1520. 1020.24 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  1521. 1020.24 s [opt-env-conf-test] ]
  1522. 1020.24 s [opt-env-conf-test] pure a
  1523. 1020.24 s [opt-env-conf-test] case listToMaybe results of
  1524. 1020.24 s [opt-env-conf-test] Nothing -> do
  1525. 1020.24 s [opt-env-conf-test] debug
  1526. 1020.24 s [opt-env-conf-test] [ "could not set based on env vars, no var: ",
  1527. 1020.24 s [opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  1528. 1020.24 s [opt-env-conf-test] ]
  1529. 1020.24 s [opt-env-conf-test] pure NotFound
  1530. 1020.24 s [opt-env-conf-test] Just a -> pure $ Found a
  1531. 1020.24 s [opt-env-conf-test]
  1532. 1020.24 s [opt-env-conf-test] case mEnv of
  1533. 1020.24 s [opt-env-conf-test] Found a -> do
  1534. 1020.24 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:196:72-82
  1535. 1020.24 s [opt-env-conf-test] @@ -193,7 +193,7 @@
  1536. 1020.24 s [opt-env-conf-test] errOrB <- liftIO $ f a
  1537. 1020.24 s [opt-env-conf-test] case errOrB of
  1538. 1020.24 s [opt-env-conf-test] Left err -> do
  1539. 1020.24 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  1540. 1020.24 s [opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show not forgivable]
  1541. 1020.24 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  1542. 1020.24 s [opt-env-conf-test] Right b -> do
  1543. 1020.24 s [opt-env-conf-test] debug ["succeeded"]
  1544. 1020.24 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:197:56-66
  1545. 1020.24 s [opt-env-conf-test] @@ -194,7 +194,7 @@
  1546. 1020.24 s [opt-env-conf-test] case errOrB of
  1547. 1020.24 s [opt-env-conf-test] Left err -> do
  1548. 1020.24 s [opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  1549. 1020.24 s [opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed forgivable err
  1550. 1020.24 s [opt-env-conf-test] + ppError mLoc $ ParseErrorCheckFailed False err
  1551. 1020.24 s [opt-env-conf-test] Right b -> do
  1552. 1020.24 s [opt-env-conf-test] debug ["succeeded"]
  1553. 1020.25 s [opt-env-conf-test] pure b
  1554. 1020.25 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:196:25-83
  1555. 1020.25 s [opt-env-conf-test] @@ -193,7 +193,6 @@
  1556. 1020.25 s [opt-env-conf-test] errOrB <- liftIO $ f a
  1557. 1020.25 s [opt-env-conf-test] case errOrB of
  1558. 1020.25 s [opt-env-conf-test] Left err -> do
  1559. 1020.25 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  1560. 1020.25 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  1561. 1020.25 s [opt-env-conf-test] Right b -> do
  1562. 1020.25 s [opt-env-conf-test] debug ["succeeded"]
  1563. 1025.22 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:388:49-81
  1564. 1025.26 s [opt-env-conf-test] @@ -385,9 +385,8 @@
  1565. 1025.26 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  1566. 1025.26 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  1567. 1025.26 s [opt-env-conf-test] Nothing -> do
  1568. 1025.26 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  1569. 1025.26 s [opt-env-conf-test] Nothing -> pure Nothing
  1570. 1025.26 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  1571. 1025.26 s [opt-env-conf-test] Just neRest -> do
  1572. 1025.26 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  1573. 1025.26 s [opt-env-conf-test] case mO' of
  1574. 1025.26 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:196:72-82
  1575. 1025.26 s [opt-env-conf-test] @@ -193,7 +193,7 @@
  1576. 1025.26 s [opt-env-conf-test] errOrB <- liftIO $ f a
  1577. 1025.26 s [opt-env-conf-test] case errOrB of
  1578. 1025.26 s [opt-env-conf-test] Left err -> do
  1579. 1025.26 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  1580. 1025.26 s [opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show True]
  1581. 1025.26 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  1582. 1025.26 s [opt-env-conf-test] Right b -> do
  1583. 1025.26 s [opt-env-conf-test] debug ["succeeded"]
  1584. 1025.26 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:393:49-82
  1585. 1025.26 s [opt-env-conf-test] @@ -390,9 +390,8 @@
  1586. 1025.26 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  1587. 1025.26 s [opt-env-conf-test] Just neRest -> do
  1588. 1025.26 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  1589. 1025.27 s [opt-env-conf-test] case mO' of
  1590. 1025.27 s [opt-env-conf-test] Nothing -> pure Nothing
  1591. 1025.27 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  1592. 1025.27 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  1593. 1025.27 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1594. 1025.27 s [opt-env-conf-test] Right mV -> case mV of
  1595. 1025.27 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:152:20-112
  1596. 1025.27 s [opt-env-conf-test] @@ -149,32 +149,31 @@
  1597. 1025.27 s [opt-env-conf-test] pure (a :| as)
  1598. 1025.27 s [opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
  1599. 1025.27 s [opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  1600. 1025.27 s [opt-env-conf-test] ppIndent $ do
  1601. 1025.27 s [opt-env-conf-test] e <- ask
  1602. 1025.27 s [opt-env-conf-test] s <- get
  1603. 1025.27 s [opt-env-conf-test] results <- liftIO $ runPP (go p') s e
  1604. 1025.27 s [opt-env-conf-test] (result, s') <- ppNonDetList results
  1605. 1025.27 s [opt-env-conf-test] - put s'
  1606. 1025.27 s [opt-env-conf-test] case result of
  1607. 1025.27 s [opt-env-conf-test] Success a -> pure a
  1608. 1025.27 s [opt-env-conf-test] Failure errs -> do
  1609. 1025.27 s [opt-env-conf-test] if not $ all errorIsForgivable errs
  1610. 1025.27 s [opt-env-conf-test] then ppErrors' errs
  1611. 1025.27 s [opt-env-conf-test] else do
  1612. 1025.27 s [opt-env-conf-test] -- Settings available below
  1613. 1025.27 s [opt-env-conf-test] let settingsMap = parserSettingsMap p'
  1614. 1025.27 s [opt-env-conf-test] -- Settings that have been parsed
  1615. 1025.27 s [opt-env-conf-test] parsedMap <- gets ppStateParsedSettings
  1616. 1025.27 s [opt-env-conf-test] -- Settings that have been parsed below
  1617. 1025.27 s [opt-env-conf-test] let parsedSettingsMap = settingsMap `M.intersection` parsedMap
  1618. 1025.27 s [opt-env-conf-test] -- If any settings have been parsed below, and parsing still failed
  1619. 1025.27 s [opt-env-conf-test] -- (this is the case because we're in the failure branch)
  1620. 1025.27 s [opt-env-conf-test] -- with only forgivable errors
  1621. 1025.27 s [opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
  1622. 1025.27 s [opt-env-conf-test] -- then this should be an unforgivable error.
  1623. 1025.27 s [opt-env-conf-test] if null parsedSettingsMap
  1624. 1025.27 s [opt-env-conf-test] then ppErrors' errs
  1625. 1025.27 s [opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
  1626. 1025.27 s [opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
  1627. 1025.27 s [opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  1628. 1025.27 s [opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
  1629. 1025.27 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:386:72-82
  1630. 1025.27 s [opt-env-conf-test] @@ -383,16 +383,11 @@
  1631. 1025.27 s [opt-env-conf-test] Just obj -> do
  1632. 1025.27 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  1633. 1025.27 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  1634. 1025.28 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  1635. 1025.28 s [opt-env-conf-test] Nothing -> do
  1636. 1025.28 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  1637. 1025.28 s [opt-env-conf-test] Nothing -> pure Nothing
  1638. 1025.28 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  1639. 1025.28 s [opt-env-conf-test] - Just neRest -> do
  1640. 1025.28 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  1641. 1025.28 s [opt-env-conf-test] - case mO' of
  1642. 1025.28 s [opt-env-conf-test] - Nothing -> pure Nothing
  1643. 1025.28 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  1644. 1025.28 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  1645. 1025.28 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1646. 1025.28 s [opt-env-conf-test] Right mV -> case mV of
  1647. 1025.28 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:407:59-64
  1648. 1025.28 s [opt-env-conf-test] @@ -404,19 +404,13 @@
  1649. 1025.28 s [opt-env-conf-test] pure Nothing
  1650. 1025.28 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1651. 1025.28 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1652. 1025.28 s [opt-env-conf-test] Right mA -> case mA of
  1653. 1025.28 s [opt-env-conf-test] - Nothing -> do
  1654. 1025.28 s [opt-env-conf-test] - debug
  1655. 1025.28 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  1656. 1025.28 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  1657. 1025.28 s [opt-env-conf-test] - ]
  1658. 1025.28 s [opt-env-conf-test] - pure Nothing
  1659. 1025.28 s [opt-env-conf-test] Just a -> do
  1660. 1025.28 s [opt-env-conf-test] debug
  1661. 1025.28 s [opt-env-conf-test] [ "set based on config value: ",
  1662. 1025.28 s [opt-env-conf-test] chunk $ T.pack $ show v
  1663. 1025.28 s [opt-env-conf-test] ]
  1664. 1025.28 s [opt-env-conf-test] pure $ Just a
  1665. 1025.28 s [opt-env-conf-test] let toRes = \case
  1666. 1025.28 s [opt-env-conf-test] Nothing -> NotFound
  1667. 1025.28 s [opt-env-conf-test] Just a -> Found a
  1668. 1025.28 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:407:59-64
  1669. 1025.28 s [opt-env-conf-test] @@ -404,19 +404,13 @@
  1670. 1025.28 s [opt-env-conf-test] pure Nothing
  1671. 1025.28 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1672. 1025.29 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1673. 1025.29 s [opt-env-conf-test] Right mA -> case mA of
  1674. 1025.29 s [opt-env-conf-test] Nothing -> do
  1675. 1025.29 s [opt-env-conf-test] debug
  1676. 1025.29 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  1677. 1025.29 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1678. 1025.29 s [opt-env-conf-test] ]
  1679. 1025.29 s [opt-env-conf-test] pure Nothing
  1680. 1025.29 s [opt-env-conf-test] - Just a -> do
  1681. 1025.29 s [opt-env-conf-test] - debug
  1682. 1025.29 s [opt-env-conf-test] - [ "set based on config value: ",
  1683. 1025.29 s [opt-env-conf-test] - chunk $ T.pack $ show v
  1684. 1025.29 s [opt-env-conf-test] - ]
  1685. 1026.49 s [opt-env-conf-test] - pure $ Just a
  1686. 1026.49 s [opt-env-conf-test] let toRes = \case
  1687. 1026.49 s [opt-env-conf-test] Nothing -> NotFound
  1688. 1026.49 s [opt-env-conf-test] Just a -> Found a
  1689. 1026.49 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:405:55-64
  1690. 1026.49 s [opt-env-conf-test] @@ -402,21 +402,20 @@
  1691. 1026.49 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1692. 1026.49 s [opt-env-conf-test] ]
  1693. 1026.49 s [opt-env-conf-test] pure Nothing
  1694. 1026.49 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1695. 1026.49 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1696. 1026.49 s [opt-env-conf-test] Right mA -> case mA of
  1697. 1026.49 s [opt-env-conf-test] Nothing -> do
  1698. 1026.49 s [opt-env-conf-test] debug
  1699. 1026.50 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  1700. 1026.50 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1701. 1026.50 s [opt-env-conf-test] ]
  1702. 1026.50 s [opt-env-conf-test] pure Nothing
  1703. 1026.50 s [opt-env-conf-test] Just a -> do
  1704. 1026.50 s [opt-env-conf-test] debug
  1705. 1026.50 s [opt-env-conf-test] [ "set based on config value: ",
  1706. 1026.50 s [opt-env-conf-test] chunk $ T.pack $ show v
  1707. 1026.50 s [opt-env-conf-test] ]
  1708. 1026.50 s [opt-env-conf-test] pure $ Just a
  1709. 1026.50 s [opt-env-conf-test] let toRes = \case
  1710. 1026.50 s [opt-env-conf-test] Nothing -> NotFound
  1711. 1026.50 s [opt-env-conf-test] Just a -> Found a
  1712. 1026.50 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:405:55-64
  1713. 1026.50 s [opt-env-conf-test] @@ -402,21 +402,8 @@
  1714. 1026.50 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1715. 1026.50 s [opt-env-conf-test] ]
  1716. 1026.50 s [opt-env-conf-test] pure Nothing
  1717. 1026.50 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1718. 1026.50 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1719. 1026.50 s [opt-env-conf-test] - Right mA -> case mA of
  1720. 1026.50 s [opt-env-conf-test] - Nothing -> do
  1721. 1026.50 s [opt-env-conf-test] - debug
  1722. 1026.50 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  1723. 1026.50 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  1724. 1026.50 s [opt-env-conf-test] - ]
  1725. 1026.50 s [opt-env-conf-test] - pure Nothing
  1726. 1026.50 s [opt-env-conf-test] - Just a -> do
  1727. 1026.50 s [opt-env-conf-test] - debug
  1728. 1026.50 s [opt-env-conf-test] - [ "set based on config value: ",
  1729. 1026.50 s [opt-env-conf-test] - chunk $ T.pack $ show v
  1730. 1026.50 s [opt-env-conf-test] - ]
  1731. 1026.50 s [opt-env-conf-test] - pure $ Just a
  1732. 1026.51 s [opt-env-conf-test] let toRes = \case
  1733. 1026.51 s [opt-env-conf-test] Nothing -> NotFound
  1734. 1026.51 s [opt-env-conf-test] Just a -> Found a
  1735. 1026.51 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:398:55-64
  1736. 1026.51 s [opt-env-conf-test] @@ -395,28 +395,22 @@
  1737. 1026.51 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  1738. 1026.51 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  1739. 1026.51 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1740. 1026.51 s [opt-env-conf-test] Right mV -> case mV of
  1741. 1026.51 s [opt-env-conf-test] - Nothing -> do
  1742. 1026.51 s [opt-env-conf-test] - debug
  1743. 1026.51 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  1744. 1026.51 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  1745. 1026.51 s [opt-env-conf-test] - ]
  1746. 1026.51 s [opt-env-conf-test] - pure Nothing
  1747. 1026.51 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1748. 1026.51 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1749. 1026.51 s [opt-env-conf-test] Right mA -> case mA of
  1750. 1026.51 s [opt-env-conf-test] Nothing -> do
  1751. 1026.51 s [opt-env-conf-test] debug
  1752. 1026.51 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  1753. 1026.51 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1754. 1026.51 s [opt-env-conf-test] ]
  1755. 1026.51 s [opt-env-conf-test] pure Nothing
  1756. 1026.51 s [opt-env-conf-test] Just a -> do
  1757. 1026.51 s [opt-env-conf-test] debug
  1758. 1026.51 s [opt-env-conf-test] [ "set based on config value: ",
  1759. 1026.51 s [opt-env-conf-test] chunk $ T.pack $ show v
  1760. 1026.51 s [opt-env-conf-test] ]
  1761. 1026.69 s [opt-env-conf-test] pure $ Just a
  1762. 1026.69 s [opt-env-conf-test] let toRes = \case
  1763. 1026.69 s [opt-env-conf-test] Nothing -> NotFound
  1764. 1026.69 s [opt-env-conf-test] Just a -> Found a
  1765. 1026.69 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:396:41-64
  1766. 1026.69 s [opt-env-conf-test] @@ -393,30 +393,8 @@
  1767. 1026.69 s [opt-env-conf-test] case mO' of
  1768. 1026.69 s [opt-env-conf-test] Nothing -> pure Nothing
  1769. 1026.69 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  1770. 1026.70 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  1771. 1026.70 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1772. 1026.70 s [opt-env-conf-test] - Right mV -> case mV of
  1773. 1026.70 s [opt-env-conf-test] - Nothing -> do
  1774. 1026.70 s [opt-env-conf-test] - debug
  1775. 1026.70 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  1776. 1026.70 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  1777. 1026.70 s [opt-env-conf-test] - ]
  1778. 1026.70 s [opt-env-conf-test] - pure Nothing
  1779. 1026.70 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1780. 1026.70 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1781. 1026.70 s [opt-env-conf-test] - Right mA -> case mA of
  1782. 1026.70 s [opt-env-conf-test] - Nothing -> do
  1783. 1026.70 s [opt-env-conf-test] - debug
  1784. 1026.70 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  1785. 1026.70 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  1786. 1026.70 s [opt-env-conf-test] - ]
  1787. 1026.70 s [opt-env-conf-test] - pure Nothing
  1788. 1026.70 s [opt-env-conf-test] - Just a -> do
  1789. 1027.99 s [opt-env-conf-test] - debug
  1790. 1027.99 s [opt-env-conf-test] - [ "set based on config value: ",
  1791. 1027.99 s [opt-env-conf-test] - chunk $ T.pack $ show v
  1792. 1027.99 s [opt-env-conf-test] - ]
  1793. 1027.99 s [opt-env-conf-test] - pure $ Just a
  1794. 1027.99 s [opt-env-conf-test] let toRes = \case
  1795. 1027.99 s [opt-env-conf-test] Nothing -> NotFound
  1796. 1027.99 s [opt-env-conf-test] Just a -> Found a
  1797. 1027.99 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:427:43-69
  1798. 1027.99 s [opt-env-conf-test] @@ -424,9 +424,8 @@
  1799. 1027.99 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  1800. 1027.99 s [opt-env-conf-test] Just ne -> do
  1801. 1027.99 s [opt-env-conf-test] res <- goConfSet confSet
  1802. 1027.99 s [opt-env-conf-test] case res of
  1803. 1027.99 s [opt-env-conf-test] - Just a -> pure $ Found a
  1804. 1027.99 s [opt-env-conf-test] Nothing -> goConfSets ne
  1805. 1027.99 s [opt-env-conf-test] goConfSets confSets
  1806. 1027.99 s [opt-env-conf-test] case mConf of
  1807. 1027.99 s [opt-env-conf-test] Found a -> do
  1808. 1027.99 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:398:55-64
  1809. 1027.99 s [opt-env-conf-test] @@ -395,28 +395,13 @@
  1810. 1027.99 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  1811. 1027.99 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  1812. 1027.99 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1813. 1027.99 s [opt-env-conf-test] Right mV -> case mV of
  1814. 1028.00 s [opt-env-conf-test] Nothing -> do
  1815. 1028.00 s [opt-env-conf-test] debug
  1816. 1028.00 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  1817. 1028.00 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1818. 1028.00 s [opt-env-conf-test] ]
  1819. 1028.00 s [opt-env-conf-test] pure Nothing
  1820. 1028.00 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1821. 1028.00 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1822. 1028.00 s [opt-env-conf-test] - Right mA -> case mA of
  1823. 1028.00 s [opt-env-conf-test] - Nothing -> do
  1824. 1028.00 s [opt-env-conf-test] - debug
  1825. 1028.00 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  1826. 1028.00 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  1827. 1028.00 s [opt-env-conf-test] - ]
  1828. 1028.00 s [opt-env-conf-test] - pure Nothing
  1829. 1028.00 s [opt-env-conf-test] - Just a -> do
  1830. 1028.00 s [opt-env-conf-test] - debug
  1831. 1028.00 s [opt-env-conf-test] - [ "set based on config value: ",
  1832. 1028.00 s [opt-env-conf-test] - chunk $ T.pack $ show v
  1833. 1028.00 s [opt-env-conf-test] - ]
  1834. 1028.00 s [opt-env-conf-test] - pure $ Just a
  1835. 1028.00 s [opt-env-conf-test] let toRes = \case
  1836. 1028.00 s [opt-env-conf-test] Nothing -> NotFound
  1837. 1028.00 s [opt-env-conf-test] Just a -> Found a
  1838. 1028.00 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:396:41-64
  1839. 1028.00 s [opt-env-conf-test] @@ -393,30 +393,29 @@
  1840. 1028.00 s [opt-env-conf-test] case mO' of
  1841. 1028.00 s [opt-env-conf-test] Nothing -> pure Nothing
  1842. 1028.00 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  1843. 1028.00 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  1844. 1028.00 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1845. 1028.00 s [opt-env-conf-test] Right mV -> case mV of
  1846. 1028.00 s [opt-env-conf-test] Nothing -> do
  1847. 1028.00 s [opt-env-conf-test] debug
  1848. 1028.00 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  1849. 1028.00 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1850. 1028.00 s [opt-env-conf-test] ]
  1851. 1028.00 s [opt-env-conf-test] pure Nothing
  1852. 1028.00 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1853. 1028.01 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1854. 1028.01 s [opt-env-conf-test] Right mA -> case mA of
  1855. 1028.01 s [opt-env-conf-test] Nothing -> do
  1856. 1028.01 s [opt-env-conf-test] debug
  1857. 1028.01 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  1858. 1028.01 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1859. 1028.01 s [opt-env-conf-test] ]
  1860. 1028.01 s [opt-env-conf-test] pure Nothing
  1861. 1028.01 s [opt-env-conf-test] Just a -> do
  1862. 1028.01 s [opt-env-conf-test] debug
  1863. 1028.01 s [opt-env-conf-test] [ "set based on config value: ",
  1864. 1029.38 s [opt-env-conf-test] chunk $ T.pack $ show v
  1865. 1029.38 s [opt-env-conf-test] ]
  1866. 1029.38 s [opt-env-conf-test] pure $ Just a
  1867. 1029.38 s [opt-env-conf-test] let toRes = \case
  1868. 1029.38 s [opt-env-conf-test] Nothing -> NotFound
  1869. 1029.38 s [opt-env-conf-test] Just a -> Found a
  1870. 1029.38 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:427:43-69
  1871. 1029.38 s [opt-env-conf-test] @@ -424,9 +424,8 @@
  1872. 1029.38 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  1873. 1029.38 s [opt-env-conf-test] Just ne -> do
  1874. 1029.38 s [opt-env-conf-test] res <- goConfSet confSet
  1875. 1029.38 s [opt-env-conf-test] case res of
  1876. 1029.38 s [opt-env-conf-test] Just a -> pure $ Found a
  1877. 1029.38 s [opt-env-conf-test] - Nothing -> goConfSets ne
  1878. 1029.38 s [opt-env-conf-test] goConfSets confSets
  1879. 1029.38 s [opt-env-conf-test] case mConf of
  1880. 1029.38 s [opt-env-conf-test] Found a -> do
  1881. 1029.38 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:423:70-69
  1882. 1029.38 s [opt-env-conf-test] @@ -420,13 +420,12 @@
  1883. 1029.38 s [opt-env-conf-test] let toRes = \case
  1884. 1029.38 s [opt-env-conf-test] Nothing -> NotFound
  1885. 1029.38 s [opt-env-conf-test] Just a -> Found a
  1886. 1029.38 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  1887. 1029.38 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  1888. 1029.38 s [opt-env-conf-test] Just ne -> do
  1889. 1029.38 s [opt-env-conf-test] res <- goConfSet confSet
  1890. 1029.38 s [opt-env-conf-test] case res of
  1891. 1029.38 s [opt-env-conf-test] Just a -> pure $ Found a
  1892. 1029.38 s [opt-env-conf-test] Nothing -> goConfSets ne
  1893. 1029.38 s [opt-env-conf-test] goConfSets confSets
  1894. 1029.38 s [opt-env-conf-test] case mConf of
  1895. 1029.38 s [opt-env-conf-test] Found a -> do
  1896. 1029.38 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:423:70-69
  1897. 1029.38 s [opt-env-conf-test] @@ -420,13 +420,8 @@
  1898. 1029.38 s [opt-env-conf-test] let toRes = \case
  1899. 1029.38 s [opt-env-conf-test] Nothing -> NotFound
  1900. 1029.38 s [opt-env-conf-test] Just a -> Found a
  1901. 1029.38 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  1902. 1029.38 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  1903. 1029.38 s [opt-env-conf-test] - Just ne -> do
  1904. 1029.38 s [opt-env-conf-test] - res <- goConfSet confSet
  1905. 1029.38 s [opt-env-conf-test] - case res of
  1906. 1029.39 s [opt-env-conf-test] - Just a -> pure $ Found a
  1907. 1029.39 s [opt-env-conf-test] - Nothing -> goConfSets ne
  1908. 1029.39 s [opt-env-conf-test] goConfSets confSets
  1909. 1029.39 s [opt-env-conf-test] case mConf of
  1910. 1029.39 s [opt-env-conf-test] Found a -> do
  1911. 1029.39 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:379:31-54
  1912. 1029.39 s [opt-env-conf-test] @@ -376,58 +376,55 @@
  1913. 1029.39 s [opt-env-conf-test] Nothing -> pure NotRun
  1914. 1029.39 s [opt-env-conf-test] Just confSets -> do
  1915. 1029.39 s [opt-env-conf-test] mObj <- asks ppEnvConf
  1916. 1029.39 s [opt-env-conf-test] case mObj of
  1917. 1029.39 s [opt-env-conf-test] - Nothing -> do
  1918. 1029.39 s [opt-env-conf-test] - debug ["no config object to set from"]
  1919. 1029.39 s [opt-env-conf-test] - pure NotFound
  1920. 1029.39 s [opt-env-conf-test] Just obj -> do
  1921. 1029.39 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  1922. 1029.39 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  1923. 1029.39 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  1924. 1029.39 s [opt-env-conf-test] Nothing -> do
  1925. 1029.39 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  1926. 1029.39 s [opt-env-conf-test] Nothing -> pure Nothing
  1927. 1029.39 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  1928. 1029.39 s [opt-env-conf-test] Just neRest -> do
  1929. 1029.39 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  1930. 1029.39 s [opt-env-conf-test] case mO' of
  1931. 1029.39 s [opt-env-conf-test] Nothing -> pure Nothing
  1932. 1029.39 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  1933. 1029.39 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  1934. 1029.39 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1935. 1029.39 s [opt-env-conf-test] Right mV -> case mV of
  1936. 1029.39 s [opt-env-conf-test] Nothing -> do
  1937. 1029.39 s [opt-env-conf-test] debug
  1938. 1029.39 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  1939. 1029.39 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1940. 1029.39 s [opt-env-conf-test] ]
  1941. 1029.39 s [opt-env-conf-test] pure Nothing
  1942. 1029.39 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1943. 1029.39 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1944. 1029.39 s [opt-env-conf-test] Right mA -> case mA of
  1945. 1029.39 s [opt-env-conf-test] Nothing -> do
  1946. 1029.39 s [opt-env-conf-test] debug
  1947. 1029.39 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  1948. 1029.39 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1949. 1029.39 s [opt-env-conf-test] ]
  1950. 1029.39 s [opt-env-conf-test] pure Nothing
  1951. 1029.39 s [opt-env-conf-test] Just a -> do
  1952. 1029.39 s [opt-env-conf-test] debug
  1953. 1029.39 s [opt-env-conf-test] [ "set based on config value: ",
  1954. 1029.39 s [opt-env-conf-test] chunk $ T.pack $ show v
  1955. 1029.39 s [opt-env-conf-test] ]
  1956. 1029.39 s [opt-env-conf-test] pure $ Just a
  1957. 1029.39 s [opt-env-conf-test] let toRes = \case
  1958. 1029.39 s [opt-env-conf-test] Nothing -> NotFound
  1959. 1029.39 s [opt-env-conf-test] Just a -> Found a
  1960. 1029.39 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  1961. 1029.39 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  1962. 1029.39 s [opt-env-conf-test] Just ne -> do
  1963. 1029.39 s [opt-env-conf-test] res <- goConfSet confSet
  1964. 1029.40 s [opt-env-conf-test] case res of
  1965. 1029.40 s [opt-env-conf-test] Just a -> pure $ Found a
  1966. 1029.40 s [opt-env-conf-test] Nothing -> goConfSets ne
  1967. 1029.49 s [opt-env-conf-test] goConfSets confSets
  1968. 1029.49 s [opt-env-conf-test] case mConf of
  1969. 1029.49 s [opt-env-conf-test] Found a -> do
  1970. 1029.49 s [opt-env-conf-test] markParsed
  1971. 1029.49 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:379:31-54
  1972. 1029.49 s [opt-env-conf-test] @@ -376,58 +376,10 @@
  1973. 1029.49 s [opt-env-conf-test] Nothing -> pure NotRun
  1974. 1029.49 s [opt-env-conf-test] Just confSets -> do
  1975. 1029.49 s [opt-env-conf-test] mObj <- asks ppEnvConf
  1976. 1029.49 s [opt-env-conf-test] case mObj of
  1977. 1029.50 s [opt-env-conf-test] Nothing -> do
  1978. 1029.50 s [opt-env-conf-test] debug ["no config object to set from"]
  1979. 1029.50 s [opt-env-conf-test] pure NotFound
  1980. 1029.50 s [opt-env-conf-test] - Just obj -> do
  1981. 1029.50 s [opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
  1982. 1029.50 s [opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  1983. 1029.50 s [opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
  1984. 1029.50 s [opt-env-conf-test] - Nothing -> do
  1985. 1029.50 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  1986. 1029.50 s [opt-env-conf-test] - Nothing -> pure Nothing
  1987. 1029.50 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  1988. 1029.50 s [opt-env-conf-test] - Just neRest -> do
  1989. 1029.50 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  1990. 1029.50 s [opt-env-conf-test] - case mO' of
  1991. 1029.50 s [opt-env-conf-test] - Nothing -> pure Nothing
  1992. 1029.50 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  1993. 1029.50 s [opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
  1994. 1029.50 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1995. 1029.50 s [opt-env-conf-test] - Right mV -> case mV of
  1996. 1029.50 s [opt-env-conf-test] - Nothing -> do
  1997. 1029.50 s [opt-env-conf-test] - debug
  1998. 1029.50 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  1999. 1029.50 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  2000. 1029.50 s [opt-env-conf-test] - ]
  2001. 1029.50 s [opt-env-conf-test] - pure Nothing
  2002. 1029.50 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  2003. 1029.50 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  2004. 1029.50 s [opt-env-conf-test] - Right mA -> case mA of
  2005. 1029.51 s [opt-env-conf-test] - Nothing -> do
  2006. 1029.51 s [opt-env-conf-test] - debug
  2007. 1029.51 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  2008. 1029.51 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  2009. 1029.51 s [opt-env-conf-test] - ]
  2010. 1029.51 s [opt-env-conf-test] - pure Nothing
  2011. 1029.51 s [opt-env-conf-test] - Just a -> do
  2012. 1029.51 s [opt-env-conf-test] - debug
  2013. 1029.51 s [opt-env-conf-test] - [ "set based on config value: ",
  2014. 1029.51 s [opt-env-conf-test] - chunk $ T.pack $ show v
  2015. 1029.51 s [opt-env-conf-test] - ]
  2016. 1029.51 s [opt-env-conf-test] - pure $ Just a
  2017. 1029.51 s [opt-env-conf-test] - let toRes = \case
  2018. 1029.51 s [opt-env-conf-test] - Nothing -> NotFound
  2019. 1029.51 s [opt-env-conf-test] - Just a -> Found a
  2020. 1029.51 s [opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  2021. 1029.51 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  2022. 1030.17 s [opt-env-conf-test] - Just ne -> do
  2023. 1030.17 s [opt-env-conf-test] - res <- goConfSet confSet
  2024. 1030.17 s [opt-env-conf-test] - case res of
  2025. 1030.17 s [opt-env-conf-test] - Just a -> pure $ Found a
  2026. 1030.17 s [opt-env-conf-test] - Nothing -> goConfSets ne
  2027. 1030.17 s [opt-env-conf-test] - goConfSets confSets
  2028. 1030.17 s [opt-env-conf-test] case mConf of
  2029. 1030.17 s [opt-env-conf-test] Found a -> do
  2030. 1030.17 s [opt-env-conf-test] markParsed
  2031. 1030.17 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:375:36-54
  2032. 1030.17 s [opt-env-conf-test] @@ -372,62 +372,61 @@
  2033. 1030.17 s [opt-env-conf-test] pure a
  2034. 1030.17 s [opt-env-conf-test] _ -> do
  2035. 1030.17 s [opt-env-conf-test] let mConfDoc = settingConfDoc set
  2036. 1030.17 s [opt-env-conf-test] mConf <- case settingConfigVals of
  2037. 1030.17 s [opt-env-conf-test] - Nothing -> pure NotRun
  2038. 1030.17 s [opt-env-conf-test] Just confSets -> do
  2039. 1030.17 s [opt-env-conf-test] mObj <- asks ppEnvConf
  2040. 1030.17 s [opt-env-conf-test] case mObj of
  2041. 1030.17 s [opt-env-conf-test] Nothing -> do
  2042. 1030.17 s [opt-env-conf-test] debug ["no config object to set from"]
  2043. 1030.17 s [opt-env-conf-test] pure NotFound
  2044. 1030.17 s [opt-env-conf-test] Just obj -> do
  2045. 1030.17 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  2046. 1030.17 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  2047. 1030.17 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  2048. 1030.17 s [opt-env-conf-test] Nothing -> do
  2049. 1030.17 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  2050. 1030.17 s [opt-env-conf-test] Nothing -> pure Nothing
  2051. 1030.17 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  2052. 1030.17 s [opt-env-conf-test] Just neRest -> do
  2053. 1030.17 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  2054. 1030.17 s [opt-env-conf-test] case mO' of
  2055. 1030.18 s [opt-env-conf-test] Nothing -> pure Nothing
  2056. 1030.18 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  2057. 1030.18 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  2058. 1030.18 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  2059. 1030.18 s [opt-env-conf-test] Right mV -> case mV of
  2060. 1030.18 s [opt-env-conf-test] Nothing -> do
  2061. 1030.18 s [opt-env-conf-test] debug
  2062. 1030.18 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  2063. 1030.18 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  2064. 1030.18 s [opt-env-conf-test] ]
  2065. 1030.18 s [opt-env-conf-test] pure Nothing
  2066. 1030.18 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  2067. 1030.18 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  2068. 1030.18 s [opt-env-conf-test] Right mA -> case mA of
  2069. 1030.18 s [opt-env-conf-test] Nothing -> do
  2070. 1030.18 s [opt-env-conf-test] debug
  2071. 1030.18 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  2072. 1030.18 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  2073. 1030.18 s [opt-env-conf-test] ]
  2074. 1030.19 s [opt-env-conf-test] pure Nothing
  2075. 1030.19 s [opt-env-conf-test] Just a -> do
  2076. 1030.19 s [opt-env-conf-test] debug
  2077. 1030.19 s [opt-env-conf-test] [ "set based on config value: ",
  2078. 1030.19 s [opt-env-conf-test] chunk $ T.pack $ show v
  2079. 1030.19 s [opt-env-conf-test] ]
  2080. 1030.19 s [opt-env-conf-test] pure $ Just a
  2081. 1030.19 s [opt-env-conf-test] let toRes = \case
  2082. 1030.19 s [opt-env-conf-test] Nothing -> NotFound
  2083. 1030.19 s [opt-env-conf-test] Just a -> Found a
  2084. 1030.19 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  2085. 1030.19 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  2086. 1030.19 s [opt-env-conf-test] Just ne -> do
  2087. 1030.19 s [opt-env-conf-test] res <- goConfSet confSet
  2088. 1030.19 s [opt-env-conf-test] case res of
  2089. 1031.64 s [opt-env-conf-test] Just a -> pure $ Found a
  2090. 1031.72 s [opt-env-conf-test] Nothing -> goConfSets ne
  2091. 1031.72 s [opt-env-conf-test] goConfSets confSets
  2092. 1031.72 s [opt-env-conf-test] case mConf of
  2093. 1031.73 s [opt-env-conf-test] Found a -> do
  2094. 1031.73 s [opt-env-conf-test] markParsed
  2095. 1031.73 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:375:36-54
  2096. 1031.73 s [opt-env-conf-test] @@ -372,62 +372,8 @@
  2097. 1031.73 s [opt-env-conf-test] pure a
  2098. 1031.73 s [opt-env-conf-test] _ -> do
  2099. 1031.73 s [opt-env-conf-test] let mConfDoc = settingConfDoc set
  2100. 1031.73 s [opt-env-conf-test] mConf <- case settingConfigVals of
  2101. 1031.73 s [opt-env-conf-test] Nothing -> pure NotRun
  2102. 1031.73 s [opt-env-conf-test] - Just confSets -> do
  2103. 1031.73 s [opt-env-conf-test] - mObj <- asks ppEnvConf
  2104. 1031.73 s [opt-env-conf-test] - case mObj of
  2105. 1031.73 s [opt-env-conf-test] - Nothing -> do
  2106. 1031.73 s [opt-env-conf-test] - debug ["no config object to set from"]
  2107. 1031.73 s [opt-env-conf-test] - pure NotFound
  2108. 1031.73 s [opt-env-conf-test] - Just obj -> do
  2109. 1031.73 s [opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
  2110. 1031.73 s [opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  2111. 1031.73 s [opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
  2112. 1031.73 s [opt-env-conf-test] - Nothing -> do
  2113. 1031.74 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  2114. 1031.74 s [opt-env-conf-test] - Nothing -> pure Nothing
  2115. 1031.74 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  2116. 1031.74 s [opt-env-conf-test] - Just neRest -> do
  2117. 1031.74 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  2118. 1031.74 s [opt-env-conf-test] - case mO' of
  2119. 1031.74 s [opt-env-conf-test] - Nothing -> pure Nothing
  2120. 1031.74 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  2121. 1031.74 s [opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
  2122. 1031.74 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  2123. 1031.74 s [opt-env-conf-test] - Right mV -> case mV of
  2124. 1031.74 s [opt-env-conf-test] - Nothing -> do
  2125. 1031.74 s [opt-env-conf-test] - debug
  2126. 1031.74 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  2127. 1031.74 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  2128. 1031.74 s [opt-env-conf-test] - ]
  2129. 1031.74 s [opt-env-conf-test] - pure Nothing
  2130. 1031.74 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  2131. 1031.74 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  2132. 1031.74 s [opt-env-conf-test] - Right mA -> case mA of
  2133. 1031.74 s [opt-env-conf-test] - Nothing -> do
  2134. 1031.74 s [opt-env-conf-test] - debug
  2135. 1031.74 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  2136. 1031.74 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  2137. 1031.74 s [opt-env-conf-test] - ]
  2138. 1031.74 s [opt-env-conf-test] - pure Nothing
  2139. 1031.74 s [opt-env-conf-test] - Just a -> do
  2140. 1031.74 s [opt-env-conf-test] - debug
  2141. 1031.74 s [opt-env-conf-test] - [ "set based on config value: ",
  2142. 1031.74 s [opt-env-conf-test] - chunk $ T.pack $ show v
  2143. 1031.74 s [opt-env-conf-test] - ]
  2144. 1031.74 s [opt-env-conf-test] - pure $ Just a
  2145. 1031.75 s [opt-env-conf-test] - let toRes = \case
  2146. 1031.75 s [opt-env-conf-test] - Nothing -> NotFound
  2147. 1031.75 s [opt-env-conf-test] - Just a -> Found a
  2148. 1035.90 s [opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  2149. 1035.90 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  2150. 1035.90 s [opt-env-conf-test] - Just ne -> do
  2151. 1035.90 s [opt-env-conf-test] - res <- goConfSet confSet
  2152. 1035.90 s [opt-env-conf-test] - case res of
  2153. 1035.90 s [opt-env-conf-test] - Just a -> pure $ Found a
  2154. 1035.91 s [opt-env-conf-test] - Nothing -> goConfSets ne
  2155. 1035.91 s [opt-env-conf-test] - goConfSets confSets
  2156. 1035.91 s [opt-env-conf-test] case mConf of
  2157. 1035.91 s [opt-env-conf-test] Found a -> do
  2158. 1035.91 s [opt-env-conf-test] markParsed
  2159. 1035.91 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
  2160. 1035.91 s [opt-env-conf-test] @@ -438,10 +438,9 @@
  2161. 1035.91 s [opt-env-conf-test] debug ["set to default value"]
  2162. 1035.91 s [opt-env-conf-test] pure a -- Don't mark as parsed
  2163. 1035.91 s [opt-env-conf-test] Nothing -> do
  2164. 1035.91 s [opt-env-conf-test] let parseResultError e res = case res of
  2165. 1035.91 s [opt-env-conf-test] - NotRun -> Nothing
  2166. 1035.91 s [opt-env-conf-test] NotFound -> Just e
  2167. 1035.91 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  2168. 1035.91 s [opt-env-conf-test] debug ["not found"]
  2169. 1035.91 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  2170. 1035.91 s [opt-env-conf-test] NE.nonEmpty $
  2171. 1035.91 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
  2172. 1035.91 s [opt-env-conf-test] @@ -438,10 +438,9 @@
  2173. 1035.91 s [opt-env-conf-test] debug ["set to default value"]
  2174. 1035.91 s [opt-env-conf-test] pure a -- Don't mark as parsed
  2175. 1035.91 s [opt-env-conf-test] Nothing -> do
  2176. 1035.91 s [opt-env-conf-test] let parseResultError e res = case res of
  2177. 1035.91 s [opt-env-conf-test] NotRun -> Nothing
  2178. 1035.91 s [opt-env-conf-test] NotFound -> Just e
  2179. 1035.92 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  2180. 1035.92 s [opt-env-conf-test] debug ["not found"]
  2181. 1035.92 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  2182. 1035.92 s [opt-env-conf-test] NE.nonEmpty $
  2183. 1035.92 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
  2184. 1035.92 s [opt-env-conf-test] @@ -438,10 +438,9 @@
  2185. 1035.92 s [opt-env-conf-test] debug ["set to default value"]
  2186. 1035.92 s [opt-env-conf-test] pure a -- Don't mark as parsed
  2187. 1035.92 s [opt-env-conf-test] Nothing -> do
  2188. 1035.92 s [opt-env-conf-test] let parseResultError e res = case res of
  2189. 1035.92 s [opt-env-conf-test] NotRun -> Nothing
  2190. 1035.92 s [opt-env-conf-test] - NotFound -> Just e
  2191. 1035.92 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  2192. 1035.92 s [opt-env-conf-test] debug ["not found"]
  2193. 1035.92 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  2194. 1035.92 s [opt-env-conf-test] NE.nonEmpty $
  2195. 1035.92 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
  2196. 1035.92 s [opt-env-conf-test] @@ -446,12 +446,7 @@
  2197. 1035.92 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  2198. 1035.92 s [opt-env-conf-test] NE.nonEmpty $
  2199. 1035.92 s [opt-env-conf-test] catMaybes
  2200. 1035.92 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  2201. 1035.92 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  2202. 1035.92 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  2203. 1035.92 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  2204. 1035.92 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  2205. 1035.92 s [opt-env-conf-test] ]
  2206. 1035.92 s [opt-env-conf-test]
  2207. 1035.92 s [opt-env-conf-test] withCapabilities ::
  2208. 1035.92 s [opt-env-conf-test] Maybe SrcLoc ->
  2209. 1035.92 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
  2210. 1035.92 s [opt-env-conf-test] @@ -446,12 +446,11 @@
  2211. 1035.92 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  2212. 1035.93 s [opt-env-conf-test] NE.nonEmpty $
  2213. 1035.93 s [opt-env-conf-test] catMaybes
  2214. 1035.93 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  2215. 1035.93 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  2216. 1035.93 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  2217. 1035.93 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  2218. 1035.93 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  2219. 1035.93 s [opt-env-conf-test] ]
  2220. 1035.93 s [opt-env-conf-test]
  2221. 1035.93 s [opt-env-conf-test] withCapabilities ::
  2222. 1035.93 s [opt-env-conf-test] Maybe SrcLoc ->
  2223. 1035.93 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
  2224. 1035.93 s [opt-env-conf-test] @@ -446,12 +446,11 @@
  2225. 1035.93 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  2226. 1035.93 s [opt-env-conf-test] NE.nonEmpty $
  2227. 1035.93 s [opt-env-conf-test] catMaybes
  2228. 1035.93 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  2229. 1035.93 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  2230. 1035.93 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  2231. 1035.93 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  2232. 1035.93 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  2233. 1035.93 s [opt-env-conf-test] ]
  2234. 1035.93 s [opt-env-conf-test]
  2235. 1035.93 s [opt-env-conf-test] withCapabilities ::
  2236. 1035.93 s [opt-env-conf-test] Maybe SrcLoc ->
  2237. 1035.93 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:440:44-42
  2238. 1035.93 s [opt-env-conf-test] @@ -437,21 +437,20 @@
  2239. 1035.93 s [opt-env-conf-test] Just (a, _) -> do
  2240. 1035.93 s [opt-env-conf-test] debug ["set to default value"]
  2241. 1035.93 s [opt-env-conf-test] pure a -- Don't mark as parsed
  2242. 1035.93 s [opt-env-conf-test] Nothing -> do
  2243. 1035.93 s [opt-env-conf-test] let parseResultError e res = case res of
  2244. 1035.93 s [opt-env-conf-test] NotRun -> Nothing
  2245. 1035.94 s [opt-env-conf-test] NotFound -> Just e
  2246. 1035.94 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  2247. 1035.94 s [opt-env-conf-test] - debug ["not found"]
  2248. 1035.94 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  2249. 1035.94 s [opt-env-conf-test] NE.nonEmpty $
  2250. 1035.94 s [opt-env-conf-test] catMaybes
  2251. 1035.94 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  2252. 1035.94 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  2253. 1035.94 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  2254. 1035.94 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  2255. 1035.94 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  2256. 1035.94 s [opt-env-conf-test] ]
  2257. 1035.94 s [opt-env-conf-test]
  2258. 1035.94 s [opt-env-conf-test] withCapabilities ::
  2259. 1035.94 s [opt-env-conf-test] Maybe SrcLoc ->
  2260. 1035.94 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:431:27-42
  2261. 1035.94 s [opt-env-conf-test] @@ -428,30 +428,27 @@
  2262. 1035.94 s [opt-env-conf-test] Just a -> pure $ Found a
  2263. 1035.94 s [opt-env-conf-test] Nothing -> goConfSets ne
  2264. 1035.94 s [opt-env-conf-test] goConfSets confSets
  2265. 1035.94 s [opt-env-conf-test] case mConf of
  2266. 1035.94 s [opt-env-conf-test] - Found a -> do
  2267. 1035.94 s [opt-env-conf-test] - markParsed
  2268. 1035.94 s [opt-env-conf-test] - pure a
  2269. 1035.94 s [opt-env-conf-test] _ ->
  2270. 1035.94 s [opt-env-conf-test] case settingDefaultValue of
  2271. 1035.94 s [opt-env-conf-test] Just (a, _) -> do
  2272. 1035.94 s [opt-env-conf-test] debug ["set to default value"]
  2273. 1035.94 s [opt-env-conf-test] pure a -- Don't mark as parsed
  2274. 1035.94 s [opt-env-conf-test] Nothing -> do
  2275. 1035.94 s [opt-env-conf-test] let parseResultError e res = case res of
  2276. 1035.94 s [opt-env-conf-test] NotRun -> Nothing
  2277. 1035.94 s [opt-env-conf-test] NotFound -> Just e
  2278. 1037.90 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  2279. 1037.95 s [opt-env-conf-test] debug ["not found"]
  2280. 1037.95 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  2281. 1037.95 s [opt-env-conf-test] NE.nonEmpty $
  2282. 1037.95 s [opt-env-conf-test] catMaybes
  2283. 1037.95 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  2284. 1037.95 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  2285. 1037.95 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  2286. 1037.95 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  2287. 1037.95 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  2288. 1037.95 s [opt-env-conf-test] ]
  2289. 1037.95 s [opt-env-conf-test]
  2290. 1037.95 s [opt-env-conf-test] withCapabilities ::
  2291. 1037.95 s [opt-env-conf-test] Maybe SrcLoc ->
  2292. 1037.95 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:436:31-42
  2293. 1037.95 s [opt-env-conf-test] @@ -433,25 +433,22 @@
  2294. 1037.95 s [opt-env-conf-test] markParsed
  2295. 1037.96 s [opt-env-conf-test] pure a
  2296. 1037.96 s [opt-env-conf-test] _ ->
  2297. 1037.96 s [opt-env-conf-test] case settingDefaultValue of
  2298. 1037.96 s [opt-env-conf-test] - Just (a, _) -> do
  2299. 1037.96 s [opt-env-conf-test] - debug ["set to default value"]
  2300. 1037.96 s [opt-env-conf-test] - pure a -- Don't mark as parsed
  2301. 1037.96 s [opt-env-conf-test] Nothing -> do
  2302. 1037.96 s [opt-env-conf-test] let parseResultError e res = case res of
  2303. 1037.96 s [opt-env-conf-test] NotRun -> Nothing
  2304. 1037.96 s [opt-env-conf-test] NotFound -> Just e
  2305. 1037.96 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  2306. 1037.96 s [opt-env-conf-test] debug ["not found"]
  2307. 1037.96 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  2308. 1037.96 s [opt-env-conf-test] NE.nonEmpty $
  2309. 1037.96 s [opt-env-conf-test] catMaybes
  2310. 1037.96 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  2311. 1037.96 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  2312. 1037.96 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  2313. 1037.96 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  2314. 1037.96 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  2315. 1037.96 s [opt-env-conf-test] ]
  2316. 1037.96 s [opt-env-conf-test]
  2317. 1037.96 s [opt-env-conf-test] withCapabilities ::
  2318. 1037.96 s [opt-env-conf-test] Maybe SrcLoc ->
  2319. 1037.96 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:369:23-42
  2320. 1037.96 s [opt-env-conf-test] @@ -366,92 +366,89 @@
  2321. 1037.96 s [opt-env-conf-test] pure NotFound
  2322. 1037.96 s [opt-env-conf-test] Just a -> pure $ Found a
  2323. 1037.96 s [opt-env-conf-test]
  2324. 1037.96 s [opt-env-conf-test] case mEnv of
  2325. 1037.96 s [opt-env-conf-test] - Found a -> do
  2326. 1037.96 s [opt-env-conf-test] - markParsed
  2327. 1037.96 s [opt-env-conf-test] - pure a
  2328. 1037.96 s [opt-env-conf-test] _ -> do
  2329. 1037.96 s [opt-env-conf-test] let mConfDoc = settingConfDoc set
  2330. 1037.96 s [opt-env-conf-test] mConf <- case settingConfigVals of
  2331. 1037.96 s [opt-env-conf-test] Nothing -> pure NotRun
  2332. 1037.96 s [opt-env-conf-test] Just confSets -> do
  2333. 1037.96 s [opt-env-conf-test] mObj <- asks ppEnvConf
  2334. 1037.96 s [opt-env-conf-test] case mObj of
  2335. 1037.96 s [opt-env-conf-test] Nothing -> do
  2336. 1037.96 s [opt-env-conf-test] debug ["no config object to set from"]
  2337. 1037.96 s [opt-env-conf-test] pure NotFound
  2338. 1037.96 s [opt-env-conf-test] Just obj -> do
  2339. 1037.96 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  2340. 1037.96 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  2341. 1037.96 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  2342. 1037.96 s [opt-env-conf-test] Nothing -> do
  2343. 1037.96 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  2344. 1037.96 s [opt-env-conf-test] Nothing -> pure Nothing
  2345. 1037.97 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  2346. 1037.97 s [opt-env-conf-test] Just neRest -> do
  2347. 1037.97 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  2348. 1037.97 s [opt-env-conf-test] case mO' of
  2349. 1037.97 s [opt-env-conf-test] Nothing -> pure Nothing
  2350. 1037.97 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  2351. 1037.97 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  2352. 1037.97 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  2353. 1037.97 s [opt-env-conf-test] Right mV -> case mV of
  2354. 1037.97 s [opt-env-conf-test] Nothing -> do
  2355. 1037.97 s [opt-env-conf-test] debug
  2356. 1037.97 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  2357. 1037.97 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  2358. 1037.97 s [opt-env-conf-test] ]
  2359. 1037.97 s [opt-env-conf-test] pure Nothing
  2360. 1037.97 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  2361. 1037.97 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  2362. 1037.97 s [opt-env-conf-test] Right mA -> case mA of
  2363. 1037.97 s [opt-env-conf-test] Nothing -> do
  2364. 1037.97 s [opt-env-conf-test] debug
  2365. 1037.97 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  2366. 1037.97 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  2367. 1037.97 s [opt-env-conf-test] ]
  2368. 1037.97 s [opt-env-conf-test] pure Nothing
  2369. 1037.97 s [opt-env-conf-test] Just a -> do
  2370. 1037.97 s [opt-env-conf-test] debug
  2371. 1037.97 s [opt-env-conf-test] [ "set based on config value: ",
  2372. 1037.97 s [opt-env-conf-test] chunk $ T.pack $ show v
  2373. 1037.97 s [opt-env-conf-test] ]
  2374. 1037.97 s [opt-env-conf-test] pure $ Just a
  2375. 1037.97 s [opt-env-conf-test] let toRes = \case
  2376. 1037.97 s [opt-env-conf-test] Nothing -> NotFound
  2377. 1037.97 s [opt-env-conf-test] Just a -> Found a
  2378. 1037.97 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  2379. 1039.22 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:436:31-42
  2380. 1039.22 s [opt-env-conf-test] @@ -433,25 +433,10 @@
  2381. 1039.22 s [opt-env-conf-test] markParsed
  2382. 1039.22 s [opt-env-conf-test] pure a
  2383. 1039.22 s [opt-env-conf-test] _ ->
  2384. 1039.22 s [opt-env-conf-test] case settingDefaultValue of
  2385. 1039.22 s [opt-env-conf-test] Just (a, _) -> do
  2386. 1039.22 s [opt-env-conf-test] debug ["set to default value"]
  2387. 1039.22 s [opt-env-conf-test] pure a -- Don't mark as parsed
  2388. 1039.22 s [opt-env-conf-test] - Nothing -> do
  2389. 1039.22 s [opt-env-conf-test] - let parseResultError e res = case res of
  2390. 1039.22 s [opt-env-conf-test] - NotRun -> Nothing
  2391. 1039.22 s [opt-env-conf-test] - NotFound -> Just e
  2392. 1039.22 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  2393. 1039.22 s [opt-env-conf-test] - debug ["not found"]
  2394. 1039.22 s [opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  2395. 1039.22 s [opt-env-conf-test] - NE.nonEmpty $
  2396. 1039.22 s [opt-env-conf-test] - catMaybes
  2397. 1039.23 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  2398. 1039.23 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  2399. 1039.23 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  2400. 1039.23 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  2401. 1039.23 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  2402. 1039.23 s [opt-env-conf-test] - ]
  2403. 1039.23 s [opt-env-conf-test]
  2404. 1039.23 s [opt-env-conf-test] withCapabilities ::
  2405. 1039.23 s [opt-env-conf-test] Maybe SrcLoc ->
  2406. 1039.23 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  2407. 1039.23 s [opt-env-conf-test] Just ne -> do
  2408. 1039.23 s [opt-env-conf-test] res <- goConfSet confSet
  2409. 1039.23 s [opt-env-conf-test] case res of
  2410. 1039.23 s [opt-env-conf-test] Just a -> pure $ Found a
  2411. 1039.23 s [opt-env-conf-test] Nothing -> goConfSets ne
  2412. 1039.23 s [opt-env-conf-test] goConfSets confSets
  2413. 1039.23 s [opt-env-conf-test] case mConf of
  2414. 1039.23 s [opt-env-conf-test] Found a -> do
  2415. 1039.23 s [opt-env-conf-test] markParsed
  2416. 1039.23 s [opt-env-conf-test] pure a
  2417. 1039.23 s [opt-env-conf-test] _ ->
  2418. 1039.23 s [opt-env-conf-test] case settingDefaultValue of
  2419. 1039.23 s [opt-env-conf-test] Just (a, _) -> do
  2420. 1039.23 s [opt-env-conf-test] debug ["set to default value"]
  2421. 1039.23 s [opt-env-conf-test] pure a -- Don't mark as parsed
  2422. 1039.23 s [opt-env-conf-test] Nothing -> do
  2423. 1039.23 s [opt-env-conf-test] let parseResultError e res = case res of
  2424. 1039.23 s [opt-env-conf-test] NotRun -> Nothing
  2425. 1039.23 s [opt-env-conf-test] NotFound -> Just e
  2426. 1039.23 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  2427. 1039.23 s [opt-env-conf-test] debug ["not found"]
  2428. 1039.23 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  2429. 1039.23 s [opt-env-conf-test] NE.nonEmpty $
  2430. 1039.23 s [opt-env-conf-test] catMaybes
  2431. 1039.23 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  2432. 1039.23 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  2433. 1039.23 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  2434. 1039.23 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  2435. 1039.23 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  2436. 1039.24 s [opt-env-conf-test] ]
  2437. 1039.24 s [opt-env-conf-test]
  2438. 1039.24 s [opt-env-conf-test] withCapabilities ::
  2439. 1039.24 s [opt-env-conf-test] Maybe SrcLoc ->
  2440. 1039.24 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:431:27-42
  2441. 1039.24 s [opt-env-conf-test] @@ -428,30 +428,10 @@
  2442. 1039.24 s [opt-env-conf-test] Just a -> pure $ Found a
  2443. 1039.24 s [opt-env-conf-test] Nothing -> goConfSets ne
  2444. 1039.24 s [opt-env-conf-test] goConfSets confSets
  2445. 1039.24 s [opt-env-conf-test] case mConf of
  2446. 1039.24 s [opt-env-conf-test] Found a -> do
  2447. 1039.24 s [opt-env-conf-test] markParsed
  2448. 1039.24 s [opt-env-conf-test] pure a
  2449. 1039.24 s [opt-env-conf-test] - _ ->
  2450. 1039.24 s [opt-env-conf-test] - case settingDefaultValue of
  2451. 1039.24 s [opt-env-conf-test] - Just (a, _) -> do
  2452. 1039.24 s [opt-env-conf-test] - debug ["set to default value"]
  2453. 1039.24 s [opt-env-conf-test] - pure a -- Don't mark as parsed
  2454. 1039.24 s [opt-env-conf-test] - Nothing -> do
  2455. 1039.24 s [opt-env-conf-test] - let parseResultError e res = case res of
  2456. 1039.24 s [opt-env-conf-test] - NotRun -> Nothing
  2457. 1039.24 s [opt-env-conf-test] - NotFound -> Just e
  2458. 1039.24 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  2459. 1039.24 s [opt-env-conf-test] - debug ["not found"]
  2460. 1039.24 s [opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  2461. 1039.25 s [opt-env-conf-test] - NE.nonEmpty $
  2462. 1039.25 s [opt-env-conf-test] - catMaybes
  2463. 1039.25 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  2464. 1039.25 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  2465. 1039.25 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  2466. 1039.25 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  2467. 1039.25 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  2468. 1039.25 s [opt-env-conf-test] - ]
  2469. 1039.25 s [opt-env-conf-test]
  2470. 1039.25 s [opt-env-conf-test] withCapabilities ::
  2471. 1039.28 s [opt-env-conf-test] Maybe SrcLoc ->
  2472. 1039.28 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:369:23-42
  2473. 1039.28 s [opt-env-conf-test] @@ -366,92 +366,10 @@
  2474. 1039.28 s [opt-env-conf-test] pure NotFound
  2475. 1039.28 s [opt-env-conf-test] Just a -> pure $ Found a
  2476. 1039.28 s [opt-env-conf-test]
  2477. 1039.28 s [opt-env-conf-test] case mEnv of
  2478. 1039.29 s [opt-env-conf-test] Found a -> do
  2479. 1039.29 s [opt-env-conf-test] markParsed
  2480. 1039.29 s [opt-env-conf-test] pure a
  2481. 1039.29 s [opt-env-conf-test] - _ -> do
  2482. 1039.29 s [opt-env-conf-test] - let mConfDoc = settingConfDoc set
  2483. 1039.29 s [opt-env-conf-test] - mConf <- case settingConfigVals of
  2484. 1039.29 s [opt-env-conf-test] - Nothing -> pure NotRun
  2485. 1039.29 s [opt-env-conf-test] - Just confSets -> do
  2486. 1039.29 s [opt-env-conf-test] - mObj <- asks ppEnvConf
  2487. 1039.29 s [opt-env-conf-test] - case mObj of
  2488. 1039.29 s [opt-env-conf-test] - Nothing -> do
  2489. 1039.29 s [opt-env-conf-test] - debug ["no config object to set from"]
  2490. 1039.29 s [opt-env-conf-test] - pure NotFound
  2491. 1039.29 s [opt-env-conf-test] - Just obj -> do
  2492. 1039.29 s [opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
  2493. 1039.29 s [opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  2494. 1039.29 s [opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
  2495. 1039.29 s [opt-env-conf-test] - Nothing -> do
  2496. 1039.29 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  2497. 1039.29 s [opt-env-conf-test] - Nothing -> pure Nothing
  2498. 1039.29 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  2499. 1039.29 s [opt-env-conf-test] - Just neRest -> do
  2500. 1039.29 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  2501. 1039.29 s [opt-env-conf-test] - case mO' of
  2502. 1039.29 s [opt-env-conf-test] - Nothing -> pure Nothing
  2503. 1039.30 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  2504. 1039.30 s [opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
  2505. 1039.30 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  2506. 1039.30 s [opt-env-conf-test] - Right mV -> case mV of
  2507. 1039.30 s [opt-env-conf-test] - Nothing -> do
  2508. 1039.30 s [opt-env-conf-test] - debug
  2509. 1039.30 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  2510. 1039.30 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  2511. 1039.30 s [opt-env-conf-test] - ]
  2512. 1039.30 s [opt-env-conf-test] - pure Nothing
  2513. 1039.30 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  2514. 1039.30 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  2515. 1039.30 s [opt-env-conf-test] - Right mA -> case mA of
  2516. 1039.30 s [opt-env-conf-test] - Nothing -> do
  2517. 1039.30 s [opt-env-conf-test] - debug
  2518. 1039.30 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  2519. 1039.30 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  2520. 1039.30 s [opt-env-conf-test] - ]
  2521. 1039.30 s [opt-env-conf-test] - pure Nothing
  2522. 1039.30 s [opt-env-conf-test] - Just a -> do
  2523. 1039.30 s [opt-env-conf-test] - debug
  2524. 1039.30 s [opt-env-conf-test] - [ "set based on config value: ",
  2525. 1039.30 s [opt-env-conf-test] - chunk $ T.pack $ show v
  2526. 1039.30 s [opt-env-conf-test] - ]
  2527. 1039.30 s [opt-env-conf-test] - pure $ Just a
  2528. 1039.30 s [opt-env-conf-test] - let toRes = \case
  2529. 1039.30 s [opt-env-conf-test] - Nothing -> NotFound
  2530. 1039.30 s [opt-env-conf-test] - Just a -> Found a
  2531. 1039.30 s [opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  2532. 1039.30 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  2533. 1039.30 s [opt-env-conf-test] - Just ne -> do
  2534. 1039.30 s [opt-env-conf-test] - res <- goConfSet confSet
  2535. 1039.30 s [opt-env-conf-test] - case res of
  2536. 1039.30 s [opt-env-conf-test] - Just a -> pure $ Found a
  2537. 1039.30 s [opt-env-conf-test] - Nothing -> goConfSets ne
  2538. 1039.30 s [opt-env-conf-test] - goConfSets confSets
  2539. 1039.30 s [opt-env-conf-test] - case mConf of
  2540. 1039.30 s [opt-env-conf-test] - Found a -> do
  2541. 1039.30 s [opt-env-conf-test] - markParsed
  2542. 1039.30 s [opt-env-conf-test] - pure a
  2543. 1039.30 s [opt-env-conf-test] - _ ->
  2544. 1039.30 s [opt-env-conf-test] - case settingDefaultValue of
  2545. 1039.31 s [opt-env-conf-test] - Just (a, _) -> do
  2546. 1039.31 s [opt-env-conf-test] - debug ["set to default value"]
  2547. 1039.31 s [opt-env-conf-test] - pure a -- Don't mark as parsed
  2548. 1039.31 s [opt-env-conf-test] - Nothing -> do
  2549. 1039.31 s [opt-env-conf-test] - let parseResultError e res = case res of
  2550. 1039.31 s [opt-env-conf-test] - NotRun -> Nothing
  2551. 1039.31 s [opt-env-conf-test] - NotFound -> Just e
  2552. 1039.31 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  2553. 1039.31 s [opt-env-conf-test] - debug ["not found"]
  2554. 1039.31 s [opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  2555. 1039.31 s [opt-env-conf-test] - NE.nonEmpty $
  2556. 1039.31 s [opt-env-conf-test] - catMaybes
  2557. 1040.29 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  2558. 1040.29 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  2559. 1040.29 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  2560. 1040.29 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  2561. 1040.29 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  2562. 1040.29 s [opt-env-conf-test] - ]
  2563. 1040.29 s [opt-env-conf-test]
  2564. 1040.29 s [opt-env-conf-test] withCapabilities ::
  2565. 1040.29 s [opt-env-conf-test] Maybe SrcLoc ->
  2566. 1040.29 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:333:19-42
  2567. 1040.29 s [opt-env-conf-test] @@ -330,128 +330,125 @@
  2568. 1040.29 s [opt-env-conf-test] pure $ Found a
  2569. 1040.29 s [opt-env-conf-test] else pure NotRun
  2570. 1040.29 s [opt-env-conf-test]
  2571. 1040.29 s [opt-env-conf-test] case mOpt of
  2572. 1040.30 s [opt-env-conf-test] - Found a -> do
  2573. 1040.30 s [opt-env-conf-test] - markParsed
  2574. 1040.30 s [opt-env-conf-test] - pure a
  2575. 1040.30 s [opt-env-conf-test] _ -> do
  2576. 1040.30 s [opt-env-conf-test] let mEnvDoc = settingEnvDoc set
  2577. 1040.30 s [opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
  2578. 1040.30 s [opt-env-conf-test] Nothing -> pure NotRun
  2579. 1040.30 s [opt-env-conf-test] Just ne -> do
  2580. 1040.30 s [opt-env-conf-test] -- Require readers before finding the env vars so the parser
  2581. 1040.30 s [opt-env-conf-test] -- always fails if it's missing a reader.
  2582. 1040.30 s [opt-env-conf-test] rs <- requireReaders settingReaders
  2583. 1040.30 s [opt-env-conf-test] es <- asks ppEnvEnv
  2584. 1040.30 s [opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  2585. 1040.30 s [opt-env-conf-test] -- Run the parser on all specified env vars before
  2586. 1040.30 s [opt-env-conf-test] -- returning the first because we want to fail if any
  2587. 1040.30 s [opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
  2588. 1040.30 s [opt-env-conf-test] -- result.
  2589. 1040.30 s [opt-env-conf-test] results <- for founds $ \varStr ->
  2590. 1040.30 s [opt-env-conf-test] case tryReaders rs varStr of
  2591. 1040.30 s [opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  2592. 1040.30 s [opt-env-conf-test] Right a -> do
  2593. 1040.30 s [opt-env-conf-test] debug
  2594. 1040.30 s [opt-env-conf-test] [ "set based on env: ",
  2595. 1040.30 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  2596. 1040.30 s [opt-env-conf-test] ]
  2597. 1040.30 s [opt-env-conf-test] pure a
  2598. 1040.30 s [opt-env-conf-test] case listToMaybe results of
  2599. 1040.30 s [opt-env-conf-test] Nothing -> do
  2600. 1040.30 s [opt-env-conf-test] debug
  2601. 1040.31 s [opt-env-conf-test] [ "could not set based on env vars, no var: ",
  2602. 1040.31 s [opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  2603. 1040.31 s [opt-env-conf-test] ]
  2604. 1040.31 s [opt-env-conf-test] pure NotFound
  2605. 1040.31 s [opt-env-conf-test] Just a -> pure $ Found a
  2606. 1040.31 s [opt-env-conf-test]
  2607. 1040.31 s [opt-env-conf-test] case mEnv of
  2608. 1040.31 s [opt-env-conf-test] Found a -> do
  2609. 1040.31 s [opt-env-conf-test] markParsed
  2610. 1040.31 s [opt-env-conf-test] pure a
  2611. 1040.31 s [opt-env-conf-test] _ -> do
  2612. 1040.31 s [opt-env-conf-test] let mConfDoc = settingConfDoc set
  2613. 1040.31 s [opt-env-conf-test] mConf <- case settingConfigVals of
  2614. 1040.31 s [opt-env-conf-test] Nothing -> pure NotRun
  2615. 1040.31 s [opt-env-conf-test] Just confSets -> do
  2616. 1040.31 s [opt-env-conf-test] mObj <- asks ppEnvConf
  2617. 1040.31 s [opt-env-conf-test] case mObj of
  2618. 1040.31 s [opt-env-conf-test] Nothing -> do
  2619. 1040.31 s [opt-env-conf-test] debug ["no config object to set from"]
  2620. 1040.31 s [opt-env-conf-test] pure NotFound
  2621. 1040.31 s [opt-env-conf-test] Just obj -> do
  2622. 1040.31 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  2623. 1040.31 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  2624. 1040.31 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  2625. 1040.31 s [opt-env-conf-test] Nothing -> do
  2626. 1040.31 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  2627. 1040.31 s [opt-env-conf-test] Nothing -> pure Nothing
  2628. 1040.31 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  2629. 1040.31 s [opt-env-conf-test] Just neRest -> do
  2630. 1040.31 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  2631. 1040.31 s [opt-env-conf-test] case mO' of
  2632. 1040.31 s [opt-env-conf-test] Nothing -> pure Nothing
  2633. 1040.32 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  2634. 1040.32 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  2635. 1040.32 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  2636. 1040.32 s [opt-env-conf-test] Right mV -> case mV of
  2637. 1040.32 s [opt-env-conf-test] Nothing -> do
  2638. 1040.32 s [opt-env-conf-test] debug
  2639. 1040.32 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  2640. 1040.32 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  2641. 1040.32 s [opt-env-conf-test] ]
  2642. 1040.32 s [opt-env-conf-test] pure Nothing
  2643. 1040.32 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  2644. 1040.32 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  2645. 1040.32 s [opt-env-conf-test] Right mA -> case mA of
  2646. 1040.32 s [opt-env-conf-test] Nothing -> do
  2647. 1040.32 s [opt-env-conf-test] debug
  2648. 1040.32 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  2649. 1040.32 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  2650. 1040.32 s [opt-env-conf-test] ]
  2651. 1040.32 s [opt-env-conf-test] pure Nothing
  2652. 1040.32 s [opt-env-conf-test] Just a -> do
  2653. 1040.32 s [opt-env-conf-test] debug
  2654. 1040.32 s [opt-env-conf-test] [ "set based on config value: ",
  2655. 1040.32 s [opt-env-conf-test] chunk $ T.pack $ show v
  2656. 1040.32 s [opt-env-conf-test] ]
  2657. 1040.32 s [opt-env-conf-test] pure $ Just a
  2658. 1040.32 s [opt-env-conf-test] let toRes = \case
  2659. 1040.32 s [opt-env-conf-test] Nothing -> NotFound
  2660. 1040.32 s [opt-env-conf-test] Just a -> Found a
  2661. 1040.32 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  2662. 1040.32 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  2663. 1040.32 s [opt-env-conf-test] Just ne -> do
  2664. 1040.99 s [opt-env-conf-test] res <- goConfSet confSet
  2665. 1040.99 s [opt-env-conf-test] case res of
  2666. 1040.99 s [opt-env-conf-test] Just a -> pure $ Found a
  2667. 1040.99 s [opt-env-conf-test] Nothing -> goConfSets ne
  2668. 1040.99 s [opt-env-conf-test] goConfSets confSets
  2669. 1040.99 s [opt-env-conf-test] case mConf of
  2670. 1040.99 s [opt-env-conf-test] Found a -> do
  2671. 1040.99 s [opt-env-conf-test] markParsed
  2672. 1040.99 s [opt-env-conf-test] pure a
  2673. 1040.99 s [opt-env-conf-test] _ ->
  2674. 1040.99 s [opt-env-conf-test] case settingDefaultValue of
  2675. 1040.99 s [opt-env-conf-test] Just (a, _) -> do
  2676. 1040.99 s [opt-env-conf-test] debug ["set to default value"]
  2677. 1040.99 s [opt-env-conf-test] pure a -- Don't mark as parsed
  2678. 1040.99 s [opt-env-conf-test] Nothing -> do
  2679. 1040.99 s [opt-env-conf-test] let parseResultError e res = case res of
  2680. 1040.99 s [opt-env-conf-test] NotRun -> Nothing
  2681. 1040.99 s [opt-env-conf-test] NotFound -> Just e
  2682. 1040.99 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  2683. 1040.99 s [opt-env-conf-test] debug ["not found"]
  2684. 1040.99 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  2685. 1040.99 s [opt-env-conf-test] NE.nonEmpty $
  2686. 1040.99 s [opt-env-conf-test] catMaybes
  2687. 1040.99 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  2688. 1040.99 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  2689. 1041.00 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  2690. 1041.00 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  2691. 1041.00 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  2692. 1041.00 s [opt-env-conf-test] ]
  2693. 1041.00 s [opt-env-conf-test]
  2694. 1041.00 s [opt-env-conf-test] withCapabilities ::
  2695. 1041.00 s [opt-env-conf-test] Maybe SrcLoc ->
  2696. 1041.00 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:303:15-42
  2697. 1041.00 s [opt-env-conf-test] @@ -300,158 +300,10 @@
  2698. 1041.00 s [opt-env-conf-test] debug ["set based on switch."]
  2699. 1041.00 s [opt-env-conf-test] pure $ Found a
  2700. 1041.00 s [opt-env-conf-test]
  2701. 1041.00 s [opt-env-conf-test] case mSwitch of
  2702. 1041.00 s [opt-env-conf-test] Found a -> do
  2703. 1041.00 s [opt-env-conf-test] markParsed
  2704. 1041.00 s [opt-env-conf-test] pure a
  2705. 1041.00 s [opt-env-conf-test] - _ -> do
  2706. 1041.00 s [opt-env-conf-test] - mOpt <-
  2707. 1041.00 s [opt-env-conf-test] - if settingTryOption
  2708. 1041.00 s [opt-env-conf-test] - then do
  2709. 1041.00 s [opt-env-conf-test] - -- Require readers before finding the option so the parser
  2710. 1041.00 s [opt-env-conf-test] - -- always fails if it's missing a reader.
  2711. 1041.00 s [opt-env-conf-test] - rs <- requireReaders settingReaders
  2712. 1041.00 s [opt-env-conf-test] - mS <- ppOpt settingDasheds
  2713. 1041.00 s [opt-env-conf-test] - case mS of
  2714. 1041.00 s [opt-env-conf-test] - Nothing -> do
  2715. 1041.00 s [opt-env-conf-test] - debug
  2716. 1041.00 s [opt-env-conf-test] - [ "could not set based on options, no option: ",
  2717. 1041.00 s [opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
  2718. 1041.00 s [opt-env-conf-test] - ]
  2719. 1041.00 s [opt-env-conf-test] - pure NotFound
  2720. 1041.00 s [opt-env-conf-test] - Just optionStr -> cap $
  2721. 1041.00 s [opt-env-conf-test] - case tryReaders rs optionStr of
  2722. 1041.00 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
  2723. 1041.00 s [opt-env-conf-test] - Right a -> do
  2724. 1041.00 s [opt-env-conf-test] - debug
  2725. 1041.00 s [opt-env-conf-test] - [ "set based on option: ",
  2726. 1041.00 s [opt-env-conf-test] - chunk $ T.pack $ show optionStr
  2727. 1041.00 s [opt-env-conf-test] - ]
  2728. 1041.00 s [opt-env-conf-test] - pure $ Found a
  2729. 1041.00 s [opt-env-conf-test] - else pure NotRun
  2730. 1041.00 s [opt-env-conf-test] -
  2731. 1041.00 s [opt-env-conf-test] - case mOpt of
  2732. 1041.00 s [opt-env-conf-test] - Found a -> do
  2733. 1041.00 s [opt-env-conf-test] - markParsed
  2734. 1041.00 s [opt-env-conf-test] - pure a
  2735. 1041.00 s [opt-env-conf-test] - _ -> do
  2736. 1041.00 s [opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
  2737. 1041.01 s [opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
  2738. 1041.01 s [opt-env-conf-test] - Nothing -> pure NotRun
  2739. 1041.01 s [opt-env-conf-test] - Just ne -> do
  2740. 1041.01 s [opt-env-conf-test] - -- Require readers before finding the env vars so the parser
  2741. 1041.01 s [opt-env-conf-test] - -- always fails if it's missing a reader.
  2742. 1041.01 s [opt-env-conf-test] - rs <- requireReaders settingReaders
  2743. 1041.01 s [opt-env-conf-test] - es <- asks ppEnvEnv
  2744. 1041.01 s [opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  2745. 1041.01 s [opt-env-conf-test] - -- Run the parser on all specified env vars before
  2746. 1041.01 s [opt-env-conf-test] - -- returning the first because we want to fail if any
  2747. 1041.01 s [opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
  2748. 1041.01 s [opt-env-conf-test] - -- result.
  2749. 1041.01 s [opt-env-conf-test] - results <- for founds $ \varStr ->
  2750. 1041.01 s [opt-env-conf-test] - case tryReaders rs varStr of
  2751. 1041.01 s [opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  2752. 1041.01 s [opt-env-conf-test] - Right a -> do
  2753. 1041.01 s [opt-env-conf-test] - debug
  2754. 1041.01 s [opt-env-conf-test] - [ "set based on env: ",
  2755. 1041.01 s [opt-env-conf-test] - chunk $ T.pack $ show varStr
  2756. 1041.01 s [opt-env-conf-test] - ]
  2757. 1041.01 s [opt-env-conf-test] - pure a
  2758. 1041.01 s [opt-env-conf-test] - case listToMaybe results of
  2759. 1041.01 s [opt-env-conf-test] - Nothing -> do
  2760. 1041.01 s [opt-env-conf-test] - debug
  2761. 1041.01 s [opt-env-conf-test] - [ "could not set based on env vars, no var: ",
  2762. 1041.01 s [opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  2763. 1041.01 s [opt-env-conf-test] - ]
  2764. 1041.01 s [opt-env-conf-test] - pure NotFound
  2765. 1041.01 s [opt-env-conf-test] - Just a -> pure $ Found a
  2766. 1041.01 s [opt-env-conf-test] -
  2767. 1041.01 s [opt-env-conf-test] - case mEnv of
  2768. 1041.01 s [opt-env-conf-test] - Found a -> do
  2769. 1041.01 s [opt-env-conf-test] - markParsed
  2770. 1041.01 s [opt-env-conf-test] - pure a
  2771. 1041.01 s [opt-env-conf-test] - _ -> do
  2772. 1041.01 s [opt-env-conf-test] - let mConfDoc = settingConfDoc set
  2773. 1041.01 s [opt-env-conf-test] - mConf <- case settingConfigVals of
  2774. 1041.01 s [opt-env-conf-test] - Nothing -> pure NotRun
  2775. 1041.01 s [opt-env-conf-test] - Just confSets -> do
  2776. 1041.01 s [opt-env-conf-test] - mObj <- asks ppEnvConf
  2777. 1041.01 s [opt-env-conf-test] - case mObj of
  2778. 1041.01 s [opt-env-conf-test] - Nothing -> do
  2779. 1041.01 s [opt-env-conf-test] - debug ["no config object to set from"]
  2780. 1041.01 s [opt-env-conf-test] - pure NotFound
  2781. 1041.01 s [opt-env-conf-test] - Just obj -> do
  2782. 1041.01 s [opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
  2783. 1041.01 s [opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  2784. 1041.01 s [opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
  2785. 1041.01 s [opt-env-conf-test] - Nothing -> do
  2786. 1041.01 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  2787. 1041.01 s [opt-env-conf-test] - Nothing -> pure Nothing
  2788. 1041.01 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  2789. 1041.01 s [opt-env-conf-test] - Just neRest -> do
  2790. 1041.02 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  2791. 1041.02 s [opt-env-conf-test] - case mO' of
  2792. 1041.02 s [opt-env-conf-test] - Nothing -> pure Nothing
  2793. 1041.02 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  2794. 1041.02 s [opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
  2795. 1041.02 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  2796. 1041.02 s [opt-env-conf-test] - Right mV -> case mV of
  2797. 1041.02 s [opt-env-conf-test] - Nothing -> do
  2798. 1041.02 s [opt-env-conf-test] - debug
  2799. 1041.02 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  2800. 1041.02 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  2801. 1041.02 s [opt-env-conf-test] - ]
  2802. 1041.02 s [opt-env-conf-test] - pure Nothing
  2803. 1041.02 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  2804. 1041.02 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  2805. 1041.02 s [opt-env-conf-test] - Right mA -> case mA of
  2806. 1041.02 s [opt-env-conf-test] - Nothing -> do
  2807. 1041.02 s [opt-env-conf-test] - debug
  2808. 1041.02 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  2809. 1041.02 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  2810. 1041.02 s [opt-env-conf-test] - ]
  2811. 1041.02 s [opt-env-conf-test] - pure Nothing
  2812. 1041.02 s [opt-env-conf-test] - Just a -> do
  2813. 1041.02 s [opt-env-conf-test] - debug
  2814. 1041.02 s [opt-env-conf-test] - [ "set based on config value: ",
  2815. 1041.02 s [opt-env-conf-test] - chunk $ T.pack $ show v
  2816. 1041.02 s [opt-env-conf-test] - ]
  2817. 1041.02 s [opt-env-conf-test] - pure $ Just a
  2818. 1041.02 s [opt-env-conf-test] - let toRes = \case
  2819. 1041.02 s [opt-env-conf-test] - Nothing -> NotFound
  2820. 1041.02 s [opt-env-conf-test] - Just a -> Found a
  2821. 1041.02 s [opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  2822. 1041.02 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  2823. 1041.02 s [opt-env-conf-test] - Just ne -> do
  2824. 1041.02 s [opt-env-conf-test] - res <- goConfSet confSet
  2825. 1041.02 s [opt-env-conf-test] - case res of
  2826. 1041.02 s [opt-env-conf-test] - Just a -> pure $ Found a
  2827. 1041.02 s [opt-env-conf-test] - Nothing -> goConfSets ne
  2828. 1041.02 s [opt-env-conf-test] - goConfSets confSets
  2829. 1041.02 s [opt-env-conf-test] - case mConf of
  2830. 1041.03 s [opt-env-conf-test] - Found a -> do
  2831. 1041.03 s [opt-env-conf-test] - markParsed
  2832. 1041.03 s [opt-env-conf-test] - pure a
  2833. 1041.03 s [opt-env-conf-test] - _ ->
  2834. 1041.03 s [opt-env-conf-test] - case settingDefaultValue of
  2835. 1041.03 s [opt-env-conf-test] - Just (a, _) -> do
  2836. 1041.03 s [opt-env-conf-test] - debug ["set to default value"]
  2837. 1041.03 s [opt-env-conf-test] - pure a -- Don't mark as parsed
  2838. 1041.03 s [opt-env-conf-test] - Nothing -> do
  2839. 1041.03 s [opt-env-conf-test] - let parseResultError e res = case res of
  2840. 1041.03 s [opt-env-conf-test] - NotRun -> Nothing
  2841. 1041.03 s [opt-env-conf-test] - NotFound -> Just e
  2842. 1041.03 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  2843. 1041.03 s [opt-env-conf-test] - debug ["not found"]
  2844. 1041.03 s [opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  2845. 1041.03 s [opt-env-conf-test] - NE.nonEmpty $
  2846. 1041.03 s [opt-env-conf-test] - catMaybes
  2847. 1041.03 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  2848. 1041.03 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  2849. 1041.24 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  2850. 1041.24 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  2851. 1041.24 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  2852. 1041.24 s [opt-env-conf-test] - ]
  2853. 1041.24 s [opt-env-conf-test]
  2854. 1041.24 s [opt-env-conf-test] withCapabilities ::
  2855. 1041.24 s [opt-env-conf-test] Maybe SrcLoc ->
  2856. 1041.24 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:333:19-42
  2857. 1041.24 s [opt-env-conf-test] @@ -330,128 +330,10 @@
  2858. 1041.24 s [opt-env-conf-test] pure $ Found a
  2859. 1041.24 s [opt-env-conf-test] else pure NotRun
  2860. 1041.24 s [opt-env-conf-test]
  2861. 1041.24 s [opt-env-conf-test] case mOpt of
  2862. 1041.24 s [opt-env-conf-test] Found a -> do
  2863. 1041.24 s [opt-env-conf-test] markParsed
  2864. 1041.24 s [opt-env-conf-test] pure a
  2865. 1041.24 s [opt-env-conf-test] - _ -> do
  2866. 1041.25 s [opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
  2867. 1041.25 s [opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
  2868. 1041.25 s [opt-env-conf-test] - Nothing -> pure NotRun
  2869. 1041.25 s [opt-env-conf-test] - Just ne -> do
  2870. 1041.25 s [opt-env-conf-test] - -- Require readers before finding the env vars so the parser
  2871. 1041.25 s [opt-env-conf-test] - -- always fails if it's missing a reader.
  2872. 1041.25 s [opt-env-conf-test] - rs <- requireReaders settingReaders
  2873. 1041.25 s [opt-env-conf-test] - es <- asks ppEnvEnv
  2874. 1041.25 s [opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  2875. 1041.25 s [opt-env-conf-test] - -- Run the parser on all specified env vars before
  2876. 1041.25 s [opt-env-conf-test] - -- returning the first because we want to fail if any
  2877. 1041.25 s [opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
  2878. 1041.25 s [opt-env-conf-test] - -- result.
  2879. 1041.25 s [opt-env-conf-test] - results <- for founds $ \varStr ->
  2880. 1041.25 s [opt-env-conf-test] - case tryReaders rs varStr of
  2881. 1041.25 s [opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  2882. 1041.25 s [opt-env-conf-test] - Right a -> do
  2883. 1041.25 s [opt-env-conf-test] - debug
  2884. 1041.25 s [opt-env-conf-test] - [ "set based on env: ",
  2885. 1041.25 s [opt-env-conf-test] - chunk $ T.pack $ show varStr
  2886. 1041.25 s [opt-env-conf-test] - ]
  2887. 1041.25 s [opt-env-conf-test] - pure a
  2888. 1041.25 s [opt-env-conf-test] - case listToMaybe results of
  2889. 1041.25 s [opt-env-conf-test] - Nothing -> do
  2890. 1041.25 s [opt-env-conf-test] - debug
  2891. 1041.25 s [opt-env-conf-test] - [ "could not set based on env vars, no var: ",
  2892. 1041.25 s [opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  2893. 1041.25 s [opt-env-conf-test] - ]
  2894. 1041.25 s [opt-env-conf-test] - pure NotFound
  2895. 1041.25 s [opt-env-conf-test] - Just a -> pure $ Found a
  2896. 1041.26 s [opt-env-conf-test] -
  2897. 1041.26 s [opt-env-conf-test] - case mEnv of
  2898. 1041.26 s [opt-env-conf-test] - Found a -> do
  2899. 1041.26 s [opt-env-conf-test] - markParsed
  2900. 1041.26 s [opt-env-conf-test] - pure a
  2901. 1041.26 s [opt-env-conf-test] - _ -> do
  2902. 1041.26 s [opt-env-conf-test] - let mConfDoc = settingConfDoc set
  2903. 1041.26 s [opt-env-conf-test] - mConf <- case settingConfigVals of
  2904. 1041.26 s [opt-env-conf-test] - Nothing -> pure NotRun
  2905. 1041.26 s [opt-env-conf-test] - Just confSets -> do
  2906. 1041.26 s [opt-env-conf-test] - mObj <- asks ppEnvConf
  2907. 1041.26 s [opt-env-conf-test] - case mObj of
  2908. 1041.26 s [opt-env-conf-test] - Nothing -> do
  2909. 1041.26 s [opt-env-conf-test] - debug ["no config object to set from"]
  2910. 1041.26 s [opt-env-conf-test] - pure NotFound
  2911. 1041.26 s [opt-env-conf-test] - Just obj -> do
  2912. 1041.26 s [opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
  2913. 1041.26 s [opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  2914. 1041.26 s [opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
  2915. 1041.26 s [opt-env-conf-test] - Nothing -> do
  2916. 1041.26 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  2917. 1041.26 s [opt-env-conf-test] - Nothing -> pure Nothing
  2918. 1041.26 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  2919. 1041.26 s [opt-env-conf-test] - Just neRest -> do
  2920. 1041.26 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  2921. 1041.26 s [opt-env-conf-test] - case mO' of
  2922. 1041.26 s [opt-env-conf-test] - Nothing -> pure Nothing
  2923. 1041.27 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  2924. 1041.27 s [opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
  2925. 1041.27 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  2926. 1041.27 s [opt-env-conf-test] - Right mV -> case mV of
  2927. 1041.27 s [opt-env-conf-test] - Nothing -> do
  2928. 1041.27 s [opt-env-conf-test] - debug
  2929. 1041.27 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  2930. 1041.27 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  2931. 1041.27 s [opt-env-conf-test] - ]
  2932. 1041.27 s [opt-env-conf-test] - pure Nothing
  2933. 1041.27 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  2934. 1041.27 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  2935. 1041.27 s [opt-env-conf-test] - Right mA -> case mA of
  2936. 1041.27 s [opt-env-conf-test] - Nothing -> do
  2937. 1041.27 s [opt-env-conf-test] - debug
  2938. 1041.27 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  2939. 1041.27 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  2940. 1041.27 s [opt-env-conf-test] - ]
  2941. 1041.27 s [opt-env-conf-test] - pure Nothing
  2942. 1041.27 s [opt-env-conf-test] - Just a -> do
  2943. 1041.27 s [opt-env-conf-test] - debug
  2944. 1041.27 s [opt-env-conf-test] - [ "set based on config value: ",
  2945. 1041.27 s [opt-env-conf-test] - chunk $ T.pack $ show v
  2946. 1041.27 s [opt-env-conf-test] - ]
  2947. 1041.27 s [opt-env-conf-test] - pure $ Just a
  2948. 1041.27 s [opt-env-conf-test] - let toRes = \case
  2949. 1041.27 s [opt-env-conf-test] - Nothing -> NotFound
  2950. 1041.27 s [opt-env-conf-test] - Just a -> Found a
  2951. 1041.27 s [opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  2952. 1041.27 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  2953. 1041.28 s [opt-env-conf-test] - Just ne -> do
  2954. 1041.28 s [opt-env-conf-test] - res <- goConfSet confSet
  2955. 1041.28 s [opt-env-conf-test] - case res of
  2956. 1041.28 s [opt-env-conf-test] - Just a -> pure $ Found a
  2957. 1041.28 s [opt-env-conf-test] - Nothing -> goConfSets ne
  2958. 1041.28 s [opt-env-conf-test] - goConfSets confSets
  2959. 1041.28 s [opt-env-conf-test] - case mConf of
  2960. 1041.28 s [opt-env-conf-test] - Found a -> do
  2961. 1041.28 s [opt-env-conf-test] - markParsed
  2962. 1041.28 s [opt-env-conf-test] - pure a
  2963. 1041.28 s [opt-env-conf-test] - _ ->
  2964. 1041.28 s [opt-env-conf-test] - case settingDefaultValue of
  2965. 1041.28 s [opt-env-conf-test] - Just (a, _) -> do
  2966. 1041.28 s [opt-env-conf-test] - debug ["set to default value"]
  2967. 1041.28 s [opt-env-conf-test] - pure a -- Don't mark as parsed
  2968. 1041.28 s [opt-env-conf-test] - Nothing -> do
  2969. 1041.28 s [opt-env-conf-test] - let parseResultError e res = case res of
  2970. 1041.28 s [opt-env-conf-test] - NotRun -> Nothing
  2971. 1041.28 s [opt-env-conf-test] - NotFound -> Just e
  2972. 1041.28 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  2973. 1041.28 s [opt-env-conf-test] - debug ["not found"]
  2974. 1041.41 s [opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  2975. 1041.41 s [opt-env-conf-test] - NE.nonEmpty $
  2976. 1041.41 s [opt-env-conf-test] - catMaybes
  2977. 1041.42 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  2978. 1041.42 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  2979. 1041.42 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  2980. 1041.42 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  2981. 1041.42 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  2982. 1041.42 s [opt-env-conf-test] - ]
  2983. 1041.42 s [opt-env-conf-test]
  2984. 1041.42 s [opt-env-conf-test] withCapabilities ::
  2985. 1041.42 s [opt-env-conf-test] Maybe SrcLoc ->
  2986. 1041.42 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:303:15-42
  2987. 1041.42 s [opt-env-conf-test] @@ -300,158 +300,155 @@
  2988. 1041.42 s [opt-env-conf-test] debug ["set based on switch."]
  2989. 1041.42 s [opt-env-conf-test] pure $ Found a
  2990. 1041.42 s [opt-env-conf-test]
  2991. 1041.42 s [opt-env-conf-test] case mSwitch of
  2992. 1041.42 s [opt-env-conf-test] - Found a -> do
  2993. 1041.42 s [opt-env-conf-test] - markParsed
  2994. 1041.42 s [opt-env-conf-test] - pure a
  2995. 1041.42 s [opt-env-conf-test] _ -> do
  2996. 1041.42 s [opt-env-conf-test] mOpt <-
  2997. 1041.42 s [opt-env-conf-test] if settingTryOption
  2998. 1041.42 s [opt-env-conf-test] then do
  2999. 1041.42 s [opt-env-conf-test] -- Require readers before finding the option so the parser
  3000. 1041.42 s [opt-env-conf-test] -- always fails if it's missing a reader.
  3001. 1041.43 s [opt-env-conf-test] rs <- requireReaders settingReaders
  3002. 1041.43 s [opt-env-conf-test] mS <- ppOpt settingDasheds
  3003. 1041.43 s [opt-env-conf-test] case mS of
  3004. 1041.43 s [opt-env-conf-test] Nothing -> do
  3005. 1041.43 s [opt-env-conf-test] debug
  3006. 1041.43 s [opt-env-conf-test] [ "could not set based on options, no option: ",
  3007. 1041.43 s [opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
  3008. 1041.43 s [opt-env-conf-test] ]
  3009. 1041.43 s [opt-env-conf-test] pure NotFound
  3010. 1041.43 s [opt-env-conf-test] Just optionStr -> cap $
  3011. 1041.43 s [opt-env-conf-test] case tryReaders rs optionStr of
  3012. 1041.43 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
  3013. 1041.43 s [opt-env-conf-test] Right a -> do
  3014. 1041.43 s [opt-env-conf-test] debug
  3015. 1041.43 s [opt-env-conf-test] [ "set based on option: ",
  3016. 1041.43 s [opt-env-conf-test] chunk $ T.pack $ show optionStr
  3017. 1041.43 s [opt-env-conf-test] ]
  3018. 1041.43 s [opt-env-conf-test] pure $ Found a
  3019. 1041.43 s [opt-env-conf-test] else pure NotRun
  3020. 1041.43 s [opt-env-conf-test]
  3021. 1041.43 s [opt-env-conf-test] case mOpt of
  3022. 1041.43 s [opt-env-conf-test] Found a -> do
  3023. 1041.43 s [opt-env-conf-test] markParsed
  3024. 1041.43 s [opt-env-conf-test] pure a
  3025. 1041.43 s [opt-env-conf-test] _ -> do
  3026. 1041.43 s [opt-env-conf-test] let mEnvDoc = settingEnvDoc set
  3027. 1041.43 s [opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
  3028. 1041.43 s [opt-env-conf-test] Nothing -> pure NotRun
  3029. 1041.43 s [opt-env-conf-test] Just ne -> do
  3030. 1041.43 s [opt-env-conf-test] -- Require readers before finding the env vars so the parser
  3031. 1041.43 s [opt-env-conf-test] -- always fails if it's missing a reader.
  3032. 1041.43 s [opt-env-conf-test] rs <- requireReaders settingReaders
  3033. 1041.43 s [opt-env-conf-test] es <- asks ppEnvEnv
  3034. 1041.43 s [opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  3035. 1041.43 s [opt-env-conf-test] -- Run the parser on all specified env vars before
  3036. 1041.43 s [opt-env-conf-test] -- returning the first because we want to fail if any
  3037. 1041.43 s [opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
  3038. 1041.43 s [opt-env-conf-test] -- result.
  3039. 1041.43 s [opt-env-conf-test] results <- for founds $ \varStr ->
  3040. 1041.44 s [opt-env-conf-test] case tryReaders rs varStr of
  3041. 1041.44 s [opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  3042. 1041.44 s [opt-env-conf-test] Right a -> do
  3043. 1041.44 s [opt-env-conf-test] debug
  3044. 1041.44 s [opt-env-conf-test] [ "set based on env: ",
  3045. 1041.44 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  3046. 1041.44 s [opt-env-conf-test] ]
  3047. 1041.44 s [opt-env-conf-test] pure a
  3048. 1041.44 s [opt-env-conf-test] case listToMaybe results of
  3049. 1041.44 s [opt-env-conf-test] Nothing -> do
  3050. 1041.44 s [opt-env-conf-test] debug
  3051. 1041.44 s [opt-env-conf-test] [ "could not set based on env vars, no var: ",
  3052. 1041.44 s [opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  3053. 1041.44 s [opt-env-conf-test] ]
  3054. 1041.44 s [opt-env-conf-test] pure NotFound
  3055. 1041.44 s [opt-env-conf-test] Just a -> pure $ Found a
  3056. 1041.44 s [opt-env-conf-test]
  3057. 1041.44 s [opt-env-conf-test] case mEnv of
  3058. 1041.44 s [opt-env-conf-test] Found a -> do
  3059. 1041.44 s [opt-env-conf-test] markParsed
  3060. 1041.44 s [opt-env-conf-test] pure a
  3061. 1041.44 s [opt-env-conf-test] _ -> do
  3062. 1041.44 s [opt-env-conf-test] let mConfDoc = settingConfDoc set
  3063. 1041.44 s [opt-env-conf-test] mConf <- case settingConfigVals of
  3064. 1041.44 s [opt-env-conf-test] Nothing -> pure NotRun
  3065. 1041.44 s [opt-env-conf-test] Just confSets -> do
  3066. 1041.44 s [opt-env-conf-test] mObj <- asks ppEnvConf
  3067. 1041.44 s [opt-env-conf-test] case mObj of
  3068. 1041.44 s [opt-env-conf-test] Nothing -> do
  3069. 1041.44 s [opt-env-conf-test] debug ["no config object to set from"]
  3070. 1041.44 s [opt-env-conf-test] pure NotFound
  3071. 1041.44 s [opt-env-conf-test] Just obj -> do
  3072. 1041.44 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  3073. 1041.44 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  3074. 1041.44 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  3075. 1041.44 s [opt-env-conf-test] Nothing -> do
  3076. 1041.45 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  3077. 1041.45 s [opt-env-conf-test] Nothing -> pure Nothing
  3078. 1041.45 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  3079. 1041.45 s [opt-env-conf-test] Just neRest -> do
  3080. 1041.45 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  3081. 1041.45 s [opt-env-conf-test] case mO' of
  3082. 1041.45 s [opt-env-conf-test] Nothing -> pure Nothing
  3083. 1041.45 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  3084. 1041.45 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  3085. 1041.45 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  3086. 1041.45 s [opt-env-conf-test] Right mV -> case mV of
  3087. 1041.45 s [opt-env-conf-test] Nothing -> do
  3088. 1041.45 s [opt-env-conf-test] debug
  3089. 1041.45 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  3090. 1041.45 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  3091. 1041.45 s [opt-env-conf-test] ]
  3092. 1041.45 s [opt-env-conf-test] pure Nothing
  3093. 1041.45 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  3094. 1041.45 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  3095. 1041.45 s [opt-env-conf-test] Right mA -> case mA of
  3096. 1041.45 s [opt-env-conf-test] Nothing -> do
  3097. 1041.45 s [opt-env-conf-test] debug
  3098. 1041.45 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  3099. 1041.45 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  3100. 1041.45 s [opt-env-conf-test] ]
  3101. 1041.45 s [opt-env-conf-test] pure Nothing
  3102. 1041.45 s [opt-env-conf-test] Just a -> do
  3103. 1041.46 s [opt-env-conf-test] debug
  3104. 1041.46 s [opt-env-conf-test] [ "set based on config value: ",
  3105. 1041.46 s [opt-env-conf-test] chunk $ T.pack $ show v
  3106. 1041.46 s [opt-env-conf-test] ]
  3107. 1041.46 s [opt-env-conf-test] pure $ Just a
  3108. 1041.46 s [opt-env-conf-test] let toRes = \case
  3109. 1041.46 s [opt-env-conf-test] Nothing -> NotFound
  3110. 1041.46 s [opt-env-conf-test] Just a -> Found a
  3111. 1041.46 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  3112. 1041.46 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  3113. 1041.46 s [opt-env-conf-test] Just ne -> do
  3114. 1041.46 s [opt-env-conf-test] res <- goConfSet confSet
  3115. 1041.46 s [opt-env-conf-test] case res of
  3116. 1041.46 s [opt-env-conf-test] Just a -> pure $ Found a
  3117. 1041.46 s [opt-env-conf-test] Nothing -> goConfSets ne
  3118. 1041.46 s [opt-env-conf-test] goConfSets confSets
  3119. 1041.46 s [opt-env-conf-test] case mConf of
  3120. 1041.46 s [opt-env-conf-test] Found a -> do
  3121. 1041.46 s [opt-env-conf-test] markParsed
  3122. 1041.46 s [opt-env-conf-test] pure a
  3123. 1041.46 s [opt-env-conf-test] _ ->
  3124. 1041.46 s [opt-env-conf-test] case settingDefaultValue of
  3125. 1041.46 s [opt-env-conf-test] Just (a, _) -> do
  3126. 1041.46 s [opt-env-conf-test] debug ["set to default value"]
  3127. 1041.46 s [opt-env-conf-test] pure a -- Don't mark as parsed
  3128. 1041.46 s [opt-env-conf-test] Nothing -> do
  3129. 1041.46 s [opt-env-conf-test] let parseResultError e res = case res of
  3130. 1041.46 s [opt-env-conf-test] NotRun -> Nothing
  3131. 1041.46 s [opt-env-conf-test] NotFound -> Just e
  3132. 1041.46 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  3133. 1041.46 s [opt-env-conf-test] debug ["not found"]
  3134. 1041.46 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  3135. 1041.46 s [opt-env-conf-test] NE.nonEmpty $
  3136. 1041.46 s [opt-env-conf-test] catMaybes
  3137. 1041.46 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  3138. 1041.46 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  3139. 1041.46 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  3140. 1041.46 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  3141. 1041.46 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  3142. 1041.46 s [opt-env-conf-test] ]
  3143. 1041.46 s [opt-env-conf-test]
  3144. 1041.46 s [opt-env-conf-test] withCapabilities ::
  3145. 1041.46 s [opt-env-conf-test] Maybe SrcLoc ->
  3146. 1041.46 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:283:11-42
  3147. 1041.46 s [opt-env-conf-test] @@ -280,178 +280,175 @@
  3148. 1041.46 s [opt-env-conf-test] pure $ Found a
  3149. 1041.46 s [opt-env-conf-test] else pure NotRun
  3150. 1041.46 s [opt-env-conf-test]
  3151. 1041.46 s [opt-env-conf-test] case mArg of
  3152. 1041.46 s [opt-env-conf-test] - Found a -> do
  3153. 1041.46 s [opt-env-conf-test] - markParsed
  3154. 1041.46 s [opt-env-conf-test] - pure a
  3155. 1041.46 s [opt-env-conf-test] _ -> do
  3156. 1041.46 s [opt-env-conf-test] mSwitch <- case settingSwitchValue of
  3157. 1041.47 s [opt-env-conf-test] Nothing -> pure NotRun
  3158. 1041.47 s [opt-env-conf-test] Just a -> do
  3159. 1041.47 s [opt-env-conf-test] mS <- ppSwitch settingDasheds
  3160. 1041.47 s [opt-env-conf-test] case mS of
  3161. 1041.47 s [opt-env-conf-test] Nothing -> do
  3162. 1041.47 s [opt-env-conf-test] debug
  3163. 1041.47 s [opt-env-conf-test] [ "could not set based on switch, no switch: ",
  3164. 1041.47 s [opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
  3165. 1041.47 s [opt-env-conf-test] ]
  3166. 1041.47 s [opt-env-conf-test] pure NotFound
  3167. 1041.47 s [opt-env-conf-test] Just () -> cap $ do
  3168. 1041.47 s [opt-env-conf-test] debug ["set based on switch."]
  3169. 1041.47 s [opt-env-conf-test] pure $ Found a
  3170. 1041.47 s [opt-env-conf-test]
  3171. 1041.47 s [opt-env-conf-test] case mSwitch of
  3172. 1041.47 s [opt-env-conf-test] Found a -> do
  3173. 1041.47 s [opt-env-conf-test] markParsed
  3174. 1041.47 s [opt-env-conf-test] pure a
  3175. 1041.47 s [opt-env-conf-test] _ -> do
  3176. 1041.47 s [opt-env-conf-test] mOpt <-
  3177. 1041.47 s [opt-env-conf-test] if settingTryOption
  3178. 1041.47 s [opt-env-conf-test] then do
  3179. 1041.47 s [opt-env-conf-test] -- Require readers before finding the option so the parser
  3180. 1041.47 s [opt-env-conf-test] -- always fails if it's missing a reader.
  3181. 1041.47 s [opt-env-conf-test] rs <- requireReaders settingReaders
  3182. 1041.47 s [opt-env-conf-test] mS <- ppOpt settingDasheds
  3183. 1041.47 s [opt-env-conf-test] case mS of
  3184. 1041.47 s [opt-env-conf-test] Nothing -> do
  3185. 1041.47 s [opt-env-conf-test] debug
  3186. 1041.47 s [opt-env-conf-test] [ "could not set based on options, no option: ",
  3187. 1041.47 s [opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
  3188. 1041.47 s [opt-env-conf-test] ]
  3189. 1041.47 s [opt-env-conf-test] pure NotFound
  3190. 1041.47 s [opt-env-conf-test] Just optionStr -> cap $
  3191. 1041.47 s [opt-env-conf-test] case tryReaders rs optionStr of
  3192. 1041.47 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
  3193. 1041.47 s [opt-env-conf-test] Right a -> do
  3194. 1041.47 s [opt-env-conf-test] debug
  3195. 1041.47 s [opt-env-conf-test] [ "set based on option: ",
  3196. 1041.47 s [opt-env-conf-test] chunk $ T.pack $ show optionStr
  3197. 1041.47 s [opt-env-conf-test] ]
  3198. 1041.47 s [opt-env-conf-test] pure $ Found a
  3199. 1041.47 s [opt-env-conf-test] else pure NotRun
  3200. 1041.47 s [opt-env-conf-test]
  3201. 1041.47 s [opt-env-conf-test] case mOpt of
  3202. 1041.47 s [opt-env-conf-test] Found a -> do
  3203. 1041.47 s [opt-env-conf-test] markParsed
  3204. 1041.47 s [opt-env-conf-test] pure a
  3205. 1041.47 s [opt-env-conf-test] _ -> do
  3206. 1041.47 s [opt-env-conf-test] let mEnvDoc = settingEnvDoc set
  3207. 1041.47 s [opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
  3208. 1041.47 s [opt-env-conf-test] Nothing -> pure NotRun
  3209. 1041.47 s [opt-env-conf-test] Just ne -> do
  3210. 1041.47 s [opt-env-conf-test] -- Require readers before finding the env vars so the parser
  3211. 1041.47 s [opt-env-conf-test] -- always fails if it's missing a reader.
  3212. 1041.47 s [opt-env-conf-test] rs <- requireReaders settingReaders
  3213. 1041.47 s [opt-env-conf-test] es <- asks ppEnvEnv
  3214. 1041.47 s [opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  3215. 1041.47 s [opt-env-conf-test] -- Run the parser on all specified env vars before
  3216. 1041.47 s [opt-env-conf-test] -- returning the first because we want to fail if any
  3217. 1041.47 s [opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
  3218. 1041.47 s [opt-env-conf-test] -- result.
  3219. 1041.47 s [opt-env-conf-test] results <- for founds $ \varStr ->
  3220. 1041.47 s [opt-env-conf-test] case tryReaders rs varStr of
  3221. 1041.48 s [opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  3222. 1041.48 s [opt-env-conf-test] Right a -> do
  3223. 1041.48 s [opt-env-conf-test] debug
  3224. 1041.48 s [opt-env-conf-test] [ "set based on env: ",
  3225. 1041.48 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  3226. 1041.48 s [opt-env-conf-test] ]
  3227. 1041.48 s [opt-env-conf-test] pure a
  3228. 1041.48 s [opt-env-conf-test] case listToMaybe results of
  3229. 1041.48 s [opt-env-conf-test] Nothing -> do
  3230. 1041.48 s [opt-env-conf-test] debug
  3231. 1041.48 s [opt-env-conf-test] [ "could not set based on env vars, no var: ",
  3232. 1041.48 s [opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  3233. 1041.48 s [opt-env-conf-test] ]
  3234. 1041.48 s [opt-env-conf-test] pure NotFound
  3235. 1041.48 s [opt-env-conf-test] Just a -> pure $ Found a
  3236. 1041.48 s [opt-env-conf-test]
  3237. 1041.48 s [opt-env-conf-test] case mEnv of
  3238. 1041.48 s [opt-env-conf-test] Found a -> do
  3239. 1041.48 s [opt-env-conf-test] markParsed
  3240. 1041.48 s [opt-env-conf-test] pure a
  3241. 1041.48 s [opt-env-conf-test] _ -> do
  3242. 1041.48 s [opt-env-conf-test] let mConfDoc = settingConfDoc set
  3243. 1041.48 s [opt-env-conf-test] mConf <- case settingConfigVals of
  3244. 1041.48 s [opt-env-conf-test] Nothing -> pure NotRun
  3245. 1041.48 s [opt-env-conf-test] Just confSets -> do
  3246. 1041.48 s [opt-env-conf-test] mObj <- asks ppEnvConf
  3247. 1041.48 s [opt-env-conf-test] case mObj of
  3248. 1041.48 s [opt-env-conf-test] Nothing -> do
  3249. 1041.48 s [opt-env-conf-test] debug ["no config object to set from"]
  3250. 1041.48 s [opt-env-conf-test] pure NotFound
  3251. 1041.48 s [opt-env-conf-test] Just obj -> do
  3252. 1041.48 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  3253. 1041.48 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  3254. 1041.48 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  3255. 1041.48 s [opt-env-conf-test] Nothing -> do
  3256. 1041.48 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  3257. 1041.48 s [opt-env-conf-test] Nothing -> pure Nothing
  3258. 1041.48 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  3259. 1041.48 s [opt-env-conf-test] Just neRest -> do
  3260. 1041.48 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  3261. 1041.48 s [opt-env-conf-test] case mO' of
  3262. 1041.48 s [opt-env-conf-test] Nothing -> pure Nothing
  3263. 1041.48 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  3264. 1041.48 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  3265. 1041.48 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  3266. 1041.48 s [opt-env-conf-test] Right mV -> case mV of
  3267. 1041.48 s [opt-env-conf-test] Nothing -> do
  3268. 1041.48 s [opt-env-conf-test] debug
  3269. 1041.48 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  3270. 1041.49 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  3271. 1041.49 s [opt-env-conf-test] ]
  3272. 1041.49 s [opt-env-conf-test] pure Nothing
  3273. 1041.49 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  3274. 1041.49 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  3275. 1041.49 s [opt-env-conf-test] Right mA -> case mA of
  3276. 1041.49 s [opt-env-conf-test] Nothing -> do
  3277. 1041.49 s [opt-env-conf-test] debug
  3278. 1041.49 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  3279. 1041.49 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  3280. 1041.49 s [opt-env-conf-test] ]
  3281. 1041.49 s [opt-env-conf-test] pure Nothing
  3282. 1041.49 s [opt-env-conf-test] Just a -> do
  3283. 1041.49 s [opt-env-conf-test] debug
  3284. 1041.49 s [opt-env-conf-test] [ "set based on config value: ",
  3285. 1041.49 s [opt-env-conf-test] chunk $ T.pack $ show v
  3286. 1041.49 s [opt-env-conf-test] ]
  3287. 1041.49 s [opt-env-conf-test] pure $ Just a
  3288. 1041.49 s [opt-env-conf-test] let toRes = \case
  3289. 1041.49 s [opt-env-conf-test] Nothing -> NotFound
  3290. 1041.49 s [opt-env-conf-test] Just a -> Found a
  3291. 1041.49 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  3292. 1042.35 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  3293. 1042.35 s [opt-env-conf-test] Just ne -> do
  3294. 1042.35 s [opt-env-conf-test] res <- goConfSet confSet
  3295. 1042.35 s [opt-env-conf-test] case res of
  3296. 1042.35 s [opt-env-conf-test] Just a -> pure $ Found a
  3297. 1042.35 s [opt-env-conf-test] Nothing -> goConfSets ne
  3298. 1042.35 s [opt-env-conf-test] goConfSets confSets
  3299. 1042.35 s [opt-env-conf-test] case mConf of
  3300. 1042.35 s [opt-env-conf-test] Found a -> do
  3301. 1042.35 s [opt-env-conf-test] markParsed
  3302. 1042.35 s [opt-env-conf-test] pure a
  3303. 1042.35 s [opt-env-conf-test] _ ->
  3304. 1042.35 s [opt-env-conf-test] case settingDefaultValue of
  3305. 1042.35 s [opt-env-conf-test] Just (a, _) -> do
  3306. 1042.35 s [opt-env-conf-test] debug ["set to default value"]
  3307. 1042.35 s [opt-env-conf-test] pure a -- Don't mark as parsed
  3308. 1042.35 s [opt-env-conf-test] Nothing -> do
  3309. 1042.35 s [opt-env-conf-test] let parseResultError e res = case res of
  3310. 1042.35 s [opt-env-conf-test] NotRun -> Nothing
  3311. 1042.35 s [opt-env-conf-test] NotFound -> Just e
  3312. 1042.35 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  3313. 1042.35 s [opt-env-conf-test] debug ["not found"]
  3314. 1042.35 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  3315. 1042.35 s [opt-env-conf-test] NE.nonEmpty $
  3316. 1042.35 s [opt-env-conf-test] catMaybes
  3317. 1042.36 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  3318. 1042.36 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  3319. 1042.36 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  3320. 1042.36 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  3321. 1042.36 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  3322. 1042.36 s [opt-env-conf-test] ]
  3323. 1042.36 s [opt-env-conf-test]
  3324. 1042.36 s [opt-env-conf-test] withCapabilities ::
  3325. 1042.36 s [opt-env-conf-test] Maybe SrcLoc ->
  3326. 1042.36 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
  3327. 1042.36 s [opt-env-conf-test] @@ -227,10 +227,7 @@
  3328. 1042.36 s [opt-env-conf-test] internalParser p =
  3329. 1042.36 s [opt-env-conf-test] choice
  3330. 1042.36 s [opt-env-conf-test] [ setting
  3331. 1042.36 s [opt-env-conf-test] - [ switch ShowVersion,
  3332. 1042.36 s [opt-env-conf-test] - long "version",
  3333. 1042.36 s [opt-env-conf-test] - hidden
  3334. 1042.36 s [opt-env-conf-test] ],
  3335. 1042.36 s [opt-env-conf-test] setting
  3336. 1042.36 s [opt-env-conf-test] [ switch RenderMan,
  3337. 1042.36 s [opt-env-conf-test] long "render-man-page",
  3338. 1042.36 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:283:11-42
  3339. 1042.36 s [opt-env-conf-test] @@ -280,178 +280,10 @@
  3340. 1042.36 s [opt-env-conf-test] pure $ Found a
  3341. 1042.36 s [opt-env-conf-test] else pure NotRun
  3342. 1042.36 s [opt-env-conf-test]
  3343. 1042.36 s [opt-env-conf-test] case mArg of
  3344. 1042.36 s [opt-env-conf-test] Found a -> do
  3345. 1042.36 s [opt-env-conf-test] markParsed
  3346. 1042.36 s [opt-env-conf-test] pure a
  3347. 1042.36 s [opt-env-conf-test] - _ -> do
  3348. 1042.36 s [opt-env-conf-test] - mSwitch <- case settingSwitchValue of
  3349. 1042.36 s [opt-env-conf-test] - Nothing -> pure NotRun
  3350. 1042.36 s [opt-env-conf-test] - Just a -> do
  3351. 1042.36 s [opt-env-conf-test] - mS <- ppSwitch settingDasheds
  3352. 1042.36 s [opt-env-conf-test] - case mS of
  3353. 1042.36 s [opt-env-conf-test] - Nothing -> do
  3354. 1042.36 s [opt-env-conf-test] - debug
  3355. 1042.36 s [opt-env-conf-test] - [ "could not set based on switch, no switch: ",
  3356. 1042.36 s [opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
  3357. 1042.36 s [opt-env-conf-test] - ]
  3358. 1042.36 s [opt-env-conf-test] - pure NotFound
  3359. 1042.36 s [opt-env-conf-test] - Just () -> cap $ do
  3360. 1042.36 s [opt-env-conf-test] - debug ["set based on switch."]
  3361. 1042.36 s [opt-env-conf-test] - pure $ Found a
  3362. 1042.36 s [opt-env-conf-test] -
  3363. 1042.36 s [opt-env-conf-test] - case mSwitch of
  3364. 1042.36 s [opt-env-conf-test] - Found a -> do
  3365. 1042.36 s [opt-env-conf-test] - markParsed
  3366. 1042.36 s [opt-env-conf-test] - pure a
  3367. 1042.36 s [opt-env-conf-test] - _ -> do
  3368. 1042.36 s [opt-env-conf-test] - mOpt <-
  3369. 1042.36 s [opt-env-conf-test] - if settingTryOption
  3370. 1042.36 s [opt-env-conf-test] - then do
  3371. 1042.36 s [opt-env-conf-test] - -- Require readers before finding the option so the parser
  3372. 1042.36 s [opt-env-conf-test] - -- always fails if it's missing a reader.
  3373. 1042.36 s [opt-env-conf-test] - rs <- requireReaders settingReaders
  3374. 1042.36 s [opt-env-conf-test] - mS <- ppOpt settingDasheds
  3375. 1042.36 s [opt-env-conf-test] - case mS of
  3376. 1042.36 s [opt-env-conf-test] - Nothing -> do
  3377. 1042.36 s [opt-env-conf-test] - debug
  3378. 1042.36 s [opt-env-conf-test] - [ "could not set based on options, no option: ",
  3379. 1042.37 s [opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
  3380. 1042.37 s [opt-env-conf-test] - ]
  3381. 1042.37 s [opt-env-conf-test] - pure NotFound
  3382. 1042.37 s [opt-env-conf-test] - Just optionStr -> cap $
  3383. 1042.37 s [opt-env-conf-test] - case tryReaders rs optionStr of
  3384. 1042.37 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
  3385. 1042.37 s [opt-env-conf-test] - Right a -> do
  3386. 1042.37 s [opt-env-conf-test] - debug
  3387. 1042.37 s [opt-env-conf-test] - [ "set based on option: ",
  3388. 1042.37 s [opt-env-conf-test] - chunk $ T.pack $ show optionStr
  3389. 1042.37 s [opt-env-conf-test] - ]
  3390. 1042.37 s [opt-env-conf-test] - pure $ Found a
  3391. 1042.37 s [opt-env-conf-test] - else pure NotRun
  3392. 1042.37 s [opt-env-conf-test] -
  3393. 1042.37 s [opt-env-conf-test] - case mOpt of
  3394. 1042.37 s [opt-env-conf-test] - Found a -> do
  3395. 1042.37 s [opt-env-conf-test] - markParsed
  3396. 1042.37 s [opt-env-conf-test] - pure a
  3397. 1042.37 s [opt-env-conf-test] - _ -> do
  3398. 1042.37 s [opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
  3399. 1042.37 s [opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
  3400. 1042.37 s [opt-env-conf-test] - Nothing -> pure NotRun
  3401. 1042.37 s [opt-env-conf-test] - Just ne -> do
  3402. 1042.37 s [opt-env-conf-test] - -- Require readers before finding the env vars so the parser
  3403. 1042.37 s [opt-env-conf-test] - -- always fails if it's missing a reader.
  3404. 1042.37 s [opt-env-conf-test] - rs <- requireReaders settingReaders
  3405. 1042.37 s [opt-env-conf-test] - es <- asks ppEnvEnv
  3406. 1042.37 s [opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  3407. 1042.37 s [opt-env-conf-test] - -- Run the parser on all specified env vars before
  3408. 1042.37 s [opt-env-conf-test] - -- returning the first because we want to fail if any
  3409. 1042.37 s [opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
  3410. 1042.37 s [opt-env-conf-test] - -- result.
  3411. 1042.37 s [opt-env-conf-test] - results <- for founds $ \varStr ->
  3412. 1042.37 s [opt-env-conf-test] - case tryReaders rs varStr of
  3413. 1042.37 s [opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  3414. 1042.37 s [opt-env-conf-test] - Right a -> do
  3415. 1042.37 s [opt-env-conf-test] - debug
  3416. 1042.37 s [opt-env-conf-test] - [ "set based on env: ",
  3417. 1042.37 s [opt-env-conf-test] - chunk $ T.pack $ show varStr
  3418. 1042.37 s [opt-env-conf-test] - ]
  3419. 1042.37 s [opt-env-conf-test] - pure a
  3420. 1042.37 s [opt-env-conf-test] - case listToMaybe results of
  3421. 1042.37 s [opt-env-conf-test] - Nothing -> do
  3422. 1042.37 s [opt-env-conf-test] - debug
  3423. 1042.37 s [opt-env-conf-test] - [ "could not set based on env vars, no var: ",
  3424. 1042.37 s [opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  3425. 1042.37 s [opt-env-conf-test] - ]
  3426. 1042.37 s [opt-env-conf-test] - pure NotFound
  3427. 1042.37 s [opt-env-conf-test] - Just a -> pure $ Found a
  3428. 1042.37 s [opt-env-conf-test] -
  3429. 1042.37 s [opt-env-conf-test] - case mEnv of
  3430. 1042.37 s [opt-env-conf-test] - Found a -> do
  3431. 1042.37 s [opt-env-conf-test] - markParsed
  3432. 1042.37 s [opt-env-conf-test] - pure a
  3433. 1042.37 s [opt-env-conf-test] - _ -> do
  3434. 1042.37 s [opt-env-conf-test] - let mConfDoc = settingConfDoc set
  3435. 1042.37 s [opt-env-conf-test] - mConf <- case settingConfigVals of
  3436. 1042.37 s [opt-env-conf-test] - Nothing -> pure NotRun
  3437. 1042.37 s [opt-env-conf-test] - Just confSets -> do
  3438. 1042.37 s [opt-env-conf-test] - mObj <- asks ppEnvConf
  3439. 1042.37 s [opt-env-conf-test] - case mObj of
  3440. 1042.37 s [opt-env-conf-test] - Nothing -> do
  3441. 1042.37 s [opt-env-conf-test] - debug ["no config object to set from"]
  3442. 1042.37 s [opt-env-conf-test] - pure NotFound
  3443. 1042.37 s [opt-env-conf-test] - Just obj -> do
  3444. 1042.37 s [opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
  3445. 1042.37 s [opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  3446. 1042.37 s [opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
  3447. 1042.37 s [opt-env-conf-test] - Nothing -> do
  3448. 1042.37 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  3449. 1042.37 s [opt-env-conf-test] - Nothing -> pure Nothing
  3450. 1042.37 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  3451. 1042.37 s [opt-env-conf-test] - Just neRest -> do
  3452. 1042.37 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  3453. 1042.37 s [opt-env-conf-test] - case mO' of
  3454. 1042.37 s [opt-env-conf-test] - Nothing -> pure Nothing
  3455. 1042.37 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  3456. 1042.37 s [opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
  3457. 1042.37 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  3458. 1042.37 s [opt-env-conf-test] - Right mV -> case mV of
  3459. 1042.37 s [opt-env-conf-test] - Nothing -> do
  3460. 1042.37 s [opt-env-conf-test] - debug
  3461. 1042.37 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  3462. 1042.37 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  3463. 1042.37 s [opt-env-conf-test] - ]
  3464. 1042.37 s [opt-env-conf-test] - pure Nothing
  3465. 1042.37 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  3466. 1042.37 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  3467. 1042.37 s [opt-env-conf-test] - Right mA -> case mA of
  3468. 1042.37 s [opt-env-conf-test] - Nothing -> do
  3469. 1042.38 s [opt-env-conf-test] - debug
  3470. 1042.38 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  3471. 1042.38 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  3472. 1042.38 s [opt-env-conf-test] - ]
  3473. 1042.38 s [opt-env-conf-test] - pure Nothing
  3474. 1042.38 s [opt-env-conf-test] - Just a -> do
  3475. 1042.38 s [opt-env-conf-test] - debug
  3476. 1042.38 s [opt-env-conf-test] - [ "set based on config value: ",
  3477. 1042.38 s [opt-env-conf-test] - chunk $ T.pack $ show v
  3478. 1042.38 s [opt-env-conf-test] - ]
  3479. 1042.38 s [opt-env-conf-test] - pure $ Just a
  3480. 1042.38 s [opt-env-conf-test] - let toRes = \case
  3481. 1042.38 s [opt-env-conf-test] - Nothing -> NotFound
  3482. 1042.38 s [opt-env-conf-test] - Just a -> Found a
  3483. 1042.38 s [opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  3484. 1042.38 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  3485. 1042.38 s [opt-env-conf-test] - Just ne -> do
  3486. 1042.38 s [opt-env-conf-test] - res <- goConfSet confSet
  3487. 1042.38 s [opt-env-conf-test] - case res of
  3488. 1042.38 s [opt-env-conf-test] - Just a -> pure $ Found a
  3489. 1042.38 s [opt-env-conf-test] - Nothing -> goConfSets ne
  3490. 1042.38 s [opt-env-conf-test] - goConfSets confSets
  3491. 1042.38 s [opt-env-conf-test] - case mConf of
  3492. 1042.38 s [opt-env-conf-test] - Found a -> do
  3493. 1042.38 s [opt-env-conf-test] - markParsed
  3494. 1042.38 s [opt-env-conf-test] - pure a
  3495. 1042.38 s [opt-env-conf-test] - _ ->
  3496. 1042.38 s [opt-env-conf-test] - case settingDefaultValue of
  3497. 1042.38 s [opt-env-conf-test] - Just (a, _) -> do
  3498. 1042.38 s [opt-env-conf-test] - debug ["set to default value"]
  3499. 1042.38 s [opt-env-conf-test] - pure a -- Don't mark as parsed
  3500. 1043.09 s [opt-env-conf-test] - Nothing -> do
  3501. 1043.22 s [opt-env-conf-test] - let parseResultError e res = case res of
  3502. 1043.22 s [opt-env-conf-test] - NotRun -> Nothing
  3503. 1043.22 s [opt-env-conf-test] - NotFound -> Just e
  3504. 1043.23 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  3505. 1043.23 s [opt-env-conf-test] - debug ["not found"]
  3506. 1043.23 s [opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  3507. 1043.23 s [opt-env-conf-test] - NE.nonEmpty $
  3508. 1043.23 s [opt-env-conf-test] - catMaybes
  3509. 1043.23 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  3510. 1043.23 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  3511. 1043.23 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  3512. 1043.23 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  3513. 1043.23 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  3514. 1043.23 s [opt-env-conf-test] - ]
  3515. 1043.23 s [opt-env-conf-test]
  3516. 1043.23 s [opt-env-conf-test] withCapabilities ::
  3517. 1043.23 s [opt-env-conf-test] Maybe SrcLoc ->
  3518. 1043.23 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
  3519. 1043.24 s [opt-env-conf-test] @@ -227,10 +227,9 @@
  3520. 1043.24 s [opt-env-conf-test] internalParser p =
  3521. 1043.24 s [opt-env-conf-test] choice
  3522. 1043.24 s [opt-env-conf-test] [ setting
  3523. 1043.24 s [opt-env-conf-test] - [ switch ShowVersion,
  3524. 1043.24 s [opt-env-conf-test] long "version",
  3525. 1043.24 s [opt-env-conf-test] hidden
  3526. 1043.24 s [opt-env-conf-test] ],
  3527. 1043.24 s [opt-env-conf-test] setting
  3528. 1043.24 s [opt-env-conf-test] [ switch RenderMan,
  3529. 1043.24 s [opt-env-conf-test] long "render-man-page",
  3530. 1043.24 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
  3531. 1043.24 s [opt-env-conf-test] @@ -227,10 +227,9 @@
  3532. 1043.24 s [opt-env-conf-test] internalParser p =
  3533. 1043.24 s [opt-env-conf-test] choice
  3534. 1043.24 s [opt-env-conf-test] [ setting
  3535. 1043.24 s [opt-env-conf-test] [ switch ShowVersion,
  3536. 1043.24 s [opt-env-conf-test] long "version",
  3537. 1043.24 s [opt-env-conf-test] - hidden
  3538. 1043.24 s [opt-env-conf-test] ],
  3539. 1043.24 s [opt-env-conf-test] setting
  3540. 1043.24 s [opt-env-conf-test] [ switch RenderMan,
  3541. 1043.24 s [opt-env-conf-test] long "render-man-page",
  3542. 1043.24 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
  3543. 1043.24 s [opt-env-conf-test] @@ -232,11 +232,7 @@
  3544. 1043.24 s [opt-env-conf-test] hidden
  3545. 1043.24 s [opt-env-conf-test] ],
  3546. 1043.24 s [opt-env-conf-test] setting
  3547. 1043.24 s [opt-env-conf-test] - [ switch RenderMan,
  3548. 1043.24 s [opt-env-conf-test] - long "render-man-page",
  3549. 1043.24 s [opt-env-conf-test] - hidden,
  3550. 1043.24 s [opt-env-conf-test] - help "Render a manpage"
  3551. 1043.24 s [opt-env-conf-test] ],
  3552. 1043.24 s [opt-env-conf-test] setting
  3553. 1043.24 s [opt-env-conf-test] [ switch RenderDocumentation,
  3554. 1043.24 s [opt-env-conf-test] long "render-reference-documentation",
  3555. 1043.24 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
  3556. 1043.24 s [opt-env-conf-test] @@ -232,11 +232,10 @@
  3557. 1043.25 s [opt-env-conf-test] hidden
  3558. 1043.25 s [opt-env-conf-test] ],
  3559. 1043.25 s [opt-env-conf-test] setting
  3560. 1043.25 s [opt-env-conf-test] - [ switch RenderMan,
  3561. 1043.25 s [opt-env-conf-test] long "render-man-page",
  3562. 1043.25 s [opt-env-conf-test] hidden,
  3563. 1043.25 s [opt-env-conf-test] help "Render a manpage"
  3564. 1043.25 s [opt-env-conf-test] ],
  3565. 1043.25 s [opt-env-conf-test] setting
  3566. 1043.25 s [opt-env-conf-test] [ switch RenderDocumentation,
  3567. 1043.25 s [opt-env-conf-test] long "render-reference-documentation",
  3568. 1043.25 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
  3569. 1043.25 s [opt-env-conf-test] @@ -232,11 +232,10 @@
  3570. 1043.25 s [opt-env-conf-test] hidden
  3571. 1043.25 s [opt-env-conf-test] ],
  3572. 1043.25 s [opt-env-conf-test] setting
  3573. 1043.25 s [opt-env-conf-test] [ switch RenderMan,
  3574. 1043.25 s [opt-env-conf-test] long "render-man-page",
  3575. 1043.25 s [opt-env-conf-test] hidden,
  3576. 1043.25 s [opt-env-conf-test] - help "Render a manpage"
  3577. 1043.25 s [opt-env-conf-test] ],
  3578. 1043.25 s [opt-env-conf-test] setting
  3579. 1043.25 s [opt-env-conf-test] [ switch RenderDocumentation,
  3580. 1043.25 s [opt-env-conf-test] long "render-reference-documentation",
  3581. 1043.25 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
  3582. 1043.25 s [opt-env-conf-test] @@ -238,11 +238,7 @@
  3583. 1043.25 s [opt-env-conf-test] help "Render a manpage"
  3584. 1043.25 s [opt-env-conf-test] ],
  3585. 1043.25 s [opt-env-conf-test] setting
  3586. 1043.25 s [opt-env-conf-test] - [ switch RenderDocumentation,
  3587. 1043.25 s [opt-env-conf-test] - long "render-reference-documentation",
  3588. 1043.25 s [opt-env-conf-test] - hidden,
  3589. 1043.25 s [opt-env-conf-test] - help "Render reference documentation"
  3590. 1043.25 s [opt-env-conf-test] ],
  3591. 1043.25 s [opt-env-conf-test] setting
  3592. 1043.25 s [opt-env-conf-test] [ switch RenderNixosOptions,
  3593. 1043.25 s [opt-env-conf-test] long "render-nix-options",
  3594. 1043.25 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
  3595. 1043.25 s [opt-env-conf-test] @@ -238,11 +238,10 @@
  3596. 1043.25 s [opt-env-conf-test] help "Render a manpage"
  3597. 1043.25 s [opt-env-conf-test] ],
  3598. 1043.25 s [opt-env-conf-test] setting
  3599. 1043.26 s [opt-env-conf-test] - [ switch RenderDocumentation,
  3600. 1043.26 s [opt-env-conf-test] long "render-reference-documentation",
  3601. 1043.26 s [opt-env-conf-test] hidden,
  3602. 1043.26 s [opt-env-conf-test] help "Render reference documentation"
  3603. 1043.26 s [opt-env-conf-test] ],
  3604. 1043.26 s [opt-env-conf-test] setting
  3605. 1043.26 s [opt-env-conf-test] [ switch RenderNixosOptions,
  3606. 1043.26 s [opt-env-conf-test] long "render-nix-options",
  3607. 1043.26 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
  3608. 1043.26 s [opt-env-conf-test] @@ -238,11 +238,10 @@
  3609. 1043.26 s [opt-env-conf-test] help "Render a manpage"
  3610. 1043.26 s [opt-env-conf-test] ],
  3611. 1043.26 s [opt-env-conf-test] setting
  3612. 1043.26 s [opt-env-conf-test] [ switch RenderDocumentation,
  3613. 1043.26 s [opt-env-conf-test] long "render-reference-documentation",
  3614. 1043.26 s [opt-env-conf-test] hidden,
  3615. 1043.26 s [opt-env-conf-test] - help "Render reference documentation"
  3616. 1043.26 s [opt-env-conf-test] ],
  3617. 1043.26 s [opt-env-conf-test] setting
  3618. 1043.26 s [opt-env-conf-test] [ switch RenderNixosOptions,
  3619. 1043.26 s [opt-env-conf-test] long "render-nix-options",
  3620. 1043.26 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
  3621. 1043.26 s [opt-env-conf-test] @@ -244,11 +244,7 @@
  3622. 1043.26 s [opt-env-conf-test] help "Render reference documentation"
  3623. 1043.26 s [opt-env-conf-test] ],
  3624. 1043.26 s [opt-env-conf-test] setting
  3625. 1043.26 s [opt-env-conf-test] - [ switch RenderNixosOptions,
  3626. 1043.26 s [opt-env-conf-test] - long "render-nix-options",
  3627. 1043.26 s [opt-env-conf-test] - hidden,
  3628. 1043.26 s [opt-env-conf-test] - help "Render Nix options"
  3629. 1043.26 s [opt-env-conf-test] ],
  3630. 1043.26 s [opt-env-conf-test] BashCompletionScript
  3631. 1043.26 s [opt-env-conf-test] <$> setting
  3632. 1043.26 s [opt-env-conf-test] [ option,
  3633. 1043.26 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
  3634. 1043.26 s [opt-env-conf-test] @@ -244,11 +244,10 @@
  3635. 1043.26 s [opt-env-conf-test] help "Render reference documentation"
  3636. 1043.26 s [opt-env-conf-test] ],
  3637. 1043.26 s [opt-env-conf-test] setting
  3638. 1043.26 s [opt-env-conf-test] - [ switch RenderNixosOptions,
  3639. 1043.26 s [opt-env-conf-test] long "render-nix-options",
  3640. 1043.26 s [opt-env-conf-test] hidden,
  3641. 1043.26 s [opt-env-conf-test] help "Render Nix options"
  3642. 1043.26 s [opt-env-conf-test] ],
  3643. 1043.26 s [opt-env-conf-test] BashCompletionScript
  3644. 1043.26 s [opt-env-conf-test] <$> setting
  3645. 1043.26 s [opt-env-conf-test] [ option,
  3646. 1043.26 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
  3647. 1043.26 s [opt-env-conf-test] @@ -244,11 +244,10 @@
  3648. 1043.26 s [opt-env-conf-test] help "Render reference documentation"
  3649. 1043.26 s [opt-env-conf-test] ],
  3650. 1043.26 s [opt-env-conf-test] setting
  3651. 1043.27 s [opt-env-conf-test] [ switch RenderNixosOptions,
  3652. 1043.27 s [opt-env-conf-test] long "render-nix-options",
  3653. 1043.27 s [opt-env-conf-test] hidden,
  3654. 1043.27 s [opt-env-conf-test] - help "Render Nix options"
  3655. 1043.27 s [opt-env-conf-test] ],
  3656. 1043.27 s [opt-env-conf-test] BashCompletionScript
  3657. 1043.27 s [opt-env-conf-test] <$> setting
  3658. 1043.27 s [opt-env-conf-test] [ option,
  3659. 1043.27 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
  3660. 1043.27 s [opt-env-conf-test] @@ -251,12 +251,7 @@
  3661. 1043.27 s [opt-env-conf-test] ],
  3662. 1043.27 s [opt-env-conf-test] BashCompletionScript
  3663. 1043.27 s [opt-env-conf-test] <$> setting
  3664. 1043.27 s [opt-env-conf-test] - [ option,
  3665. 1043.27 s [opt-env-conf-test] - reader $ maybeReader parseAbsFile,
  3666. 1043.27 s [opt-env-conf-test] - long "bash-completion-script",
  3667. 1043.27 s [opt-env-conf-test] - hidden,
  3668. 1043.27 s [opt-env-conf-test] - help "Render the bash completion script"
  3669. 1043.27 s [opt-env-conf-test] ],
  3670. 1043.27 s [opt-env-conf-test] ZshCompletionScript
  3671. 1043.27 s [opt-env-conf-test] <$> setting
  3672. 1043.27 s [opt-env-conf-test] [ option,
  3673. 1043.27 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
  3674. 1043.27 s [opt-env-conf-test] @@ -251,12 +251,11 @@
  3675. 1043.27 s [opt-env-conf-test] ],
  3676. 1043.27 s [opt-env-conf-test] BashCompletionScript
  3677. 1043.27 s [opt-env-conf-test] <$> setting
  3678. 1043.27 s [opt-env-conf-test] - [ option,
  3679. 1043.27 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  3680. 1043.27 s [opt-env-conf-test] long "bash-completion-script",
  3681. 1043.27 s [opt-env-conf-test] hidden,
  3682. 1043.27 s [opt-env-conf-test] help "Render the bash completion script"
  3683. 1043.27 s [opt-env-conf-test] ],
  3684. 1043.27 s [opt-env-conf-test] ZshCompletionScript
  3685. 1043.27 s [opt-env-conf-test] <$> setting
  3686. 1043.27 s [opt-env-conf-test] [ option,
  3687. 1043.27 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
  3688. 1043.27 s [opt-env-conf-test] @@ -251,12 +251,11 @@
  3689. 1043.27 s [opt-env-conf-test] ],
  3690. 1043.27 s [opt-env-conf-test] BashCompletionScript
  3691. 1043.27 s [opt-env-conf-test] <$> setting
  3692. 1043.27 s [opt-env-conf-test] [ option,
  3693. 1043.27 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  3694. 1043.27 s [opt-env-conf-test] long "bash-completion-script",
  3695. 1043.27 s [opt-env-conf-test] hidden,
  3696. 1043.27 s [opt-env-conf-test] - help "Render the bash completion script"
  3697. 1043.27 s [opt-env-conf-test] ],
  3698. 1043.27 s [opt-env-conf-test] ZshCompletionScript
  3699. 1043.27 s [opt-env-conf-test] <$> setting
  3700. 1043.27 s [opt-env-conf-test] [ option,
  3701. 1043.28 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
  3702. 1043.28 s [opt-env-conf-test] @@ -259,12 +259,7 @@
  3703. 1043.28 s [opt-env-conf-test] ],
  3704. 1043.28 s [opt-env-conf-test] ZshCompletionScript
  3705. 1043.28 s [opt-env-conf-test] <$> setting
  3706. 1043.28 s [opt-env-conf-test] - [ option,
  3707. 1043.28 s [opt-env-conf-test] - reader $ maybeReader parseAbsFile,
  3708. 1043.28 s [opt-env-conf-test] - long "zsh-completion-script",
  3709. 1043.28 s [opt-env-conf-test] - hidden,
  3710. 1043.28 s [opt-env-conf-test] - help "Render the zsh completion script"
  3711. 1043.28 s [opt-env-conf-test] ],
  3712. 1043.28 s [opt-env-conf-test] ZshCompletionScript
  3713. 1043.28 s [opt-env-conf-test] <$> setting
  3714. 1043.28 s [opt-env-conf-test] [ option,
  3715. 1043.28 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
  3716. 1043.28 s [opt-env-conf-test] @@ -259,12 +259,11 @@
  3717. 1043.28 s [opt-env-conf-test] ],
  3718. 1043.28 s [opt-env-conf-test] ZshCompletionScript
  3719. 1043.28 s [opt-env-conf-test] <$> setting
  3720. 1043.28 s [opt-env-conf-test] - [ option,
  3721. 1043.28 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  3722. 1043.28 s [opt-env-conf-test] long "zsh-completion-script",
  3723. 1043.28 s [opt-env-conf-test] hidden,
  3724. 1043.28 s [opt-env-conf-test] help "Render the zsh completion script"
  3725. 1043.28 s [opt-env-conf-test] ],
  3726. 1043.28 s [opt-env-conf-test] ZshCompletionScript
  3727. 1043.28 s [opt-env-conf-test] <$> setting
  3728. 1043.28 s [opt-env-conf-test] [ option,
  3729. 1043.28 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
  3730. 1043.28 s [opt-env-conf-test] @@ -267,12 +267,7 @@
  3731. 1043.28 s [opt-env-conf-test] ],
  3732. 1043.28 s [opt-env-conf-test] ZshCompletionScript
  3733. 1043.28 s [opt-env-conf-test] <$> setting
  3734. 1043.28 s [opt-env-conf-test] - [ option,
  3735. 1043.28 s [opt-env-conf-test] - reader $ maybeReader parseAbsFile,
  3736. 1043.28 s [opt-env-conf-test] - long "fish-completion-script",
  3737. 1043.28 s [opt-env-conf-test] - hidden,
  3738. 1043.28 s [opt-env-conf-test] - help "Render the fish completion script"
  3739. 1043.28 s [opt-env-conf-test] ],
  3740. 1043.28 s [opt-env-conf-test] setting
  3741. 1043.28 s [opt-env-conf-test] [ help "Query completion",
  3742. 1043.28 s [opt-env-conf-test] switch CompletionQuery,
  3743. 1043.28 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
  3744. 1043.28 s [opt-env-conf-test] @@ -259,12 +259,11 @@
  3745. 1043.28 s [opt-env-conf-test] ],
  3746. 1043.28 s [opt-env-conf-test] ZshCompletionScript
  3747. 1043.29 s [opt-env-conf-test] <$> setting
  3748. 1043.29 s [opt-env-conf-test] [ option,
  3749. 1043.29 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  3750. 1043.29 s [opt-env-conf-test] long "zsh-completion-script",
  3751. 1043.29 s [opt-env-conf-test] hidden,
  3752. 1043.29 s [opt-env-conf-test] - help "Render the zsh completion script"
  3753. 1043.29 s [opt-env-conf-test] ],
  3754. 1043.29 s [opt-env-conf-test] ZshCompletionScript
  3755. 1043.29 s [opt-env-conf-test] <$> setting
  3756. 1043.29 s [opt-env-conf-test] [ option,
  3757. 1043.29 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
  3758. 1043.29 s [opt-env-conf-test] @@ -267,12 +267,11 @@
  3759. 1043.29 s [opt-env-conf-test] ],
  3760. 1043.29 s [opt-env-conf-test] ZshCompletionScript
  3761. 1043.29 s [opt-env-conf-test] <$> setting
  3762. 1043.29 s [opt-env-conf-test] - [ option,
  3763. 1043.29 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  3764. 1043.29 s [opt-env-conf-test] long "fish-completion-script",
  3765. 1043.29 s [opt-env-conf-test] hidden,
  3766. 1043.29 s [opt-env-conf-test] help "Render the fish completion script"
  3767. 1043.29 s [opt-env-conf-test] ],
  3768. 1043.29 s [opt-env-conf-test] setting
  3769. 1043.29 s [opt-env-conf-test] [ help "Query completion",
  3770. 1043.29 s [opt-env-conf-test] switch CompletionQuery,
  3771. 1043.29 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
  3772. 1043.29 s [opt-env-conf-test] @@ -267,12 +267,11 @@
  3773. 1043.29 s [opt-env-conf-test] ],
  3774. 1043.29 s [opt-env-conf-test] ZshCompletionScript
  3775. 1043.29 s [opt-env-conf-test] <$> setting
  3776. 1043.29 s [opt-env-conf-test] [ option,
  3777. 1043.29 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  3778. 1043.29 s [opt-env-conf-test] long "fish-completion-script",
  3779. 1043.29 s [opt-env-conf-test] hidden,
  3780. 1043.29 s [opt-env-conf-test] - help "Render the fish completion script"
  3781. 1043.29 s [opt-env-conf-test] ],
  3782. 1043.29 s [opt-env-conf-test] setting
  3783. 1043.29 s [opt-env-conf-test] [ help "Query completion",
  3784. 1043.29 s [opt-env-conf-test] switch CompletionQuery,
  3785. 1043.29 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
  3786. 1043.29 s [opt-env-conf-test] @@ -274,12 +274,11 @@
  3787. 1043.29 s [opt-env-conf-test] help "Render the fish completion script"
  3788. 1043.29 s [opt-env-conf-test] ],
  3789. 1043.29 s [opt-env-conf-test] setting
  3790. 1043.29 s [opt-env-conf-test] - [ help "Query completion",
  3791. 1043.29 s [opt-env-conf-test] switch CompletionQuery,
  3792. 1043.29 s [opt-env-conf-test] -- Long string that no normal user would ever use.
  3793. 1043.29 s [opt-env-conf-test] long "query-opt-env-conf-completion",
  3794. 1043.29 s [opt-env-conf-test] hidden
  3795. 1043.29 s [opt-env-conf-test] ]
  3796. 1043.29 s [opt-env-conf-test] <*> setting
  3797. 1043.29 s [opt-env-conf-test] [ switch True,
  3798. 1043.29 s [opt-env-conf-test] long "completion-enriched",
  3799. 1043.29 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:284:20-24
  3800. 1043.29 s [opt-env-conf-test] @@ -281,7 +281,7 @@
  3801. 1043.29 s [opt-env-conf-test] hidden
  3802. 1043.29 s [opt-env-conf-test] ]
  3803. 1043.30 s [opt-env-conf-test] <*> setting
  3804. 1043.30 s [opt-env-conf-test] - [ switch True,
  3805. 1043.30 s [opt-env-conf-test] + [ switch False,
  3806. 1043.30 s [opt-env-conf-test] long "completion-enriched",
  3807. 1043.30 s [opt-env-conf-test] value False,
  3808. 1043.30 s [opt-env-conf-test] hidden,
  3809. 1043.30 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
  3810. 1043.30 s [opt-env-conf-test] @@ -274,12 +274,8 @@
  3811. 1043.30 s [opt-env-conf-test] help "Render the fish completion script"
  3812. 1043.30 s [opt-env-conf-test] ],
  3813. 1043.30 s [opt-env-conf-test] setting
  3814. 1043.30 s [opt-env-conf-test] - [ help "Query completion",
  3815. 1043.30 s [opt-env-conf-test] - switch CompletionQuery,
  3816. 1043.30 s [opt-env-conf-test] -- Long string that no normal user would ever use.
  3817. 1043.30 s [opt-env-conf-test] - long "query-opt-env-conf-completion",
  3818. 1043.30 s [opt-env-conf-test] - hidden
  3819. 1043.30 s [opt-env-conf-test] ]
  3820. 1043.30 s [opt-env-conf-test] <*> setting
  3821. 1043.30 s [opt-env-conf-test] [ switch True,
  3822. 1043.30 s [opt-env-conf-test] long "completion-enriched",
  3823. 1043.30 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:286:19-24
  3824. 1043.30 s [opt-env-conf-test] @@ -283,7 +283,7 @@
  3825. 1043.30 s [opt-env-conf-test] <*> setting
  3826. 1043.30 s [opt-env-conf-test] [ switch True,
  3827. 1043.30 s [opt-env-conf-test] long "completion-enriched",
  3828. 1043.30 s [opt-env-conf-test] - value False,
  3829. 1043.30 s [opt-env-conf-test] + value True,
  3830. 1043.30 s [opt-env-conf-test] hidden,
  3831. 1043.30 s [opt-env-conf-test] help "Whether to enable enriched completion"
  3832. 1043.30 s [opt-env-conf-test] ]
  3833. 1043.30 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
  3834. 1043.30 s [opt-env-conf-test] @@ -274,12 +274,11 @@
  3835. 1043.30 s [opt-env-conf-test] help "Render the fish completion script"
  3836. 1043.30 s [opt-env-conf-test] ],
  3837. 1043.30 s [opt-env-conf-test] setting
  3838. 1043.30 s [opt-env-conf-test] [ help "Query completion",
  3839. 1043.30 s [opt-env-conf-test] switch CompletionQuery,
  3840. 1043.30 s [opt-env-conf-test] -- Long string that no normal user would ever use.
  3841. 1043.30 s [opt-env-conf-test] long "query-opt-env-conf-completion",
  3842. 1043.30 s [opt-env-conf-test] - hidden
  3843. 1043.30 s [opt-env-conf-test] ]
  3844. 1043.31 s [opt-env-conf-test] <*> setting
  3845. 1043.31 s [opt-env-conf-test] [ switch True,
  3846. 1043.31 s [opt-env-conf-test] long "completion-enriched",
  3847. 1043.31 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
  3848. 1043.31 s [opt-env-conf-test] @@ -281,12 +281,7 @@
  3849. 1043.31 s [opt-env-conf-test] hidden
  3850. 1043.31 s [opt-env-conf-test] ]
  3851. 1043.31 s [opt-env-conf-test] <*> setting
  3852. 1043.31 s [opt-env-conf-test] - [ switch True,
  3853. 1043.31 s [opt-env-conf-test] - long "completion-enriched",
  3854. 1043.31 s [opt-env-conf-test] - value False,
  3855. 1043.31 s [opt-env-conf-test] - hidden,
  3856. 1043.31 s [opt-env-conf-test] - help "Whether to enable enriched completion"
  3857. 1043.31 s [opt-env-conf-test] ]
  3858. 1043.31 s [opt-env-conf-test] <*> setting
  3859. 1043.31 s [opt-env-conf-test] [ option,
  3860. 1043.31 s [opt-env-conf-test] reader auto,
  3861. 1043.31 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
  3862. 1043.31 s [opt-env-conf-test] @@ -281,12 +281,11 @@
  3863. 1043.31 s [opt-env-conf-test] hidden
  3864. 1043.31 s [opt-env-conf-test] ]
  3865. 1043.31 s [opt-env-conf-test] <*> setting
  3866. 1043.31 s [opt-env-conf-test] - [ switch True,
  3867. 1043.31 s [opt-env-conf-test] long "completion-enriched",
  3868. 1043.31 s [opt-env-conf-test] value False,
  3869. 1043.31 s [opt-env-conf-test] hidden,
  3870. 1043.31 s [opt-env-conf-test] help "Whether to enable enriched completion"
  3871. 1043.31 s [opt-env-conf-test] ]
  3872. 1043.31 s [opt-env-conf-test] <*> setting
  3873. 1043.31 s [opt-env-conf-test] [ option,
  3874. 1043.31 s [opt-env-conf-test] reader auto,
  3875. 1043.31 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
  3876. 1043.31 s [opt-env-conf-test] @@ -281,12 +281,11 @@
  3877. 1043.31 s [opt-env-conf-test] hidden
  3878. 1043.31 s [opt-env-conf-test] ]
  3879. 1043.31 s [opt-env-conf-test] <*> setting
  3880. 1043.31 s [opt-env-conf-test] [ switch True,
  3881. 1043.31 s [opt-env-conf-test] long "completion-enriched",
  3882. 1043.31 s [opt-env-conf-test] value False,
  3883. 1043.31 s [opt-env-conf-test] hidden,
  3884. 1043.31 s [opt-env-conf-test] - help "Whether to enable enriched completion"
  3885. 1043.31 s [opt-env-conf-test] ]
  3886. 1043.31 s [opt-env-conf-test] <*> setting
  3887. 1043.31 s [opt-env-conf-test] [ option,
  3888. 1043.31 s [opt-env-conf-test] reader auto,
  3889. 1043.31 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
  3890. 1043.31 s [opt-env-conf-test] @@ -288,12 +288,7 @@
  3891. 1043.31 s [opt-env-conf-test] help "Whether to enable enriched completion"
  3892. 1043.32 s [opt-env-conf-test] ]
  3893. 1043.32 s [opt-env-conf-test] <*> setting
  3894. 1043.32 s [opt-env-conf-test] - [ option,
  3895. 1043.32 s [opt-env-conf-test] - reader auto,
  3896. 1043.32 s [opt-env-conf-test] - long "completion-index",
  3897. 1043.32 s [opt-env-conf-test] - hidden,
  3898. 1043.32 s [opt-env-conf-test] - help "The index between the arguments where completion was invoked."
  3899. 1043.32 s [opt-env-conf-test] ]
  3900. 1043.32 s [opt-env-conf-test] <*> many
  3901. 1043.32 s [opt-env-conf-test] ( setting
  3902. 1043.32 s [opt-env-conf-test] [ option,
  3903. 1043.32 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
  3904. 1043.32 s [opt-env-conf-test] @@ -288,12 +288,11 @@
  3905. 1043.32 s [opt-env-conf-test] help "Whether to enable enriched completion"
  3906. 1043.32 s [opt-env-conf-test] ]
  3907. 1043.32 s [opt-env-conf-test] <*> setting
  3908. 1043.32 s [opt-env-conf-test] - [ option,
  3909. 1043.32 s [opt-env-conf-test] reader auto,
  3910. 1043.32 s [opt-env-conf-test] long "completion-index",
  3911. 1043.32 s [opt-env-conf-test] hidden,
  3912. 1043.32 s [opt-env-conf-test] help "The index between the arguments where completion was invoked."
  3913. 1043.32 s [opt-env-conf-test] ]
  3914. 1043.32 s [opt-env-conf-test] <*> many
  3915. 1043.32 s [opt-env-conf-test] ( setting
  3916. 1043.32 s [opt-env-conf-test] [ option,
  3917. 1043.32 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
  3918. 1043.32 s [opt-env-conf-test] @@ -288,12 +288,11 @@
  3919. 1043.32 s [opt-env-conf-test] help "Whether to enable enriched completion"
  3920. 1043.32 s [opt-env-conf-test] ]
  3921. 1043.32 s [opt-env-conf-test] <*> setting
  3922. 1043.32 s [opt-env-conf-test] [ option,
  3923. 1043.32 s [opt-env-conf-test] reader auto,
  3924. 1043.32 s [opt-env-conf-test] long "completion-index",
  3925. 1043.32 s [opt-env-conf-test] hidden,
  3926. 1043.32 s [opt-env-conf-test] - help "The index between the arguments where completion was invoked."
  3927. 1043.32 s [opt-env-conf-test] ]
  3928. 1043.32 s [opt-env-conf-test] <*> many
  3929. 1043.33 s [opt-env-conf-test] ( setting
  3930. 1043.33 s [opt-env-conf-test] [ option,
  3931. 1043.33 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
  3932. 1043.33 s [opt-env-conf-test] @@ -296,12 +296,7 @@
  3933. 1043.33 s [opt-env-conf-test] ]
  3934. 1043.33 s [opt-env-conf-test] <*> many
  3935. 1043.33 s [opt-env-conf-test] ( setting
  3936. 1043.33 s [opt-env-conf-test] - [ option,
  3937. 1043.33 s [opt-env-conf-test] - reader str,
  3938. 1043.33 s [opt-env-conf-test] - long "completion-word",
  3939. 1043.33 s [opt-env-conf-test] - hidden,
  3940. 1043.33 s [opt-env-conf-test] - help "The words (arguments) that have already been typed"
  3941. 1043.33 s [opt-env-conf-test] ]
  3942. 1043.33 s [opt-env-conf-test] ),
  3943. 1043.33 s [opt-env-conf-test] ParsedNormally <$> p
  3944. 1043.33 s [opt-env-conf-test] ]
  3945. 1043.33 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
  3946. 1043.33 s [opt-env-conf-test] @@ -296,12 +296,11 @@
  3947. 1043.33 s [opt-env-conf-test] ]
  3948. 1043.33 s [opt-env-conf-test] <*> many
  3949. 1043.33 s [opt-env-conf-test] ( setting
  3950. 1043.33 s [opt-env-conf-test] - [ option,
  3951. 1043.33 s [opt-env-conf-test] reader str,
  3952. 1043.33 s [opt-env-conf-test] long "completion-word",
  3953. 1043.33 s [opt-env-conf-test] hidden,
  3954. 1043.33 s [opt-env-conf-test] help "The words (arguments) that have already been typed"
  3955. 1043.33 s [opt-env-conf-test] ]
  3956. 1043.33 s [opt-env-conf-test] ),
  3957. 1043.33 s [opt-env-conf-test] ParsedNormally <$> p
  3958. 1043.33 s [opt-env-conf-test] ]
  3959. 1043.33 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
  3960. 1043.33 s [opt-env-conf-test] @@ -296,12 +296,11 @@
  3961. 1043.33 s [opt-env-conf-test] ]
  3962. 1043.33 s [opt-env-conf-test] <*> many
  3963. 1043.33 s [opt-env-conf-test] ( setting
  3964. 1043.33 s [opt-env-conf-test] [ option,
  3965. 1043.33 s [opt-env-conf-test] reader str,
  3966. 1043.33 s [opt-env-conf-test] long "completion-word",
  3967. 1043.33 s [opt-env-conf-test] hidden,
  3968. 1043.33 s [opt-env-conf-test] - help "The words (arguments) that have already been typed"
  3969. 1043.33 s [opt-env-conf-test] ]
  3970. 1043.33 s [opt-env-conf-test] ),
  3971. 1043.33 s [opt-env-conf-test] ParsedNormally <$> p
  3972. 1043.33 s [opt-env-conf-test] ]
  3973. 1043.34 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
  3974. 1043.34 s [opt-env-conf-test] @@ -226,82 +226,4 @@
  3975. 1043.34 s [opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
  3976. 1043.34 s [opt-env-conf-test] internalParser p =
  3977. 1043.34 s [opt-env-conf-test] choice
  3978. 1043.34 s [opt-env-conf-test] - [ setting
  3979. 1043.34 s [opt-env-conf-test] - [ switch ShowVersion,
  3980. 1043.34 s [opt-env-conf-test] - long "version",
  3981. 1043.34 s [opt-env-conf-test] - hidden
  3982. 1043.34 s [opt-env-conf-test] - ],
  3983. 1043.34 s [opt-env-conf-test] - setting
  3984. 1043.34 s [opt-env-conf-test] - [ switch RenderMan,
  3985. 1043.34 s [opt-env-conf-test] - long "render-man-page",
  3986. 1043.34 s [opt-env-conf-test] - hidden,
  3987. 1043.34 s [opt-env-conf-test] - help "Render a manpage"
  3988. 1043.34 s [opt-env-conf-test] - ],
  3989. 1043.34 s [opt-env-conf-test] - setting
  3990. 1043.34 s [opt-env-conf-test] - [ switch RenderDocumentation,
  3991. 1043.34 s [opt-env-conf-test] - long "render-reference-documentation",
  3992. 1043.34 s [opt-env-conf-test] - hidden,
  3993. 1043.34 s [opt-env-conf-test] - help "Render reference documentation"
  3994. 1043.34 s [opt-env-conf-test] - ],
  3995. 1043.34 s [opt-env-conf-test] - setting
  3996. 1043.34 s [opt-env-conf-test] - [ switch RenderNixosOptions,
  3997. 1043.34 s [opt-env-conf-test] - long "render-nix-options",
  3998. 1043.34 s [opt-env-conf-test] - hidden,
  3999. 1043.34 s [opt-env-conf-test] - help "Render Nix options"
  4000. 1043.34 s [opt-env-conf-test] - ],
  4001. 1043.34 s [opt-env-conf-test] - BashCompletionScript
  4002. 1043.34 s [opt-env-conf-test] - <$> setting
  4003. 1043.34 s [opt-env-conf-test] - [ option,
  4004. 1043.34 s [opt-env-conf-test] - reader $ maybeReader parseAbsFile,
  4005. 1043.34 s [opt-env-conf-test] - long "bash-completion-script",
  4006. 1043.34 s [opt-env-conf-test] - hidden,
  4007. 1043.34 s [opt-env-conf-test] - help "Render the bash completion script"
  4008. 1043.34 s [opt-env-conf-test] - ],
  4009. 1043.34 s [opt-env-conf-test] - ZshCompletionScript
  4010. 1043.34 s [opt-env-conf-test] - <$> setting
  4011. 1043.34 s [opt-env-conf-test] - [ option,
  4012. 1043.34 s [opt-env-conf-test] - reader $ maybeReader parseAbsFile,
  4013. 1043.35 s [opt-env-conf-test] - long "zsh-completion-script",
  4014. 1043.35 s [opt-env-conf-test] - hidden,
  4015. 1043.35 s [opt-env-conf-test] - help "Render the zsh completion script"
  4016. 1043.35 s [opt-env-conf-test] - ],
  4017. 1043.35 s [opt-env-conf-test] - ZshCompletionScript
  4018. 1043.35 s [opt-env-conf-test] - <$> setting
  4019. 1043.35 s [opt-env-conf-test] - [ option,
  4020. 1043.35 s [opt-env-conf-test] - reader $ maybeReader parseAbsFile,
  4021. 1043.35 s [opt-env-conf-test] - long "fish-completion-script",
  4022. 1043.35 s [opt-env-conf-test] - hidden,
  4023. 1043.35 s [opt-env-conf-test] - help "Render the fish completion script"
  4024. 1043.35 s [opt-env-conf-test] - ],
  4025. 1043.35 s [opt-env-conf-test] - setting
  4026. 1043.35 s [opt-env-conf-test] - [ help "Query completion",
  4027. 1043.35 s [opt-env-conf-test] - switch CompletionQuery,
  4028. 1043.35 s [opt-env-conf-test] - -- Long string that no normal user would ever use.
  4029. 1043.35 s [opt-env-conf-test] - long "query-opt-env-conf-completion",
  4030. 1043.35 s [opt-env-conf-test] - hidden
  4031. 1043.35 s [opt-env-conf-test] - ]
  4032. 1043.35 s [opt-env-conf-test] - <*> setting
  4033. 1043.35 s [opt-env-conf-test] - [ switch True,
  4034. 1043.35 s [opt-env-conf-test] - long "completion-enriched",
  4035. 1043.35 s [opt-env-conf-test] - value False,
  4036. 1043.35 s [opt-env-conf-test] - hidden,
  4037. 1043.36 s [opt-env-conf-test] - help "Whether to enable enriched completion"
  4038. 1043.36 s [opt-env-conf-test] - ]
  4039. 1043.36 s [opt-env-conf-test] - <*> setting
  4040. 1043.36 s [opt-env-conf-test] - [ option,
  4041. 1043.36 s [opt-env-conf-test] - reader auto,
  4042. 1043.36 s [opt-env-conf-test] - long "completion-index",
  4043. 1043.36 s [opt-env-conf-test] - hidden,
  4044. 1043.36 s [opt-env-conf-test] - help "The index between the arguments where completion was invoked."
  4045. 1043.36 s [opt-env-conf-test] - ]
  4046. 1043.36 s [opt-env-conf-test] - <*> many
  4047. 1043.36 s [opt-env-conf-test] - ( setting
  4048. 1043.36 s [opt-env-conf-test] - [ option,
  4049. 1043.36 s [opt-env-conf-test] - reader str,
  4050. 1043.36 s [opt-env-conf-test] - long "completion-word",
  4051. 1043.36 s [opt-env-conf-test] - hidden,
  4052. 1043.36 s [opt-env-conf-test] - help "The words (arguments) that have already been typed"
  4053. 1043.36 s [opt-env-conf-test] - ]
  4054. 1043.36 s [opt-env-conf-test] - ),
  4055. 1043.36 s [opt-env-conf-test] - ParsedNormally <$> p
  4056. 1043.36 s [opt-env-conf-test] ]
  4057. 1043.36 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
  4058. 1043.36 s [opt-env-conf-test] @@ -226,82 +226,77 @@
  4059. 1043.36 s [opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
  4060. 1043.36 s [opt-env-conf-test] internalParser p =
  4061. 1043.36 s [opt-env-conf-test] choice
  4062. 1043.37 s [opt-env-conf-test] - [ setting
  4063. 1043.37 s [opt-env-conf-test] - [ switch ShowVersion,
  4064. 1043.37 s [opt-env-conf-test] - long "version",
  4065. 1043.37 s [opt-env-conf-test] - hidden
  4066. 1043.37 s [opt-env-conf-test] - ],
  4067. 1043.37 s [opt-env-conf-test] setting
  4068. 1043.37 s [opt-env-conf-test] [ switch RenderMan,
  4069. 1043.37 s [opt-env-conf-test] long "render-man-page",
  4070. 1043.37 s [opt-env-conf-test] hidden,
  4071. 1043.37 s [opt-env-conf-test] help "Render a manpage"
  4072. 1043.37 s [opt-env-conf-test] ],
  4073. 1043.37 s [opt-env-conf-test] setting
  4074. 1043.37 s [opt-env-conf-test] [ switch RenderDocumentation,
  4075. 1043.37 s [opt-env-conf-test] long "render-reference-documentation",
  4076. 1043.37 s [opt-env-conf-test] hidden,
  4077. 1043.37 s [opt-env-conf-test] help "Render reference documentation"
  4078. 1043.37 s [opt-env-conf-test] ],
  4079. 1043.37 s [opt-env-conf-test] setting
  4080. 1043.37 s [opt-env-conf-test] [ switch RenderNixosOptions,
  4081. 1043.37 s [opt-env-conf-test] long "render-nix-options",
  4082. 1043.37 s [opt-env-conf-test] hidden,
  4083. 1043.37 s [opt-env-conf-test] help "Render Nix options"
  4084. 1043.37 s [opt-env-conf-test] ],
  4085. 1043.37 s [opt-env-conf-test] BashCompletionScript
  4086. 1043.37 s [opt-env-conf-test] <$> setting
  4087. 1043.37 s [opt-env-conf-test] [ option,
  4088. 1043.37 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  4089. 1043.38 s [opt-env-conf-test] long "bash-completion-script",
  4090. 1043.38 s [opt-env-conf-test] hidden,
  4091. 1043.38 s [opt-env-conf-test] help "Render the bash completion script"
  4092. 1043.38 s [opt-env-conf-test] ],
  4093. 1043.38 s [opt-env-conf-test] ZshCompletionScript
  4094. 1043.38 s [opt-env-conf-test] <$> setting
  4095. 1043.38 s [opt-env-conf-test] [ option,
  4096. 1043.38 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  4097. 1043.38 s [opt-env-conf-test] long "zsh-completion-script",
  4098. 1043.38 s [opt-env-conf-test] hidden,
  4099. 1043.38 s [opt-env-conf-test] help "Render the zsh completion script"
  4100. 1043.38 s [opt-env-conf-test] ],
  4101. 1043.38 s [opt-env-conf-test] ZshCompletionScript
  4102. 1043.38 s [opt-env-conf-test] <$> setting
  4103. 1043.38 s [opt-env-conf-test] [ option,
  4104. 1043.38 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  4105. 1043.38 s [opt-env-conf-test] long "fish-completion-script",
  4106. 1043.38 s [opt-env-conf-test] hidden,
  4107. 1043.38 s [opt-env-conf-test] help "Render the fish completion script"
  4108. 1043.38 s [opt-env-conf-test] ],
  4109. 1043.38 s [opt-env-conf-test] setting
  4110. 1043.38 s [opt-env-conf-test] [ help "Query completion",
  4111. 1043.38 s [opt-env-conf-test] switch CompletionQuery,
  4112. 1043.38 s [opt-env-conf-test] -- Long string that no normal user would ever use.
  4113. 1043.38 s [opt-env-conf-test] long "query-opt-env-conf-completion",
  4114. 1043.38 s [opt-env-conf-test] hidden
  4115. 1043.38 s [opt-env-conf-test] ]
  4116. 1043.38 s [opt-env-conf-test] <*> setting
  4117. 1043.38 s [opt-env-conf-test] [ switch True,
  4118. 1043.38 s [opt-env-conf-test] long "completion-enriched",
  4119. 1043.38 s [opt-env-conf-test] value False,
  4120. 1043.38 s [opt-env-conf-test] hidden,
  4121. 1043.38 s [opt-env-conf-test] help "Whether to enable enriched completion"
  4122. 1043.39 s [opt-env-conf-test] ]
  4123. 1043.39 s [opt-env-conf-test] <*> setting
  4124. 1043.39 s [opt-env-conf-test] [ option,
  4125. 1044.40 s [opt-env-conf-test] reader auto,
  4126. 1044.40 s [opt-env-conf-test] long "completion-index",
  4127. 1044.40 s [opt-env-conf-test] hidden,
  4128. 1044.40 s [opt-env-conf-test] help "The index between the arguments where completion was invoked."
  4129. 1044.41 s [opt-env-conf-test] ]
  4130. 1044.41 s [opt-env-conf-test] <*> many
  4131. 1044.41 s [opt-env-conf-test] ( setting
  4132. 1044.41 s [opt-env-conf-test] [ option,
  4133. 1044.41 s [opt-env-conf-test] reader str,
  4134. 1044.41 s [opt-env-conf-test] long "completion-word",
  4135. 1044.41 s [opt-env-conf-test] hidden,
  4136. 1044.41 s [opt-env-conf-test] help "The words (arguments) that have already been typed"
  4137. 1044.41 s [opt-env-conf-test] ]
  4138. 1044.41 s [opt-env-conf-test] ),
  4139. 1044.41 s [opt-env-conf-test] ParsedNormally <$> p
  4140. 1044.41 s [opt-env-conf-test] ]
  4141. 1044.41 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:201:26-44
  4142. 1044.41 s [opt-env-conf-test] @@ -198,11 +198,8 @@
  4143. 1044.41 s [opt-env-conf-test] let t = T.pack x
  4144. 1044.41 s [opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
  4145. 1044.41 s [opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
  4146. 1044.41 s [opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
  4147. 1044.41 s [opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
  4148. 1044.41 s [opt-env-conf-test] - Nothing ->
  4149. 1044.41 s [opt-env-conf-test] - let (finalCaps, rest) = go caps xs
  4150. 1044.41 s [opt-env-conf-test] - in (finalCaps, x : rest)
  4151. 1044.41 s [opt-env-conf-test]
  4152. 1044.41 s [opt-env-conf-test] -- Internal structure to help us do what the framework
  4153. 1044.41 s [opt-env-conf-test] -- is supposed to.
  4154. 1044.41 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
  4155. 1044.41 s [opt-env-conf-test] @@ -226,82 +226,81 @@
  4156. 1044.41 s [opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
  4157. 1044.42 s [opt-env-conf-test] internalParser p =
  4158. 1044.42 s [opt-env-conf-test] choice
  4159. 1044.42 s [opt-env-conf-test] [ setting
  4160. 1044.42 s [opt-env-conf-test] [ switch ShowVersion,
  4161. 1044.42 s [opt-env-conf-test] long "version",
  4162. 1044.42 s [opt-env-conf-test] hidden
  4163. 1044.42 s [opt-env-conf-test] ],
  4164. 1044.42 s [opt-env-conf-test] setting
  4165. 1044.42 s [opt-env-conf-test] [ switch RenderMan,
  4166. 1044.42 s [opt-env-conf-test] long "render-man-page",
  4167. 1044.42 s [opt-env-conf-test] hidden,
  4168. 1044.42 s [opt-env-conf-test] help "Render a manpage"
  4169. 1044.42 s [opt-env-conf-test] ],
  4170. 1044.42 s [opt-env-conf-test] setting
  4171. 1044.42 s [opt-env-conf-test] [ switch RenderDocumentation,
  4172. 1044.42 s [opt-env-conf-test] long "render-reference-documentation",
  4173. 1044.42 s [opt-env-conf-test] hidden,
  4174. 1044.42 s [opt-env-conf-test] help "Render reference documentation"
  4175. 1044.42 s [opt-env-conf-test] ],
  4176. 1044.42 s [opt-env-conf-test] setting
  4177. 1044.42 s [opt-env-conf-test] [ switch RenderNixosOptions,
  4178. 1044.42 s [opt-env-conf-test] long "render-nix-options",
  4179. 1044.42 s [opt-env-conf-test] hidden,
  4180. 1044.42 s [opt-env-conf-test] help "Render Nix options"
  4181. 1044.42 s [opt-env-conf-test] ],
  4182. 1044.42 s [opt-env-conf-test] BashCompletionScript
  4183. 1044.42 s [opt-env-conf-test] <$> setting
  4184. 1044.42 s [opt-env-conf-test] [ option,
  4185. 1044.42 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  4186. 1044.42 s [opt-env-conf-test] long "bash-completion-script",
  4187. 1044.42 s [opt-env-conf-test] hidden,
  4188. 1044.42 s [opt-env-conf-test] help "Render the bash completion script"
  4189. 1044.42 s [opt-env-conf-test] ],
  4190. 1044.42 s [opt-env-conf-test] ZshCompletionScript
  4191. 1044.42 s [opt-env-conf-test] <$> setting
  4192. 1044.42 s [opt-env-conf-test] [ option,
  4193. 1044.42 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  4194. 1044.43 s [opt-env-conf-test] long "zsh-completion-script",
  4195. 1044.43 s [opt-env-conf-test] hidden,
  4196. 1044.43 s [opt-env-conf-test] help "Render the zsh completion script"
  4197. 1044.43 s [opt-env-conf-test] ],
  4198. 1044.43 s [opt-env-conf-test] ZshCompletionScript
  4199. 1044.43 s [opt-env-conf-test] <$> setting
  4200. 1044.43 s [opt-env-conf-test] [ option,
  4201. 1044.43 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  4202. 1044.43 s [opt-env-conf-test] long "fish-completion-script",
  4203. 1044.43 s [opt-env-conf-test] hidden,
  4204. 1044.43 s [opt-env-conf-test] help "Render the fish completion script"
  4205. 1044.43 s [opt-env-conf-test] ],
  4206. 1044.43 s [opt-env-conf-test] setting
  4207. 1044.43 s [opt-env-conf-test] [ help "Query completion",
  4208. 1044.43 s [opt-env-conf-test] switch CompletionQuery,
  4209. 1044.43 s [opt-env-conf-test] -- Long string that no normal user would ever use.
  4210. 1044.43 s [opt-env-conf-test] long "query-opt-env-conf-completion",
  4211. 1044.43 s [opt-env-conf-test] hidden
  4212. 1044.43 s [opt-env-conf-test] ]
  4213. 1044.43 s [opt-env-conf-test] <*> setting
  4214. 1044.43 s [opt-env-conf-test] [ switch True,
  4215. 1044.43 s [opt-env-conf-test] long "completion-enriched",
  4216. 1044.43 s [opt-env-conf-test] value False,
  4217. 1044.43 s [opt-env-conf-test] hidden,
  4218. 1044.43 s [opt-env-conf-test] help "Whether to enable enriched completion"
  4219. 1044.43 s [opt-env-conf-test] ]
  4220. 1044.43 s [opt-env-conf-test] <*> setting
  4221. 1044.43 s [opt-env-conf-test] [ option,
  4222. 1044.43 s [opt-env-conf-test] reader auto,
  4223. 1055.93 s [opt-env-conf-test] long "completion-index",
  4224. 1055.98 s [opt-env-conf-test] hidden,
  4225. 1055.98 s [opt-env-conf-test] help "The index between the arguments where completion was invoked."
  4226. 1055.98 s [opt-env-conf-test] ]
  4227. 1055.98 s [opt-env-conf-test] <*> many
  4228. 1055.98 s [opt-env-conf-test] ( setting
  4229. 1055.98 s [opt-env-conf-test] [ option,
  4230. 1055.99 s [opt-env-conf-test] reader str,
  4231. 1055.99 s [opt-env-conf-test] long "completion-word",
  4232. 1055.99 s [opt-env-conf-test] hidden,
  4233. 1055.99 s [opt-env-conf-test] help "The words (arguments) that have already been typed"
  4234. 1055.99 s [opt-env-conf-test] ]
  4235. 1055.99 s [opt-env-conf-test] ),
  4236. 1055.99 s [opt-env-conf-test] - ParsedNormally <$> p
  4237. 1055.99 s [opt-env-conf-test] ]
  4238. 1055.99 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:201:26-44
  4239. 1055.99 s [opt-env-conf-test] @@ -198,11 +198,10 @@
  4240. 1055.99 s [opt-env-conf-test] let t = T.pack x
  4241. 1055.99 s [opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
  4242. 1055.99 s [opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
  4243. 1055.99 s [opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
  4244. 1055.99 s [opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
  4245. 1055.99 s [opt-env-conf-test] Nothing ->
  4246. 1055.99 s [opt-env-conf-test] let (finalCaps, rest) = go caps xs
  4247. 1055.99 s [opt-env-conf-test] in (finalCaps, x : rest)
  4248. 1055.99 s [opt-env-conf-test]
  4249. 1055.99 s [opt-env-conf-test] -- Internal structure to help us do what the framework
  4250. 1055.99 s [opt-env-conf-test] -- is supposed to.
  4251. 1056.00 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:199:13-44
  4252. 1056.00 s [opt-env-conf-test] @@ -196,13 +196,12 @@
  4253. 1056.00 s [opt-env-conf-test] [] -> (caps, [])
  4254. 1056.00 s [opt-env-conf-test] (x : xs) ->
  4255. 1056.00 s [opt-env-conf-test] let t = T.pack x
  4256. 1056.00 s [opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
  4257. 1056.00 s [opt-env-conf-test] - Just capName -> go (disableCapability (Capability capName) caps) xs
  4258. 1056.00 s [opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
  4259. 1056.00 s [opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
  4260. 1056.00 s [opt-env-conf-test] Nothing ->
  4261. 1056.00 s [opt-env-conf-test] let (finalCaps, rest) = go caps xs
  4262. 1056.00 s [opt-env-conf-test] in (finalCaps, x : rest)
  4263. 1056.00 s [opt-env-conf-test]
  4264. 1056.00 s [opt-env-conf-test] -- Internal structure to help us do what the framework
  4265. 1056.00 s [opt-env-conf-test] -- is supposed to.
  4266. 1056.00 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:170:14-19
  4267. 1056.00 s [opt-env-conf-test] @@ -167,7 +167,7 @@
  4268. 1056.00 s [opt-env-conf-test] consumeExactArg arg = go
  4269. 1056.00 s [opt-env-conf-test] where
  4270. 1056.00 s [opt-env-conf-test] go = \case
  4271. 1056.00 s [opt-env-conf-test] - [] -> (False, [])
  4272. 1056.00 s [opt-env-conf-test] + [] -> (True, [])
  4273. 1056.00 s [opt-env-conf-test] (x : xs)
  4274. 1056.00 s [opt-env-conf-test] | x == arg -> (True, xs)
  4275. 1056.00 s [opt-env-conf-test] | otherwise ->
  4276. 1056.00 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:199:13-44
  4277. 1056.00 s [opt-env-conf-test] @@ -196,13 +196,8 @@
  4278. 1056.00 s [opt-env-conf-test] [] -> (caps, [])
  4279. 1056.01 s [opt-env-conf-test] (x : xs) ->
  4280. 1056.01 s [opt-env-conf-test] let t = T.pack x
  4281. 1056.01 s [opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
  4282. 1056.01 s [opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
  4283. 1056.01 s [opt-env-conf-test] - Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
  4284. 1056.01 s [opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
  4285. 1056.01 s [opt-env-conf-test] - Nothing ->
  4286. 1056.01 s [opt-env-conf-test] - let (finalCaps, rest) = go caps xs
  4287. 1056.01 s [opt-env-conf-test] - in (finalCaps, x : rest)
  4288. 1056.01 s [opt-env-conf-test]
  4289. 1056.01 s [opt-env-conf-test] -- Internal structure to help us do what the framework
  4290. 1056.01 s [opt-env-conf-test] -- is supposed to.
  4291. 1056.01 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:172:11-19
  4292. 1056.01 s [opt-env-conf-test] @@ -169,7 +169,7 @@
  4293. 1056.01 s [opt-env-conf-test] go = \case
  4294. 1056.01 s [opt-env-conf-test] [] -> (False, [])
  4295. 1056.01 s [opt-env-conf-test] (x : xs)
  4296. 1056.01 s [opt-env-conf-test] - | x == arg -> (True, xs)
  4297. 1056.01 s [opt-env-conf-test] + | True -> (True, xs)
  4298. 1056.01 s [opt-env-conf-test] | otherwise ->
  4299. 1056.01 s [opt-env-conf-test] let (found, rest) = go xs
  4300. 1056.01 s [opt-env-conf-test] in (found, x : rest)
  4301. 1056.01 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:172:11-19
  4302. 1056.01 s [opt-env-conf-test] @@ -169,7 +169,7 @@
  4303. 1056.01 s [opt-env-conf-test] go = \case
  4304. 1056.01 s [opt-env-conf-test] [] -> (False, [])
  4305. 1056.01 s [opt-env-conf-test] (x : xs)
  4306. 1056.01 s [opt-env-conf-test] - | x == arg -> (True, xs)
  4307. 1056.01 s [opt-env-conf-test] + | not x == arg -> (True, xs)
  4308. 1056.01 s [opt-env-conf-test] | otherwise ->
  4309. 1056.01 s [opt-env-conf-test] let (found, rest) = go xs
  4310. 1056.01 s [opt-env-conf-test] in (found, x : rest)
  4311. 1056.01 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:172:24-28
  4312. 1056.01 s [opt-env-conf-test] @@ -169,7 +169,7 @@
  4313. 1056.02 s [opt-env-conf-test] go = \case
  4314. 1056.02 s [opt-env-conf-test] [] -> (False, [])
  4315. 1056.02 s [opt-env-conf-test] (x : xs)
  4316. 1056.02 s [opt-env-conf-test] - | x == arg -> (True, xs)
  4317. 1056.02 s [opt-env-conf-test] + | x == arg -> (False, xs)
  4318. 1056.02 s [opt-env-conf-test] | otherwise ->
  4319. 1056.02 s [opt-env-conf-test] let (found, rest) = go xs
  4320. 1056.02 s [opt-env-conf-test] in (found, x : rest)
  4321. 1056.02 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:175:18-23
  4322. 1056.02 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  4323. 1056.02 s [opt-env-conf-test] | x == arg -> (True, xs)
  4324. 1056.02 s [opt-env-conf-test] | otherwise ->
  4325. 1056.02 s [opt-env-conf-test] let (found, rest) = go xs
  4326. 1056.02 s [opt-env-conf-test] - in (found, x : rest)
  4327. 1056.02 s [opt-env-conf-test] + in (True, x : rest)
  4328. 1056.02 s [opt-env-conf-test]
  4329. 1056.02 s [opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
  4330. 1056.02 s [opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
  4331. 1056.02 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:175:18-23
  4332. 1056.02 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  4333. 1056.02 s [opt-env-conf-test] | x == arg -> (True, xs)
  4334. 1056.02 s [opt-env-conf-test] | otherwise ->
  4335. 1056.02 s [opt-env-conf-test] let (found, rest) = go xs
  4336. 1056.02 s [opt-env-conf-test] - in (found, x : rest)
  4337. 1056.02 s [opt-env-conf-test] + in (False, x : rest)
  4338. 1056.02 s [opt-env-conf-test]
  4339. 1056.02 s [opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
  4340. 1056.02 s [opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
  4341. 1056.02 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:175:18-23
  4342. 1056.02 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  4343. 1056.02 s [opt-env-conf-test] | x == arg -> (True, xs)
  4344. 1056.02 s [opt-env-conf-test] | otherwise ->
  4345. 1056.02 s [opt-env-conf-test] let (found, rest) = go xs
  4346. 1056.02 s [opt-env-conf-test] - in (found, x : rest)
  4347. 1056.02 s [opt-env-conf-test] + in (not found, x : rest)
  4348. 1056.02 s [opt-env-conf-test]
  4349. 1056.02 s [opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
  4350. 1056.02 s [opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
  4351. 1056.02 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:184:10-15
  4352. 1056.02 s [opt-env-conf-test] @@ -181,7 +181,7 @@
  4353. 1056.02 s [opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
  4354. 1056.02 s [opt-env-conf-test] consumeHelpMode as =
  4355. 1056.02 s [opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
  4356. 1056.03 s [opt-env-conf-test] - in if found
  4357. 1056.03 s [opt-env-conf-test] + in if False
  4358. 1056.03 s [opt-env-conf-test] then (True, as')
  4359. 1056.03 s [opt-env-conf-test] else consumeExactArg "-h" as'
  4360. 1056.03 s [opt-env-conf-test]
  4361. 1056.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:184:10-15
  4362. 1056.03 s [opt-env-conf-test] @@ -181,7 +181,7 @@
  4363. 1056.03 s [opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
  4364. 1056.03 s [opt-env-conf-test] consumeHelpMode as =
  4365. 1056.03 s [opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
  4366. 1056.03 s [opt-env-conf-test] - in if found
  4367. 1056.03 s [opt-env-conf-test] + in if True
  4368. 1056.03 s [opt-env-conf-test] then (True, as')
  4369. 1056.03 s [opt-env-conf-test] else consumeExactArg "-h" as'
  4370. 1056.03 s [opt-env-conf-test]
  4371. 1056.03 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:184:10-15
  4372. 1056.03 s [opt-env-conf-test] @@ -181,7 +181,7 @@
  4373. 1056.03 s [opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
  4374. 1056.03 s [opt-env-conf-test] consumeHelpMode as =
  4375. 1056.03 s [opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
  4376. 1056.03 s [opt-env-conf-test] - in if found
  4377. 1056.03 s [opt-env-conf-test] + in if not found
  4378. 1056.03 s [opt-env-conf-test] then (True, as')
  4379. 1056.03 s [opt-env-conf-test] else consumeExactArg "-h" as'
  4380. 1056.03 s [opt-env-conf-test]
  4381. 1056.03 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:185:15-19
  4382. 1056.03 s [opt-env-conf-test] @@ -182,7 +182,7 @@
  4383. 1056.03 s [opt-env-conf-test] consumeHelpMode as =
  4384. 1056.03 s [opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
  4385. 1056.03 s [opt-env-conf-test] in if found
  4386. 1056.03 s [opt-env-conf-test] - then (True, as')
  4387. 1056.03 s [opt-env-conf-test] + then (False, as')
  4388. 1056.03 s [opt-env-conf-test] else consumeExactArg "-h" as'
  4389. 1056.03 s [opt-env-conf-test]
  4390. 1056.03 s [opt-env-conf-test] consumeCheckMode :: [String] -> (Bool, [String])
  4391. 1056.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:83:12-21
  4392. 1056.03 s [opt-env-conf-test] @@ -80,7 +80,7 @@
  4393. 1056.03 s [opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
  4394. 1056.03 s [opt-env-conf-test]
  4395. 1056.03 s [opt-env-conf-test] mDebugMode <-
  4396. 1056.04 s [opt-env-conf-test] - if debugMode
  4397. 1056.04 s [opt-env-conf-test] + if True
  4398. 1056.04 s [opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
  4399. 1056.04 s [opt-env-conf-test] else pure Nothing
  4400. 1056.04 s [opt-env-conf-test]
  4401. 1056.04 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:83:12-21
  4402. 1056.04 s [opt-env-conf-test] @@ -80,7 +80,7 @@
  4403. 1056.04 s [opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
  4404. 1056.04 s [opt-env-conf-test]
  4405. 1056.04 s [opt-env-conf-test] mDebugMode <-
  4406. 1056.04 s [opt-env-conf-test] - if debugMode
  4407. 1056.04 s [opt-env-conf-test] + if not debugMode
  4408. 1056.04 s [opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
  4409. 1056.04 s [opt-env-conf-test] else pure Nothing
  4410. 1056.04 s [opt-env-conf-test]
  4411. 1056.04 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:83:12-21
  4412. 1056.04 s [opt-env-conf-test] @@ -80,7 +80,7 @@
  4413. 1056.04 s [opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
  4414. 1056.04 s [opt-env-conf-test]
  4415. 1056.04 s [opt-env-conf-test] mDebugMode <-
  4416. 1056.04 s [opt-env-conf-test] - if debugMode
  4417. 1056.04 s [opt-env-conf-test] + if False
  4418. 1056.04 s [opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
  4419. 1056.04 s [opt-env-conf-test] else pure Nothing
  4420. 1056.04 s [opt-env-conf-test]
  4421. 1056.04 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:89:10-18
  4422. 1056.04 s [opt-env-conf-test] @@ -86,7 +86,7 @@
  4423. 1056.04 s [opt-env-conf-test]
  4424. 1056.04 s [opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
  4425. 1056.04 s [opt-env-conf-test]
  4426. 1056.04 s [opt-env-conf-test] - if helpMode
  4427. 1056.04 s [opt-env-conf-test] + if not helpMode
  4428. 1056.04 s [opt-env-conf-test] then do
  4429. 1056.04 s [opt-env-conf-test] progname <- getProgName
  4430. 1056.04 s [opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
  4431. 1056.04 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:89:10-18
  4432. 1056.04 s [opt-env-conf-test] @@ -86,7 +86,7 @@
  4433. 1056.04 s [opt-env-conf-test]
  4434. 1056.04 s [opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
  4435. 1056.04 s [opt-env-conf-test]
  4436. 1056.04 s [opt-env-conf-test] - if helpMode
  4437. 1056.04 s [opt-env-conf-test] + if True
  4438. 1056.04 s [opt-env-conf-test] then do
  4439. 1056.04 s [opt-env-conf-test] progname <- getProgName
  4440. 1056.04 s [opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
  4441. 1056.04 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:89:10-18
  4442. 1056.04 s [opt-env-conf-test] @@ -86,7 +86,7 @@
  4443. 1056.04 s [opt-env-conf-test]
  4444. 1056.05 s [opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
  4445. 1056.05 s [opt-env-conf-test]
  4446. 1056.05 s [opt-env-conf-test] - if helpMode
  4447. 1056.05 s [opt-env-conf-test] + if False
  4448. 1056.05 s [opt-env-conf-test] then do
  4449. 1056.05 s [opt-env-conf-test] progname <- getProgName
  4450. 1056.05 s [opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
  4451. 1058.66 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:100:48-78
  4452. 1058.66 s [opt-env-conf-test] @@ -97,9 +97,8 @@
  4453. 1058.66 s [opt-env-conf-test] exitFailure
  4454. 1058.66 s [opt-env-conf-test] Right mCommandDoc -> do
  4455. 1058.66 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  4456. 1058.66 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
  4457. 1058.66 s [opt-env-conf-test] - Nothing -> renderHelpPage progname version progDesc docs
  4458. 1058.67 s [opt-env-conf-test] Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
  4459. 1058.67 s [opt-env-conf-test] exitSuccess
  4460. 1058.67 s [opt-env-conf-test] else do
  4461. 1058.67 s [opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
  4462. 1058.67 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:100:48-78
  4463. 1058.67 s [opt-env-conf-test] @@ -97,9 +97,8 @@
  4464. 1058.67 s [opt-env-conf-test] exitFailure
  4465. 1058.67 s [opt-env-conf-test] Right mCommandDoc -> do
  4466. 1058.67 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  4467. 1058.67 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
  4468. 1058.67 s [opt-env-conf-test] Nothing -> renderHelpPage progname version progDesc docs
  4469. 1058.67 s [opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
  4470. 1058.67 s [opt-env-conf-test] exitSuccess
  4471. 1058.67 s [opt-env-conf-test] else do
  4472. 1058.67 s [opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
  4473. 1058.67 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:111:14-23
  4474. 1058.67 s [opt-env-conf-test] @@ -108,7 +108,7 @@
  4475. 1058.67 s [opt-env-conf-test] let readyArgs = Args.parseArgs args'''
  4476. 1058.67 s [opt-env-conf-test]
  4477. 1058.67 s [opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
  4478. 1058.67 s [opt-env-conf-test] - if checkMode
  4479. 1058.67 s [opt-env-conf-test] + if True
  4480. 1058.67 s [opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
  4481. 1058.67 s [opt-env-conf-test] else do
  4482. 1058.67 s [opt-env-conf-test] let p' = internalParser p
  4483. 1058.67 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:111:14-23
  4484. 1058.67 s [opt-env-conf-test] @@ -108,7 +108,7 @@
  4485. 1058.67 s [opt-env-conf-test] let readyArgs = Args.parseArgs args'''
  4486. 1058.67 s [opt-env-conf-test]
  4487. 1058.67 s [opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
  4488. 1058.67 s [opt-env-conf-test] - if checkMode
  4489. 1058.67 s [opt-env-conf-test] + if False
  4490. 1058.67 s [opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
  4491. 1058.67 s [opt-env-conf-test] else do
  4492. 1058.67 s [opt-env-conf-test] let p' = internalParser p
  4493. 1058.67 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:111:14-23
  4494. 1058.67 s [opt-env-conf-test] @@ -108,7 +108,7 @@
  4495. 1058.67 s [opt-env-conf-test] let readyArgs = Args.parseArgs args'''
  4496. 1058.67 s [opt-env-conf-test]
  4497. 1058.68 s [opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
  4498. 1058.68 s [opt-env-conf-test] - if checkMode
  4499. 1058.68 s [opt-env-conf-test] + if not checkMode
  4500. 1058.68 s [opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
  4501. 1058.68 s [opt-env-conf-test] else do
  4502. 1058.68 s [opt-env-conf-test] let p' = internalParser p
  4503. 1058.68 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:161:43-51
  4504. 1058.68 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  4505. 1058.68 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  4506. 1058.68 s [opt-env-conf-test] exitSuccess
  4507. 1058.68 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  4508. 1058.68 s [opt-env-conf-test] - runCompletionQuery p' enriched index ws
  4509. 1058.68 s [opt-env-conf-test] + runCompletionQuery p' True index ws
  4510. 1058.68 s [opt-env-conf-test] exitSuccess
  4511. 1058.68 s [opt-env-conf-test] ParsedNormally a -> pure a
  4512. 1058.68 s [opt-env-conf-test]
  4513. 1058.68 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:161:43-51
  4514. 1058.68 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  4515. 1058.68 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  4516. 1058.68 s [opt-env-conf-test] exitSuccess
  4517. 1058.68 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  4518. 1058.68 s [opt-env-conf-test] - runCompletionQuery p' enriched index ws
  4519. 1058.68 s [opt-env-conf-test] + runCompletionQuery p' False index ws
  4520. 1058.68 s [opt-env-conf-test] exitSuccess
  4521. 1058.68 s [opt-env-conf-test] ParsedNormally a -> pure a
  4522. 1058.68 s [opt-env-conf-test]
  4523. 1058.68 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:161:43-51
  4524. 1058.68 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  4525. 1058.68 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  4526. 1058.68 s [opt-env-conf-test] exitSuccess
  4527. 1058.68 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  4528. 1058.68 s [opt-env-conf-test] - runCompletionQuery p' enriched index ws
  4529. 1058.68 s [opt-env-conf-test] + runCompletionQuery p' not enriched index ws
  4530. 1058.68 s [opt-env-conf-test] exitSuccess
  4531. 1058.69 s [opt-env-conf-test] ParsedNormally a -> pure a
  4532. 1058.69 s [opt-env-conf-test]
  4533. 1058.69 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  4534. 1058.69 s [opt-env-conf-test] @@ -125,42 +125,37 @@
  4535. 1058.69 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  4536. 1058.69 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  4537. 1058.69 s [opt-env-conf-test] exitFailure
  4538. 1058.69 s [opt-env-conf-test] Right i -> case i of
  4539. 1058.69 s [opt-env-conf-test] - ShowVersion -> do
  4540. 1058.69 s [opt-env-conf-test] - progname <- getProgName
  4541. 1058.69 s [opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
  4542. 1058.69 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  4543. 1058.69 s [opt-env-conf-test] - exitSuccess
  4544. 1058.69 s [opt-env-conf-test] RenderMan -> do
  4545. 1058.69 s [opt-env-conf-test] progname <- getProgName
  4546. 1058.69 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  4547. 1058.69 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  4548. 1058.69 s [opt-env-conf-test] exitSuccess
  4549. 1058.69 s [opt-env-conf-test] RenderDocumentation -> do
  4550. 1058.69 s [opt-env-conf-test] progname <- getProgName
  4551. 1058.69 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  4552. 1058.69 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  4553. 1058.69 s [opt-env-conf-test] exitSuccess
  4554. 1058.70 s [opt-env-conf-test] RenderNixosOptions -> do
  4555. 1058.70 s [opt-env-conf-test] progname <- getProgName
  4556. 1058.70 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  4557. 1058.70 s [opt-env-conf-test] exitSuccess
  4558. 1058.70 s [opt-env-conf-test] BashCompletionScript progPath -> do
  4559. 1058.70 s [opt-env-conf-test] progname <- getProgName
  4560. 1058.70 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  4561. 1058.70 s [opt-env-conf-test] exitSuccess
  4562. 1058.70 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  4563. 1058.70 s [opt-env-conf-test] progname <- getProgName
  4564. 1058.70 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  4565. 1058.70 s [opt-env-conf-test] exitSuccess
  4566. 1058.70 s [opt-env-conf-test] FishCompletionScript progPath -> do
  4567. 1058.70 s [opt-env-conf-test] progname <- getProgName
  4568. 1058.70 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  4569. 1058.70 s [opt-env-conf-test] exitSuccess
  4570. 1059.95 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  4571. 1059.95 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  4572. 1059.96 s [opt-env-conf-test] exitSuccess
  4573. 1059.96 s [opt-env-conf-test] ParsedNormally a -> pure a
  4574. 1059.96 s [opt-env-conf-test]
  4575. 1059.96 s [opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
  4576. 1059.96 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  4577. 1059.96 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:158:11-112
  4578. 1059.96 s [opt-env-conf-test] @@ -155,26 +155,8 @@
  4579. 1059.96 s [opt-env-conf-test] results <- liftIO $ runPP (go p') s e
  4580. 1059.96 s [opt-env-conf-test] (result, s') <- ppNonDetList results
  4581. 1059.96 s [opt-env-conf-test] put s'
  4582. 1059.96 s [opt-env-conf-test] case result of
  4583. 1059.96 s [opt-env-conf-test] Success a -> pure a
  4584. 1059.96 s [opt-env-conf-test] - Failure errs -> do
  4585. 1059.96 s [opt-env-conf-test] - if not $ all errorIsForgivable errs
  4586. 1059.96 s [opt-env-conf-test] - then ppErrors' errs
  4587. 1059.96 s [opt-env-conf-test] - else do
  4588. 1059.96 s [opt-env-conf-test] - -- Settings available below
  4589. 1059.96 s [opt-env-conf-test] - let settingsMap = parserSettingsMap p'
  4590. 1059.96 s [opt-env-conf-test] - -- Settings that have been parsed
  4591. 1059.96 s [opt-env-conf-test] - parsedMap <- gets ppStateParsedSettings
  4592. 1059.96 s [opt-env-conf-test] - -- Settings that have been parsed below
  4593. 1059.96 s [opt-env-conf-test] - let parsedSettingsMap = settingsMap `M.intersection` parsedMap
  4594. 1059.96 s [opt-env-conf-test] - -- If any settings have been parsed below, and parsing still failed
  4595. 1059.96 s [opt-env-conf-test] - -- (this is the case because we're in the failure branch)
  4596. 1059.96 s [opt-env-conf-test] - -- with only forgivable errors
  4597. 1059.96 s [opt-env-conf-test] - -- (this is the case because we're in the branch where that's been checked)
  4598. 1059.96 s [opt-env-conf-test] - -- then this should be an unforgivable error.
  4599. 1059.96 s [opt-env-conf-test] - if null parsedSettingsMap
  4600. 1059.96 s [opt-env-conf-test] - then ppErrors' errs
  4601. 1059.96 s [opt-env-conf-test] - else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
  4602. 1059.96 s [opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
  4603. 1059.96 s [opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  4604. 1059.96 s [opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
  4605. 1059.99 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:388:49-81
  4606. 1059.99 s [opt-env-conf-test] @@ -385,9 +385,8 @@
  4607. 1059.99 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  4608. 1059.99 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  4609. 1059.99 s [opt-env-conf-test] Nothing -> do
  4610. 1059.99 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  4611. 1059.99 s [opt-env-conf-test] - Nothing -> pure Nothing
  4612. 1059.99 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  4613. 1059.99 s [opt-env-conf-test] Just neRest -> do
  4614. 1059.99 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  4615. 1059.99 s [opt-env-conf-test] case mO' of
  4616. 1059.99 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:339:37-53
  4617. 1059.99 s [opt-env-conf-test] @@ -336,35 +336,8 @@
  4618. 1059.99 s [opt-env-conf-test] pure a
  4619. 1060.00 s [opt-env-conf-test] _ -> do
  4620. 1060.00 s [opt-env-conf-test] let mEnvDoc = settingEnvDoc set
  4621. 1060.00 s [opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
  4622. 1060.00 s [opt-env-conf-test] Nothing -> pure NotRun
  4623. 1060.00 s [opt-env-conf-test] - Just ne -> do
  4624. 1060.00 s [opt-env-conf-test] - -- Require readers before finding the env vars so the parser
  4625. 1060.00 s [opt-env-conf-test] - -- always fails if it's missing a reader.
  4626. 1060.00 s [opt-env-conf-test] - rs <- requireReaders settingReaders
  4627. 1060.00 s [opt-env-conf-test] - es <- asks ppEnvEnv
  4628. 1060.00 s [opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  4629. 1060.00 s [opt-env-conf-test] - -- Run the parser on all specified env vars before
  4630. 1060.00 s [opt-env-conf-test] - -- returning the first because we want to fail if any
  4631. 1060.00 s [opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
  4632. 1060.00 s [opt-env-conf-test] - -- result.
  4633. 1060.00 s [opt-env-conf-test] - results <- for founds $ \varStr ->
  4634. 1060.00 s [opt-env-conf-test] - case tryReaders rs varStr of
  4635. 1060.00 s [opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  4636. 1060.00 s [opt-env-conf-test] - Right a -> do
  4637. 1060.00 s [opt-env-conf-test] - debug
  4638. 1060.00 s [opt-env-conf-test] - [ "set based on env: ",
  4639. 1060.00 s [opt-env-conf-test] - chunk $ T.pack $ show varStr
  4640. 1060.00 s [opt-env-conf-test] - ]
  4641. 1060.00 s [opt-env-conf-test] - pure a
  4642. 1060.00 s [opt-env-conf-test] - case listToMaybe results of
  4643. 1060.00 s [opt-env-conf-test] - Nothing -> do
  4644. 1060.00 s [opt-env-conf-test] - debug
  4645. 1060.00 s [opt-env-conf-test] - [ "could not set based on env vars, no var: ",
  4646. 1060.00 s [opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  4647. 1060.00 s [opt-env-conf-test] - ]
  4648. 1063.80 s [opt-env-conf-test] - pure NotFound
  4649. 1063.87 s [opt-env-conf-test] - Just a -> pure $ Found a
  4650. 1063.87 s [opt-env-conf-test]
  4651. 1063.87 s [opt-env-conf-test] case mEnv of
  4652. 1063.87 s [opt-env-conf-test] Found a -> do
  4653. 1063.87 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:158:11-112
  4654. 1063.87 s [opt-env-conf-test] @@ -155,26 +155,25 @@
  4655. 1063.87 s [opt-env-conf-test] results <- liftIO $ runPP (go p') s e
  4656. 1063.87 s [opt-env-conf-test] (result, s') <- ppNonDetList results
  4657. 1063.87 s [opt-env-conf-test] put s'
  4658. 1063.87 s [opt-env-conf-test] case result of
  4659. 1063.87 s [opt-env-conf-test] - Success a -> pure a
  4660. 1063.87 s [opt-env-conf-test] Failure errs -> do
  4661. 1063.87 s [opt-env-conf-test] if not $ all errorIsForgivable errs
  4662. 1063.87 s [opt-env-conf-test] then ppErrors' errs
  4663. 1063.87 s [opt-env-conf-test] else do
  4664. 1063.87 s [opt-env-conf-test] -- Settings available below
  4665. 1063.87 s [opt-env-conf-test] let settingsMap = parserSettingsMap p'
  4666. 1063.87 s [opt-env-conf-test] -- Settings that have been parsed
  4667. 1063.87 s [opt-env-conf-test] parsedMap <- gets ppStateParsedSettings
  4668. 1063.87 s [opt-env-conf-test] -- Settings that have been parsed below
  4669. 1063.87 s [opt-env-conf-test] let parsedSettingsMap = settingsMap `M.intersection` parsedMap
  4670. 1063.87 s [opt-env-conf-test] -- If any settings have been parsed below, and parsing still failed
  4671. 1063.87 s [opt-env-conf-test] -- (this is the case because we're in the failure branch)
  4672. 1063.87 s [opt-env-conf-test] -- with only forgivable errors
  4673. 1063.87 s [opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
  4674. 1063.87 s [opt-env-conf-test] -- then this should be an unforgivable error.
  4675. 1063.87 s [opt-env-conf-test] if null parsedSettingsMap
  4676. 1063.88 s [opt-env-conf-test] then ppErrors' errs
  4677. 1063.88 s [opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
  4678. 1063.88 s [opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
  4679. 1063.88 s [opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  4680. 1063.88 s [opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
  4681. 1063.88 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:360:27-53
  4682. 1063.88 s [opt-env-conf-test] @@ -357,14 +357,8 @@
  4683. 1063.88 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  4684. 1063.88 s [opt-env-conf-test] ]
  4685. 1063.88 s [opt-env-conf-test] pure a
  4686. 1063.88 s [opt-env-conf-test] case listToMaybe results of
  4687. 1063.88 s [opt-env-conf-test] - Nothing -> do
  4688. 1063.88 s [opt-env-conf-test] - debug
  4689. 1063.88 s [opt-env-conf-test] - [ "could not set based on env vars, no var: ",
  4690. 1063.88 s [opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  4691. 1063.88 s [opt-env-conf-test] - ]
  4692. 1063.88 s [opt-env-conf-test] - pure NotFound
  4693. 1063.88 s [opt-env-conf-test] Just a -> pure $ Found a
  4694. 1063.88 s [opt-env-conf-test]
  4695. 1063.88 s [opt-env-conf-test] case mEnv of
  4696. 1063.88 s [opt-env-conf-test] Found a -> do
  4697. 1063.88 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:197:56-66
  4698. 1063.88 s [opt-env-conf-test] @@ -194,7 +194,7 @@
  4699. 1063.88 s [opt-env-conf-test] case errOrB of
  4700. 1063.88 s [opt-env-conf-test] Left err -> do
  4701. 1063.88 s [opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  4702. 1063.88 s [opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed forgivable err
  4703. 1063.88 s [opt-env-conf-test] + ppError mLoc $ ParseErrorCheckFailed not forgivable err
  4704. 1063.88 s [opt-env-conf-test] Right b -> do
  4705. 1063.88 s [opt-env-conf-test] debug ["succeeded"]
  4706. 1063.88 s [opt-env-conf-test] pure b
  4707. 1063.88 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:175:22-44
  4708. 1063.88 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  4709. 1063.88 s [opt-env-conf-test] -- with only forgivable errors
  4710. 1063.88 s [opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
  4711. 1063.88 s [opt-env-conf-test] -- then this should be an unforgivable error.
  4712. 1063.88 s [opt-env-conf-test] - if null parsedSettingsMap
  4713. 1063.88 s [opt-env-conf-test] + if False
  4714. 1063.88 s [opt-env-conf-test] then ppErrors' errs
  4715. 1063.88 s [opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
  4716. 1063.88 s [opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
  4717. 1063.88 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:393:49-82
  4718. 1063.88 s [opt-env-conf-test] @@ -390,9 +390,8 @@
  4719. 1063.89 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  4720. 1063.89 s [opt-env-conf-test] Just neRest -> do
  4721. 1063.89 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  4722. 1063.89 s [opt-env-conf-test] case mO' of
  4723. 1063.89 s [opt-env-conf-test] - Nothing -> pure Nothing
  4724. 1063.89 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  4725. 1063.89 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  4726. 1063.89 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  4727. 1063.89 s [opt-env-conf-test] Right mV -> case mV of
  4728. 1063.89 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:386:72-82
  4729. 1063.89 s [opt-env-conf-test] @@ -383,16 +383,12 @@
  4730. 1063.89 s [opt-env-conf-test] Just obj -> do
  4731. 1063.89 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  4732. 1063.89 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  4733. 1063.89 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  4734. 1063.89 s [opt-env-conf-test] - Nothing -> do
  4735. 1063.89 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  4736. 1063.89 s [opt-env-conf-test] - Nothing -> pure Nothing
  4737. 1063.89 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  4738. 1063.89 s [opt-env-conf-test] Just neRest -> do
  4739. 1063.89 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  4740. 1063.89 s [opt-env-conf-test] case mO' of
  4741. 1063.89 s [opt-env-conf-test] Nothing -> pure Nothing
  4742. 1063.89 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  4743. 1063.89 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  4744. 1063.89 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  4745. 1063.89 s [opt-env-conf-test] Right mV -> case mV of
  4746. 1063.89 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:144:15-60
  4747. 1063.89 s [opt-env-conf-test] @@ -141,7 +141,6 @@
  4748. 1063.89 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  4749. 1063.89 s [opt-env-conf-test] pure (a : as)
  4750. 1063.89 s [opt-env-conf-test] ParserSome mLoc p' -> do
  4751. 1063.89 s [opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
  4752. 1063.89 s [opt-env-conf-test] ppIndent $ do
  4753. 1063.89 s [opt-env-conf-test] a <- go p'
  4754. 1063.89 s [opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
  4755. 1063.89 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  4756. 1063.89 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  4757. 1063.89 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  4758. 1063.89 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  4759. 1063.89 s [opt-env-conf-test] exitFailure
  4760. 1063.89 s [opt-env-conf-test] Right i -> case i of
  4761. 1063.89 s [opt-env-conf-test] ShowVersion -> do
  4762. 1063.89 s [opt-env-conf-test] progname <- getProgName
  4763. 1063.89 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  4764. 1063.90 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  4765. 1063.90 s [opt-env-conf-test] exitSuccess
  4766. 1063.90 s [opt-env-conf-test] RenderMan -> do
  4767. 1063.90 s [opt-env-conf-test] progname <- getProgName
  4768. 1063.90 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  4769. 1063.90 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  4770. 1063.90 s [opt-env-conf-test] exitSuccess
  4771. 1063.90 s [opt-env-conf-test] RenderDocumentation -> do
  4772. 1063.90 s [opt-env-conf-test] progname <- getProgName
  4773. 1063.90 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  4774. 1063.90 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  4775. 1063.90 s [opt-env-conf-test] exitSuccess
  4776. 1063.90 s [opt-env-conf-test] RenderNixosOptions -> do
  4777. 1063.90 s [opt-env-conf-test] progname <- getProgName
  4778. 1063.90 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  4779. 1063.90 s [opt-env-conf-test] exitSuccess
  4780. 1063.90 s [opt-env-conf-test] BashCompletionScript progPath -> do
  4781. 1063.90 s [opt-env-conf-test] progname <- getProgName
  4782. 1063.90 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  4783. 1063.90 s [opt-env-conf-test] - exitSuccess
  4784. 1063.90 s [opt-env-conf-test] - ZshCompletionScript progPath -> do
  4785. 1063.90 s [opt-env-conf-test] - progname <- getProgName
  4786. 1063.90 s [opt-env-conf-test] - generateZshCompletionScript progPath progname
  4787. 1063.90 s [opt-env-conf-test] exitSuccess
  4788. 1063.90 s [opt-env-conf-test] FishCompletionScript progPath -> do
  4789. 1063.90 s [opt-env-conf-test] progname <- getProgName
  4790. 1063.90 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  4791. 1063.90 s [opt-env-conf-test] exitSuccess
  4792. 1068.75 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  4793. 1068.75 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  4794. 1068.75 s [opt-env-conf-test] exitSuccess
  4795. 1068.75 s [opt-env-conf-test] ParsedNormally a -> pure a
  4796. 1068.75 s [opt-env-conf-test]
  4797. 1068.75 s [opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
  4798. 1068.75 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  4799. 1068.75 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
  4800. 1068.76 s [opt-env-conf-test] @@ -291,11 +291,10 @@
  4801. 1068.76 s [opt-env-conf-test] orCompletions p1 p2 = do
  4802. 1068.76 s [opt-env-conf-test] p1s <- tryOrRestore $ go p1
  4803. 1068.76 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  4804. 1068.76 s [opt-env-conf-test] pure $ case (p1s, p2s) of
  4805. 1068.76 s [opt-env-conf-test] (Nothing, Nothing) -> Nothing
  4806. 1068.76 s [opt-env-conf-test] - (Just cs, Nothing) -> Just cs
  4807. 1068.76 s [opt-env-conf-test] (Nothing, Just cs) -> Just cs
  4808. 1068.76 s [opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
  4809. 1068.76 s [opt-env-conf-test]
  4810. 1068.76 s [opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  4811. 1068.76 s [opt-env-conf-test] andCompletions p1 p2 = do
  4812. 1068.76 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
  4813. 1068.76 s [opt-env-conf-test] @@ -291,11 +291,10 @@
  4814. 1068.76 s [opt-env-conf-test] orCompletions p1 p2 = do
  4815. 1068.76 s [opt-env-conf-test] p1s <- tryOrRestore $ go p1
  4816. 1068.76 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  4817. 1068.76 s [opt-env-conf-test] pure $ case (p1s, p2s) of
  4818. 1068.76 s [opt-env-conf-test] (Nothing, Nothing) -> Nothing
  4819. 1068.76 s [opt-env-conf-test] (Just cs, Nothing) -> Just cs
  4820. 1068.76 s [opt-env-conf-test] - (Nothing, Just cs) -> Just cs
  4821. 1068.76 s [opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
  4822. 1068.76 s [opt-env-conf-test]
  4823. 1068.76 s [opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  4824. 1068.76 s [opt-env-conf-test] andCompletions p1 p2 = do
  4825. 1068.76 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:307:18-42
  4826. 1068.76 s [opt-env-conf-test] @@ -304,9 +304,8 @@
  4827. 1068.76 s [opt-env-conf-test] Nothing -> pure Nothing
  4828. 1068.76 s [opt-env-conf-test] Just cs1 -> do
  4829. 1068.76 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  4830. 1068.76 s [opt-env-conf-test] pure $ case p2s of
  4831. 1068.76 s [opt-env-conf-test] Nothing -> Nothing
  4832. 1068.76 s [opt-env-conf-test] - Just cs2 -> pure $ cs1 ++ cs2
  4833. 1068.76 s [opt-env-conf-test]
  4834. 1068.76 s [opt-env-conf-test] -- Nothing means "this branch was not valid"
  4835. 1068.76 s [opt-env-conf-test] -- Just [] means "no completions"
  4836. 1068.76 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
  4837. 1068.77 s [opt-env-conf-test] @@ -291,11 +291,10 @@
  4838. 1068.77 s [opt-env-conf-test] orCompletions p1 p2 = do
  4839. 1068.77 s [opt-env-conf-test] p1s <- tryOrRestore $ go p1
  4840. 1068.77 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  4841. 1068.77 s [opt-env-conf-test] pure $ case (p1s, p2s) of
  4842. 1068.77 s [opt-env-conf-test] - (Nothing, Nothing) -> Nothing
  4843. 1068.77 s [opt-env-conf-test] (Just cs, Nothing) -> Just cs
  4844. 1068.77 s [opt-env-conf-test] (Nothing, Just cs) -> Just cs
  4845. 1068.77 s [opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
  4846. 1068.77 s [opt-env-conf-test]
  4847. 1068.77 s [opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  4848. 1068.77 s [opt-env-conf-test] andCompletions p1 p2 = do
  4849. 1068.77 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  4850. 1068.77 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  4851. 1068.77 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  4852. 1068.77 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  4853. 1068.77 s [opt-env-conf-test] exitFailure
  4854. 1068.77 s [opt-env-conf-test] Right i -> case i of
  4855. 1068.77 s [opt-env-conf-test] ShowVersion -> do
  4856. 1068.77 s [opt-env-conf-test] progname <- getProgName
  4857. 1068.77 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  4858. 1068.77 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  4859. 1068.77 s [opt-env-conf-test] exitSuccess
  4860. 1068.77 s [opt-env-conf-test] RenderMan -> do
  4861. 1068.77 s [opt-env-conf-test] progname <- getProgName
  4862. 1068.77 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  4863. 1068.77 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  4864. 1068.77 s [opt-env-conf-test] exitSuccess
  4865. 1068.77 s [opt-env-conf-test] RenderDocumentation -> do
  4866. 1068.77 s [opt-env-conf-test] progname <- getProgName
  4867. 1068.77 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  4868. 1068.77 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  4869. 1068.77 s [opt-env-conf-test] exitSuccess
  4870. 1068.77 s [opt-env-conf-test] RenderNixosOptions -> do
  4871. 1068.77 s [opt-env-conf-test] progname <- getProgName
  4872. 1068.77 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  4873. 1068.77 s [opt-env-conf-test] - exitSuccess
  4874. 1068.77 s [opt-env-conf-test] - BashCompletionScript progPath -> do
  4875. 1068.77 s [opt-env-conf-test] - progname <- getProgName
  4876. 1068.77 s [opt-env-conf-test] - generateBashCompletionScript progPath progname
  4877. 1068.77 s [opt-env-conf-test] exitSuccess
  4878. 1068.77 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  4879. 1068.77 s [opt-env-conf-test] progname <- getProgName
  4880. 1068.77 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  4881. 1068.77 s [opt-env-conf-test] exitSuccess
  4882. 1068.77 s [opt-env-conf-test] FishCompletionScript progPath -> do
  4883. 1068.77 s [opt-env-conf-test] progname <- getProgName
  4884. 1068.77 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  4885. 1068.77 s [opt-env-conf-test] exitSuccess
  4886. 1068.84 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  4887. 1068.84 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  4888. 1068.90 s [opt-env-conf-test] exitSuccess
  4889. 1068.90 s [opt-env-conf-test] ParsedNormally a -> pure a
  4890. 1068.90 s [opt-env-conf-test]
  4891. 1068.90 s [opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
  4892. 1068.90 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  4893. 1068.90 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  4894. 1068.90 s [opt-env-conf-test] @@ -125,42 +125,37 @@
  4895. 1068.90 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  4896. 1068.90 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  4897. 1068.90 s [opt-env-conf-test] exitFailure
  4898. 1068.90 s [opt-env-conf-test] Right i -> case i of
  4899. 1068.90 s [opt-env-conf-test] ShowVersion -> do
  4900. 1068.90 s [opt-env-conf-test] progname <- getProgName
  4901. 1068.90 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  4902. 1068.90 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  4903. 1068.90 s [opt-env-conf-test] exitSuccess
  4904. 1068.90 s [opt-env-conf-test] RenderMan -> do
  4905. 1068.90 s [opt-env-conf-test] progname <- getProgName
  4906. 1068.90 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  4907. 1068.90 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  4908. 1068.90 s [opt-env-conf-test] exitSuccess
  4909. 1068.90 s [opt-env-conf-test] - RenderDocumentation -> do
  4910. 1068.90 s [opt-env-conf-test] - progname <- getProgName
  4911. 1068.91 s [opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
  4912. 1068.91 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  4913. 1068.91 s [opt-env-conf-test] - exitSuccess
  4914. 1068.91 s [opt-env-conf-test] RenderNixosOptions -> do
  4915. 1068.91 s [opt-env-conf-test] progname <- getProgName
  4916. 1068.91 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  4917. 1068.91 s [opt-env-conf-test] exitSuccess
  4918. 1068.91 s [opt-env-conf-test] BashCompletionScript progPath -> do
  4919. 1068.91 s [opt-env-conf-test] progname <- getProgName
  4920. 1068.91 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  4921. 1068.91 s [opt-env-conf-test] exitSuccess
  4922. 1068.91 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  4923. 1068.91 s [opt-env-conf-test] progname <- getProgName
  4924. 1068.91 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  4925. 1068.91 s [opt-env-conf-test] exitSuccess
  4926. 1068.91 s [opt-env-conf-test] FishCompletionScript progPath -> do
  4927. 1068.91 s [opt-env-conf-test] progname <- getProgName
  4928. 1068.91 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  4929. 1068.91 s [opt-env-conf-test] exitSuccess
  4930. 1069.81 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  4931. 1069.81 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  4932. 1069.81 s [opt-env-conf-test] exitSuccess
  4933. 1069.81 s [opt-env-conf-test] ParsedNormally a -> pure a
  4934. 1069.81 s [opt-env-conf-test]
  4935. 1069.81 s [opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
  4936. 1069.81 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  4937. 1069.81 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  4938. 1069.81 s [opt-env-conf-test] @@ -125,42 +125,41 @@
  4939. 1069.81 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  4940. 1069.81 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  4941. 1069.81 s [opt-env-conf-test] exitFailure
  4942. 1069.81 s [opt-env-conf-test] Right i -> case i of
  4943. 1069.81 s [opt-env-conf-test] ShowVersion -> do
  4944. 1069.81 s [opt-env-conf-test] progname <- getProgName
  4945. 1069.81 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  4946. 1069.81 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  4947. 1069.82 s [opt-env-conf-test] exitSuccess
  4948. 1069.82 s [opt-env-conf-test] RenderMan -> do
  4949. 1069.82 s [opt-env-conf-test] progname <- getProgName
  4950. 1069.82 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  4951. 1069.82 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  4952. 1069.82 s [opt-env-conf-test] exitSuccess
  4953. 1069.82 s [opt-env-conf-test] RenderDocumentation -> do
  4954. 1069.82 s [opt-env-conf-test] progname <- getProgName
  4955. 1069.82 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  4956. 1069.82 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  4957. 1069.82 s [opt-env-conf-test] exitSuccess
  4958. 1069.82 s [opt-env-conf-test] RenderNixosOptions -> do
  4959. 1069.82 s [opt-env-conf-test] progname <- getProgName
  4960. 1069.82 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  4961. 1069.82 s [opt-env-conf-test] exitSuccess
  4962. 1069.82 s [opt-env-conf-test] BashCompletionScript progPath -> do
  4963. 1069.82 s [opt-env-conf-test] progname <- getProgName
  4964. 1069.82 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  4965. 1069.82 s [opt-env-conf-test] exitSuccess
  4966. 1069.82 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  4967. 1069.82 s [opt-env-conf-test] progname <- getProgName
  4968. 1069.82 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  4969. 1069.82 s [opt-env-conf-test] exitSuccess
  4970. 1069.82 s [opt-env-conf-test] FishCompletionScript progPath -> do
  4971. 1069.82 s [opt-env-conf-test] progname <- getProgName
  4972. 1069.82 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  4973. 1069.82 s [opt-env-conf-test] exitSuccess
  4974. 1069.82 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  4975. 1073.25 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  4976. 1073.25 s [opt-env-conf-test] exitSuccess
  4977. 1073.25 s [opt-env-conf-test] - ParsedNormally a -> pure a
  4978. 1073.25 s [opt-env-conf-test]
  4979. 1073.25 s [opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
  4980. 1073.25 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  4981. 1073.25 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
  4982. 1073.25 s [opt-env-conf-test] @@ -291,11 +291,10 @@
  4983. 1073.25 s [opt-env-conf-test] orCompletions p1 p2 = do
  4984. 1073.25 s [opt-env-conf-test] p1s <- tryOrRestore $ go p1
  4985. 1073.25 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  4986. 1073.25 s [opt-env-conf-test] pure $ case (p1s, p2s) of
  4987. 1073.25 s [opt-env-conf-test] (Nothing, Nothing) -> Nothing
  4988. 1073.25 s [opt-env-conf-test] (Just cs, Nothing) -> Just cs
  4989. 1073.25 s [opt-env-conf-test] (Nothing, Just cs) -> Just cs
  4990. 1073.25 s [opt-env-conf-test] - (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
  4991. 1073.25 s [opt-env-conf-test]
  4992. 1073.25 s [opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  4993. 1073.25 s [opt-env-conf-test] andCompletions p1 p2 = do
  4994. 1073.25 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:161:18-50
  4995. 1073.25 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  4996. 1073.25 s [opt-env-conf-test] case result of
  4997. 1073.25 s [opt-env-conf-test] Success a -> pure a
  4998. 1073.25 s [opt-env-conf-test] Failure errs -> do
  4999. 1073.25 s [opt-env-conf-test] - if not $ all errorIsForgivable errs
  5000. 1073.25 s [opt-env-conf-test] + if True
  5001. 1073.25 s [opt-env-conf-test] then ppErrors' errs
  5002. 1073.25 s [opt-env-conf-test] else do
  5003. 1073.25 s [opt-env-conf-test] -- Settings available below
  5004. 1073.25 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:150:37-112
  5005. 1073.25 s [opt-env-conf-test] @@ -147,34 +147,33 @@
  5006. 1073.25 s [opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
  5007. 1073.25 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  5008. 1073.25 s [opt-env-conf-test] pure (a :| as)
  5009. 1073.25 s [opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
  5010. 1073.25 s [opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  5011. 1073.25 s [opt-env-conf-test] ppIndent $ do
  5012. 1073.25 s [opt-env-conf-test] e <- ask
  5013. 1073.25 s [opt-env-conf-test] s <- get
  5014. 1073.25 s [opt-env-conf-test] results <- liftIO $ runPP (go p') s e
  5015. 1073.26 s [opt-env-conf-test] (result, s') <- ppNonDetList results
  5016. 1073.26 s [opt-env-conf-test] put s'
  5017. 1073.26 s [opt-env-conf-test] case result of
  5018. 1073.26 s [opt-env-conf-test] Success a -> pure a
  5019. 1073.26 s [opt-env-conf-test] Failure errs -> do
  5020. 1073.26 s [opt-env-conf-test] if not $ all errorIsForgivable errs
  5021. 1073.26 s [opt-env-conf-test] then ppErrors' errs
  5022. 1073.26 s [opt-env-conf-test] else do
  5023. 1073.26 s [opt-env-conf-test] -- Settings available below
  5024. 1073.26 s [opt-env-conf-test] let settingsMap = parserSettingsMap p'
  5025. 1073.26 s [opt-env-conf-test] -- Settings that have been parsed
  5026. 1073.26 s [opt-env-conf-test] parsedMap <- gets ppStateParsedSettings
  5027. 1073.26 s [opt-env-conf-test] -- Settings that have been parsed below
  5028. 1073.26 s [opt-env-conf-test] let parsedSettingsMap = settingsMap `M.intersection` parsedMap
  5029. 1073.26 s [opt-env-conf-test] -- If any settings have been parsed below, and parsing still failed
  5030. 1073.26 s [opt-env-conf-test] -- (this is the case because we're in the failure branch)
  5031. 1073.26 s [opt-env-conf-test] -- with only forgivable errors
  5032. 1073.26 s [opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
  5033. 1073.26 s [opt-env-conf-test] -- then this should be an unforgivable error.
  5034. 1073.26 s [opt-env-conf-test] if null parsedSettingsMap
  5035. 1073.26 s [opt-env-conf-test] then ppErrors' errs
  5036. 1073.26 s [opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
  5037. 1073.26 s [opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
  5038. 1073.26 s [opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  5039. 1073.26 s [opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
  5040. 1073.26 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:272:14-29
  5041. 1073.26 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  5042. 1073.26 s [opt-env-conf-test] Nothing -> pure Nothing
  5043. 1073.26 s [opt-env-conf-test] Just os -> do
  5044. 1073.26 s [opt-env-conf-test] after <- get
  5045. 1073.26 s [opt-env-conf-test] - if after == before
  5046. 1073.26 s [opt-env-conf-test] + if False
  5047. 1073.26 s [opt-env-conf-test] then -- State did not advance; return these completions.
  5048. 1073.26 s [opt-env-conf-test] pure $ Just os
  5049. 1073.26 s [opt-env-conf-test] else -- State advanced: something was consumed. Try the
  5050. 1073.26 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:175:22-44
  5051. 1073.26 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  5052. 1073.26 s [opt-env-conf-test] -- with only forgivable errors
  5053. 1073.26 s [opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
  5054. 1073.26 s [opt-env-conf-test] -- then this should be an unforgivable error.
  5055. 1073.26 s [opt-env-conf-test] - if null parsedSettingsMap
  5056. 1073.26 s [opt-env-conf-test] + if True
  5057. 1073.26 s [opt-env-conf-test] then ppErrors' errs
  5058. 1073.26 s [opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
  5059. 1073.26 s [opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
  5060. 1073.26 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:272:14-29
  5061. 1073.26 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  5062. 1073.26 s [opt-env-conf-test] Nothing -> pure Nothing
  5063. 1073.26 s [opt-env-conf-test] Just os -> do
  5064. 1073.26 s [opt-env-conf-test] after <- get
  5065. 1073.26 s [opt-env-conf-test] - if after == before
  5066. 1073.26 s [opt-env-conf-test] + if not after == before
  5067. 1073.26 s [opt-env-conf-test] then -- State did not advance; return these completions.
  5068. 1073.26 s [opt-env-conf-test] pure $ Just os
  5069. 1073.26 s [opt-env-conf-test] else -- State advanced: something was consumed. Try the
  5070. 1073.26 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:175:22-44
  5071. 1073.26 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  5072. 1073.26 s [opt-env-conf-test] -- with only forgivable errors
  5073. 1073.26 s [opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
  5074. 1073.26 s [opt-env-conf-test] -- then this should be an unforgivable error.
  5075. 1073.26 s [opt-env-conf-test] - if null parsedSettingsMap
  5076. 1073.26 s [opt-env-conf-test] + if not null parsedSettingsMap
  5077. 1073.26 s [opt-env-conf-test] then ppErrors' errs
  5078. 1073.26 s [opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
  5079. 1073.26 s [opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
  5080. 1073.26 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  5081. 1073.27 s [opt-env-conf-test] @@ -125,42 +125,37 @@
  5082. 1073.27 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  5083. 1073.27 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  5084. 1073.27 s [opt-env-conf-test] exitFailure
  5085. 1073.27 s [opt-env-conf-test] Right i -> case i of
  5086. 1073.27 s [opt-env-conf-test] ShowVersion -> do
  5087. 1073.27 s [opt-env-conf-test] progname <- getProgName
  5088. 1073.27 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  5089. 1073.27 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  5090. 1073.27 s [opt-env-conf-test] exitSuccess
  5091. 1073.27 s [opt-env-conf-test] - RenderMan -> do
  5092. 1073.27 s [opt-env-conf-test] - progname <- getProgName
  5093. 1073.27 s [opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
  5094. 1073.27 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  5095. 1073.27 s [opt-env-conf-test] - exitSuccess
  5096. 1073.27 s [opt-env-conf-test] RenderDocumentation -> do
  5097. 1073.27 s [opt-env-conf-test] progname <- getProgName
  5098. 1073.28 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  5099. 1073.28 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  5100. 1073.28 s [opt-env-conf-test] exitSuccess
  5101. 1073.28 s [opt-env-conf-test] RenderNixosOptions -> do
  5102. 1073.28 s [opt-env-conf-test] progname <- getProgName
  5103. 1073.28 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  5104. 1073.28 s [opt-env-conf-test] exitSuccess
  5105. 1073.28 s [opt-env-conf-test] BashCompletionScript progPath -> do
  5106. 1073.28 s [opt-env-conf-test] progname <- getProgName
  5107. 1073.28 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  5108. 1073.28 s [opt-env-conf-test] exitSuccess
  5109. 1073.28 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  5110. 1073.28 s [opt-env-conf-test] progname <- getProgName
  5111. 1073.28 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  5112. 1073.28 s [opt-env-conf-test] exitSuccess
  5113. 1073.28 s [opt-env-conf-test] FishCompletionScript progPath -> do
  5114. 1073.28 s [opt-env-conf-test] progname <- getProgName
  5115. 1073.28 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  5116. 1073.28 s [opt-env-conf-test] exitSuccess
  5117. 1075.49 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  5118. 1075.49 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  5119. 1075.55 s [opt-env-conf-test] exitSuccess
  5120. 1075.55 s [opt-env-conf-test] ParsedNormally a -> pure a
  5121. 1075.55 s [opt-env-conf-test]
  5122. 1075.55 s [opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
  5123. 1075.55 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  5124. 1075.55 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:287:23-30
  5125. 1075.55 s [opt-env-conf-test] @@ -284,7 +284,7 @@
  5126. 1075.55 s [opt-env-conf-test] -- dashed suggestions (state didn't advance
  5127. 1075.55 s [opt-env-conf-test] -- further), prefer our completions which came
  5128. 1075.55 s [opt-env-conf-test] -- from the advancing iteration.
  5129. 1075.55 s [opt-env-conf-test] - | null os -> pure $ Just more
  5130. 1075.55 s [opt-env-conf-test] + | not null os -> pure $ Just more
  5131. 1075.55 s [opt-env-conf-test] | otherwise -> pure $ Just os
  5132. 1075.55 s [opt-env-conf-test]
  5133. 1075.55 s [opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  5134. 1075.55 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:287:23-30
  5135. 1075.55 s [opt-env-conf-test] @@ -284,7 +284,7 @@
  5136. 1075.55 s [opt-env-conf-test] -- dashed suggestions (state didn't advance
  5137. 1075.55 s [opt-env-conf-test] -- further), prefer our completions which came
  5138. 1075.55 s [opt-env-conf-test] -- from the advancing iteration.
  5139. 1075.55 s [opt-env-conf-test] - | null os -> pure $ Just more
  5140. 1075.55 s [opt-env-conf-test] + | True -> pure $ Just more
  5141. 1075.55 s [opt-env-conf-test] | otherwise -> pure $ Just os
  5142. 1075.55 s [opt-env-conf-test]
  5143. 1075.55 s [opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  5144. 1075.55 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  5145. 1075.55 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  5146. 1075.56 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  5147. 1075.56 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  5148. 1075.56 s [opt-env-conf-test] exitFailure
  5149. 1075.56 s [opt-env-conf-test] Right i -> case i of
  5150. 1075.56 s [opt-env-conf-test] ShowVersion -> do
  5151. 1075.56 s [opt-env-conf-test] progname <- getProgName
  5152. 1075.56 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  5153. 1075.56 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  5154. 1075.56 s [opt-env-conf-test] exitSuccess
  5155. 1075.56 s [opt-env-conf-test] RenderMan -> do
  5156. 1075.56 s [opt-env-conf-test] progname <- getProgName
  5157. 1075.56 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  5158. 1075.56 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  5159. 1075.56 s [opt-env-conf-test] exitSuccess
  5160. 1075.56 s [opt-env-conf-test] RenderDocumentation -> do
  5161. 1075.56 s [opt-env-conf-test] progname <- getProgName
  5162. 1075.56 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  5163. 1075.56 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  5164. 1075.56 s [opt-env-conf-test] exitSuccess
  5165. 1075.56 s [opt-env-conf-test] RenderNixosOptions -> do
  5166. 1075.56 s [opt-env-conf-test] progname <- getProgName
  5167. 1075.56 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  5168. 1075.56 s [opt-env-conf-test] exitSuccess
  5169. 1075.56 s [opt-env-conf-test] BashCompletionScript progPath -> do
  5170. 1075.56 s [opt-env-conf-test] progname <- getProgName
  5171. 1075.56 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  5172. 1075.56 s [opt-env-conf-test] exitSuccess
  5173. 1075.56 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  5174. 1075.56 s [opt-env-conf-test] progname <- getProgName
  5175. 1075.56 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  5176. 1075.56 s [opt-env-conf-test] - exitSuccess
  5177. 1075.56 s [opt-env-conf-test] - FishCompletionScript progPath -> do
  5178. 1075.56 s [opt-env-conf-test] - progname <- getProgName
  5179. 1075.56 s [opt-env-conf-test] - generateFishCompletionScript progPath progname
  5180. 1075.56 s [opt-env-conf-test] exitSuccess
  5181. 1080.13 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  5182. 1080.13 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  5183. 1080.13 s [opt-env-conf-test] exitSuccess
  5184. 1080.13 s [opt-env-conf-test] ParsedNormally a -> pure a
  5185. 1080.13 s [opt-env-conf-test]
  5186. 1080.13 s [opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
  5187. 1080.13 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  5188. 1080.13 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:340:20-34
  5189. 1080.13 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  5190. 1080.13 s [opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
  5191. 1080.13 s [opt-env-conf-test] case mArg of
  5192. 1080.13 s [opt-env-conf-test] Nothing -> do
  5193. 1080.13 s [opt-env-conf-test] - if argsAtEnd rest
  5194. 1080.13 s [opt-env-conf-test] + if False
  5195. 1080.13 s [opt-env-conf-test] then do
  5196. 1080.13 s [opt-env-conf-test] let arg = fromMaybe "" mCursorArg
  5197. 1080.14 s [opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
  5198. 1080.14 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:340:20-34
  5199. 1080.14 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  5200. 1080.14 s [opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
  5201. 1080.14 s [opt-env-conf-test] case mArg of
  5202. 1080.14 s [opt-env-conf-test] Nothing -> do
  5203. 1080.14 s [opt-env-conf-test] - if argsAtEnd rest
  5204. 1080.14 s [opt-env-conf-test] + if True
  5205. 1080.14 s [opt-env-conf-test] then do
  5206. 1080.14 s [opt-env-conf-test] let arg = fromMaybe "" mCursorArg
  5207. 1080.14 s [opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
  5208. 1080.14 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:340:20-34
  5209. 1080.14 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  5210. 1080.14 s [opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
  5211. 1080.14 s [opt-env-conf-test] case mArg of
  5212. 1080.14 s [opt-env-conf-test] Nothing -> do
  5213. 1080.14 s [opt-env-conf-test] - if argsAtEnd rest
  5214. 1080.14 s [opt-env-conf-test] + if not argsAtEnd rest
  5215. 1080.14 s [opt-env-conf-test] then do
  5216. 1080.14 s [opt-env-conf-test] let arg = fromMaybe "" mCursorArg
  5217. 1080.14 s [opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
  5218. 1080.14 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:307:18-42
  5219. 1080.14 s [opt-env-conf-test] @@ -304,9 +304,8 @@
  5220. 1080.14 s [opt-env-conf-test] Nothing -> pure Nothing
  5221. 1080.14 s [opt-env-conf-test] Just cs1 -> do
  5222. 1080.14 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  5223. 1080.14 s [opt-env-conf-test] pure $ case p2s of
  5224. 1080.14 s [opt-env-conf-test] - Nothing -> Nothing
  5225. 1080.14 s [opt-env-conf-test] Just cs2 -> pure $ cs1 ++ cs2
  5226. 1080.14 s [opt-env-conf-test]
  5227. 1080.14 s [opt-env-conf-test] -- Nothing means "this branch was not valid"
  5228. 1080.14 s [opt-env-conf-test] -- Just [] means "no completions"
  5229. 1080.14 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:360:17-42
  5230. 1080.14 s [opt-env-conf-test] @@ -357,11 +357,8 @@
  5231. 1080.14 s [opt-env-conf-test] -- name then the remaining args have nowhere to go.
  5232. 1080.14 s [opt-env-conf-test] pure Nothing
  5233. 1080.14 s [opt-env-conf-test] Just arg ->
  5234. 1080.14 s [opt-env-conf-test] case find ((== arg) . commandArg) cs of
  5235. 1080.14 s [opt-env-conf-test] - Just c -> do
  5236. 1080.14 s [opt-env-conf-test] - put rest
  5237. 1080.14 s [opt-env-conf-test] - goCommand c
  5238. 1080.14 s [opt-env-conf-test] Nothing -> pure Nothing
  5239. 1080.14 s [opt-env-conf-test] -- If there is a default command, also try completing within
  5240. 1080.14 s [opt-env-conf-test] -- the default command's parser, since that is what would run
  5241. 1080.14 s [opt-env-conf-test] -- if the user provides no command.
  5242. 1080.14 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:360:17-42
  5243. 1080.14 s [opt-env-conf-test] @@ -357,11 +357,10 @@
  5244. 1080.14 s [opt-env-conf-test] -- name then the remaining args have nowhere to go.
  5245. 1080.14 s [opt-env-conf-test] pure Nothing
  5246. 1080.14 s [opt-env-conf-test] Just arg ->
  5247. 1080.14 s [opt-env-conf-test] case find ((== arg) . commandArg) cs of
  5248. 1080.14 s [opt-env-conf-test] Just c -> do
  5249. 1080.14 s [opt-env-conf-test] put rest
  5250. 1080.14 s [opt-env-conf-test] goCommand c
  5251. 1080.14 s [opt-env-conf-test] - Nothing -> pure Nothing
  5252. 1080.14 s [opt-env-conf-test] -- If there is a default command, also try completing within
  5253. 1080.14 s [opt-env-conf-test] -- the default command's parser, since that is what would run
  5254. 1080.14 s [opt-env-conf-test] -- if the user provides no command.
  5255. 1080.14 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:134:29-28
  5256. 1080.14 s [opt-env-conf-test] @@ -131,15 +131,14 @@
  5257. 1080.14 s [opt-env-conf-test] Nothing -> do
  5258. 1080.14 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  5259. 1080.15 s [opt-env-conf-test] ppIndent $ go p2
  5260. 1080.15 s [opt-env-conf-test] ParserMany mLoc p' -> do
  5261. 1080.15 s [opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  5262. 1080.15 s [opt-env-conf-test] ppIndent $ do
  5263. 1080.15 s [opt-env-conf-test] eor <- tryPP $ go p'
  5264. 1080.15 s [opt-env-conf-test] case eor of
  5265. 1080.15 s [opt-env-conf-test] Nothing -> pure []
  5266. 1080.15 s [opt-env-conf-test] Just a -> do
  5267. 1080.15 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  5268. 1080.15 s [opt-env-conf-test] pure (a : as)
  5269. 1080.15 s [opt-env-conf-test] ParserSome mLoc p' -> do
  5270. 1080.15 s [opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
  5271. 1080.15 s [opt-env-conf-test] ppIndent $ do
  5272. 1080.15 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:378:19-31
  5273. 1080.15 s [opt-env-conf-test] @@ -375,7 +375,7 @@
  5274. 1080.15 s [opt-env-conf-test] -- If no args were consumed (we were already at end),
  5275. 1080.15 s [opt-env-conf-test] -- combine the explicit command listing with the default
  5276. 1080.15 s [opt-env-conf-test] -- command's completions.
  5277. 1080.15 s [opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  5278. 1080.15 s [opt-env-conf-test] + | True -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  5279. 1080.15 s [opt-env-conf-test] | otherwise -> do
  5280. 1080.15 s [opt-env-conf-test] -- The default command consumed args, so its
  5281. 1080.15 s [opt-env-conf-test] -- completions are valid. But we must restore
  5282. 1080.15 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  5283. 1080.15 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  5284. 1080.15 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  5285. 1080.15 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  5286. 1080.15 s [opt-env-conf-test] exitFailure
  5287. 1080.15 s [opt-env-conf-test] Right i -> case i of
  5288. 1080.15 s [opt-env-conf-test] ShowVersion -> do
  5289. 1080.15 s [opt-env-conf-test] progname <- getProgName
  5290. 1080.15 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  5291. 1080.15 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  5292. 1080.15 s [opt-env-conf-test] exitSuccess
  5293. 1080.15 s [opt-env-conf-test] RenderMan -> do
  5294. 1080.15 s [opt-env-conf-test] progname <- getProgName
  5295. 1080.15 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  5296. 1080.15 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  5297. 1080.15 s [opt-env-conf-test] exitSuccess
  5298. 1080.15 s [opt-env-conf-test] RenderDocumentation -> do
  5299. 1080.15 s [opt-env-conf-test] progname <- getProgName
  5300. 1080.15 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  5301. 1080.15 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  5302. 1080.15 s [opt-env-conf-test] - exitSuccess
  5303. 1080.15 s [opt-env-conf-test] - RenderNixosOptions -> do
  5304. 1080.15 s [opt-env-conf-test] - progname <- getProgName
  5305. 1080.15 s [opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  5306. 1080.15 s [opt-env-conf-test] exitSuccess
  5307. 1080.15 s [opt-env-conf-test] BashCompletionScript progPath -> do
  5308. 1080.15 s [opt-env-conf-test] progname <- getProgName
  5309. 1080.15 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  5310. 1080.15 s [opt-env-conf-test] exitSuccess
  5311. 1080.15 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  5312. 1080.15 s [opt-env-conf-test] progname <- getProgName
  5313. 1080.15 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  5314. 1080.15 s [opt-env-conf-test] exitSuccess
  5315. 1080.15 s [opt-env-conf-test] FishCompletionScript progPath -> do
  5316. 1080.15 s [opt-env-conf-test] progname <- getProgName
  5317. 1080.15 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  5318. 1080.15 s [opt-env-conf-test] exitSuccess
  5319. 1089.62 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  5320. 1089.62 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  5321. 1089.65 s [opt-env-conf-test] exitSuccess
  5322. 1089.65 s [opt-env-conf-test] ParsedNormally a -> pure a
  5323. 1089.65 s [opt-env-conf-test]
  5324. 1089.65 s [opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
  5325. 1089.65 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  5326. 1089.65 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:398:18-30
  5327. 1089.65 s [opt-env-conf-test] @@ -395,7 +395,7 @@
  5328. 1089.65 s [opt-env-conf-test] pure Completion {..}
  5329. 1089.65 s [opt-env-conf-test] let completeWithCompleterAtEnd = do
  5330. 1089.65 s [opt-env-conf-test] as <- get
  5331. 1089.65 s [opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
  5332. 1089.65 s [opt-env-conf-test] + if not argsAtEnd as then completeWithCompleter else pure $ Just []
  5333. 1089.65 s [opt-env-conf-test] let completeWithDasheds = do
  5334. 1089.65 s [opt-env-conf-test] let isLong = \case
  5335. 1089.65 s [opt-env-conf-test] DashedLong _ -> True
  5336. 1089.65 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:403:41-66
  5337. 1089.65 s [opt-env-conf-test] @@ -400,7 +400,7 @@
  5338. 1089.65 s [opt-env-conf-test] let isLong = \case
  5339. 1089.65 s [opt-env-conf-test] DashedLong _ -> True
  5340. 1089.65 s [opt-env-conf-test] DashedShort _ -> False
  5341. 1089.65 s [opt-env-conf-test] - let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
  5342. 1089.65 s [opt-env-conf-test] + let favorableDasheds = if not any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
  5343. 1089.65 s [opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
  5344. 1089.65 s [opt-env-conf-test] let completions =
  5345. 1089.65 s [opt-env-conf-test] map
  5346. 1089.65 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:414:12-25
  5347. 1089.65 s [opt-env-conf-test] @@ -411,7 +411,7 @@
  5348. 1089.65 s [opt-env-conf-test] )
  5349. 1089.65 s [opt-env-conf-test] suggestions
  5350. 1089.65 s [opt-env-conf-test] pure $ Just completions
  5351. 1089.65 s [opt-env-conf-test] - if settingHidden
  5352. 1089.65 s [opt-env-conf-test] + if False
  5353. 1089.65 s [opt-env-conf-test] then pure $ Just []
  5354. 1089.66 s [opt-env-conf-test] else do
  5355. 1089.66 s [opt-env-conf-test] as <- get
  5356. 1089.66 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:403:41-66
  5357. 1089.66 s [opt-env-conf-test] @@ -400,7 +400,7 @@
  5358. 1089.66 s [opt-env-conf-test] let isLong = \case
  5359. 1089.66 s [opt-env-conf-test] DashedLong _ -> True
  5360. 1089.66 s [opt-env-conf-test] DashedShort _ -> False
  5361. 1089.66 s [opt-env-conf-test] - let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
  5362. 1089.66 s [opt-env-conf-test] + let favorableDasheds = if True then filter isLong settingDasheds else settingDasheds
  5363. 1089.66 s [opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
  5364. 1089.66 s [opt-env-conf-test] let completions =
  5365. 1089.66 s [opt-env-conf-test] map
  5366. 1089.66 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:414:12-25
  5367. 1089.66 s [opt-env-conf-test] @@ -411,7 +411,7 @@
  5368. 1089.66 s [opt-env-conf-test] )
  5369. 1089.66 s [opt-env-conf-test] suggestions
  5370. 1089.66 s [opt-env-conf-test] pure $ Just completions
  5371. 1089.66 s [opt-env-conf-test] - if settingHidden
  5372. 1089.66 s [opt-env-conf-test] + if True
  5373. 1089.66 s [opt-env-conf-test] then pure $ Just []
  5374. 1089.66 s [opt-env-conf-test] else do
  5375. 1089.66 s [opt-env-conf-test] as <- get
  5376. 1089.66 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:414:12-25
  5377. 1089.66 s [opt-env-conf-test] @@ -411,7 +411,7 @@
  5378. 1089.66 s [opt-env-conf-test] )
  5379. 1089.66 s [opt-env-conf-test] suggestions
  5380. 1089.66 s [opt-env-conf-test] pure $ Just completions
  5381. 1089.66 s [opt-env-conf-test] - if settingHidden
  5382. 1089.66 s [opt-env-conf-test] + if not settingHidden
  5383. 1089.66 s [opt-env-conf-test] then pure $ Just []
  5384. 1089.66 s [opt-env-conf-test] else do
  5385. 1089.66 s [opt-env-conf-test] as <- get
  5386. 1089.66 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completion.hs:402:38-43
  5387. 1089.66 s [opt-env-conf-test] @@ -399,7 +399,7 @@
  5388. 1089.66 s [opt-env-conf-test] let completeWithDasheds = do
  5389. 1089.66 s [opt-env-conf-test] let isLong = \case
  5390. 1089.66 s [opt-env-conf-test] DashedLong _ -> True
  5391. 1089.66 s [opt-env-conf-test] - DashedShort _ -> False
  5392. 1089.66 s [opt-env-conf-test] + DashedShort _ -> True
  5393. 1089.66 s [opt-env-conf-test] let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
  5394. 1089.66 s [opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
  5395. 1089.66 s [opt-env-conf-test] let completions =
  5396. 1089.66 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:403:41-66
  5397. 1089.66 s [opt-env-conf-test] @@ -400,7 +400,7 @@
  5398. 1089.66 s [opt-env-conf-test] let isLong = \case
  5399. 1089.66 s [opt-env-conf-test] DashedLong _ -> True
  5400. 1089.66 s [opt-env-conf-test] DashedShort _ -> False
  5401. 1089.66 s [opt-env-conf-test] - let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
  5402. 1089.66 s [opt-env-conf-test] + let favorableDasheds = if False then filter isLong settingDasheds else settingDasheds
  5403. 1089.66 s [opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
  5404. 1089.66 s [opt-env-conf-test] let completions =
  5405. 1089.66 s [opt-env-conf-test] map
  5406. 1089.66 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completion.hs:401:37-41
  5407. 1089.66 s [opt-env-conf-test] @@ -398,7 +398,7 @@
  5408. 1089.66 s [opt-env-conf-test] if argsAtEnd as then completeWithCompleter else pure $ Just []
  5409. 1089.66 s [opt-env-conf-test] let completeWithDasheds = do
  5410. 1089.66 s [opt-env-conf-test] let isLong = \case
  5411. 1089.66 s [opt-env-conf-test] - DashedLong _ -> True
  5412. 1089.66 s [opt-env-conf-test] + DashedLong _ -> False
  5413. 1089.66 s [opt-env-conf-test] DashedShort _ -> False
  5414. 1089.66 s [opt-env-conf-test] let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
  5415. 1089.66 s [opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
  5416. 1089.66 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:398:18-30
  5417. 1089.66 s [opt-env-conf-test] @@ -395,7 +395,7 @@
  5418. 1089.66 s [opt-env-conf-test] pure Completion {..}
  5419. 1089.66 s [opt-env-conf-test] let completeWithCompleterAtEnd = do
  5420. 1089.66 s [opt-env-conf-test] as <- get
  5421. 1089.66 s [opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
  5422. 1089.66 s [opt-env-conf-test] + if False then completeWithCompleter else pure $ Just []
  5423. 1089.66 s [opt-env-conf-test] let completeWithDasheds = do
  5424. 1089.66 s [opt-env-conf-test] let isLong = \case
  5425. 1089.66 s [opt-env-conf-test] DashedLong _ -> True
  5426. 1089.66 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:378:57-95
  5427. 1089.66 s [opt-env-conf-test] @@ -375,7 +375,6 @@
  5428. 1089.66 s [opt-env-conf-test] -- If no args were consumed (we were already at end),
  5429. 1089.66 s [opt-env-conf-test] -- combine the explicit command listing with the default
  5430. 1089.66 s [opt-env-conf-test] -- command's completions.
  5431. 1089.66 s [opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  5432. 1089.66 s [opt-env-conf-test] | otherwise -> do
  5433. 1089.66 s [opt-env-conf-test] -- The default command consumed args, so its
  5434. 1089.66 s [opt-env-conf-test] -- completions are valid. But we must restore
  5435. 1089.66 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:378:57-95
  5436. 1089.66 s [opt-env-conf-test] @@ -375,7 +375,6 @@
  5437. 1089.66 s [opt-env-conf-test] -- If no args were consumed (we were already at end),
  5438. 1089.66 s [opt-env-conf-test] -- combine the explicit command listing with the default
  5439. 1089.66 s [opt-env-conf-test] -- command's completions.
  5440. 1089.66 s [opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  5441. 1089.66 s [opt-env-conf-test] | otherwise -> do
  5442. 1089.66 s [opt-env-conf-test] -- The default command consumed args, so its
  5443. 1089.66 s [opt-env-conf-test] -- completions are valid. But we must restore
  5444. 1089.66 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:398:18-30
  5445. 1089.66 s [opt-env-conf-test] @@ -395,7 +395,7 @@
  5446. 1089.66 s [opt-env-conf-test] pure Completion {..}
  5447. 1089.66 s [opt-env-conf-test] let completeWithCompleterAtEnd = do
  5448. 1089.66 s [opt-env-conf-test] as <- get
  5449. 1089.66 s [opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
  5450. 1089.66 s [opt-env-conf-test] + if True then completeWithCompleter else pure $ Just []
  5451. 1089.66 s [opt-env-conf-test] let completeWithDasheds = do
  5452. 1089.66 s [opt-env-conf-test] let isLong = \case
  5453. 1089.66 s [opt-env-conf-test] DashedLong _ -> True
  5454. 1089.66 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:378:19-31
  5455. 1089.66 s [opt-env-conf-test] @@ -375,7 +375,7 @@
  5456. 1089.66 s [opt-env-conf-test] -- If no args were consumed (we were already at end),
  5457. 1089.67 s [opt-env-conf-test] -- combine the explicit command listing with the default
  5458. 1089.67 s [opt-env-conf-test] -- command's completions.
  5459. 1089.67 s [opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  5460. 1089.67 s [opt-env-conf-test] + | not argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  5461. 1089.67 s [opt-env-conf-test] | otherwise -> do
  5462. 1089.67 s [opt-env-conf-test] -- The default command consumed args, so its
  5463. 1089.67 s [opt-env-conf-test] -- completions are valid. But we must restore
  5464. 1089.67 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:441:20-45
  5465. 1089.67 s [opt-env-conf-test] @@ -438,7 +438,7 @@
  5466. 1089.67 s [opt-env-conf-test] put as'
  5467. 1089.67 s [opt-env-conf-test] completeWithCompleterAtEnd
  5468. 1089.67 s [opt-env-conf-test] else
  5469. 1089.67 s [opt-env-conf-test] - if isJust settingSwitchValue
  5470. 1089.67 s [opt-env-conf-test] + if True
  5471. 1089.67 s [opt-env-conf-test] then do
  5472. 1089.67 s [opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
  5473. 1089.67 s [opt-env-conf-test] -- it's already been parsed.
  5474. 1089.67 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:418:16-34
  5475. 1089.67 s [opt-env-conf-test] @@ -415,7 +415,7 @@
  5476. 1089.67 s [opt-env-conf-test] then pure $ Just []
  5477. 1089.67 s [opt-env-conf-test] else do
  5478. 1096.85 s [opt-env-conf-test] as <- get
  5479. 1096.86 s [opt-env-conf-test] - if settingTryArgument
  5480. 1096.86 s [opt-env-conf-test] + if True
  5481. 1096.88 s [opt-env-conf-test] then do
  5482. 1096.88 s [opt-env-conf-test] let possibilities = Args.consumeArgument as
  5483. 1096.88 s [opt-env-conf-test] -- Try all possible consumptions of the argument.
  5484. 1096.88 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
  5485. 1096.88 s [opt-env-conf-test] @@ -432,11 +432,10 @@
  5486. 1096.88 s [opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
  5487. 1096.88 s [opt-env-conf-test] -- fallback matched. In both cases, offer the
  5488. 1096.88 s [opt-env-conf-test] -- completer if we are at the end.
  5489. 1096.88 s [opt-env-conf-test] case possibilities of
  5490. 1096.89 s [opt-env-conf-test] - [] -> completeWithCompleterAtEnd
  5491. 1096.89 s [opt-env-conf-test] (_, as') : _ -> do
  5492. 1096.89 s [opt-env-conf-test] put as'
  5493. 1096.89 s [opt-env-conf-test] completeWithCompleterAtEnd
  5494. 1096.89 s [opt-env-conf-test] else
  5495. 1096.89 s [opt-env-conf-test] if isJust settingSwitchValue
  5496. 1096.89 s [opt-env-conf-test] then do
  5497. 1096.89 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
  5498. 1096.89 s [opt-env-conf-test] @@ -432,11 +432,8 @@
  5499. 1096.89 s [opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
  5500. 1096.89 s [opt-env-conf-test] -- fallback matched. In both cases, offer the
  5501. 1096.89 s [opt-env-conf-test] -- completer if we are at the end.
  5502. 1096.89 s [opt-env-conf-test] case possibilities of
  5503. 1096.89 s [opt-env-conf-test] [] -> completeWithCompleterAtEnd
  5504. 1096.89 s [opt-env-conf-test] - (_, as') : _ -> do
  5505. 1096.89 s [opt-env-conf-test] - put as'
  5506. 1096.89 s [opt-env-conf-test] - completeWithCompleterAtEnd
  5507. 1096.89 s [opt-env-conf-test] else
  5508. 1096.89 s [opt-env-conf-test] if isJust settingSwitchValue
  5509. 1096.89 s [opt-env-conf-test] then do
  5510. 1096.89 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:418:16-34
  5511. 1096.89 s [opt-env-conf-test] @@ -415,7 +415,7 @@
  5512. 1096.89 s [opt-env-conf-test] then pure $ Just []
  5513. 1096.89 s [opt-env-conf-test] else do
  5514. 1096.89 s [opt-env-conf-test] as <- get
  5515. 1096.89 s [opt-env-conf-test] - if settingTryArgument
  5516. 1096.89 s [opt-env-conf-test] + if not settingTryArgument
  5517. 1096.89 s [opt-env-conf-test] then do
  5518. 1096.89 s [opt-env-conf-test] let possibilities = Args.consumeArgument as
  5519. 1096.89 s [opt-env-conf-test] -- Try all possible consumptions of the argument.
  5520. 1096.89 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completion.hs:163:17-18
  5521. 1096.89 s [opt-env-conf-test] @@ -160,7 +160,7 @@
  5522. 1096.89 s [opt-env-conf-test] --
  5523. 1096.89 s [opt-env-conf-test] -- We use 'drop 1' here because we don't care about the progname anymore.
  5524. 1096.89 s [opt-env-conf-test] let index = pred index'
  5525. 1096.89 s [opt-env-conf-test] - let ws = drop 1 ws'
  5526. 1096.89 s [opt-env-conf-test] + let ws = drop 0 ws'
  5527. 1096.89 s [opt-env-conf-test] let arg = fromMaybe "" $ listToMaybe $ drop index ws
  5528. 1096.89 s [opt-env-conf-test] let completions = pureCompletionQuery parser index ws
  5529. 1096.89 s [opt-env-conf-test] evaluatedCompletions <- evalCompletions arg completions
  5530. 1096.89 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:461:32-44
  5531. 1096.89 s [opt-env-conf-test] @@ -458,7 +458,7 @@
  5532. 1096.89 s [opt-env-conf-test] put as'
  5533. 1096.89 s [opt-env-conf-test] pure $ Just []
  5534. 1096.89 s [opt-env-conf-test] Nothing -> do
  5535. 1096.89 s [opt-env-conf-test] - if argsAtEnd as
  5536. 1096.89 s [opt-env-conf-test] + if True
  5537. 1096.89 s [opt-env-conf-test] then completeWithDasheds
  5538. 1096.89 s [opt-env-conf-test] else do
  5539. 1096.89 s [opt-env-conf-test] -- If we're not at the end, we may be between an option's
  5540. 1096.90 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:461:32-44
  5541. 1096.90 s [opt-env-conf-test] @@ -458,7 +458,7 @@
  5542. 1096.90 s [opt-env-conf-test] put as'
  5543. 1096.90 s [opt-env-conf-test] pure $ Just []
  5544. 1096.90 s [opt-env-conf-test] Nothing -> do
  5545. 1096.90 s [opt-env-conf-test] - if argsAtEnd as
  5546. 1096.90 s [opt-env-conf-test] + if not argsAtEnd as
  5547. 1096.90 s [opt-env-conf-test] then completeWithDasheds
  5548. 1096.90 s [opt-env-conf-test] else do
  5549. 1096.90 s [opt-env-conf-test] -- If we're not at the end, we may be between an option's
  5550. 1096.90 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:453:24-40
  5551. 1096.90 s [opt-env-conf-test] @@ -450,7 +450,7 @@
  5552. 1096.90 s [opt-env-conf-test] put as'
  5553. 1096.90 s [opt-env-conf-test] pure $ Just []
  5554. 1096.90 s [opt-env-conf-test] else do
  5555. 1096.90 s [opt-env-conf-test] - if settingTryOption
  5556. 1096.90 s [opt-env-conf-test] + if not settingTryOption
  5557. 1096.90 s [opt-env-conf-test] then do
  5558. 1096.90 s [opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
  5559. 1096.90 s [opt-env-conf-test] case Args.consumeOption settingDasheds as of
  5560. 1096.90 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:453:24-40
  5561. 1096.90 s [opt-env-conf-test] @@ -450,7 +450,7 @@
  5562. 1096.90 s [opt-env-conf-test] put as'
  5563. 1096.90 s [opt-env-conf-test] pure $ Just []
  5564. 1096.90 s [opt-env-conf-test] else do
  5565. 1096.90 s [opt-env-conf-test] - if settingTryOption
  5566. 1096.90 s [opt-env-conf-test] + if False
  5567. 1096.90 s [opt-env-conf-test] then do
  5568. 1096.90 s [opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
  5569. 1096.90 s [opt-env-conf-test] case Args.consumeOption settingDasheds as of
  5570. 1096.90 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:453:24-40
  5571. 1096.90 s [opt-env-conf-test] @@ -450,7 +450,7 @@
  5572. 1096.90 s [opt-env-conf-test] put as'
  5573. 1096.90 s [opt-env-conf-test] pure $ Just []
  5574. 1096.90 s [opt-env-conf-test] else do
  5575. 1096.90 s [opt-env-conf-test] - if settingTryOption
  5576. 1096.90 s [opt-env-conf-test] + if True
  5577. 1096.90 s [opt-env-conf-test] then do
  5578. 1096.90 s [opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
  5579. 1096.90 s [opt-env-conf-test] case Args.consumeOption settingDasheds as of
  5580. 1096.90 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:461:32-44
  5581. 1096.90 s [opt-env-conf-test] @@ -458,7 +458,7 @@
  5582. 1096.90 s [opt-env-conf-test] put as'
  5583. 1096.90 s [opt-env-conf-test] pure $ Just []
  5584. 1096.91 s [opt-env-conf-test] Nothing -> do
  5585. 1096.91 s [opt-env-conf-test] - if argsAtEnd as
  5586. 1096.91 s [opt-env-conf-test] + if False
  5587. 1096.91 s [opt-env-conf-test] then completeWithDasheds
  5588. 1096.91 s [opt-env-conf-test] else do
  5589. 1096.91 s [opt-env-conf-test] -- If we're not at the end, we may be between an option's
  5590. 1096.91 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:441:20-45
  5591. 1096.91 s [opt-env-conf-test] @@ -438,7 +438,7 @@
  5592. 1096.91 s [opt-env-conf-test] put as'
  5593. 1096.91 s [opt-env-conf-test] completeWithCompleterAtEnd
  5594. 1096.91 s [opt-env-conf-test] else
  5595. 1096.91 s [opt-env-conf-test] - if isJust settingSwitchValue
  5596. 1096.91 s [opt-env-conf-test] + if False
  5597. 1096.91 s [opt-env-conf-test] then do
  5598. 1096.91 s [opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
  5599. 1096.91 s [opt-env-conf-test] -- it's already been parsed.
  5600. 1096.91 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:441:20-45
  5601. 1096.91 s [opt-env-conf-test] @@ -438,7 +438,7 @@
  5602. 1096.91 s [opt-env-conf-test] put as'
  5603. 1096.91 s [opt-env-conf-test] completeWithCompleterAtEnd
  5604. 1096.91 s [opt-env-conf-test] else
  5605. 1096.91 s [opt-env-conf-test] - if isJust settingSwitchValue
  5606. 1096.91 s [opt-env-conf-test] + if not isJust settingSwitchValue
  5607. 1096.91 s [opt-env-conf-test] then do
  5608. 1096.91 s [opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
  5609. 1096.91 s [opt-env-conf-test] -- it's already been parsed.
  5610. 1096.91 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:179:27-35
  5611. 1096.91 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  5612. 1096.91 s [opt-env-conf-test] ( \Completion {..} ->
  5613. 1096.91 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  5614. 1096.91 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  5615. 1096.91 s [opt-env-conf-test] - in case (notFinal, completionDescription) of
  5616. 1096.91 s [opt-env-conf-test] + in case (False, completionDescription) of
  5617. 1096.91 s [opt-env-conf-test] (False, Nothing) -> val
  5618. 1096.91 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  5619. 1096.91 s [opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
  5620. 1096.92 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:179:27-35
  5621. 1096.92 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  5622. 1096.92 s [opt-env-conf-test] ( \Completion {..} ->
  5623. 1096.92 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  5624. 1096.92 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  5625. 1096.92 s [opt-env-conf-test] - in case (notFinal, completionDescription) of
  5626. 1096.92 s [opt-env-conf-test] + in case (not notFinal, completionDescription) of
  5627. 1096.92 s [opt-env-conf-test] (False, Nothing) -> val
  5628. 1096.92 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  5629. 1096.92 s [opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
  5630. 1096.92 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:178:32-99
  5631. 1096.92 s [opt-env-conf-test] @@ -175,7 +175,7 @@
  5632. 1096.92 s [opt-env-conf-test] map
  5633. 1096.92 s [opt-env-conf-test] ( \Completion {..} ->
  5634. 1096.92 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  5635. 1096.92 s [opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  5636. 1096.92 s [opt-env-conf-test] + notFinal = False
  5637. 1096.92 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  5638. 1096.92 s [opt-env-conf-test] (False, Nothing) -> val
  5639. 1096.92 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  5640. 1096.92 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
  5641. 1096.92 s [opt-env-conf-test] @@ -176,11 +176,10 @@
  5642. 1096.92 s [opt-env-conf-test] ( \Completion {..} ->
  5643. 1100.01 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  5644. 1100.02 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  5645. 1100.02 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  5646. 1100.02 s [opt-env-conf-test] (False, Nothing) -> val
  5647. 1100.02 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  5648. 1100.02 s [opt-env-conf-test] - (True, Nothing) -> val <> "\t\tN"
  5649. 1100.02 s [opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
  5650. 1100.02 s [opt-env-conf-test] )
  5651. 1100.02 s [opt-env-conf-test] evaluatedCompletions
  5652. 1100.02 s [opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
  5653. 1100.02 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:171:6-14
  5654. 1100.02 s [opt-env-conf-test] @@ -168,7 +168,7 @@
  5655. 1100.02 s [opt-env-conf-test] -- import System.IO
  5656. 1100.02 s [opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
  5657. 1100.02 s [opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
  5658. 1100.02 s [opt-env-conf-test] - if enriched
  5659. 1100.02 s [opt-env-conf-test] + if not enriched
  5660. 1100.02 s [opt-env-conf-test] then
  5661. 1100.02 s [opt-env-conf-test] putStr $
  5662. 1100.02 s [opt-env-conf-test] unlines $
  5663. 1100.02 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:178:32-99
  5664. 1100.02 s [opt-env-conf-test] @@ -175,7 +175,7 @@
  5665. 1100.02 s [opt-env-conf-test] map
  5666. 1100.02 s [opt-env-conf-test] ( \Completion {..} ->
  5667. 1100.02 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  5668. 1100.02 s [opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  5669. 1100.02 s [opt-env-conf-test] + notFinal = True
  5670. 1100.02 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  5671. 1100.02 s [opt-env-conf-test] (False, Nothing) -> val
  5672. 1100.02 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  5673. 1100.02 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completion.hs:163:17-18
  5674. 1100.02 s [opt-env-conf-test] @@ -160,7 +160,7 @@
  5675. 1100.02 s [opt-env-conf-test] --
  5676. 1100.02 s [opt-env-conf-test] -- We use 'drop 1' here because we don't care about the progname anymore.
  5677. 1100.02 s [opt-env-conf-test] let index = pred index'
  5678. 1100.02 s [opt-env-conf-test] - let ws = drop 1 ws'
  5679. 1100.02 s [opt-env-conf-test] + let ws = drop -1 ws'
  5680. 1100.02 s [opt-env-conf-test] let arg = fromMaybe "" $ listToMaybe $ drop index ws
  5681. 1100.02 s [opt-env-conf-test] let completions = pureCompletionQuery parser index ws
  5682. 1100.02 s [opt-env-conf-test] evaluatedCompletions <- evalCompletions arg completions
  5683. 1100.02 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:178:32-99
  5684. 1100.02 s [opt-env-conf-test] @@ -175,7 +175,7 @@
  5685. 1100.02 s [opt-env-conf-test] map
  5686. 1100.02 s [opt-env-conf-test] ( \Completion {..} ->
  5687. 1100.02 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  5688. 1100.02 s [opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  5689. 1100.02 s [opt-env-conf-test] + notFinal = not completionResultFinality completionSuggestion == CompletionNotFinal
  5690. 1100.02 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  5691. 1100.03 s [opt-env-conf-test] (False, Nothing) -> val
  5692. 1100.03 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  5693. 1100.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:171:6-14
  5694. 1100.03 s [opt-env-conf-test] @@ -168,7 +168,7 @@
  5695. 1100.03 s [opt-env-conf-test] -- import System.IO
  5696. 1100.03 s [opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
  5697. 1100.03 s [opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
  5698. 1100.03 s [opt-env-conf-test] - if enriched
  5699. 1100.03 s [opt-env-conf-test] + if False
  5700. 1100.03 s [opt-env-conf-test] then
  5701. 1100.03 s [opt-env-conf-test] putStr $
  5702. 1100.03 s [opt-env-conf-test] unlines $
  5703. 1100.03 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
  5704. 1100.03 s [opt-env-conf-test] @@ -64,46 +64,45 @@
  5705. 1100.03 s [opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
  5706. 1100.03 s [opt-env-conf-test] zshCompletionScript progPath progname =
  5707. 1100.03 s [opt-env-conf-test] unlines
  5708. 1100.03 s [opt-env-conf-test] - [ "#compdef " ++ progname,
  5709. 1100.03 s [opt-env-conf-test] "",
  5710. 1100.03 s [opt-env-conf-test] "local request",
  5711. 1100.03 s [opt-env-conf-test] "local completions",
  5712. 1100.03 s [opt-env-conf-test] "local word",
  5713. 1100.03 s [opt-env-conf-test] "local index=$((CURRENT - 1))",
  5714. 1100.03 s [opt-env-conf-test] "",
  5715. 1100.03 s [opt-env-conf-test] "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
  5716. 1100.03 s [opt-env-conf-test] "for arg in ${words[@]}; do",
  5717. 1100.03 s [opt-env-conf-test] " request=(${request[@]} --completion-word $arg)",
  5718. 1100.03 s [opt-env-conf-test] "done",
  5719. 1100.03 s [opt-env-conf-test] "",
  5720. 1100.03 s [opt-env-conf-test] "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
  5721. 1100.03 s [opt-env-conf-test] "",
  5722. 1100.03 s [opt-env-conf-test] "for word in $completions; do",
  5723. 1100.03 s [opt-env-conf-test] " local -a parts",
  5724. 1100.03 s [opt-env-conf-test] "",
  5725. 1100.03 s [opt-env-conf-test] " # Split the line at a tab if there is one.",
  5726. 1100.03 s [opt-env-conf-test] " IFS=$'\\t' parts=($( echo $word ))",
  5727. 1100.03 s [opt-env-conf-test] "",
  5728. 1100.03 s [opt-env-conf-test] " if [[ -n $parts[2] ]]; then",
  5729. 1100.03 s [opt-env-conf-test] " if [[ $word[1] == \"-\" ]]; then",
  5730. 1100.03 s [opt-env-conf-test] " local desc=(\"$parts[1] ($parts[2])\")",
  5731. 1100.03 s [opt-env-conf-test] " compadd -d desc -- $parts[1]",
  5732. 1100.03 s [opt-env-conf-test] " elif [[ $parts[3] == 'N' ]]; then",
  5733. 1100.03 s [opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
  5734. 1100.03 s [opt-env-conf-test] " compadd -f -l -S '' -d desc -- $parts[1]",
  5735. 1100.03 s [opt-env-conf-test] " else",
  5736. 1100.03 s [opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
  5737. 1100.03 s [opt-env-conf-test] " compadd -f -l -d desc -- $parts[1]",
  5738. 1100.03 s [opt-env-conf-test] " fi",
  5739. 1100.03 s [opt-env-conf-test] " else",
  5740. 1100.03 s [opt-env-conf-test] " if [[ $parts[3] == 'N' ]]; then",
  5741. 1100.03 s [opt-env-conf-test] " compadd -f -S '' -- $parts[1]",
  5742. 1100.03 s [opt-env-conf-test] " else",
  5743. 1100.03 s [opt-env-conf-test] " compadd -f -- $parts[1]",
  5744. 1100.03 s [opt-env-conf-test] " fi",
  5745. 1100.03 s [opt-env-conf-test] " fi",
  5746. 1100.03 s [opt-env-conf-test] "done"
  5747. 1100.03 s [opt-env-conf-test] ]
  5748. 1100.03 s [opt-env-conf-test]
  5749. 1100.03 s [opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
  5750. 1100.03 s [opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
  5751. 1100.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:171:6-14
  5752. 1100.03 s [opt-env-conf-test] @@ -168,7 +168,7 @@
  5753. 1100.03 s [opt-env-conf-test] -- import System.IO
  5754. 1100.03 s [opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
  5755. 1100.03 s [opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
  5756. 1100.03 s [opt-env-conf-test] - if enriched
  5757. 1100.03 s [opt-env-conf-test] + if True
  5758. 1100.03 s [opt-env-conf-test] then
  5759. 1100.03 s [opt-env-conf-test] putStr $
  5760. 1100.03 s [opt-env-conf-test] unlines $
  5761. 1100.03 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
  5762. 1100.03 s [opt-env-conf-test] @@ -40,22 +40,7 @@
  5763. 1100.03 s [opt-env-conf-test] bashCompletionScript progPath progname =
  5764. 1100.03 s [opt-env-conf-test] let functionName = progNameToFunctionName progname
  5765. 1100.03 s [opt-env-conf-test] in unlines
  5766. 1100.03 s [opt-env-conf-test] - [ functionName ++ "()",
  5767. 1100.03 s [opt-env-conf-test] - "{",
  5768. 1100.03 s [opt-env-conf-test] - " local CMDLINE",
  5769. 1100.03 s [opt-env-conf-test] - " local IFS=$'\\n'",
  5770. 1100.03 s [opt-env-conf-test] - " CMDLINE=(--query-opt-env-conf-completion)",
  5771. 1100.03 s [opt-env-conf-test] - " CMDLINE+=(--completion-index $COMP_CWORD)",
  5772. 1100.03 s [opt-env-conf-test] - "",
  5773. 1100.03 s [opt-env-conf-test] - " for arg in ${COMP_WORDS[@]}; do",
  5774. 1100.03 s [opt-env-conf-test] - " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
  5775. 1100.04 s [opt-env-conf-test] - " done",
  5776. 1100.04 s [opt-env-conf-test] - "",
  5777. 1100.04 s [opt-env-conf-test] - " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
  5778. 1100.04 s [opt-env-conf-test] - "}",
  5779. 1100.04 s [opt-env-conf-test] - "",
  5780. 1100.04 s [opt-env-conf-test] - "complete -o filenames -F " ++ functionName ++ " " ++ progname
  5781. 1100.04 s [opt-env-conf-test] ]
  5782. 1100.04 s [opt-env-conf-test]
  5783. 1100.04 s [opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
  5784. 1100.04 s [opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
  5785. 1100.04 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
  5786. 1100.04 s [opt-env-conf-test] @@ -40,22 +40,21 @@
  5787. 1100.04 s [opt-env-conf-test] bashCompletionScript progPath progname =
  5788. 1100.04 s [opt-env-conf-test] let functionName = progNameToFunctionName progname
  5789. 1100.04 s [opt-env-conf-test] in unlines
  5790. 1100.04 s [opt-env-conf-test] - [ functionName ++ "()",
  5791. 1100.04 s [opt-env-conf-test] "{",
  5792. 1100.04 s [opt-env-conf-test] " local CMDLINE",
  5793. 1100.04 s [opt-env-conf-test] " local IFS=$'\\n'",
  5794. 1100.04 s [opt-env-conf-test] " CMDLINE=(--query-opt-env-conf-completion)",
  5795. 1100.04 s [opt-env-conf-test] " CMDLINE+=(--completion-index $COMP_CWORD)",
  5796. 1100.04 s [opt-env-conf-test] "",
  5797. 1100.04 s [opt-env-conf-test] " for arg in ${COMP_WORDS[@]}; do",
  5798. 1100.04 s [opt-env-conf-test] " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
  5799. 1100.04 s [opt-env-conf-test] " done",
  5800. 1100.04 s [opt-env-conf-test] "",
  5801. 1100.04 s [opt-env-conf-test] " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
  5802. 1100.04 s [opt-env-conf-test] "}",
  5803. 1100.04 s [opt-env-conf-test] "",
  5804. 1100.04 s [opt-env-conf-test] "complete -o filenames -F " ++ functionName ++ " " ++ progname
  5805. 1100.04 s [opt-env-conf-test] ]
  5806. 1100.04 s [opt-env-conf-test]
  5807. 1100.04 s [opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
  5808. 1100.04 s [opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
  5809. 1100.04 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
  5810. 1100.04 s [opt-env-conf-test] @@ -64,46 +64,7 @@
  5811. 1100.04 s [opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
  5812. 1100.04 s [opt-env-conf-test] zshCompletionScript progPath progname =
  5813. 1100.04 s [opt-env-conf-test] unlines
  5814. 1100.04 s [opt-env-conf-test] - [ "#compdef " ++ progname,
  5815. 1100.04 s [opt-env-conf-test] - "",
  5816. 1100.04 s [opt-env-conf-test] - "local request",
  5817. 1100.04 s [opt-env-conf-test] - "local completions",
  5818. 1100.04 s [opt-env-conf-test] - "local word",
  5819. 1100.04 s [opt-env-conf-test] - "local index=$((CURRENT - 1))",
  5820. 1100.04 s [opt-env-conf-test] - "",
  5821. 1100.04 s [opt-env-conf-test] - "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
  5822. 1100.04 s [opt-env-conf-test] - "for arg in ${words[@]}; do",
  5823. 1100.04 s [opt-env-conf-test] - " request=(${request[@]} --completion-word $arg)",
  5824. 1100.04 s [opt-env-conf-test] - "done",
  5825. 1100.04 s [opt-env-conf-test] - "",
  5826. 1100.04 s [opt-env-conf-test] - "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
  5827. 1100.04 s [opt-env-conf-test] - "",
  5828. 1100.04 s [opt-env-conf-test] - "for word in $completions; do",
  5829. 1100.04 s [opt-env-conf-test] - " local -a parts",
  5830. 1100.04 s [opt-env-conf-test] - "",
  5831. 1100.04 s [opt-env-conf-test] - " # Split the line at a tab if there is one.",
  5832. 1100.04 s [opt-env-conf-test] - " IFS=$'\\t' parts=($( echo $word ))",
  5833. 1100.04 s [opt-env-conf-test] - "",
  5834. 1100.04 s [opt-env-conf-test] - " if [[ -n $parts[2] ]]; then",
  5835. 1100.04 s [opt-env-conf-test] - " if [[ $word[1] == \"-\" ]]; then",
  5836. 1100.04 s [opt-env-conf-test] - " local desc=(\"$parts[1] ($parts[2])\")",
  5837. 1100.04 s [opt-env-conf-test] - " compadd -d desc -- $parts[1]",
  5838. 1100.04 s [opt-env-conf-test] - " elif [[ $parts[3] == 'N' ]]; then",
  5839. 1100.04 s [opt-env-conf-test] - " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
  5840. 1100.04 s [opt-env-conf-test] - " compadd -f -l -S '' -d desc -- $parts[1]",
  5841. 1100.04 s [opt-env-conf-test] - " else",
  5842. 1100.04 s [opt-env-conf-test] - " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
  5843. 1100.04 s [opt-env-conf-test] - " compadd -f -l -d desc -- $parts[1]",
  5844. 1100.04 s [opt-env-conf-test] - " fi",
  5845. 1100.04 s [opt-env-conf-test] - " else",
  5846. 1100.04 s [opt-env-conf-test] - " if [[ $parts[3] == 'N' ]]; then",
  5847. 1100.04 s [opt-env-conf-test] - " compadd -f -S '' -- $parts[1]",
  5848. 1100.04 s [opt-env-conf-test] - " else",
  5849. 1100.04 s [opt-env-conf-test] - " compadd -f -- $parts[1]",
  5850. 1100.04 s [opt-env-conf-test] - " fi",
  5851. 1100.04 s [opt-env-conf-test] - " fi",
  5852. 1100.04 s [opt-env-conf-test] - "done"
  5853. 1100.04 s [opt-env-conf-test] ]
  5854. 1100.04 s [opt-env-conf-test]
  5855. 1100.04 s [opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
  5856. 1102.06 s [opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
  5857. 1102.06 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
  5858. 1102.12 s [opt-env-conf-test] @@ -40,22 +40,21 @@
  5859. 1102.12 s [opt-env-conf-test] bashCompletionScript progPath progname =
  5860. 1102.12 s [opt-env-conf-test] let functionName = progNameToFunctionName progname
  5861. 1102.12 s [opt-env-conf-test] in unlines
  5862. 1102.12 s [opt-env-conf-test] [ functionName ++ "()",
  5863. 1102.12 s [opt-env-conf-test] "{",
  5864. 1102.12 s [opt-env-conf-test] " local CMDLINE",
  5865. 1102.12 s [opt-env-conf-test] " local IFS=$'\\n'",
  5866. 1102.12 s [opt-env-conf-test] " CMDLINE=(--query-opt-env-conf-completion)",
  5867. 1102.12 s [opt-env-conf-test] " CMDLINE+=(--completion-index $COMP_CWORD)",
  5868. 1102.12 s [opt-env-conf-test] "",
  5869. 1102.13 s [opt-env-conf-test] " for arg in ${COMP_WORDS[@]}; do",
  5870. 1102.13 s [opt-env-conf-test] " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
  5871. 1102.13 s [opt-env-conf-test] " done",
  5872. 1102.13 s [opt-env-conf-test] "",
  5873. 1102.13 s [opt-env-conf-test] " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
  5874. 1102.13 s [opt-env-conf-test] "}",
  5875. 1102.13 s [opt-env-conf-test] "",
  5876. 1102.13 s [opt-env-conf-test] - "complete -o filenames -F " ++ functionName ++ " " ++ progname
  5877. 1102.13 s [opt-env-conf-test] ]
  5878. 1102.13 s [opt-env-conf-test]
  5879. 1102.13 s [opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
  5880. 1102.13 s [opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
  5881. 1102.13 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
  5882. 1102.13 s [opt-env-conf-test] @@ -113,27 +113,26 @@
  5883. 1102.13 s [opt-env-conf-test] fishCompletionScript progPath progname =
  5884. 1102.13 s [opt-env-conf-test] let functionName = progNameToFunctionName progname
  5885. 1102.13 s [opt-env-conf-test] in unlines
  5886. 1102.13 s [opt-env-conf-test] [ " function " ++ functionName,
  5887. 1102.13 s [opt-env-conf-test] " set -l cl (commandline --tokenize --current-process)",
  5888. 1102.13 s [opt-env-conf-test] " # Hack around fish issue #3934",
  5889. 1102.13 s [opt-env-conf-test] " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
  5890. 1102.13 s [opt-env-conf-test] " set -l cn (count $cn)",
  5891. 1102.13 s [opt-env-conf-test] " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
  5892. 1102.13 s [opt-env-conf-test] " for arg in $cl",
  5893. 1102.13 s [opt-env-conf-test] " set tmpline $tmpline --completion-word $arg",
  5894. 1102.13 s [opt-env-conf-test] " end",
  5895. 1102.13 s [opt-env-conf-test] " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
  5896. 1102.13 s [opt-env-conf-test] " set -l val (string split \\t -- $opt)[1]",
  5897. 1102.13 s [opt-env-conf-test] " if test -d $val",
  5898. 1102.13 s [opt-env-conf-test] " echo -E \"$val/\"",
  5899. 1102.13 s [opt-env-conf-test] " else",
  5900. 1102.13 s [opt-env-conf-test] " echo -E \"$val\"",
  5901. 1102.13 s [opt-env-conf-test] " end",
  5902. 1102.13 s [opt-env-conf-test] " end",
  5903. 1102.13 s [opt-env-conf-test] "end",
  5904. 1102.13 s [opt-env-conf-test] "",
  5905. 1102.13 s [opt-env-conf-test] - "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
  5906. 1102.13 s [opt-env-conf-test] ]
  5907. 1102.13 s [opt-env-conf-test]
  5908. 1102.13 s [opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
  5909. 1102.13 s [opt-env-conf-test] progNameToFunctionName :: String -> String
  5910. 1102.13 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
  5911. 1102.14 s [opt-env-conf-test] @@ -64,46 +64,45 @@
  5912. 1102.14 s [opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
  5913. 1102.14 s [opt-env-conf-test] zshCompletionScript progPath progname =
  5914. 1102.14 s [opt-env-conf-test] unlines
  5915. 1102.14 s [opt-env-conf-test] [ "#compdef " ++ progname,
  5916. 1102.14 s [opt-env-conf-test] "",
  5917. 1102.14 s [opt-env-conf-test] "local request",
  5918. 1102.14 s [opt-env-conf-test] "local completions",
  5919. 1102.14 s [opt-env-conf-test] "local word",
  5920. 1102.14 s [opt-env-conf-test] "local index=$((CURRENT - 1))",
  5921. 1102.14 s [opt-env-conf-test] "",
  5922. 1102.14 s [opt-env-conf-test] "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
  5923. 1102.14 s [opt-env-conf-test] "for arg in ${words[@]}; do",
  5924. 1102.14 s [opt-env-conf-test] " request=(${request[@]} --completion-word $arg)",
  5925. 1102.14 s [opt-env-conf-test] "done",
  5926. 1102.14 s [opt-env-conf-test] "",
  5927. 1102.14 s [opt-env-conf-test] "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
  5928. 1102.14 s [opt-env-conf-test] "",
  5929. 1102.14 s [opt-env-conf-test] "for word in $completions; do",
  5930. 1102.14 s [opt-env-conf-test] " local -a parts",
  5931. 1102.14 s [opt-env-conf-test] "",
  5932. 1102.14 s [opt-env-conf-test] " # Split the line at a tab if there is one.",
  5933. 1102.14 s [opt-env-conf-test] " IFS=$'\\t' parts=($( echo $word ))",
  5934. 1102.14 s [opt-env-conf-test] "",
  5935. 1102.14 s [opt-env-conf-test] " if [[ -n $parts[2] ]]; then",
  5936. 1102.14 s [opt-env-conf-test] " if [[ $word[1] == \"-\" ]]; then",
  5937. 1102.14 s [opt-env-conf-test] " local desc=(\"$parts[1] ($parts[2])\")",
  5938. 1102.14 s [opt-env-conf-test] " compadd -d desc -- $parts[1]",
  5939. 1102.14 s [opt-env-conf-test] " elif [[ $parts[3] == 'N' ]]; then",
  5940. 1102.14 s [opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
  5941. 1102.14 s [opt-env-conf-test] " compadd -f -l -S '' -d desc -- $parts[1]",
  5942. 1102.14 s [opt-env-conf-test] " else",
  5943. 1102.14 s [opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
  5944. 1102.14 s [opt-env-conf-test] " compadd -f -l -d desc -- $parts[1]",
  5945. 1102.14 s [opt-env-conf-test] " fi",
  5946. 1102.14 s [opt-env-conf-test] " else",
  5947. 1102.14 s [opt-env-conf-test] " if [[ $parts[3] == 'N' ]]; then",
  5948. 1102.14 s [opt-env-conf-test] " compadd -f -S '' -- $parts[1]",
  5949. 1102.14 s [opt-env-conf-test] " else",
  5950. 1102.14 s [opt-env-conf-test] " compadd -f -- $parts[1]",
  5951. 1102.14 s [opt-env-conf-test] " fi",
  5952. 1102.14 s [opt-env-conf-test] " fi",
  5953. 1102.14 s [opt-env-conf-test] - "done"
  5954. 1102.14 s [opt-env-conf-test] ]
  5955. 1102.14 s [opt-env-conf-test]
  5956. 1102.14 s [opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
  5957. 1102.14 s [opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
  5958. 1102.14 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
  5959. 1102.14 s [opt-env-conf-test] @@ -113,27 +113,7 @@
  5960. 1102.14 s [opt-env-conf-test] fishCompletionScript progPath progname =
  5961. 1102.14 s [opt-env-conf-test] let functionName = progNameToFunctionName progname
  5962. 1102.14 s [opt-env-conf-test] in unlines
  5963. 1102.14 s [opt-env-conf-test] - [ " function " ++ functionName,
  5964. 1102.14 s [opt-env-conf-test] - " set -l cl (commandline --tokenize --current-process)",
  5965. 1102.14 s [opt-env-conf-test] - " # Hack around fish issue #3934",
  5966. 1102.14 s [opt-env-conf-test] - " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
  5967. 1102.14 s [opt-env-conf-test] - " set -l cn (count $cn)",
  5968. 1102.14 s [opt-env-conf-test] - " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
  5969. 1102.14 s [opt-env-conf-test] - " for arg in $cl",
  5970. 1102.14 s [opt-env-conf-test] - " set tmpline $tmpline --completion-word $arg",
  5971. 1102.14 s [opt-env-conf-test] - " end",
  5972. 1102.14 s [opt-env-conf-test] - " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
  5973. 1102.14 s [opt-env-conf-test] - " set -l val (string split \\t -- $opt)[1]",
  5974. 1102.14 s [opt-env-conf-test] - " if test -d $val",
  5975. 1102.14 s [opt-env-conf-test] - " echo -E \"$val/\"",
  5976. 1102.14 s [opt-env-conf-test] - " else",
  5977. 1102.14 s [opt-env-conf-test] - " echo -E \"$val\"",
  5978. 1102.14 s [opt-env-conf-test] - " end",
  5979. 1102.14 s [opt-env-conf-test] - " end",
  5980. 1102.14 s [opt-env-conf-test] - "end",
  5981. 1102.15 s [opt-env-conf-test] - "",
  5982. 1102.15 s [opt-env-conf-test] - "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
  5983. 1102.15 s [opt-env-conf-test] ]
  5984. 1102.15 s [opt-env-conf-test]
  5985. 1102.15 s [opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
  5986. 1102.15 s [opt-env-conf-test] progNameToFunctionName :: String -> String
  5987. 1102.15 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
  5988. 1102.15 s [opt-env-conf-test] @@ -113,27 +113,26 @@
  5989. 1102.15 s [opt-env-conf-test] fishCompletionScript progPath progname =
  5990. 1102.15 s [opt-env-conf-test] let functionName = progNameToFunctionName progname
  5991. 1102.15 s [opt-env-conf-test] in unlines
  5992. 1102.15 s [opt-env-conf-test] - [ " function " ++ functionName,
  5993. 1102.15 s [opt-env-conf-test] " set -l cl (commandline --tokenize --current-process)",
  5994. 1102.15 s [opt-env-conf-test] " # Hack around fish issue #3934",
  5995. 1102.15 s [opt-env-conf-test] " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
  5996. 1102.15 s [opt-env-conf-test] " set -l cn (count $cn)",
  5997. 1102.15 s [opt-env-conf-test] " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
  5998. 1102.15 s [opt-env-conf-test] " for arg in $cl",
  5999. 1102.15 s [opt-env-conf-test] " set tmpline $tmpline --completion-word $arg",
  6000. 1102.15 s [opt-env-conf-test] " end",
  6001. 1102.15 s [opt-env-conf-test] " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
  6002. 1102.15 s [opt-env-conf-test] " set -l val (string split \\t -- $opt)[1]",
  6003. 1102.15 s [opt-env-conf-test] " if test -d $val",
  6004. 1102.15 s [opt-env-conf-test] " echo -E \"$val/\"",
  6005. 1102.15 s [opt-env-conf-test] " else",
  6006. 1102.15 s [opt-env-conf-test] " echo -E \"$val\"",
  6007. 1102.15 s [opt-env-conf-test] " end",
  6008. 1102.15 s [opt-env-conf-test] " end",
  6009. 1102.15 s [opt-env-conf-test] "end",
  6010. 1102.15 s [opt-env-conf-test] "",
  6011. 1102.15 s [opt-env-conf-test] "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
  6012. 1102.15 s [opt-env-conf-test] ]
  6013. 1102.15 s [opt-env-conf-test]
  6014. 1102.15 s [opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
  6015. 1102.15 s [opt-env-conf-test] progNameToFunctionName :: String -> String
  6016. 1102.15 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
  6017. 1102.15 s [opt-env-conf-test] @@ -176,11 +176,10 @@
  6018. 1102.15 s [opt-env-conf-test] ( \Completion {..} ->
  6019. 1102.15 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  6020. 1102.15 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  6021. 1102.15 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  6022. 1102.15 s [opt-env-conf-test] (False, Nothing) -> val
  6023. 1102.15 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  6024. 1102.15 s [opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
  6025. 1102.15 s [opt-env-conf-test] - (True, Just d) -> val <> "\t" <> d <> "\tN"
  6026. 1102.15 s [opt-env-conf-test] )
  6027. 1102.15 s [opt-env-conf-test] evaluatedCompletions
  6028. 1102.15 s [opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
  6029. 1102.15 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
  6030. 1102.15 s [opt-env-conf-test] @@ -176,11 +176,10 @@
  6031. 1102.15 s [opt-env-conf-test] ( \Completion {..} ->
  6032. 1102.15 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  6033. 1102.15 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  6034. 1102.15 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  6035. 1106.15 s [opt-env-conf-test] (False, Nothing) -> val
  6036. 1106.15 s [opt-env-conf-test] - (False, Just d) -> val <> "\t" <> d
  6037. 1106.15 s [opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
  6038. 1106.15 s [opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
  6039. 1106.15 s [opt-env-conf-test] )
  6040. 1106.15 s [opt-env-conf-test] evaluatedCompletions
  6041. 1106.15 s [opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
  6042. 1106.15 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:179:27-35
  6043. 1106.15 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  6044. 1106.15 s [opt-env-conf-test] ( \Completion {..} ->
  6045. 1106.15 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  6046. 1106.15 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  6047. 1106.15 s [opt-env-conf-test] - in case (notFinal, completionDescription) of
  6048. 1106.15 s [opt-env-conf-test] + in case (True, completionDescription) of
  6049. 1106.15 s [opt-env-conf-test] (False, Nothing) -> val
  6050. 1106.15 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  6051. 1106.15 s [opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
  6052. 1106.15 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:703:13-68
  6053. 1106.15 s [opt-env-conf-test] @@ -700,9 +700,8 @@
  6054. 1106.15 s [opt-env-conf-test] [] -> (Nothing, [])
  6055. 1106.15 s [opt-env-conf-test] (b : bs) ->
  6056. 1106.15 s [opt-env-conf-test] let (mDefault, cs) = go bs
  6057. 1106.15 s [opt-env-conf-test] in case b of
  6058. 1106.16 s [opt-env-conf-test] CommandsBuilderCommand c -> (mDefault, c : cs)
  6059. 1106.16 s [opt-env-conf-test] - CommandsBuilderDefault d -> (mDefault <|> Just d, cs)
  6060. 1106.16 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  6061. 1106.16 s [opt-env-conf-test]
  6062. 1106.16 s [opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
  6063. 1106.16 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:686:41-45
  6064. 1106.16 s [opt-env-conf-test] @@ -683,7 +683,7 @@
  6065. 1106.16 s [opt-env-conf-test]
  6066. 1106.16 s [opt-env-conf-test] -- | Like 'checkMapIO', but allow trying the other side of any alternative if the result is Nothing.
  6067. 1106.16 s [opt-env-conf-test] checkMapIOForgivable :: (HasCallStack) => (a -> IO (Either String b)) -> Parser a -> Parser b
  6068. 1106.16 s [opt-env-conf-test] -checkMapIOForgivable = ParserCheck mLoc True Set.empty
  6069. 1106.16 s [opt-env-conf-test] +checkMapIOForgivable = ParserCheck mLoc False Set.empty
  6070. 1106.16 s [opt-env-conf-test] where
  6071. 1106.16 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  6072. 1106.16 s [opt-env-conf-test]
  6073. 1106.16 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:674:15-28
  6074. 1106.16 s [opt-env-conf-test] @@ -671,9 +671,8 @@
  6075. 1106.16 s [opt-env-conf-test] checkMapMaybeForgivable func p =
  6076. 1106.16 s [opt-env-conf-test] withFrozenCallStack $
  6077. 1106.16 s [opt-env-conf-test] checkMapEitherForgivable
  6078. 1106.16 s [opt-env-conf-test] ( \a -> case func a of
  6079. 1106.16 s [opt-env-conf-test] - Nothing -> Left "checkMapMaybeForgivable failed without a helpful error message"
  6080. 1106.16 s [opt-env-conf-test] Just b -> Right b
  6081. 1106.16 s [opt-env-conf-test] )
  6082. 1106.16 s [opt-env-conf-test] p
  6083. 1106.16 s [opt-env-conf-test]
  6084. 1106.16 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
  6085. 1106.16 s [opt-env-conf-test] @@ -176,11 +176,10 @@
  6086. 1106.16 s [opt-env-conf-test] ( \Completion {..} ->
  6087. 1106.16 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  6088. 1106.16 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  6089. 1106.16 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  6090. 1106.17 s [opt-env-conf-test] - (False, Nothing) -> val
  6091. 1106.17 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  6092. 1106.17 s [opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
  6093. 1106.17 s [opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
  6094. 1106.17 s [opt-env-conf-test] )
  6095. 1106.17 s [opt-env-conf-test] evaluatedCompletions
  6096. 1106.17 s [opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
  6097. 1106.17 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:674:15-28
  6098. 1106.17 s [opt-env-conf-test] @@ -671,9 +671,8 @@
  6099. 1106.17 s [opt-env-conf-test] checkMapMaybeForgivable func p =
  6100. 1106.17 s [opt-env-conf-test] withFrozenCallStack $
  6101. 1106.17 s [opt-env-conf-test] checkMapEitherForgivable
  6102. 1106.17 s [opt-env-conf-test] ( \a -> case func a of
  6103. 1106.17 s [opt-env-conf-test] Nothing -> Left "checkMapMaybeForgivable failed without a helpful error message"
  6104. 1106.17 s [opt-env-conf-test] - Just b -> Right b
  6105. 1106.17 s [opt-env-conf-test] )
  6106. 1106.17 s [opt-env-conf-test] p
  6107. 1106.17 s [opt-env-conf-test]
  6108. 1106.17 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:703:13-68
  6109. 1106.17 s [opt-env-conf-test] @@ -700,9 +700,8 @@
  6110. 1106.17 s [opt-env-conf-test] [] -> (Nothing, [])
  6111. 1106.17 s [opt-env-conf-test] (b : bs) ->
  6112. 1106.17 s [opt-env-conf-test] let (mDefault, cs) = go bs
  6113. 1106.17 s [opt-env-conf-test] in case b of
  6114. 1106.17 s [opt-env-conf-test] - CommandsBuilderCommand c -> (mDefault, c : cs)
  6115. 1106.17 s [opt-env-conf-test] CommandsBuilderDefault d -> (mDefault <|> Just d, cs)
  6116. 1106.17 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  6117. 1106.17 s [opt-env-conf-test]
  6118. 1106.17 s [opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
  6119. 1106.17 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1173:64-74
  6120. 1106.17 s [opt-env-conf-test] @@ -1170,7 +1170,7 @@
  6121. 1106.17 s [opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
  6122. 1106.17 s [opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
  6123. 1106.18 s [opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
  6124. 1106.18 s [opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing forgivable caps f (go p)
  6125. 1106.18 s [opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing True caps f (go p)
  6126. 1106.18 s [opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
  6127. 1106.18 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
  6128. 1106.18 s [opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
  6129. 1106.18 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:1173:64-74
  6130. 1106.18 s [opt-env-conf-test] @@ -1170,7 +1170,7 @@
  6131. 1106.18 s [opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
  6132. 1106.18 s [opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
  6133. 1106.18 s [opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
  6134. 1106.18 s [opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing forgivable caps f (go p)
  6135. 1106.18 s [opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing not forgivable caps f (go p)
  6136. 1106.18 s [opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
  6137. 1106.18 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
  6138. 1106.18 s [opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
  6139. 1106.18 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1173:64-74
  6140. 1106.18 s [opt-env-conf-test] @@ -1170,7 +1170,7 @@
  6141. 1106.18 s [opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
  6142. 1106.18 s [opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
  6143. 1106.18 s [opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
  6144. 1106.18 s [opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing forgivable caps f (go p)
  6145. 1106.18 s [opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing False caps f (go p)
  6146. 1106.18 s [opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
  6147. 1106.18 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
  6148. 1106.18 s [opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
  6149. 1106.18 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:1210:64-74
  6150. 1106.18 s [opt-env-conf-test] @@ -1207,7 +1207,7 @@
  6151. 1106.18 s [opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
  6152. 1106.18 s [opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
  6153. 1106.18 s [opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
  6154. 1106.18 s [opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc forgivable caps f <$> go p
  6155. 1106.18 s [opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc not forgivable caps f <$> go p
  6156. 1106.18 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
  6157. 1106.18 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
  6158. 1106.18 s [opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
  6159. 1106.18 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1210:64-74
  6160. 1106.18 s [opt-env-conf-test] @@ -1207,7 +1207,7 @@
  6161. 1106.18 s [opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
  6162. 1106.18 s [opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
  6163. 1106.18 s [opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
  6164. 1106.18 s [opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc forgivable caps f <$> go p
  6165. 1106.18 s [opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc False caps f <$> go p
  6166. 1106.18 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
  6167. 1106.19 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
  6168. 1106.19 s [opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
  6169. 1106.19 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:663:23-33
  6170. 1106.19 s [opt-env-conf-test] @@ -660,7 +660,7 @@
  6171. 1106.19 s [opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
  6172. 1106.19 s [opt-env-conf-test] checkWithRequiredCapability capName = \case
  6173. 1106.19 s [opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
  6174. 1106.19 s [opt-env-conf-test] - ParserCheck mLoc' forgivable (Set.insert cap caps) f p
  6175. 1106.19 s [opt-env-conf-test] + ParserCheck mLoc' False (Set.insert cap caps) f p
  6176. 1106.19 s [opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
  6177. 1106.19 s [opt-env-conf-test] where
  6178. 1106.19 s [opt-env-conf-test] cap = Capability (T.pack capName)
  6179. 1106.19 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1210:64-74
  6180. 1106.19 s [opt-env-conf-test] @@ -1207,7 +1207,7 @@
  6181. 1106.19 s [opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
  6182. 1106.19 s [opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
  6183. 1106.19 s [opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
  6184. 1110.43 s [opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc forgivable caps f <$> go p
  6185. 1110.51 s [opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc True caps f <$> go p
  6186. 1110.51 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
  6187. 1110.51 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
  6188. 1110.51 s [opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
  6189. 1110.51 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
  6190. 1110.52 s [opt-env-conf-test] @@ -559,9 +559,8 @@
  6191. 1110.52 s [opt-env-conf-test] ParserCheck {} -> p'
  6192. 1110.52 s [opt-env-conf-test] ParserCommands {} -> p'
  6193. 1110.52 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6194. 1110.52 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6195. 1110.52 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6196. 1110.52 s [opt-env-conf-test] - Just _ -> p
  6197. 1110.52 s [opt-env-conf-test]
  6198. 1110.52 s [opt-env-conf-test] -- | Try a list of parsers in order
  6199. 1110.52 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6200. 1110.52 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6201. 1110.52 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6202. 1110.52 s [opt-env-conf-test] where
  6203. 1110.52 s [opt-env-conf-test] go p =
  6204. 1110.52 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6205. 1110.52 s [opt-env-conf-test] in case p of
  6206. 1110.52 s [opt-env-conf-test] ParserPure a -> ParserPure a
  6207. 1110.52 s [opt-env-conf-test] - ParserAp {} -> p'
  6208. 1110.52 s [opt-env-conf-test] ParserSelect {} -> p'
  6209. 1110.52 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  6210. 1110.52 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6211. 1110.52 s [opt-env-conf-test] ParserMany {} -> p'
  6212. 1110.52 s [opt-env-conf-test] ParserSome {} -> p'
  6213. 1110.52 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  6214. 1110.52 s [opt-env-conf-test] ParserCheck {} -> p'
  6215. 1110.52 s [opt-env-conf-test] ParserCommands {} -> p'
  6216. 1110.52 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6217. 1110.52 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6218. 1110.52 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6219. 1110.52 s [opt-env-conf-test] Just _ -> p
  6220. 1110.52 s [opt-env-conf-test]
  6221. 1110.52 s [opt-env-conf-test] -- | Try a list of parsers in order
  6222. 1110.52 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6223. 1110.52 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6224. 1110.52 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6225. 1110.52 s [opt-env-conf-test] where
  6226. 1110.52 s [opt-env-conf-test] go p =
  6227. 1110.52 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6228. 1110.52 s [opt-env-conf-test] in case p of
  6229. 1110.52 s [opt-env-conf-test] ParserPure a -> ParserPure a
  6230. 1110.52 s [opt-env-conf-test] ParserAp {} -> p'
  6231. 1110.52 s [opt-env-conf-test] - ParserSelect {} -> p'
  6232. 1110.52 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  6233. 1110.52 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6234. 1110.52 s [opt-env-conf-test] ParserMany {} -> p'
  6235. 1110.52 s [opt-env-conf-test] ParserSome {} -> p'
  6236. 1110.52 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  6237. 1110.52 s [opt-env-conf-test] ParserCheck {} -> p'
  6238. 1110.52 s [opt-env-conf-test] ParserCommands {} -> p'
  6239. 1110.52 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6240. 1110.52 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6241. 1110.52 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6242. 1110.52 s [opt-env-conf-test] Just _ -> p
  6243. 1110.52 s [opt-env-conf-test]
  6244. 1110.52 s [opt-env-conf-test] -- | Try a list of parsers in order
  6245. 1110.52 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6246. 1110.52 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6247. 1110.52 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6248. 1110.52 s [opt-env-conf-test] where
  6249. 1110.52 s [opt-env-conf-test] go p =
  6250. 1110.52 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6251. 1110.52 s [opt-env-conf-test] in case p of
  6252. 1110.52 s [opt-env-conf-test] - ParserPure a -> ParserPure a
  6253. 1110.52 s [opt-env-conf-test] ParserAp {} -> p'
  6254. 1110.52 s [opt-env-conf-test] ParserSelect {} -> p'
  6255. 1110.52 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  6256. 1110.52 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6257. 1110.52 s [opt-env-conf-test] ParserMany {} -> p'
  6258. 1110.52 s [opt-env-conf-test] ParserSome {} -> p'
  6259. 1110.52 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  6260. 1110.52 s [opt-env-conf-test] ParserCheck {} -> p'
  6261. 1110.52 s [opt-env-conf-test] ParserCommands {} -> p'
  6262. 1110.52 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6263. 1110.52 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6264. 1110.52 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6265. 1110.52 s [opt-env-conf-test] Just _ -> p
  6266. 1110.52 s [opt-env-conf-test]
  6267. 1110.52 s [opt-env-conf-test] -- | Try a list of parsers in order
  6268. 1110.52 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6269. 1110.52 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6270. 1110.52 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6271. 1110.52 s [opt-env-conf-test] where
  6272. 1110.52 s [opt-env-conf-test] go p =
  6273. 1110.52 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6274. 1110.52 s [opt-env-conf-test] in case p of
  6275. 1110.52 s [opt-env-conf-test] ParserPure a -> ParserPure a
  6276. 1110.52 s [opt-env-conf-test] ParserAp {} -> p'
  6277. 1110.52 s [opt-env-conf-test] ParserSelect {} -> p'
  6278. 1110.52 s [opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
  6279. 1110.52 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6280. 1110.52 s [opt-env-conf-test] ParserMany {} -> p'
  6281. 1110.52 s [opt-env-conf-test] ParserSome {} -> p'
  6282. 1110.52 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  6283. 1110.52 s [opt-env-conf-test] ParserCheck {} -> p'
  6284. 1110.52 s [opt-env-conf-test] ParserCommands {} -> p'
  6285. 1110.52 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6286. 1110.52 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6287. 1110.52 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6288. 1110.52 s [opt-env-conf-test] Just _ -> p
  6289. 1110.52 s [opt-env-conf-test]
  6290. 1110.52 s [opt-env-conf-test] -- | Try a list of parsers in order
  6291. 1110.52 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6292. 1110.52 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6293. 1110.52 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6294. 1110.52 s [opt-env-conf-test] where
  6295. 1110.52 s [opt-env-conf-test] go p =
  6296. 1110.52 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6297. 1110.52 s [opt-env-conf-test] in case p of
  6298. 1110.52 s [opt-env-conf-test] ParserPure a -> ParserPure a
  6299. 1110.52 s [opt-env-conf-test] ParserAp {} -> p'
  6300. 1110.53 s [opt-env-conf-test] ParserSelect {} -> p'
  6301. 1110.53 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  6302. 1110.53 s [opt-env-conf-test] - ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6303. 1110.53 s [opt-env-conf-test] ParserMany {} -> p'
  6304. 1110.53 s [opt-env-conf-test] ParserSome {} -> p'
  6305. 1110.53 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  6306. 1110.53 s [opt-env-conf-test] ParserCheck {} -> p'
  6307. 1110.53 s [opt-env-conf-test] ParserCommands {} -> p'
  6308. 1110.53 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6309. 1110.53 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6310. 1110.53 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6311. 1110.53 s [opt-env-conf-test] Just _ -> p
  6312. 1110.53 s [opt-env-conf-test]
  6313. 1110.53 s [opt-env-conf-test] -- | Try a list of parsers in order
  6314. 1110.53 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6315. 1110.53 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6316. 1110.53 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6317. 1110.53 s [opt-env-conf-test] where
  6318. 1110.53 s [opt-env-conf-test] go p =
  6319. 1110.53 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6320. 1110.53 s [opt-env-conf-test] in case p of
  6321. 1110.53 s [opt-env-conf-test] ParserPure a -> ParserPure a
  6322. 1110.53 s [opt-env-conf-test] ParserAp {} -> p'
  6323. 1110.53 s [opt-env-conf-test] ParserSelect {} -> p'
  6324. 1110.53 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  6325. 1110.53 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6326. 1110.53 s [opt-env-conf-test] - ParserMany {} -> p'
  6327. 1110.53 s [opt-env-conf-test] ParserSome {} -> p'
  6328. 1110.53 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  6329. 1110.53 s [opt-env-conf-test] ParserCheck {} -> p'
  6330. 1110.53 s [opt-env-conf-test] ParserCommands {} -> p'
  6331. 1110.53 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6332. 1110.53 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6333. 1110.53 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6334. 1110.53 s [opt-env-conf-test] Just _ -> p
  6335. 1110.53 s [opt-env-conf-test]
  6336. 1110.53 s [opt-env-conf-test] -- | Try a list of parsers in order
  6337. 1110.53 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6338. 1110.53 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6339. 1110.53 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6340. 1110.53 s [opt-env-conf-test] where
  6341. 1110.53 s [opt-env-conf-test] go p =
  6342. 1110.53 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6343. 1110.53 s [opt-env-conf-test] in case p of
  6344. 1110.53 s [opt-env-conf-test] ParserPure a -> ParserPure a
  6345. 1110.53 s [opt-env-conf-test] ParserAp {} -> p'
  6346. 1110.53 s [opt-env-conf-test] ParserSelect {} -> p'
  6347. 1110.53 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  6348. 1110.53 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6349. 1110.53 s [opt-env-conf-test] ParserMany {} -> p'
  6350. 1110.53 s [opt-env-conf-test] - ParserSome {} -> p'
  6351. 1110.53 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  6352. 1110.53 s [opt-env-conf-test] ParserCheck {} -> p'
  6353. 1110.53 s [opt-env-conf-test] ParserCommands {} -> p'
  6354. 1110.53 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6355. 1110.53 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6356. 1110.53 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6357. 1110.53 s [opt-env-conf-test] Just _ -> p
  6358. 1110.53 s [opt-env-conf-test]
  6359. 1110.53 s [opt-env-conf-test] -- | Try a list of parsers in order
  6360. 1110.53 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6361. 1110.53 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6362. 1110.53 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6363. 1110.53 s [opt-env-conf-test] where
  6364. 1110.53 s [opt-env-conf-test] go p =
  6365. 1110.53 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6366. 1110.53 s [opt-env-conf-test] in case p of
  6367. 1110.53 s [opt-env-conf-test] ParserPure a -> ParserPure a
  6368. 1110.53 s [opt-env-conf-test] ParserAp {} -> p'
  6369. 1110.53 s [opt-env-conf-test] ParserSelect {} -> p'
  6370. 1110.53 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  6371. 1110.53 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6372. 1110.53 s [opt-env-conf-test] ParserMany {} -> p'
  6373. 1110.53 s [opt-env-conf-test] ParserSome {} -> p'
  6374. 1110.53 s [opt-env-conf-test] - ParserAllOrNothing {} -> p'
  6375. 1110.53 s [opt-env-conf-test] ParserCheck {} -> p'
  6376. 1110.53 s [opt-env-conf-test] ParserCommands {} -> p'
  6377. 1110.53 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6378. 1110.53 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6379. 1110.53 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6380. 1118.08 s [opt-env-conf-test] Just _ -> p
  6381. 1118.08 s [opt-env-conf-test]
  6382. 1118.08 s [opt-env-conf-test] -- | Try a list of parsers in order
  6383. 1118.10 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6384. 1118.10 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6385. 1118.10 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6386. 1118.10 s [opt-env-conf-test] where
  6387. 1118.11 s [opt-env-conf-test] go p =
  6388. 1118.11 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6389. 1118.11 s [opt-env-conf-test] in case p of
  6390. 1118.11 s [opt-env-conf-test] ParserPure a -> ParserPure a
  6391. 1118.11 s [opt-env-conf-test] ParserAp {} -> p'
  6392. 1118.11 s [opt-env-conf-test] ParserSelect {} -> p'
  6393. 1118.11 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  6394. 1118.11 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6395. 1118.11 s [opt-env-conf-test] ParserMany {} -> p'
  6396. 1118.11 s [opt-env-conf-test] ParserSome {} -> p'
  6397. 1118.11 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  6398. 1118.11 s [opt-env-conf-test] - ParserCheck {} -> p'
  6399. 1118.11 s [opt-env-conf-test] ParserCommands {} -> p'
  6400. 1118.11 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6401. 1118.11 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6402. 1118.11 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6403. 1118.11 s [opt-env-conf-test] Just _ -> p
  6404. 1118.11 s [opt-env-conf-test]
  6405. 1118.11 s [opt-env-conf-test] -- | Try a list of parsers in order
  6406. 1118.12 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6407. 1118.12 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6408. 1118.12 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6409. 1118.12 s [opt-env-conf-test] where
  6410. 1118.12 s [opt-env-conf-test] go p =
  6411. 1118.12 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6412. 1118.12 s [opt-env-conf-test] in case p of
  6413. 1118.12 s [opt-env-conf-test] ParserPure a -> ParserPure a
  6414. 1118.12 s [opt-env-conf-test] ParserAp {} -> p'
  6415. 1118.12 s [opt-env-conf-test] ParserSelect {} -> p'
  6416. 1118.12 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  6417. 1118.12 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6418. 1118.12 s [opt-env-conf-test] ParserMany {} -> p'
  6419. 1118.12 s [opt-env-conf-test] ParserSome {} -> p'
  6420. 1118.12 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  6421. 1118.12 s [opt-env-conf-test] ParserCheck {} -> p'
  6422. 1118.12 s [opt-env-conf-test] - ParserCommands {} -> p'
  6423. 1118.12 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6424. 1118.12 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6425. 1118.12 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6426. 1118.12 s [opt-env-conf-test] Just _ -> p
  6427. 1118.12 s [opt-env-conf-test]
  6428. 1118.12 s [opt-env-conf-test] -- | Try a list of parsers in order
  6429. 1118.12 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6430. 1118.12 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6431. 1118.12 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6432. 1118.12 s [opt-env-conf-test] where
  6433. 1118.12 s [opt-env-conf-test] go p =
  6434. 1118.12 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6435. 1118.12 s [opt-env-conf-test] in case p of
  6436. 1118.12 s [opt-env-conf-test] ParserPure a -> ParserPure a
  6437. 1118.13 s [opt-env-conf-test] ParserAp {} -> p'
  6438. 1118.13 s [opt-env-conf-test] ParserSelect {} -> p'
  6439. 1118.13 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  6440. 1118.13 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6441. 1118.13 s [opt-env-conf-test] ParserMany {} -> p'
  6442. 1118.13 s [opt-env-conf-test] ParserSome {} -> p'
  6443. 1118.13 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  6444. 1118.13 s [opt-env-conf-test] ParserCheck {} -> p'
  6445. 1118.13 s [opt-env-conf-test] ParserCommands {} -> p'
  6446. 1118.13 s [opt-env-conf-test] - ParserWithConfig {} -> p'
  6447. 1118.13 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6448. 1118.13 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6449. 1118.13 s [opt-env-conf-test] Just _ -> p
  6450. 1118.13 s [opt-env-conf-test]
  6451. 1118.13 s [opt-env-conf-test] -- | Try a list of parsers in order
  6452. 1118.13 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6453. 1118.13 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6454. 1118.13 s [opt-env-conf-test] @@ -547,21 +547,18 @@
  6455. 1118.13 s [opt-env-conf-test] where
  6456. 1118.13 s [opt-env-conf-test] go p =
  6457. 1118.13 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6458. 1118.13 s [opt-env-conf-test] in case p of
  6459. 1118.13 s [opt-env-conf-test] ParserPure a -> ParserPure a
  6460. 1118.13 s [opt-env-conf-test] ParserAp {} -> p'
  6461. 1118.13 s [opt-env-conf-test] ParserSelect {} -> p'
  6462. 1118.13 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  6463. 1118.13 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6464. 1118.13 s [opt-env-conf-test] ParserMany {} -> p'
  6465. 1118.13 s [opt-env-conf-test] ParserSome {} -> p'
  6466. 1118.13 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  6467. 1118.13 s [opt-env-conf-test] ParserCheck {} -> p'
  6468. 1118.13 s [opt-env-conf-test] ParserCommands {} -> p'
  6469. 1118.13 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6470. 1118.13 s [opt-env-conf-test] - ParserSetting mLoc s -> case settingDefaultValue s of
  6471. 1118.13 s [opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6472. 1118.14 s [opt-env-conf-test] - Just _ -> p
  6473. 1118.14 s [opt-env-conf-test]
  6474. 1118.14 s [opt-env-conf-test] -- | Try a list of parsers in order
  6475. 1118.14 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6476. 1118.14 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
  6477. 1118.14 s [opt-env-conf-test] @@ -874,13 +874,7 @@
  6478. 1118.14 s [opt-env-conf-test] withFrozenCallStack $
  6479. 1118.14 s [opt-env-conf-test] choice $
  6480. 1118.14 s [opt-env-conf-test] catMaybes
  6481. 1118.14 s [opt-env-conf-test] - [ Just parseDummy,
  6482. 1118.14 s [opt-env-conf-test] - Just parseDisableSwitch,
  6483. 1118.14 s [opt-env-conf-test] - Just parseEnableSwitch,
  6484. 1118.14 s [opt-env-conf-test] - parseEnv,
  6485. 1118.14 s [opt-env-conf-test] - parseConfigVal,
  6486. 1118.14 s [opt-env-conf-test] - parseDefaultVal
  6487. 1118.14 s [opt-env-conf-test] ]
  6488. 1118.14 s [opt-env-conf-test] where
  6489. 1118.14 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  6490. 1118.14 s [opt-env-conf-test] s = buildSetting builders
  6491. 1118.14 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
  6492. 1118.14 s [opt-env-conf-test] @@ -874,13 +874,12 @@
  6493. 1118.14 s [opt-env-conf-test] withFrozenCallStack $
  6494. 1118.14 s [opt-env-conf-test] choice $
  6495. 1118.14 s [opt-env-conf-test] catMaybes
  6496. 1118.14 s [opt-env-conf-test] - [ Just parseDummy,
  6497. 1118.14 s [opt-env-conf-test] Just parseDisableSwitch,
  6498. 1118.14 s [opt-env-conf-test] Just parseEnableSwitch,
  6499. 1118.14 s [opt-env-conf-test] parseEnv,
  6500. 1118.14 s [opt-env-conf-test] parseConfigVal,
  6501. 1118.14 s [opt-env-conf-test] parseDefaultVal
  6502. 1118.14 s [opt-env-conf-test] ]
  6503. 1118.14 s [opt-env-conf-test] where
  6504. 1118.14 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  6505. 1118.14 s [opt-env-conf-test] s = buildSetting builders
  6506. 1118.14 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
  6507. 1118.14 s [opt-env-conf-test] @@ -874,13 +874,12 @@
  6508. 1118.14 s [opt-env-conf-test] withFrozenCallStack $
  6509. 1118.14 s [opt-env-conf-test] choice $
  6510. 1118.14 s [opt-env-conf-test] catMaybes
  6511. 1118.14 s [opt-env-conf-test] [ Just parseDummy,
  6512. 1118.14 s [opt-env-conf-test] Just parseDisableSwitch,
  6513. 1118.14 s [opt-env-conf-test] Just parseEnableSwitch,
  6514. 1118.14 s [opt-env-conf-test] parseEnv,
  6515. 1118.14 s [opt-env-conf-test] parseConfigVal,
  6516. 1118.14 s [opt-env-conf-test] - parseDefaultVal
  6517. 1118.14 s [opt-env-conf-test] ]
  6518. 1118.14 s [opt-env-conf-test] where
  6519. 1118.14 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  6520. 1118.14 s [opt-env-conf-test] s = buildSetting builders
  6521. 1118.14 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:890:19-21
  6522. 1118.14 s [opt-env-conf-test] @@ -887,7 +887,7 @@
  6523. 1118.14 s [opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
  6524. 1118.14 s [opt-env-conf-test] parseDefaultVal = do
  6525. 1118.15 s [opt-env-conf-test] (dv, _) <- settingDefaultValue s
  6526. 1118.15 s [opt-env-conf-test] - pure $ pure dv
  6527. 1118.15 s [opt-env-conf-test] + pure $ pure True
  6528. 1118.15 s [opt-env-conf-test]
  6529. 1118.15 s [opt-env-conf-test] parseEnableSwitch :: Parser Bool
  6530. 1118.15 s [opt-env-conf-test] parseEnableSwitch =
  6531. 1118.15 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:890:19-21
  6532. 1118.15 s [opt-env-conf-test] @@ -887,7 +887,7 @@
  6533. 1118.15 s [opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
  6534. 1118.15 s [opt-env-conf-test] parseDefaultVal = do
  6535. 1118.15 s [opt-env-conf-test] (dv, _) <- settingDefaultValue s
  6536. 1118.15 s [opt-env-conf-test] - pure $ pure dv
  6537. 1118.15 s [opt-env-conf-test] + pure $ pure False
  6538. 1118.15 s [opt-env-conf-test]
  6539. 1118.15 s [opt-env-conf-test] parseEnableSwitch :: Parser Bool
  6540. 1118.15 s [opt-env-conf-test] parseEnableSwitch =
  6541. 1118.15 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:890:19-21
  6542. 1118.15 s [opt-env-conf-test] @@ -887,7 +887,7 @@
  6543. 1118.15 s [opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
  6544. 1118.15 s [opt-env-conf-test] parseDefaultVal = do
  6545. 1118.15 s [opt-env-conf-test] (dv, _) <- settingDefaultValue s
  6546. 1118.15 s [opt-env-conf-test] - pure $ pure dv
  6547. 1118.15 s [opt-env-conf-test] + pure $ pure not dv
  6548. 1118.15 s [opt-env-conf-test]
  6549. 1118.15 s [opt-env-conf-test] parseEnableSwitch :: Parser Bool
  6550. 1118.15 s [opt-env-conf-test] parseEnableSwitch =
  6551. 1118.15 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:898:34-39
  6552. 1118.15 s [opt-env-conf-test] @@ -895,7 +895,7 @@
  6553. 1118.15 s [opt-env-conf-test] Setting
  6554. 1118.15 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
  6555. 1118.15 s [opt-env-conf-test] settingReaders = [],
  6556. 1118.15 s [opt-env-conf-test] - settingTryArgument = False,
  6557. 1118.15 s [opt-env-conf-test] + settingTryArgument = True,
  6558. 1118.15 s [opt-env-conf-test] settingSwitchValue = Just True,
  6559. 1118.15 s [opt-env-conf-test] settingTryOption = False,
  6560. 1118.15 s [opt-env-conf-test] settingEnvVars = Nothing,
  6561. 1118.15 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:899:39-43
  6562. 1118.15 s [opt-env-conf-test] @@ -896,7 +896,7 @@
  6563. 1118.15 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
  6564. 1118.15 s [opt-env-conf-test] settingReaders = [],
  6565. 1118.15 s [opt-env-conf-test] settingTryArgument = False,
  6566. 1118.15 s [opt-env-conf-test] - settingSwitchValue = Just True,
  6567. 1118.15 s [opt-env-conf-test] + settingSwitchValue = Just False,
  6568. 1118.15 s [opt-env-conf-test] settingTryOption = False,
  6569. 1118.15 s [opt-env-conf-test] settingEnvVars = Nothing,
  6570. 1118.15 s [opt-env-conf-test] settingConfigVals = Nothing,
  6571. 1118.15 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:900:32-37
  6572. 1118.15 s [opt-env-conf-test] @@ -897,7 +897,7 @@
  6573. 1118.15 s [opt-env-conf-test] settingReaders = [],
  6574. 1118.15 s [opt-env-conf-test] settingTryArgument = False,
  6575. 1118.15 s [opt-env-conf-test] settingSwitchValue = Just True,
  6576. 1118.15 s [opt-env-conf-test] - settingTryOption = False,
  6577. 1118.16 s [opt-env-conf-test] + settingTryOption = True,
  6578. 1118.16 s [opt-env-conf-test] settingEnvVars = Nothing,
  6579. 1118.16 s [opt-env-conf-test] settingConfigVals = Nothing,
  6580. 1118.16 s [opt-env-conf-test] settingDefaultValue = Nothing,
  6581. 1118.16 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:905:29-33
  6582. 1118.16 s [opt-env-conf-test] @@ -902,7 +902,7 @@
  6583. 1118.16 s [opt-env-conf-test] settingConfigVals = Nothing,
  6584. 1118.16 s [opt-env-conf-test] settingDefaultValue = Nothing,
  6585. 1118.16 s [opt-env-conf-test] settingExamples = [],
  6586. 1118.16 s [opt-env-conf-test] - settingHidden = True,
  6587. 1118.16 s [opt-env-conf-test] + settingHidden = False,
  6588. 1118.16 s [opt-env-conf-test] settingMetavar = Nothing,
  6589. 1118.16 s [opt-env-conf-test] settingHelp = Nothing,
  6590. 1118.16 s [opt-env-conf-test] settingCompleter = Nothing,
  6591. 1118.16 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:917:34-39
  6592. 1118.16 s [opt-env-conf-test] @@ -914,7 +914,7 @@
  6593. 1118.16 s [opt-env-conf-test] Setting
  6594. 1118.16 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
  6595. 1118.16 s [opt-env-conf-test] settingReaders = [],
  6596. 1121.39 s [opt-env-conf-test] - settingTryArgument = False,
  6597. 1121.39 s [opt-env-conf-test] + settingTryArgument = True,
  6598. 1121.39 s [opt-env-conf-test] settingSwitchValue = Just False,
  6599. 1121.39 s [opt-env-conf-test] settingTryOption = False,
  6600. 1121.39 s [opt-env-conf-test] settingEnvVars = Nothing,
  6601. 1121.39 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:918:39-44
  6602. 1121.39 s [opt-env-conf-test] @@ -915,7 +915,7 @@
  6603. 1121.39 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
  6604. 1121.39 s [opt-env-conf-test] settingReaders = [],
  6605. 1121.39 s [opt-env-conf-test] settingTryArgument = False,
  6606. 1121.39 s [opt-env-conf-test] - settingSwitchValue = Just False,
  6607. 1121.39 s [opt-env-conf-test] + settingSwitchValue = Just True,
  6608. 1121.39 s [opt-env-conf-test] settingTryOption = False,
  6609. 1121.39 s [opt-env-conf-test] settingEnvVars = Nothing,
  6610. 1121.39 s [opt-env-conf-test] settingConfigVals = Nothing,
  6611. 1121.40 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:919:32-37
  6612. 1121.40 s [opt-env-conf-test] @@ -916,7 +916,7 @@
  6613. 1121.40 s [opt-env-conf-test] settingReaders = [],
  6614. 1121.40 s [opt-env-conf-test] settingTryArgument = False,
  6615. 1121.40 s [opt-env-conf-test] settingSwitchValue = Just False,
  6616. 1121.40 s [opt-env-conf-test] - settingTryOption = False,
  6617. 1121.40 s [opt-env-conf-test] + settingTryOption = True,
  6618. 1121.40 s [opt-env-conf-test] settingEnvVars = Nothing,
  6619. 1121.40 s [opt-env-conf-test] settingConfigVals = Nothing,
  6620. 1121.40 s [opt-env-conf-test] settingDefaultValue = Nothing,
  6621. 1121.40 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:924:29-33
  6622. 1121.40 s [opt-env-conf-test] @@ -921,7 +921,7 @@
  6623. 1121.40 s [opt-env-conf-test] settingConfigVals = Nothing,
  6624. 1121.40 s [opt-env-conf-test] settingDefaultValue = Nothing,
  6625. 1121.40 s [opt-env-conf-test] settingExamples = [],
  6626. 1121.40 s [opt-env-conf-test] - settingHidden = True,
  6627. 1121.40 s [opt-env-conf-test] + settingHidden = False,
  6628. 1121.40 s [opt-env-conf-test] settingMetavar = Nothing,
  6629. 1121.40 s [opt-env-conf-test] settingHelp = Nothing,
  6630. 1121.40 s [opt-env-conf-test] settingCompleter = Nothing,
  6631. 1121.40 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:939:36-41
  6632. 1121.40 s [opt-env-conf-test] @@ -936,7 +936,7 @@
  6633. 1121.40 s [opt-env-conf-test] Setting
  6634. 1121.40 s [opt-env-conf-test] { settingDasheds = [],
  6635. 1121.41 s [opt-env-conf-test] settingReaders = (auto :: Reader Bool) : settingReaders s,
  6636. 1121.41 s [opt-env-conf-test] - settingTryArgument = False,
  6637. 1121.41 s [opt-env-conf-test] + settingTryArgument = True,
  6638. 1121.41 s [opt-env-conf-test] settingSwitchValue = Nothing,
  6639. 1121.41 s [opt-env-conf-test] settingTryOption = False,
  6640. 1121.41 s [opt-env-conf-test] settingEnvVars = Just ne,
  6641. 1121.41 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:941:34-39
  6642. 1121.41 s [opt-env-conf-test] @@ -938,7 +938,7 @@
  6643. 1121.41 s [opt-env-conf-test] settingReaders = (auto :: Reader Bool) : settingReaders s,
  6644. 1121.41 s [opt-env-conf-test] settingTryArgument = False,
  6645. 1121.41 s [opt-env-conf-test] settingSwitchValue = Nothing,
  6646. 1121.41 s [opt-env-conf-test] - settingTryOption = False,
  6647. 1121.41 s [opt-env-conf-test] + settingTryOption = True,
  6648. 1121.41 s [opt-env-conf-test] settingEnvVars = Just ne,
  6649. 1121.41 s [opt-env-conf-test] settingConfigVals = Nothing,
  6650. 1121.41 s [opt-env-conf-test] settingDefaultValue = Nothing,
  6651. 1121.41 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:946:31-36
  6652. 1121.41 s [opt-env-conf-test] @@ -943,7 +943,7 @@
  6653. 1121.41 s [opt-env-conf-test] settingConfigVals = Nothing,
  6654. 1121.41 s [opt-env-conf-test] settingDefaultValue = Nothing,
  6655. 1121.41 s [opt-env-conf-test] settingExamples = [],
  6656. 1121.41 s [opt-env-conf-test] - settingHidden = False,
  6657. 1121.41 s [opt-env-conf-test] + settingHidden = True,
  6658. 1121.42 s [opt-env-conf-test] settingMetavar = Just "BOOL",
  6659. 1121.42 s [opt-env-conf-test] settingHelp = settingHelp s,
  6660. 1121.42 s [opt-env-conf-test] settingCompleter = Nothing,
  6661. 1121.42 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:960:36-41
  6662. 1121.42 s [opt-env-conf-test] @@ -957,7 +957,7 @@
  6663. 1121.42 s [opt-env-conf-test] Setting
  6664. 1121.42 s [opt-env-conf-test] { settingDasheds = [],
  6665. 1121.42 s [opt-env-conf-test] settingReaders = [],
  6666. 1121.42 s [opt-env-conf-test] - settingTryArgument = False,
  6667. 1121.42 s [opt-env-conf-test] + settingTryArgument = True,
  6668. 1121.42 s [opt-env-conf-test] settingSwitchValue = Nothing,
  6669. 1121.42 s [opt-env-conf-test] settingTryOption = False,
  6670. 1121.42 s [opt-env-conf-test] settingEnvVars = Nothing,
  6671. 1121.42 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:962:34-39
  6672. 1121.42 s [opt-env-conf-test] @@ -959,7 +959,7 @@
  6673. 1121.42 s [opt-env-conf-test] settingReaders = [],
  6674. 1121.42 s [opt-env-conf-test] settingTryArgument = False,
  6675. 1121.42 s [opt-env-conf-test] settingSwitchValue = Nothing,
  6676. 1121.42 s [opt-env-conf-test] - settingTryOption = False,
  6677. 1121.42 s [opt-env-conf-test] + settingTryOption = True,
  6678. 1121.42 s [opt-env-conf-test] settingEnvVars = Nothing,
  6679. 1121.42 s [opt-env-conf-test] settingConfigVals = Just ne,
  6680. 1121.42 s [opt-env-conf-test] settingDefaultValue = Nothing,
  6681. 1121.42 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:967:31-36
  6682. 1121.42 s [opt-env-conf-test] @@ -964,7 +964,7 @@
  6683. 1121.42 s [opt-env-conf-test] settingConfigVals = Just ne,
  6684. 1121.42 s [opt-env-conf-test] settingDefaultValue = Nothing,
  6685. 1121.42 s [opt-env-conf-test] settingExamples = [],
  6686. 1121.43 s [opt-env-conf-test] - settingHidden = False,
  6687. 1121.43 s [opt-env-conf-test] + settingHidden = True,
  6688. 1121.43 s [opt-env-conf-test] settingMetavar = Nothing,
  6689. 1121.43 s [opt-env-conf-test] settingHelp = settingHelp s,
  6690. 1121.43 s [opt-env-conf-test] settingCompleter = Nothing,
  6691. 1121.43 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:979:34-39
  6692. 1121.43 s [opt-env-conf-test] @@ -976,7 +976,7 @@
  6693. 1121.43 s [opt-env-conf-test] Setting
  6694. 1121.43 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
  6695. 1121.43 s [opt-env-conf-test] settingReaders = [],
  6696. 1121.43 s [opt-env-conf-test] - settingTryArgument = False,
  6697. 1121.43 s [opt-env-conf-test] + settingTryArgument = True,
  6698. 1121.43 s [opt-env-conf-test] settingSwitchValue = Just True, -- Unused
  6699. 1121.43 s [opt-env-conf-test] settingTryOption = False,
  6700. 1121.43 s [opt-env-conf-test] settingEnvVars = Nothing,
  6701. 1121.43 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:980:39-43
  6702. 1121.43 s [opt-env-conf-test] @@ -977,7 +977,7 @@
  6703. 1121.43 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
  6704. 1121.43 s [opt-env-conf-test] settingReaders = [],
  6705. 1121.43 s [opt-env-conf-test] settingTryArgument = False,
  6706. 1121.43 s [opt-env-conf-test] - settingSwitchValue = Just True, -- Unused
  6707. 1121.43 s [opt-env-conf-test] + settingSwitchValue = Just False, -- Unused
  6708. 1121.43 s [opt-env-conf-test] settingTryOption = False,
  6709. 1121.43 s [opt-env-conf-test] settingEnvVars = Nothing,
  6710. 1121.43 s [opt-env-conf-test] settingConfigVals = Nothing,
  6711. 1121.43 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:981:32-37
  6712. 1121.43 s [opt-env-conf-test] @@ -978,7 +978,7 @@
  6713. 1121.43 s [opt-env-conf-test] settingReaders = [],
  6714. 1121.43 s [opt-env-conf-test] settingTryArgument = False,
  6715. 1121.43 s [opt-env-conf-test] settingSwitchValue = Just True, -- Unused
  6716. 1121.43 s [opt-env-conf-test] - settingTryOption = False,
  6717. 1121.43 s [opt-env-conf-test] + settingTryOption = True,
  6718. 1121.43 s [opt-env-conf-test] settingEnvVars = Nothing,
  6719. 1121.43 s [opt-env-conf-test] settingConfigVals = Nothing,
  6720. 1121.43 s [opt-env-conf-test] settingDefaultValue = Nothing,
  6721. 1121.43 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:986:29-34
  6722. 1121.43 s [opt-env-conf-test] @@ -983,7 +983,7 @@
  6723. 1121.43 s [opt-env-conf-test] settingConfigVals = Nothing,
  6724. 1121.43 s [opt-env-conf-test] settingDefaultValue = Nothing,
  6725. 1121.43 s [opt-env-conf-test] settingExamples = [],
  6726. 1121.43 s [opt-env-conf-test] - settingHidden = False,
  6727. 1121.43 s [opt-env-conf-test] + settingHidden = True,
  6728. 1121.43 s [opt-env-conf-test] settingMetavar = Nothing,
  6729. 1121.43 s [opt-env-conf-test] settingHelp = settingHelp s,
  6730. 1121.43 s [opt-env-conf-test] settingCompleter = Nothing,
  6731. 1121.43 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
  6732. 1121.43 s [opt-env-conf-test] @@ -1027,7 +1027,6 @@
  6733. 1121.43 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  6734. 1121.43 s [opt-env-conf-test] b = mconcat $ bs ++ [reader str]
  6735. 1121.44 s [opt-env-conf-test] bareSetting p f = do
  6736. 1121.44 s [opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
  6737. 1121.44 s [opt-env-conf-test] guard $ p s
  6738. 1121.44 s [opt-env-conf-test] pure $
  6739. 1121.44 s [opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
  6740. 1121.44 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
  6741. 1121.44 s [opt-env-conf-test] @@ -1027,7 +1027,6 @@
  6742. 1121.44 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  6743. 1121.44 s [opt-env-conf-test] b = mconcat $ bs ++ [reader str]
  6744. 1121.44 s [opt-env-conf-test] bareSetting p f = do
  6745. 1121.44 s [opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
  6746. 1121.44 s [opt-env-conf-test] guard $ p s
  6747. 1121.44 s [opt-env-conf-test] pure $
  6748. 1121.44 s [opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
  6749. 1121.44 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
  6750. 1121.44 s [opt-env-conf-test] @@ -480,10 +480,7 @@
  6751. 1121.44 s [opt-env-conf-test] withFrozenCallStack $
  6752. 1121.44 s [opt-env-conf-test] setting $
  6753. 1121.44 s [opt-env-conf-test] builders
  6754. 1121.44 s [opt-env-conf-test] - ++ [ reader str,
  6755. 1121.44 s [opt-env-conf-test] - metavar "FILE_PATH",
  6756. 1121.44 s [opt-env-conf-test] - completer filePath
  6757. 1121.44 s [opt-env-conf-test] ]
  6758. 1121.44 s [opt-env-conf-test]
  6759. 1121.44 s [opt-env-conf-test] -- | A setting for @Path Abs dir@.
  6760. 1121.44 s [opt-env-conf-test] --
  6761. 1121.44 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:829:41-58
  6762. 1121.44 s [opt-env-conf-test] @@ -826,7 +826,6 @@
  6763. 1121.44 s [opt-env-conf-test] long "config-file",
  6764. 1121.44 s [opt-env-conf-test] env "CONFIG_FILE",
  6765. 1121.44 s [opt-env-conf-test] help "Path to the configuration file",
  6766. 1121.44 s [opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
  6767. 1121.44 s [opt-env-conf-test] ]
  6768. 1121.44 s [opt-env-conf-test]
  6769. 1121.44 s [opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
  6770. 1121.44 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
  6771. 1121.44 s [opt-env-conf-test] @@ -480,10 +480,9 @@
  6772. 1121.44 s [opt-env-conf-test] withFrozenCallStack $
  6773. 1121.44 s [opt-env-conf-test] setting $
  6774. 1121.44 s [opt-env-conf-test] builders
  6775. 1121.44 s [opt-env-conf-test] - ++ [ reader str,
  6776. 1121.44 s [opt-env-conf-test] metavar "FILE_PATH",
  6777. 1121.44 s [opt-env-conf-test] completer filePath
  6778. 1121.44 s [opt-env-conf-test] ]
  6779. 1121.44 s [opt-env-conf-test]
  6780. 1121.44 s [opt-env-conf-test] -- | A setting for @Path Abs dir@.
  6781. 1121.44 s [opt-env-conf-test] --
  6782. 1121.44 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
  6783. 1121.44 s [opt-env-conf-test] @@ -1016,13 +1016,12 @@
  6784. 1121.44 s [opt-env-conf-test] withFrozenCallStack $
  6785. 1121.44 s [opt-env-conf-test] choice $
  6786. 1121.44 s [opt-env-conf-test] catMaybes
  6787. 1121.44 s [opt-env-conf-test] [ bareOption,
  6788. 1121.44 s [opt-env-conf-test] fileOption,
  6789. 1121.44 s [opt-env-conf-test] bareEnv,
  6790. 1121.44 s [opt-env-conf-test] fileEnv,
  6791. 1121.44 s [opt-env-conf-test] bareConf,
  6792. 1121.44 s [opt-env-conf-test] - fileConf
  6793. 1121.44 s [opt-env-conf-test] ]
  6794. 1121.44 s [opt-env-conf-test] where
  6795. 1123.81 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  6796. 1123.89 s [opt-env-conf-test] b = mconcat $ bs ++ [reader str]
  6797. 1123.89 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:829:41-58
  6798. 1123.89 s [opt-env-conf-test] @@ -826,7 +826,6 @@
  6799. 1123.89 s [opt-env-conf-test] long "config-file",
  6800. 1123.89 s [opt-env-conf-test] env "CONFIG_FILE",
  6801. 1123.89 s [opt-env-conf-test] help "Path to the configuration file",
  6802. 1123.89 s [opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
  6803. 1123.89 s [opt-env-conf-test] ]
  6804. 1123.89 s [opt-env-conf-test]
  6805. 1123.89 s [opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
  6806. 1123.90 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
  6807. 1123.90 s [opt-env-conf-test] @@ -480,10 +480,9 @@
  6808. 1123.90 s [opt-env-conf-test] withFrozenCallStack $
  6809. 1123.90 s [opt-env-conf-test] setting $
  6810. 1123.90 s [opt-env-conf-test] builders
  6811. 1123.90 s [opt-env-conf-test] ++ [ reader str,
  6812. 1123.90 s [opt-env-conf-test] metavar "FILE_PATH",
  6813. 1123.90 s [opt-env-conf-test] - completer filePath
  6814. 1123.90 s [opt-env-conf-test] ]
  6815. 1123.90 s [opt-env-conf-test]
  6816. 1123.90 s [opt-env-conf-test] -- | A setting for @Path Abs dir@.
  6817. 1123.90 s [opt-env-conf-test] --
  6818. 1123.90 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
  6819. 1123.90 s [opt-env-conf-test] @@ -822,12 +822,7 @@
  6820. 1123.90 s [opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
  6821. 1123.90 s [opt-env-conf-test] configuredConfigFile =
  6822. 1123.90 s [opt-env-conf-test] filePathSetting
  6823. 1123.90 s [opt-env-conf-test] - [ option,
  6824. 1123.90 s [opt-env-conf-test] - long "config-file",
  6825. 1123.90 s [opt-env-conf-test] - env "CONFIG_FILE",
  6826. 1123.90 s [opt-env-conf-test] - help "Path to the configuration file",
  6827. 1123.90 s [opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
  6828. 1123.90 s [opt-env-conf-test] ]
  6829. 1123.90 s [opt-env-conf-test]
  6830. 1123.90 s [opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
  6831. 1123.90 s [opt-env-conf-test] --
  6832. 1123.91 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
  6833. 1123.91 s [opt-env-conf-test] @@ -822,12 +822,11 @@
  6834. 1123.91 s [opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
  6835. 1123.91 s [opt-env-conf-test] configuredConfigFile =
  6836. 1123.91 s [opt-env-conf-test] filePathSetting
  6837. 1123.91 s [opt-env-conf-test] [ option,
  6838. 1123.91 s [opt-env-conf-test] long "config-file",
  6839. 1123.91 s [opt-env-conf-test] env "CONFIG_FILE",
  6840. 1123.91 s [opt-env-conf-test] help "Path to the configuration file",
  6841. 1123.91 s [opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
  6842. 1123.91 s [opt-env-conf-test] ]
  6843. 1123.91 s [opt-env-conf-test]
  6844. 1123.91 s [opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
  6845. 1123.91 s [opt-env-conf-test] --
  6846. 1123.91 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
  6847. 1123.91 s [opt-env-conf-test] @@ -497,10 +497,7 @@
  6848. 1123.91 s [opt-env-conf-test] withFrozenCallStack $
  6849. 1123.91 s [opt-env-conf-test] setting $
  6850. 1123.91 s [opt-env-conf-test] builders
  6851. 1123.91 s [opt-env-conf-test] - ++ [ reader str,
  6852. 1123.91 s [opt-env-conf-test] - metavar "DIRECTORY_PATH",
  6853. 1123.91 s [opt-env-conf-test] - completer directoryPath
  6854. 1123.91 s [opt-env-conf-test] ]
  6855. 1123.91 s [opt-env-conf-test]
  6856. 1123.91 s [opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
  6857. 1123.91 s [opt-env-conf-test] --
  6858. 1123.91 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
  6859. 1123.91 s [opt-env-conf-test] @@ -497,10 +497,9 @@
  6860. 1123.91 s [opt-env-conf-test] withFrozenCallStack $
  6861. 1123.91 s [opt-env-conf-test] setting $
  6862. 1123.91 s [opt-env-conf-test] builders
  6863. 1123.91 s [opt-env-conf-test] - ++ [ reader str,
  6864. 1123.91 s [opt-env-conf-test] metavar "DIRECTORY_PATH",
  6865. 1123.91 s [opt-env-conf-test] completer directoryPath
  6866. 1123.91 s [opt-env-conf-test] ]
  6867. 1123.91 s [opt-env-conf-test]
  6868. 1123.91 s [opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
  6869. 1123.91 s [opt-env-conf-test] --
  6870. 1123.91 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
  6871. 1123.91 s [opt-env-conf-test] @@ -497,10 +497,9 @@
  6872. 1123.91 s [opt-env-conf-test] withFrozenCallStack $
  6873. 1123.91 s [opt-env-conf-test] setting $
  6874. 1123.91 s [opt-env-conf-test] builders
  6875. 1123.91 s [opt-env-conf-test] ++ [ reader str,
  6876. 1123.91 s [opt-env-conf-test] metavar "DIRECTORY_PATH",
  6877. 1123.91 s [opt-env-conf-test] - completer directoryPath
  6878. 1123.91 s [opt-env-conf-test] ]
  6879. 1123.91 s [opt-env-conf-test]
  6880. 1123.92 s [opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
  6881. 1123.92 s [opt-env-conf-test] --
  6882. 1123.92 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:788:19-38
  6883. 1123.92 s [opt-env-conf-test] @@ -785,11 +785,10 @@
  6884. 1123.92 s [opt-env-conf-test] xdgYamlConfigFile subdir =
  6885. 1123.92 s [opt-env-conf-test] mapIO
  6886. 1123.92 s [opt-env-conf-test] ( \mXdgDir -> do
  6887. 1123.92 s [opt-env-conf-test] xdgDir <- case mXdgDir of
  6888. 1123.92 s [opt-env-conf-test] - Just d -> resolveDir' d
  6889. 1123.92 s [opt-env-conf-test] Nothing -> do
  6890. 1123.92 s [opt-env-conf-test] home <- getHomeDir
  6891. 1123.92 s [opt-env-conf-test] resolveDir home ".config"
  6892. 1123.92 s [opt-env-conf-test] configDir <- resolveDir xdgDir subdir
  6893. 1123.92 s [opt-env-conf-test] resolveFile configDir "config.yaml"
  6894. 1123.92 s [opt-env-conf-test] )
  6895. 1123.92 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
  6896. 1123.92 s [opt-env-conf-test] @@ -1016,13 +1016,12 @@
  6897. 1123.92 s [opt-env-conf-test] withFrozenCallStack $
  6898. 1123.92 s [opt-env-conf-test] choice $
  6899. 1123.92 s [opt-env-conf-test] catMaybes
  6900. 1123.92 s [opt-env-conf-test] - [ bareOption,
  6901. 1123.92 s [opt-env-conf-test] fileOption,
  6902. 1123.92 s [opt-env-conf-test] bareEnv,
  6903. 1123.92 s [opt-env-conf-test] fileEnv,
  6904. 1123.92 s [opt-env-conf-test] bareConf,
  6905. 1123.92 s [opt-env-conf-test] fileConf
  6906. 1123.92 s [opt-env-conf-test] ]
  6907. 1123.92 s [opt-env-conf-test] where
  6908. 1123.92 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  6909. 1123.92 s [opt-env-conf-test] b = mconcat $ bs ++ [reader str]
  6910. 1123.92 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
  6911. 1123.92 s [opt-env-conf-test] @@ -822,12 +822,11 @@
  6912. 1123.92 s [opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
  6913. 1123.92 s [opt-env-conf-test] configuredConfigFile =
  6914. 1123.92 s [opt-env-conf-test] filePathSetting
  6915. 1123.92 s [opt-env-conf-test] - [ option,
  6916. 1123.92 s [opt-env-conf-test] long "config-file",
  6917. 1123.92 s [opt-env-conf-test] env "CONFIG_FILE",
  6918. 1123.92 s [opt-env-conf-test] help "Path to the configuration file",
  6919. 1123.92 s [opt-env-conf-test] completer (filePathWithExtensions [".yaml", ".yml"])
  6920. 1123.92 s [opt-env-conf-test] ]
  6921. 1123.92 s [opt-env-conf-test]
  6922. 1123.92 s [opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
  6923. 1123.92 s [opt-env-conf-test] --
  6924. 1123.92 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
  6925. 1123.92 s [opt-env-conf-test] @@ -796,12 +796,7 @@
  6926. 1123.92 s [opt-env-conf-test] $ optional
  6927. 1123.92 s [opt-env-conf-test] $ withFrozenCallStack
  6928. 1123.93 s [opt-env-conf-test] $ setting
  6929. 1123.93 s [opt-env-conf-test] - [ help "Path to the XDG configuration directory",
  6930. 1123.93 s [opt-env-conf-test] - reader str,
  6931. 1123.93 s [opt-env-conf-test] - env "XDG_CONFIG_HOME",
  6932. 1123.93 s [opt-env-conf-test] - metavar "DIRECTORY",
  6933. 1123.93 s [opt-env-conf-test] - hidden
  6934. 1123.93 s [opt-env-conf-test] ]
  6935. 1123.93 s [opt-env-conf-test]
  6936. 1123.93 s [opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
  6937. 1123.93 s [opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
  6938. 1123.93 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:788:19-38
  6939. 1123.93 s [opt-env-conf-test] @@ -785,11 +785,8 @@
  6940. 1123.93 s [opt-env-conf-test] xdgYamlConfigFile subdir =
  6941. 1123.93 s [opt-env-conf-test] mapIO
  6942. 1123.93 s [opt-env-conf-test] ( \mXdgDir -> do
  6943. 1123.93 s [opt-env-conf-test] xdgDir <- case mXdgDir of
  6944. 1123.93 s [opt-env-conf-test] Just d -> resolveDir' d
  6945. 1123.93 s [opt-env-conf-test] - Nothing -> do
  6946. 1123.93 s [opt-env-conf-test] - home <- getHomeDir
  6947. 1123.93 s [opt-env-conf-test] - resolveDir home ".config"
  6948. 1123.93 s [opt-env-conf-test] configDir <- resolveDir xdgDir subdir
  6949. 1123.93 s [opt-env-conf-test] resolveFile configDir "config.yaml"
  6950. 1123.93 s [opt-env-conf-test] )
  6951. 1123.93 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
  6952. 1123.93 s [opt-env-conf-test] @@ -796,12 +796,11 @@
  6953. 1123.93 s [opt-env-conf-test] $ optional
  6954. 1123.93 s [opt-env-conf-test] $ withFrozenCallStack
  6955. 1123.93 s [opt-env-conf-test] $ setting
  6956. 1123.93 s [opt-env-conf-test] [ help "Path to the XDG configuration directory",
  6957. 1123.93 s [opt-env-conf-test] reader str,
  6958. 1123.93 s [opt-env-conf-test] env "XDG_CONFIG_HOME",
  6959. 1123.93 s [opt-env-conf-test] metavar "DIRECTORY",
  6960. 1123.93 s [opt-env-conf-test] - hidden
  6961. 1123.93 s [opt-env-conf-test] ]
  6962. 1123.93 s [opt-env-conf-test]
  6963. 1123.93 s [opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
  6964. 1123.93 s [opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
  6965. 1123.93 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
  6966. 1123.93 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  6967. 1123.93 s [opt-env-conf-test] where
  6968. 1123.93 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  6969. 1123.93 s [opt-env-conf-test] go d = \case
  6970. 1123.93 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6971. 1123.93 s [opt-env-conf-test] + ParserPure _ -> showParen (d > 0) $ showString "Pure _"
  6972. 1123.93 s [opt-env-conf-test] ParserAp pf pa ->
  6973. 1123.93 s [opt-env-conf-test] showParen (d > 10) $
  6974. 1123.93 s [opt-env-conf-test] showString "Ap "
  6975. 1123.93 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
  6976. 1123.93 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  6977. 1123.93 s [opt-env-conf-test] where
  6978. 1123.93 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  6979. 1123.93 s [opt-env-conf-test] go d = \case
  6980. 1123.93 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6981. 1123.93 s [opt-env-conf-test] + ParserPure _ -> showParen (d > 1) $ showString "Pure _"
  6982. 1123.93 s [opt-env-conf-test] ParserAp pf pa ->
  6983. 1123.93 s [opt-env-conf-test] showParen (d > 10) $
  6984. 1123.94 s [opt-env-conf-test] showString "Ap "
  6985. 1123.94 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
  6986. 1123.94 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  6987. 1123.94 s [opt-env-conf-test] where
  6988. 1123.94 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  6989. 1123.94 s [opt-env-conf-test] go d = \case
  6990. 1123.94 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6991. 1123.94 s [opt-env-conf-test] + ParserPure _ -> showParen (d > -10) $ showString "Pure _"
  6992. 1123.94 s [opt-env-conf-test] ParserAp pf pa ->
  6993. 1123.94 s [opt-env-conf-test] showParen (d > 10) $
  6994. 1123.94 s [opt-env-conf-test] showString "Ap "
  6995. 1123.94 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:34-40
  6996. 1123.94 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  6997. 1123.94 s [opt-env-conf-test] where
  6998. 1123.94 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  6999. 1123.94 s [opt-env-conf-test] go d = \case
  7000. 1123.94 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  7001. 1123.94 s [opt-env-conf-test] + ParserPure _ -> showParen (True) $ showString "Pure _"
  7002. 1123.94 s [opt-env-conf-test] ParserAp pf pa ->
  7003. 1123.94 s [opt-env-conf-test] showParen (d > 10) $
  7004. 1123.94 s [opt-env-conf-test] showString "Ap "
  7005. 1123.94 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:34-40
  7006. 1123.94 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  7007. 1123.94 s [opt-env-conf-test] where
  7008. 1123.94 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  7009. 1123.94 s [opt-env-conf-test] go d = \case
  7010. 1123.94 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  7011. 1123.94 s [opt-env-conf-test] + ParserPure _ -> showParen (False) $ showString "Pure _"
  7012. 1123.94 s [opt-env-conf-test] ParserAp pf pa ->
  7013. 1123.94 s [opt-env-conf-test] showParen (d > 10) $
  7014. 1123.94 s [opt-env-conf-test] showString "Ap "
  7015. 1123.94 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:304:34-40
  7016. 1123.94 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  7017. 1123.94 s [opt-env-conf-test] where
  7018. 1123.94 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  7019. 1123.94 s [opt-env-conf-test] go d = \case
  7020. 1123.94 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  7021. 1123.94 s [opt-env-conf-test] + ParserPure _ -> showParen (not d > 10) $ showString "Pure _"
  7022. 1123.94 s [opt-env-conf-test] ParserAp pf pa ->
  7023. 1123.94 s [opt-env-conf-test] showParen (d > 10) $
  7024. 1123.94 s [opt-env-conf-test] showString "Ap "
  7025. 1123.94 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
  7026. 1123.94 s [opt-env-conf-test] @@ -559,9 +559,8 @@
  7027. 1123.94 s [opt-env-conf-test] ParserCheck {} -> p'
  7028. 1123.94 s [opt-env-conf-test] ParserCommands {} -> p'
  7029. 1123.94 s [opt-env-conf-test] ParserWithConfig {} -> p'
  7030. 1123.94 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  7031. 1129.78 s [opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  7032. 1129.81 s [opt-env-conf-test] Just _ -> p
  7033. 1129.81 s [opt-env-conf-test]
  7034. 1129.81 s [opt-env-conf-test] -- | Try a list of parsers in order
  7035. 1129.81 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  7036. 1129.81 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
  7037. 1129.81 s [opt-env-conf-test] @@ -1027,7 +1027,6 @@
  7038. 1129.81 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  7039. 1129.81 s [opt-env-conf-test] b = mconcat $ bs ++ [reader str]
  7040. 1129.81 s [opt-env-conf-test] bareSetting p f = do
  7041. 1129.81 s [opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
  7042. 1129.81 s [opt-env-conf-test] guard $ p s
  7043. 1129.81 s [opt-env-conf-test] pure $
  7044. 1129.82 s [opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
  7045. 1129.82 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:618:31-36
  7046. 1129.82 s [opt-env-conf-test] @@ -615,7 +615,7 @@
  7047. 1129.82 s [opt-env-conf-test]
  7048. 1129.82 s [opt-env-conf-test] -- | Check a 'Parser' after the fact, allowing IO.
  7049. 1129.82 s [opt-env-conf-test] checkMapIO :: (HasCallStack) => (a -> IO (Either String b)) -> Parser a -> Parser b
  7050. 1129.82 s [opt-env-conf-test] -checkMapIO = ParserCheck mLoc False Set.empty
  7051. 1129.82 s [opt-env-conf-test] +checkMapIO = ParserCheck mLoc True Set.empty
  7052. 1129.82 s [opt-env-conf-test] where
  7053. 1129.82 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  7054. 1129.82 s [opt-env-conf-test]
  7055. 1129.82 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:663:23-33
  7056. 1129.82 s [opt-env-conf-test] @@ -660,7 +660,7 @@
  7057. 1129.82 s [opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
  7058. 1129.82 s [opt-env-conf-test] checkWithRequiredCapability capName = \case
  7059. 1129.82 s [opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
  7060. 1129.82 s [opt-env-conf-test] - ParserCheck mLoc' forgivable (Set.insert cap caps) f p
  7061. 1129.82 s [opt-env-conf-test] + ParserCheck mLoc' not forgivable (Set.insert cap caps) f p
  7062. 1129.82 s [opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
  7063. 1129.82 s [opt-env-conf-test] where
  7064. 1129.82 s [opt-env-conf-test] cap = Capability (T.pack capName)
  7065. 1129.82 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:663:23-33
  7066. 1129.82 s [opt-env-conf-test] @@ -660,7 +660,7 @@
  7067. 1129.82 s [opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
  7068. 1129.82 s [opt-env-conf-test] checkWithRequiredCapability capName = \case
  7069. 1129.82 s [opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
  7070. 1129.82 s [opt-env-conf-test] - ParserCheck mLoc' forgivable (Set.insert cap caps) f p
  7071. 1129.82 s [opt-env-conf-test] + ParserCheck mLoc' True (Set.insert cap caps) f p
  7072. 1129.83 s [opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
  7073. 1129.83 s [opt-env-conf-test] where
  7074. 1129.83 s [opt-env-conf-test] cap = Capability (T.pack capName)
  7075. 1129.83 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:143:29-25
  7076. 1129.83 s [opt-env-conf-test] @@ -140,13 +140,12 @@
  7077. 1129.83 s [opt-env-conf-test] Just a -> do
  7078. 1129.83 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  7079. 1129.83 s [opt-env-conf-test] pure (a : as)
  7080. 1129.83 s [opt-env-conf-test] ParserSome mLoc p' -> do
  7081. 1129.83 s [opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
  7082. 1129.83 s [opt-env-conf-test] ppIndent $ do
  7083. 1129.83 s [opt-env-conf-test] a <- go p'
  7084. 1129.83 s [opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
  7085. 1129.83 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  7086. 1129.83 s [opt-env-conf-test] pure (a :| as)
  7087. 1129.83 s [opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
  7088. 1129.83 s [opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  7089. 1129.83 s [opt-env-conf-test] ppIndent $ do
  7090. 1129.83 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
  7091. 1129.83 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  7092. 1129.83 s [opt-env-conf-test] go d = \case
  7093. 1129.83 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  7094. 1129.83 s [opt-env-conf-test] ParserAp pf pa ->
  7095. 1129.83 s [opt-env-conf-test] - showParen (d > 10) $
  7096. 1129.83 s [opt-env-conf-test] + showParen (d > -10) $
  7097. 1129.83 s [opt-env-conf-test] showString "Ap "
  7098. 1129.83 s [opt-env-conf-test] . go 11 pf
  7099. 1129.83 s [opt-env-conf-test] . showString " "
  7100. 1129.83 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  7101. 1129.83 s [opt-env-conf-test] @@ -125,42 +125,39 @@
  7102. 1129.83 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  7103. 1129.83 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  7104. 1129.83 s [opt-env-conf-test] exitFailure
  7105. 1129.83 s [opt-env-conf-test] Right i -> case i of
  7106. 1129.83 s [opt-env-conf-test] ShowVersion -> do
  7107. 1129.83 s [opt-env-conf-test] progname <- getProgName
  7108. 1129.83 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  7109. 1129.83 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  7110. 1129.84 s [opt-env-conf-test] exitSuccess
  7111. 1129.84 s [opt-env-conf-test] RenderMan -> do
  7112. 1129.84 s [opt-env-conf-test] progname <- getProgName
  7113. 1129.84 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  7114. 1129.84 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  7115. 1129.84 s [opt-env-conf-test] exitSuccess
  7116. 1129.84 s [opt-env-conf-test] RenderDocumentation -> do
  7117. 1129.84 s [opt-env-conf-test] progname <- getProgName
  7118. 1129.84 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  7119. 1129.84 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  7120. 1129.84 s [opt-env-conf-test] exitSuccess
  7121. 1129.84 s [opt-env-conf-test] RenderNixosOptions -> do
  7122. 1129.84 s [opt-env-conf-test] progname <- getProgName
  7123. 1129.84 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  7124. 1129.84 s [opt-env-conf-test] exitSuccess
  7125. 1129.84 s [opt-env-conf-test] BashCompletionScript progPath -> do
  7126. 1129.84 s [opt-env-conf-test] progname <- getProgName
  7127. 1129.84 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  7128. 1129.84 s [opt-env-conf-test] exitSuccess
  7129. 1129.84 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  7130. 1129.84 s [opt-env-conf-test] progname <- getProgName
  7131. 1129.84 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  7132. 1129.84 s [opt-env-conf-test] exitSuccess
  7133. 1129.84 s [opt-env-conf-test] FishCompletionScript progPath -> do
  7134. 1129.84 s [opt-env-conf-test] progname <- getProgName
  7135. 1129.84 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  7136. 1129.84 s [opt-env-conf-test] exitSuccess
  7137. 1129.84 s [opt-env-conf-test] - CompletionQuery enriched index ws -> do
  7138. 1138.10 s [opt-env-conf-test] - runCompletionQuery p' enriched index ws
  7139. 1138.12 s [opt-env-conf-test] - exitSuccess
  7140. 1138.12 s [opt-env-conf-test] ParsedNormally a -> pure a
  7141. 1138.12 s [opt-env-conf-test]
  7142. 1138.12 s [opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
  7143. 1138.12 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  7144. 1138.12 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:20-26
  7145. 1138.12 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  7146. 1138.12 s [opt-env-conf-test] go d = \case
  7147. 1138.12 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  7148. 1138.12 s [opt-env-conf-test] ParserAp pf pa ->
  7149. 1138.12 s [opt-env-conf-test] - showParen (d > 10) $
  7150. 1138.12 s [opt-env-conf-test] + showParen (False) $
  7151. 1138.13 s [opt-env-conf-test] showString "Ap "
  7152. 1138.13 s [opt-env-conf-test] . go 11 pf
  7153. 1138.13 s [opt-env-conf-test] . showString " "
  7154. 1138.13 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:92:15-43
  7155. 1138.13 s [opt-env-conf-test] @@ -89,18 +89,15 @@
  7156. 1138.13 s [opt-env-conf-test] let goNexts ns = do
  7157. 1138.13 s [opt-env-conf-test] -- TODO: Consider keeping around all errors?
  7158. 1138.13 s [opt-env-conf-test] mNext <- runNonDetTLazy ns
  7159. 1138.13 s [opt-env-conf-test] case mNext of
  7160. 1138.13 s [opt-env-conf-test] Nothing ->
  7161. 1138.13 s [opt-env-conf-test] pure $
  7162. 1138.13 s [opt-env-conf-test] Left $
  7163. 1138.13 s [opt-env-conf-test] -- Only show source locations in debug mode.
  7164. 1138.13 s [opt-env-conf-test] let f = case mDebugMode of
  7165. 1138.13 s [opt-env-conf-test] Nothing -> eraseErrorSrcLocs
  7166. 1138.13 s [opt-env-conf-test] Just _ -> id
  7167. 1138.13 s [opt-env-conf-test] in f firstErrors
  7168. 1138.13 s [opt-env-conf-test] - Just ((eOR, _), ns') -> case eOR of
  7169. 1138.13 s [opt-env-conf-test] - Success a -> pure (Right a)
  7170. 1138.13 s [opt-env-conf-test] - Failure _ -> goNexts ns'
  7171. 1138.13 s [opt-env-conf-test] in goNexts nexts
  7172. 1138.13 s [opt-env-conf-test] where
  7173. 1138.13 s [opt-env-conf-test] go ::
  7174. 1138.13 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
  7175. 1138.13 s [opt-env-conf-test] @@ -1035,7 +1035,6 @@
  7176. 1138.13 s [opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
  7177. 1138.13 s [opt-env-conf-test] T.pack <$> ParserSetting mLoc s
  7178. 1138.13 s [opt-env-conf-test] fileSetting p f = do
  7179. 1138.13 s [opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
  7180. 1138.13 s [opt-env-conf-test] guard $ p s
  7181. 1138.13 s [opt-env-conf-test] pure $
  7182. 1138.13 s [opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
  7183. 1138.13 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
  7184. 1138.13 s [opt-env-conf-test] @@ -1035,7 +1035,6 @@
  7185. 1138.13 s [opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
  7186. 1138.13 s [opt-env-conf-test] T.pack <$> ParserSetting mLoc s
  7187. 1138.13 s [opt-env-conf-test] fileSetting p f = do
  7188. 1138.13 s [opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
  7189. 1138.13 s [opt-env-conf-test] guard $ p s
  7190. 1138.13 s [opt-env-conf-test] pure $
  7191. 1138.13 s [opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
  7192. 1138.13 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:664:25-30
  7193. 1138.13 s [opt-env-conf-test] @@ -661,7 +661,7 @@
  7194. 1138.13 s [opt-env-conf-test] checkWithRequiredCapability capName = \case
  7195. 1138.13 s [opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
  7196. 1138.13 s [opt-env-conf-test] ParserCheck mLoc' forgivable (Set.insert cap caps) f p
  7197. 1138.14 s [opt-env-conf-test] - p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
  7198. 1138.14 s [opt-env-conf-test] + p -> ParserCheck mLoc True (Set.singleton cap) (pure . Right) p
  7199. 1138.14 s [opt-env-conf-test] where
  7200. 1138.14 s [opt-env-conf-test] cap = Capability (T.pack capName)
  7201. 1138.14 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  7202. 1138.14 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
  7203. 1138.14 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  7204. 1138.14 s [opt-env-conf-test] go d = \case
  7205. 1138.14 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  7206. 1138.14 s [opt-env-conf-test] ParserAp pf pa ->
  7207. 1138.14 s [opt-env-conf-test] - showParen (d > 10) $
  7208. 1138.14 s [opt-env-conf-test] + showParen (d > 1) $
  7209. 1138.14 s [opt-env-conf-test] showString "Ap "
  7210. 1138.14 s [opt-env-conf-test] . go 11 pf
  7211. 1138.14 s [opt-env-conf-test] . showString " "
  7212. 1138.14 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
  7213. 1138.14 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  7214. 1138.14 s [opt-env-conf-test] go d = \case
  7215. 1138.14 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  7216. 1138.14 s [opt-env-conf-test] ParserAp pf pa ->
  7217. 1138.14 s [opt-env-conf-test] - showParen (d > 10) $
  7218. 1138.14 s [opt-env-conf-test] + showParen (d > 0) $
  7219. 1138.14 s [opt-env-conf-test] showString "Ap "
  7220. 1138.14 s [opt-env-conf-test] . go 11 pf
  7221. 1138.14 s [opt-env-conf-test] . showString " "
  7222. 1138.14 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:304:33-41
  7223. 1138.14 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  7224. 1138.14 s [opt-env-conf-test] where
  7225. 1138.14 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  7226. 1138.14 s [opt-env-conf-test] go d = \case
  7227. 1138.14 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  7228. 1138.14 s [opt-env-conf-test] + ParserPure _ -> showParen not (d > 10) $ showString "Pure _"
  7229. 1138.14 s [opt-env-conf-test] ParserAp pf pa ->
  7230. 1138.14 s [opt-env-conf-test] showParen (d > 10) $
  7231. 1138.14 s [opt-env-conf-test] showString "Ap "
  7232. 1138.14 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:20-26
  7233. 1138.14 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  7234. 1138.14 s [opt-env-conf-test] go d = \case
  7235. 1138.14 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  7236. 1138.14 s [opt-env-conf-test] ParserAp pf pa ->
  7237. 1138.14 s [opt-env-conf-test] - showParen (d > 10) $
  7238. 1138.14 s [opt-env-conf-test] + showParen (True) $
  7239. 1138.14 s [opt-env-conf-test] showString "Ap "
  7240. 1138.14 s [opt-env-conf-test] . go 11 pf
  7241. 1138.14 s [opt-env-conf-test] . showString " "
  7242. 1138.14 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:306:20-26
  7243. 1138.14 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  7244. 1138.14 s [opt-env-conf-test] go d = \case
  7245. 1138.14 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  7246. 1138.14 s [opt-env-conf-test] ParserAp pf pa ->
  7247. 1138.14 s [opt-env-conf-test] - showParen (d > 10) $
  7248. 1138.14 s [opt-env-conf-test] + showParen (not d > 10) $
  7249. 1138.14 s [opt-env-conf-test] showString "Ap "
  7250. 1138.14 s [opt-env-conf-test] . go 11 pf
  7251. 1138.14 s [opt-env-conf-test] . showString " "
  7252. 1138.14 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
  7253. 1138.14 s [opt-env-conf-test] @@ -796,12 +796,11 @@
  7254. 1138.14 s [opt-env-conf-test] $ optional
  7255. 1138.14 s [opt-env-conf-test] $ withFrozenCallStack
  7256. 1138.14 s [opt-env-conf-test] $ setting
  7257. 1138.14 s [opt-env-conf-test] - [ help "Path to the XDG configuration directory",
  7258. 1138.14 s [opt-env-conf-test] reader str,
  7259. 1138.14 s [opt-env-conf-test] env "XDG_CONFIG_HOME",
  7260. 1138.14 s [opt-env-conf-test] metavar "DIRECTORY",
  7261. 1138.14 s [opt-env-conf-test] hidden
  7262. 1138.14 s [opt-env-conf-test] ]
  7263. 1138.14 s [opt-env-conf-test]
  7264. 1138.14 s [opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
  7265. 1138.14 s [opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
  7266. 1138.14 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:33-41
  7267. 1138.15 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  7268. 1138.15 s [opt-env-conf-test] where
  7269. 1138.15 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  7270. 1138.15 s [opt-env-conf-test] go d = \case
  7271. 1138.15 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  7272. 1138.15 s [opt-env-conf-test] + ParserPure _ -> showParen True $ showString "Pure _"
  7273. 1138.15 s [opt-env-conf-test] ParserAp pf pa ->
  7274. 1138.15 s [opt-env-conf-test] showParen (d > 10) $
  7275. 1138.15 s [opt-env-conf-test] showString "Ap "
  7276. 1138.15 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
  7277. 1138.15 s [opt-env-conf-test] @@ -599,9 +599,8 @@
  7278. 1138.15 s [opt-env-conf-test] checkMapMaybe func p =
  7279. 1138.15 s [opt-env-conf-test] withFrozenCallStack $
  7280. 1138.15 s [opt-env-conf-test] checkMapEither
  7281. 1138.15 s [opt-env-conf-test] ( \a -> case func a of
  7282. 1138.15 s [opt-env-conf-test] Nothing -> Left "checkMapMaybe failed without a helpful error message"
  7283. 1138.15 s [opt-env-conf-test] - Just b -> Right b
  7284. 1138.15 s [opt-env-conf-test] )
  7285. 1138.15 s [opt-env-conf-test] p
  7286. 1138.15 s [opt-env-conf-test]
  7287. 1138.15 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
  7288. 1138.15 s [opt-env-conf-test] @@ -1016,13 +1016,7 @@
  7289. 1138.15 s [opt-env-conf-test] withFrozenCallStack $
  7290. 1138.15 s [opt-env-conf-test] choice $
  7291. 1138.15 s [opt-env-conf-test] catMaybes
  7292. 1138.15 s [opt-env-conf-test] - [ bareOption,
  7293. 1138.15 s [opt-env-conf-test] - fileOption,
  7294. 1138.15 s [opt-env-conf-test] - bareEnv,
  7295. 1138.15 s [opt-env-conf-test] - fileEnv,
  7296. 1138.15 s [opt-env-conf-test] - bareConf,
  7297. 1138.15 s [opt-env-conf-test] - fileConf
  7298. 1138.15 s [opt-env-conf-test] ]
  7299. 1138.16 s [opt-env-conf-test] where
  7300. 1138.16 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  7301. 1138.16 s [opt-env-conf-test] b = mconcat $ bs ++ [reader str]
  7302. 1138.16 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
  7303. 1138.16 s [opt-env-conf-test] @@ -599,9 +599,8 @@
  7304. 1138.16 s [opt-env-conf-test] checkMapMaybe func p =
  7305. 1138.16 s [opt-env-conf-test] withFrozenCallStack $
  7306. 1138.16 s [opt-env-conf-test] checkMapEither
  7307. 1138.16 s [opt-env-conf-test] ( \a -> case func a of
  7308. 1138.16 s [opt-env-conf-test] - Nothing -> Left "checkMapMaybe failed without a helpful error message"
  7309. 1138.16 s [opt-env-conf-test] Just b -> Right b
  7310. 1138.16 s [opt-env-conf-test] )
  7311. 1138.16 s [opt-env-conf-test] p
  7312. 1138.16 s [opt-env-conf-test]
  7313. 1138.16 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
  7314. 1138.16 s [opt-env-conf-test] @@ -305,7 +305,7 @@
  7315. 1138.16 s [opt-env-conf-test] ParserAp pf pa ->
  7316. 1138.16 s [opt-env-conf-test] showParen (d > 10) $
  7317. 1138.16 s [opt-env-conf-test] showString "Ap "
  7318. 1138.16 s [opt-env-conf-test] - . go 11 pf
  7319. 1138.16 s [opt-env-conf-test] + . go 1 pf
  7320. 1138.16 s [opt-env-conf-test] . showString " "
  7321. 1138.16 s [opt-env-conf-test] . go 11 pa
  7322. 1138.16 s [opt-env-conf-test] ParserSelect pe pf ->
  7323. 1138.16 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
  7324. 1138.16 s [opt-env-conf-test] @@ -305,7 +305,7 @@
  7325. 1138.16 s [opt-env-conf-test] ParserAp pf pa ->
  7326. 1138.16 s [opt-env-conf-test] showParen (d > 10) $
  7327. 1138.16 s [opt-env-conf-test] showString "Ap "
  7328. 1138.16 s [opt-env-conf-test] - . go 11 pf
  7329. 1138.16 s [opt-env-conf-test] + . go 0 pf
  7330. 1138.16 s [opt-env-conf-test] . showString " "
  7331. 1138.16 s [opt-env-conf-test] . go 11 pa
  7332. 1138.16 s [opt-env-conf-test] ParserSelect pe pf ->
  7333. 1138.16 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:19-27
  7334. 1138.16 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  7335. 1138.16 s [opt-env-conf-test] go d = \case
  7336. 1138.17 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  7337. 1138.17 s [opt-env-conf-test] ParserAp pf pa ->
  7338. 1138.17 s [opt-env-conf-test] - showParen (d > 10) $
  7339. 1138.17 s [opt-env-conf-test] + showParen False $
  7340. 1138.17 s [opt-env-conf-test] showString "Ap "
  7341. 1138.17 s [opt-env-conf-test] . go 11 pf
  7342. 1138.17 s [opt-env-conf-test] . showString " "
  7343. 1138.17 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:19-27
  7344. 1138.17 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  7345. 1138.17 s [opt-env-conf-test] go d = \case
  7346. 1138.17 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  7347. 1138.17 s [opt-env-conf-test] ParserAp pf pa ->
  7348. 1138.17 s [opt-env-conf-test] - showParen (d > 10) $
  7349. 1138.17 s [opt-env-conf-test] + showParen True $
  7350. 1138.17 s [opt-env-conf-test] showString "Ap "
  7351. 1138.17 s [opt-env-conf-test] . go 11 pf
  7352. 1138.17 s [opt-env-conf-test] . showString " "
  7353. 1138.17 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
  7354. 1138.17 s [opt-env-conf-test] @@ -1035,7 +1035,6 @@
  7355. 1138.17 s [opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
  7356. 1138.17 s [opt-env-conf-test] T.pack <$> ParserSetting mLoc s
  7357. 1138.17 s [opt-env-conf-test] fileSetting p f = do
  7358. 1146.55 s [opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
  7359. 1146.57 s [opt-env-conf-test] guard $ p s
  7360. 1146.57 s [opt-env-conf-test] pure $
  7361. 1146.57 s [opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
  7362. 1146.57 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:144:15-60
  7363. 1146.57 s [opt-env-conf-test] @@ -141,7 +141,6 @@
  7364. 1146.57 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  7365. 1146.58 s [opt-env-conf-test] pure (a : as)
  7366. 1146.58 s [opt-env-conf-test] ParserSome mLoc p' -> do
  7367. 1146.58 s [opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
  7368. 1146.58 s [opt-env-conf-test] ppIndent $ do
  7369. 1146.58 s [opt-env-conf-test] a <- go p'
  7370. 1146.58 s [opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
  7371. 1146.58 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:19-27
  7372. 1146.58 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  7373. 1146.58 s [opt-env-conf-test] . showString " "
  7374. 1146.58 s [opt-env-conf-test] . go 11 pa
  7375. 1146.58 s [opt-env-conf-test] ParserSelect pe pf ->
  7376. 1146.58 s [opt-env-conf-test] - showParen (d > 10) $
  7377. 1146.58 s [opt-env-conf-test] + showParen False $
  7378. 1146.58 s [opt-env-conf-test] showString "Select "
  7379. 1146.58 s [opt-env-conf-test] . go 11 pe
  7380. 1146.58 s [opt-env-conf-test] . showString " "
  7381. 1146.58 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
  7382. 1146.58 s [opt-env-conf-test] @@ -307,7 +307,7 @@
  7383. 1146.58 s [opt-env-conf-test] showString "Ap "
  7384. 1146.58 s [opt-env-conf-test] . go 11 pf
  7385. 1146.58 s [opt-env-conf-test] . showString " "
  7386. 1146.58 s [opt-env-conf-test] - . go 11 pa
  7387. 1146.58 s [opt-env-conf-test] + . go 0 pa
  7388. 1146.58 s [opt-env-conf-test] ParserSelect pe pf ->
  7389. 1146.58 s [opt-env-conf-test] showParen (d > 10) $
  7390. 1146.58 s [opt-env-conf-test] showString "Select "
  7391. 1146.59 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:20-26
  7392. 1146.59 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  7393. 1146.59 s [opt-env-conf-test] . showString " "
  7394. 1146.59 s [opt-env-conf-test] . go 11 pa
  7395. 1146.59 s [opt-env-conf-test] ParserSelect pe pf ->
  7396. 1146.59 s [opt-env-conf-test] - showParen (d > 10) $
  7397. 1146.59 s [opt-env-conf-test] + showParen (False) $
  7398. 1146.59 s [opt-env-conf-test] showString "Select "
  7399. 1146.59 s [opt-env-conf-test] . go 11 pe
  7400. 1146.59 s [opt-env-conf-test] . showString " "
  7401. 1146.59 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:20-26
  7402. 1146.59 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  7403. 1146.59 s [opt-env-conf-test] . showString " "
  7404. 1146.59 s [opt-env-conf-test] . go 11 pa
  7405. 1146.59 s [opt-env-conf-test] ParserSelect pe pf ->
  7406. 1146.59 s [opt-env-conf-test] - showParen (d > 10) $
  7407. 1146.59 s [opt-env-conf-test] + showParen (True) $
  7408. 1146.59 s [opt-env-conf-test] showString "Select "
  7409. 1146.59 s [opt-env-conf-test] . go 11 pe
  7410. 1146.59 s [opt-env-conf-test] . showString " "
  7411. 1146.59 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
  7412. 1146.59 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  7413. 1146.59 s [opt-env-conf-test] . showString " "
  7414. 1146.59 s [opt-env-conf-test] . go 11 pa
  7415. 1146.59 s [opt-env-conf-test] ParserSelect pe pf ->
  7416. 1146.59 s [opt-env-conf-test] - showParen (d > 10) $
  7417. 1146.59 s [opt-env-conf-test] + showParen (d > 0) $
  7418. 1146.59 s [opt-env-conf-test] showString "Select "
  7419. 1146.59 s [opt-env-conf-test] . go 11 pe
  7420. 1146.59 s [opt-env-conf-test] . showString " "
  7421. 1146.59 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
  7422. 1146.59 s [opt-env-conf-test] @@ -307,7 +307,7 @@
  7423. 1146.59 s [opt-env-conf-test] showString "Ap "
  7424. 1146.59 s [opt-env-conf-test] . go 11 pf
  7425. 1146.59 s [opt-env-conf-test] . showString " "
  7426. 1146.60 s [opt-env-conf-test] - . go 11 pa
  7427. 1146.60 s [opt-env-conf-test] + . go 1 pa
  7428. 1146.60 s [opt-env-conf-test] ParserSelect pe pf ->
  7429. 1146.60 s [opt-env-conf-test] showParen (d > 10) $
  7430. 1146.60 s [opt-env-conf-test] showString "Select "
  7431. 1146.60 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
  7432. 1146.60 s [opt-env-conf-test] @@ -307,7 +307,7 @@
  7433. 1146.60 s [opt-env-conf-test] showString "Ap "
  7434. 1146.60 s [opt-env-conf-test] . go 11 pf
  7435. 1146.60 s [opt-env-conf-test] . showString " "
  7436. 1146.60 s [opt-env-conf-test] - . go 11 pa
  7437. 1146.60 s [opt-env-conf-test] + . go -11 pa
  7438. 1146.60 s [opt-env-conf-test] ParserSelect pe pf ->
  7439. 1146.60 s [opt-env-conf-test] showParen (d > 10) $
  7440. 1146.60 s [opt-env-conf-test] showString "Select "
  7441. 1146.60 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:312:20-26
  7442. 1146.60 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  7443. 1146.60 s [opt-env-conf-test] . showString " "
  7444. 1146.60 s [opt-env-conf-test] . go 11 pa
  7445. 1146.60 s [opt-env-conf-test] ParserSelect pe pf ->
  7446. 1146.60 s [opt-env-conf-test] - showParen (d > 10) $
  7447. 1146.60 s [opt-env-conf-test] + showParen (not d > 10) $
  7448. 1146.60 s [opt-env-conf-test] showString "Select "
  7449. 1146.60 s [opt-env-conf-test] . go 11 pe
  7450. 1146.60 s [opt-env-conf-test] . showString " "
  7451. 1146.60 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
  7452. 1146.60 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  7453. 1146.60 s [opt-env-conf-test] . showString " "
  7454. 1146.60 s [opt-env-conf-test] . go 11 pa
  7455. 1146.60 s [opt-env-conf-test] ParserSelect pe pf ->
  7456. 1146.60 s [opt-env-conf-test] - showParen (d > 10) $
  7457. 1146.60 s [opt-env-conf-test] + showParen (d > -10) $
  7458. 1146.60 s [opt-env-conf-test] showString "Select "
  7459. 1146.60 s [opt-env-conf-test] . go 11 pe
  7460. 1146.60 s [opt-env-conf-test] . showString " "
  7461. 1146.60 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:312:19-27
  7462. 1146.61 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  7463. 1146.61 s [opt-env-conf-test] . showString " "
  7464. 1146.61 s [opt-env-conf-test] . go 11 pa
  7465. 1146.61 s [opt-env-conf-test] ParserSelect pe pf ->
  7466. 1146.61 s [opt-env-conf-test] - showParen (d > 10) $
  7467. 1146.61 s [opt-env-conf-test] + showParen not (d > 10) $
  7468. 1146.61 s [opt-env-conf-test] showString "Select "
  7469. 1146.61 s [opt-env-conf-test] . go 11 pe
  7470. 1146.61 s [opt-env-conf-test] . showString " "
  7471. 1146.61 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
  7472. 1146.61 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  7473. 1146.61 s [opt-env-conf-test] . showString " "
  7474. 1146.61 s [opt-env-conf-test] . go 11 pa
  7475. 1146.61 s [opt-env-conf-test] ParserSelect pe pf ->
  7476. 1146.61 s [opt-env-conf-test] - showParen (d > 10) $
  7477. 1146.61 s [opt-env-conf-test] + showParen (d > 1) $
  7478. 1146.61 s [opt-env-conf-test] showString "Select "
  7479. 1146.61 s [opt-env-conf-test] . go 11 pe
  7480. 1146.61 s [opt-env-conf-test] . showString " "
  7481. 1146.61 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
  7482. 1146.61 s [opt-env-conf-test] @@ -316,7 +316,7 @@
  7483. 1146.61 s [opt-env-conf-test] . go 11 pf
  7484. 1146.61 s [opt-env-conf-test] ParserEmpty mLoc ->
  7485. 1146.61 s [opt-env-conf-test] showString "Empty "
  7486. 1146.61 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7487. 1146.61 s [opt-env-conf-test] + . showsPrec 0 mLoc
  7488. 1146.61 s [opt-env-conf-test] ParserAlt p1 p2 ->
  7489. 1146.61 s [opt-env-conf-test] showParen (d > 10) $
  7490. 1146.61 s [opt-env-conf-test] showString "Alt "
  7491. 1146.61 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
  7492. 1146.61 s [opt-env-conf-test] @@ -316,7 +316,7 @@
  7493. 1146.61 s [opt-env-conf-test] . go 11 pf
  7494. 1146.61 s [opt-env-conf-test] ParserEmpty mLoc ->
  7495. 1146.61 s [opt-env-conf-test] showString "Empty "
  7496. 1146.61 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7497. 1146.61 s [opt-env-conf-test] + . showsPrec 1 mLoc
  7498. 1146.61 s [opt-env-conf-test] ParserAlt p1 p2 ->
  7499. 1146.61 s [opt-env-conf-test] showParen (d > 10) $
  7500. 1146.61 s [opt-env-conf-test] showString "Alt "
  7501. 1146.61 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
  7502. 1146.61 s [opt-env-conf-test] @@ -316,7 +316,7 @@
  7503. 1146.61 s [opt-env-conf-test] . go 11 pf
  7504. 1146.61 s [opt-env-conf-test] ParserEmpty mLoc ->
  7505. 1146.62 s [opt-env-conf-test] showString "Empty "
  7506. 1146.62 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7507. 1146.62 s [opt-env-conf-test] + . showsPrec -11 mLoc
  7508. 1146.62 s [opt-env-conf-test] ParserAlt p1 p2 ->
  7509. 1146.62 s [opt-env-conf-test] showParen (d > 10) $
  7510. 1146.62 s [opt-env-conf-test] showString "Alt "
  7511. 1146.62 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
  7512. 1146.62 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  7513. 1146.62 s [opt-env-conf-test] showString "Empty "
  7514. 1146.62 s [opt-env-conf-test] . showsPrec 11 mLoc
  7515. 1146.62 s [opt-env-conf-test] ParserAlt p1 p2 ->
  7516. 1146.62 s [opt-env-conf-test] - showParen (d > 10) $
  7517. 1146.62 s [opt-env-conf-test] + showParen (d > 0) $
  7518. 1146.62 s [opt-env-conf-test] showString "Alt "
  7519. 1146.62 s [opt-env-conf-test] . go 11 p1
  7520. 1146.62 s [opt-env-conf-test] . showString " "
  7521. 1146.62 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:20-26
  7522. 1146.62 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  7523. 1146.62 s [opt-env-conf-test] showString "Empty "
  7524. 1146.62 s [opt-env-conf-test] . showsPrec 11 mLoc
  7525. 1146.62 s [opt-env-conf-test] ParserAlt p1 p2 ->
  7526. 1146.62 s [opt-env-conf-test] - showParen (d > 10) $
  7527. 1146.62 s [opt-env-conf-test] + showParen (True) $
  7528. 1146.62 s [opt-env-conf-test] showString "Alt "
  7529. 1146.62 s [opt-env-conf-test] . go 11 p1
  7530. 1146.62 s [opt-env-conf-test] . showString " "
  7531. 1146.62 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:321:20-26
  7532. 1146.62 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  7533. 1146.62 s [opt-env-conf-test] showString "Empty "
  7534. 1146.62 s [opt-env-conf-test] . showsPrec 11 mLoc
  7535. 1146.62 s [opt-env-conf-test] ParserAlt p1 p2 ->
  7536. 1146.62 s [opt-env-conf-test] - showParen (d > 10) $
  7537. 1146.62 s [opt-env-conf-test] + showParen (not d > 10) $
  7538. 1146.62 s [opt-env-conf-test] showString "Alt "
  7539. 1146.62 s [opt-env-conf-test] . go 11 p1
  7540. 1146.62 s [opt-env-conf-test] . showString " "
  7541. 1146.62 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:19-27
  7542. 1146.62 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  7543. 1146.62 s [opt-env-conf-test] showString "Empty "
  7544. 1146.62 s [opt-env-conf-test] . showsPrec 11 mLoc
  7545. 1146.62 s [opt-env-conf-test] ParserAlt p1 p2 ->
  7546. 1146.62 s [opt-env-conf-test] - showParen (d > 10) $
  7547. 1146.62 s [opt-env-conf-test] + showParen True $
  7548. 1146.62 s [opt-env-conf-test] showString "Alt "
  7549. 1146.62 s [opt-env-conf-test] . go 11 p1
  7550. 1146.62 s [opt-env-conf-test] . showString " "
  7551. 1146.62 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
  7552. 1146.62 s [opt-env-conf-test] @@ -311,7 +311,7 @@
  7553. 1146.62 s [opt-env-conf-test] ParserSelect pe pf ->
  7554. 1146.62 s [opt-env-conf-test] showParen (d > 10) $
  7555. 1146.62 s [opt-env-conf-test] showString "Select "
  7556. 1146.62 s [opt-env-conf-test] - . go 11 pe
  7557. 1146.62 s [opt-env-conf-test] + . go 1 pe
  7558. 1146.62 s [opt-env-conf-test] . showString " "
  7559. 1146.62 s [opt-env-conf-test] . go 11 pf
  7560. 1146.63 s [opt-env-conf-test] ParserEmpty mLoc ->
  7561. 1146.63 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
  7562. 1146.63 s [opt-env-conf-test] @@ -311,7 +311,7 @@
  7563. 1146.63 s [opt-env-conf-test] ParserSelect pe pf ->
  7564. 1146.63 s [opt-env-conf-test] showParen (d > 10) $
  7565. 1146.63 s [opt-env-conf-test] showString "Select "
  7566. 1146.63 s [opt-env-conf-test] - . go 11 pe
  7567. 1146.63 s [opt-env-conf-test] + . go -11 pe
  7568. 1146.63 s [opt-env-conf-test] . showString " "
  7569. 1146.63 s [opt-env-conf-test] . go 11 pf
  7570. 1146.63 s [opt-env-conf-test] ParserEmpty mLoc ->
  7571. 1146.63 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:19-27
  7572. 1146.63 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  7573. 1146.63 s [opt-env-conf-test] . showString " "
  7574. 1146.63 s [opt-env-conf-test] . go 11 pa
  7575. 1146.63 s [opt-env-conf-test] ParserSelect pe pf ->
  7576. 1146.63 s [opt-env-conf-test] - showParen (d > 10) $
  7577. 1146.63 s [opt-env-conf-test] + showParen True $
  7578. 1146.63 s [opt-env-conf-test] showString "Select "
  7579. 1146.63 s [opt-env-conf-test] . go 11 pe
  7580. 1146.63 s [opt-env-conf-test] . showString " "
  7581. 1146.63 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
  7582. 1146.63 s [opt-env-conf-test] @@ -313,7 +313,7 @@
  7583. 1146.63 s [opt-env-conf-test] showString "Select "
  7584. 1146.63 s [opt-env-conf-test] . go 11 pe
  7585. 1146.63 s [opt-env-conf-test] . showString " "
  7586. 1146.63 s [opt-env-conf-test] - . go 11 pf
  7587. 1146.63 s [opt-env-conf-test] + . go -11 pf
  7588. 1146.63 s [opt-env-conf-test] ParserEmpty mLoc ->
  7589. 1146.63 s [opt-env-conf-test] showString "Empty "
  7590. 1146.63 s [opt-env-conf-test] . showsPrec 11 mLoc
  7591. 1146.63 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
  7592. 1146.63 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  7593. 1146.63 s [opt-env-conf-test] . showString " "
  7594. 1146.63 s [opt-env-conf-test] . go 11 p2
  7595. 1146.63 s [opt-env-conf-test] ParserMany mLoc p ->
  7596. 1146.63 s [opt-env-conf-test] - showParen (d > 10) $
  7597. 1146.63 s [opt-env-conf-test] + showParen (d > -10) $
  7598. 1146.63 s [opt-env-conf-test] showString "Many "
  7599. 1146.63 s [opt-env-conf-test] . showsPrec 11 mLoc
  7600. 1157.77 s [opt-env-conf-test] . showString " "
  7601. 1157.79 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:20-26
  7602. 1157.79 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  7603. 1157.80 s [opt-env-conf-test] . showString " "
  7604. 1157.80 s [opt-env-conf-test] . go 11 p2
  7605. 1157.80 s [opt-env-conf-test] ParserMany mLoc p ->
  7606. 1157.80 s [opt-env-conf-test] - showParen (d > 10) $
  7607. 1157.80 s [opt-env-conf-test] + showParen (True) $
  7608. 1157.80 s [opt-env-conf-test] showString "Many "
  7609. 1157.80 s [opt-env-conf-test] . showsPrec 11 mLoc
  7610. 1157.80 s [opt-env-conf-test] . showString " "
  7611. 1157.80 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:20-26
  7612. 1157.80 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  7613. 1157.80 s [opt-env-conf-test] . showString " "
  7614. 1157.80 s [opt-env-conf-test] . go 11 p2
  7615. 1157.80 s [opt-env-conf-test] ParserMany mLoc p ->
  7616. 1157.80 s [opt-env-conf-test] - showParen (d > 10) $
  7617. 1157.80 s [opt-env-conf-test] + showParen (False) $
  7618. 1157.80 s [opt-env-conf-test] showString "Many "
  7619. 1157.80 s [opt-env-conf-test] . showsPrec 11 mLoc
  7620. 1157.80 s [opt-env-conf-test] . showString " "
  7621. 1157.80 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:327:20-26
  7622. 1157.80 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  7623. 1157.80 s [opt-env-conf-test] . showString " "
  7624. 1157.80 s [opt-env-conf-test] . go 11 p2
  7625. 1157.80 s [opt-env-conf-test] ParserMany mLoc p ->
  7626. 1157.80 s [opt-env-conf-test] - showParen (d > 10) $
  7627. 1157.80 s [opt-env-conf-test] + showParen (not d > 10) $
  7628. 1157.80 s [opt-env-conf-test] showString "Many "
  7629. 1157.81 s [opt-env-conf-test] . showsPrec 11 mLoc
  7630. 1157.81 s [opt-env-conf-test] . showString " "
  7631. 1157.81 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:19-27
  7632. 1157.81 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  7633. 1157.81 s [opt-env-conf-test] . showString " "
  7634. 1157.81 s [opt-env-conf-test] . go 11 p2
  7635. 1157.81 s [opt-env-conf-test] ParserMany mLoc p ->
  7636. 1157.81 s [opt-env-conf-test] - showParen (d > 10) $
  7637. 1157.81 s [opt-env-conf-test] + showParen True $
  7638. 1157.81 s [opt-env-conf-test] showString "Many "
  7639. 1157.81 s [opt-env-conf-test] . showsPrec 11 mLoc
  7640. 1157.81 s [opt-env-conf-test] . showString " "
  7641. 1157.81 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:19-27
  7642. 1157.81 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  7643. 1157.81 s [opt-env-conf-test] . showString " "
  7644. 1157.81 s [opt-env-conf-test] . go 11 p2
  7645. 1157.81 s [opt-env-conf-test] ParserMany mLoc p ->
  7646. 1157.81 s [opt-env-conf-test] - showParen (d > 10) $
  7647. 1157.81 s [opt-env-conf-test] + showParen False $
  7648. 1157.81 s [opt-env-conf-test] showString "Many "
  7649. 1157.81 s [opt-env-conf-test] . showsPrec 11 mLoc
  7650. 1157.81 s [opt-env-conf-test] . showString " "
  7651. 1157.81 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:327:19-27
  7652. 1157.81 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  7653. 1157.81 s [opt-env-conf-test] . showString " "
  7654. 1157.81 s [opt-env-conf-test] . go 11 p2
  7655. 1157.81 s [opt-env-conf-test] ParserMany mLoc p ->
  7656. 1157.81 s [opt-env-conf-test] - showParen (d > 10) $
  7657. 1157.81 s [opt-env-conf-test] + showParen not (d > 10) $
  7658. 1157.81 s [opt-env-conf-test] showString "Many "
  7659. 1157.81 s [opt-env-conf-test] . showsPrec 11 mLoc
  7660. 1157.81 s [opt-env-conf-test] . showString " "
  7661. 1157.81 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
  7662. 1157.81 s [opt-env-conf-test] @@ -326,7 +326,7 @@
  7663. 1157.81 s [opt-env-conf-test] ParserMany mLoc p ->
  7664. 1157.81 s [opt-env-conf-test] showParen (d > 10) $
  7665. 1157.81 s [opt-env-conf-test] showString "Many "
  7666. 1157.81 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7667. 1157.81 s [opt-env-conf-test] + . showsPrec 0 mLoc
  7668. 1157.81 s [opt-env-conf-test] . showString " "
  7669. 1157.81 s [opt-env-conf-test] . go 11 p
  7670. 1157.81 s [opt-env-conf-test] ParserSome mLoc p ->
  7671. 1157.81 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
  7672. 1157.82 s [opt-env-conf-test] @@ -326,7 +326,7 @@
  7673. 1157.82 s [opt-env-conf-test] ParserMany mLoc p ->
  7674. 1157.82 s [opt-env-conf-test] showParen (d > 10) $
  7675. 1157.82 s [opt-env-conf-test] showString "Many "
  7676. 1157.82 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7677. 1157.82 s [opt-env-conf-test] + . showsPrec 1 mLoc
  7678. 1157.82 s [opt-env-conf-test] . showString " "
  7679. 1157.82 s [opt-env-conf-test] . go 11 p
  7680. 1157.82 s [opt-env-conf-test] ParserSome mLoc p ->
  7681. 1157.82 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
  7682. 1157.82 s [opt-env-conf-test] @@ -326,7 +326,7 @@
  7683. 1157.82 s [opt-env-conf-test] ParserMany mLoc p ->
  7684. 1157.82 s [opt-env-conf-test] showParen (d > 10) $
  7685. 1157.82 s [opt-env-conf-test] showString "Many "
  7686. 1157.82 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7687. 1157.82 s [opt-env-conf-test] + . showsPrec -11 mLoc
  7688. 1157.82 s [opt-env-conf-test] . showString " "
  7689. 1157.82 s [opt-env-conf-test] . go 11 p
  7690. 1157.82 s [opt-env-conf-test] ParserSome mLoc p ->
  7691. 1157.82 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
  7692. 1157.82 s [opt-env-conf-test] @@ -328,7 +328,7 @@
  7693. 1157.82 s [opt-env-conf-test] showString "Many "
  7694. 1157.82 s [opt-env-conf-test] . showsPrec 11 mLoc
  7695. 1157.82 s [opt-env-conf-test] . showString " "
  7696. 1157.82 s [opt-env-conf-test] - . go 11 p
  7697. 1157.82 s [opt-env-conf-test] + . go 1 p
  7698. 1157.82 s [opt-env-conf-test] ParserSome mLoc p ->
  7699. 1157.82 s [opt-env-conf-test] showParen (d > 10) $
  7700. 1157.82 s [opt-env-conf-test] showString "Some "
  7701. 1157.82 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
  7702. 1157.82 s [opt-env-conf-test] @@ -328,7 +328,7 @@
  7703. 1157.82 s [opt-env-conf-test] showString "Many "
  7704. 1157.82 s [opt-env-conf-test] . showsPrec 11 mLoc
  7705. 1157.82 s [opt-env-conf-test] . showString " "
  7706. 1157.82 s [opt-env-conf-test] - . go 11 p
  7707. 1157.82 s [opt-env-conf-test] + . go -11 p
  7708. 1157.82 s [opt-env-conf-test] ParserSome mLoc p ->
  7709. 1157.82 s [opt-env-conf-test] showParen (d > 10) $
  7710. 1157.82 s [opt-env-conf-test] showString "Some "
  7711. 1157.82 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
  7712. 1157.82 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7713. 1157.82 s [opt-env-conf-test] . showString " "
  7714. 1157.82 s [opt-env-conf-test] . go 11 p
  7715. 1157.82 s [opt-env-conf-test] ParserSome mLoc p ->
  7716. 1157.82 s [opt-env-conf-test] - showParen (d > 10) $
  7717. 1157.82 s [opt-env-conf-test] + showParen (d > 0) $
  7718. 1157.82 s [opt-env-conf-test] showString "Some "
  7719. 1157.82 s [opt-env-conf-test] . showsPrec 11 mLoc
  7720. 1157.82 s [opt-env-conf-test] . showString " "
  7721. 1157.82 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
  7722. 1157.82 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7723. 1157.82 s [opt-env-conf-test] . showString " "
  7724. 1157.82 s [opt-env-conf-test] . go 11 p
  7725. 1157.82 s [opt-env-conf-test] ParserSome mLoc p ->
  7726. 1157.82 s [opt-env-conf-test] - showParen (d > 10) $
  7727. 1157.82 s [opt-env-conf-test] + showParen (d > 1) $
  7728. 1157.83 s [opt-env-conf-test] showString "Some "
  7729. 1157.83 s [opt-env-conf-test] . showsPrec 11 mLoc
  7730. 1157.83 s [opt-env-conf-test] . showString " "
  7731. 1157.83 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
  7732. 1157.83 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7733. 1157.83 s [opt-env-conf-test] . showString " "
  7734. 1157.83 s [opt-env-conf-test] . go 11 p
  7735. 1157.83 s [opt-env-conf-test] ParserSome mLoc p ->
  7736. 1157.83 s [opt-env-conf-test] - showParen (d > 10) $
  7737. 1157.83 s [opt-env-conf-test] + showParen (d > -10) $
  7738. 1157.83 s [opt-env-conf-test] showString "Some "
  7739. 1157.83 s [opt-env-conf-test] . showsPrec 11 mLoc
  7740. 1157.83 s [opt-env-conf-test] . showString " "
  7741. 1157.83 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:20-26
  7742. 1157.83 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7743. 1157.83 s [opt-env-conf-test] . showString " "
  7744. 1157.83 s [opt-env-conf-test] . go 11 p
  7745. 1157.83 s [opt-env-conf-test] ParserSome mLoc p ->
  7746. 1157.83 s [opt-env-conf-test] - showParen (d > 10) $
  7747. 1157.83 s [opt-env-conf-test] + showParen (True) $
  7748. 1157.83 s [opt-env-conf-test] showString "Some "
  7749. 1157.83 s [opt-env-conf-test] . showsPrec 11 mLoc
  7750. 1157.83 s [opt-env-conf-test] . showString " "
  7751. 1157.83 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:20-26
  7752. 1157.83 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7753. 1157.83 s [opt-env-conf-test] . showString " "
  7754. 1157.83 s [opt-env-conf-test] . go 11 p
  7755. 1157.83 s [opt-env-conf-test] ParserSome mLoc p ->
  7756. 1157.83 s [opt-env-conf-test] - showParen (d > 10) $
  7757. 1157.83 s [opt-env-conf-test] + showParen (False) $
  7758. 1157.83 s [opt-env-conf-test] showString "Some "
  7759. 1157.83 s [opt-env-conf-test] . showsPrec 11 mLoc
  7760. 1157.83 s [opt-env-conf-test] . showString " "
  7761. 1157.83 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:333:20-26
  7762. 1157.83 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7763. 1157.83 s [opt-env-conf-test] . showString " "
  7764. 1157.83 s [opt-env-conf-test] . go 11 p
  7765. 1157.83 s [opt-env-conf-test] ParserSome mLoc p ->
  7766. 1157.83 s [opt-env-conf-test] - showParen (d > 10) $
  7767. 1157.83 s [opt-env-conf-test] + showParen (not d > 10) $
  7768. 1157.83 s [opt-env-conf-test] showString "Some "
  7769. 1157.83 s [opt-env-conf-test] . showsPrec 11 mLoc
  7770. 1157.83 s [opt-env-conf-test] . showString " "
  7771. 1157.83 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:19-27
  7772. 1157.83 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7773. 1157.84 s [opt-env-conf-test] . showString " "
  7774. 1157.84 s [opt-env-conf-test] . go 11 p
  7775. 1157.84 s [opt-env-conf-test] ParserSome mLoc p ->
  7776. 1157.84 s [opt-env-conf-test] - showParen (d > 10) $
  7777. 1157.84 s [opt-env-conf-test] + showParen True $
  7778. 1157.84 s [opt-env-conf-test] showString "Some "
  7779. 1157.84 s [opt-env-conf-test] . showsPrec 11 mLoc
  7780. 1157.84 s [opt-env-conf-test] . showString " "
  7781. 1157.84 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:19-27
  7782. 1157.84 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7783. 1157.84 s [opt-env-conf-test] . showString " "
  7784. 1157.84 s [opt-env-conf-test] . go 11 p
  7785. 1157.84 s [opt-env-conf-test] ParserSome mLoc p ->
  7786. 1157.84 s [opt-env-conf-test] - showParen (d > 10) $
  7787. 1157.84 s [opt-env-conf-test] + showParen False $
  7788. 1157.84 s [opt-env-conf-test] showString "Some "
  7789. 1157.84 s [opt-env-conf-test] . showsPrec 11 mLoc
  7790. 1157.84 s [opt-env-conf-test] . showString " "
  7791. 1157.84 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:333:19-27
  7792. 1157.84 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7793. 1157.84 s [opt-env-conf-test] . showString " "
  7794. 1157.84 s [opt-env-conf-test] . go 11 p
  7795. 1157.84 s [opt-env-conf-test] ParserSome mLoc p ->
  7796. 1157.85 s [opt-env-conf-test] - showParen (d > 10) $
  7797. 1157.85 s [opt-env-conf-test] + showParen not (d > 10) $
  7798. 1157.85 s [opt-env-conf-test] showString "Some "
  7799. 1157.85 s [opt-env-conf-test] . showsPrec 11 mLoc
  7800. 1157.85 s [opt-env-conf-test] . showString " "
  7801. 1157.85 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
  7802. 1157.85 s [opt-env-conf-test] @@ -332,7 +332,7 @@
  7803. 1157.85 s [opt-env-conf-test] ParserSome mLoc p ->
  7804. 1157.85 s [opt-env-conf-test] showParen (d > 10) $
  7805. 1157.85 s [opt-env-conf-test] showString "Some "
  7806. 1157.85 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7807. 1157.85 s [opt-env-conf-test] + . showsPrec 0 mLoc
  7808. 1157.85 s [opt-env-conf-test] . showString " "
  7809. 1157.85 s [opt-env-conf-test] . go 11 p
  7810. 1157.85 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7811. 1157.85 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
  7812. 1157.85 s [opt-env-conf-test] @@ -332,7 +332,7 @@
  7813. 1157.85 s [opt-env-conf-test] ParserSome mLoc p ->
  7814. 1157.86 s [opt-env-conf-test] showParen (d > 10) $
  7815. 1157.86 s [opt-env-conf-test] showString "Some "
  7816. 1157.86 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7817. 1157.86 s [opt-env-conf-test] + . showsPrec 1 mLoc
  7818. 1157.86 s [opt-env-conf-test] . showString " "
  7819. 1157.86 s [opt-env-conf-test] . go 11 p
  7820. 1157.86 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7821. 1157.86 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
  7822. 1157.86 s [opt-env-conf-test] @@ -332,7 +332,7 @@
  7823. 1157.86 s [opt-env-conf-test] ParserSome mLoc p ->
  7824. 1157.86 s [opt-env-conf-test] showParen (d > 10) $
  7825. 1157.86 s [opt-env-conf-test] showString "Some "
  7826. 1157.86 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7827. 1157.86 s [opt-env-conf-test] + . showsPrec -11 mLoc
  7828. 1157.86 s [opt-env-conf-test] . showString " "
  7829. 1157.86 s [opt-env-conf-test] . go 11 p
  7830. 1157.86 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7831. 1157.86 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
  7832. 1157.86 s [opt-env-conf-test] @@ -334,7 +334,7 @@
  7833. 1157.86 s [opt-env-conf-test] showString "Some "
  7834. 1157.86 s [opt-env-conf-test] . showsPrec 11 mLoc
  7835. 1157.86 s [opt-env-conf-test] . showString " "
  7836. 1157.86 s [opt-env-conf-test] - . go 11 p
  7837. 1157.86 s [opt-env-conf-test] + . go 0 p
  7838. 1157.86 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7839. 1160.66 s [opt-env-conf-test] showParen (d > 10) $
  7840. 1160.66 s [opt-env-conf-test] showString "AllOrNothing "
  7841. 1160.66 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
  7842. 1160.66 s [opt-env-conf-test] @@ -328,7 +328,7 @@
  7843. 1160.66 s [opt-env-conf-test] showString "Many "
  7844. 1160.66 s [opt-env-conf-test] . showsPrec 11 mLoc
  7845. 1160.66 s [opt-env-conf-test] . showString " "
  7846. 1160.66 s [opt-env-conf-test] - . go 11 p
  7847. 1160.66 s [opt-env-conf-test] + . go 0 p
  7848. 1160.66 s [opt-env-conf-test] ParserSome mLoc p ->
  7849. 1160.66 s [opt-env-conf-test] showParen (d > 10) $
  7850. 1160.66 s [opt-env-conf-test] showString "Some "
  7851. 1160.66 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
  7852. 1160.66 s [opt-env-conf-test] @@ -334,7 +334,7 @@
  7853. 1160.66 s [opt-env-conf-test] showString "Some "
  7854. 1160.66 s [opt-env-conf-test] . showsPrec 11 mLoc
  7855. 1160.66 s [opt-env-conf-test] . showString " "
  7856. 1160.66 s [opt-env-conf-test] - . go 11 p
  7857. 1160.66 s [opt-env-conf-test] + . go -11 p
  7858. 1160.66 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7859. 1160.66 s [opt-env-conf-test] showParen (d > 10) $
  7860. 1160.66 s [opt-env-conf-test] showString "AllOrNothing "
  7861. 1160.66 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
  7862. 1160.66 s [opt-env-conf-test] @@ -322,7 +322,7 @@
  7863. 1160.66 s [opt-env-conf-test] showString "Alt "
  7864. 1160.66 s [opt-env-conf-test] . go 11 p1
  7865. 1160.66 s [opt-env-conf-test] . showString " "
  7866. 1160.66 s [opt-env-conf-test] - . go 11 p2
  7867. 1160.66 s [opt-env-conf-test] + . go 0 p2
  7868. 1160.66 s [opt-env-conf-test] ParserMany mLoc p ->
  7869. 1160.67 s [opt-env-conf-test] showParen (d > 10) $
  7870. 1160.67 s [opt-env-conf-test] showString "Many "
  7871. 1160.67 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
  7872. 1160.67 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7873. 1160.67 s [opt-env-conf-test] . showString " "
  7874. 1160.67 s [opt-env-conf-test] . go 11 p
  7875. 1160.67 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7876. 1160.67 s [opt-env-conf-test] - showParen (d > 10) $
  7877. 1160.67 s [opt-env-conf-test] + showParen (d > 1) $
  7878. 1160.67 s [opt-env-conf-test] showString "AllOrNothing "
  7879. 1160.67 s [opt-env-conf-test] . showsPrec 11 mLoc
  7880. 1160.67 s [opt-env-conf-test] . showString " "
  7881. 1160.67 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
  7882. 1160.67 s [opt-env-conf-test] @@ -322,7 +322,7 @@
  7883. 1160.67 s [opt-env-conf-test] showString "Alt "
  7884. 1160.67 s [opt-env-conf-test] . go 11 p1
  7885. 1160.67 s [opt-env-conf-test] . showString " "
  7886. 1160.67 s [opt-env-conf-test] - . go 11 p2
  7887. 1160.67 s [opt-env-conf-test] + . go 1 p2
  7888. 1160.67 s [opt-env-conf-test] ParserMany mLoc p ->
  7889. 1160.67 s [opt-env-conf-test] showParen (d > 10) $
  7890. 1160.67 s [opt-env-conf-test] showString "Many "
  7891. 1160.67 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
  7892. 1160.67 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7893. 1160.67 s [opt-env-conf-test] . showString " "
  7894. 1160.67 s [opt-env-conf-test] . go 11 p
  7895. 1160.67 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7896. 1160.67 s [opt-env-conf-test] - showParen (d > 10) $
  7897. 1160.67 s [opt-env-conf-test] + showParen (d > 0) $
  7898. 1160.67 s [opt-env-conf-test] showString "AllOrNothing "
  7899. 1160.67 s [opt-env-conf-test] . showsPrec 11 mLoc
  7900. 1160.67 s [opt-env-conf-test] . showString " "
  7901. 1160.67 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
  7902. 1160.67 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7903. 1160.68 s [opt-env-conf-test] . showString " "
  7904. 1160.68 s [opt-env-conf-test] . go 11 p
  7905. 1160.68 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7906. 1160.68 s [opt-env-conf-test] - showParen (d > 10) $
  7907. 1160.68 s [opt-env-conf-test] + showParen (d > -10) $
  7908. 1160.68 s [opt-env-conf-test] showString "AllOrNothing "
  7909. 1160.68 s [opt-env-conf-test] . showsPrec 11 mLoc
  7910. 1160.68 s [opt-env-conf-test] . showString " "
  7911. 1160.68 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:20-26
  7912. 1160.68 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7913. 1160.68 s [opt-env-conf-test] . showString " "
  7914. 1160.68 s [opt-env-conf-test] . go 11 p
  7915. 1160.68 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7916. 1160.68 s [opt-env-conf-test] - showParen (d > 10) $
  7917. 1160.68 s [opt-env-conf-test] + showParen (True) $
  7918. 1160.68 s [opt-env-conf-test] showString "AllOrNothing "
  7919. 1160.68 s [opt-env-conf-test] . showsPrec 11 mLoc
  7920. 1160.68 s [opt-env-conf-test] . showString " "
  7921. 1160.68 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
  7922. 1160.68 s [opt-env-conf-test] @@ -322,7 +322,7 @@
  7923. 1160.68 s [opt-env-conf-test] showString "Alt "
  7924. 1160.68 s [opt-env-conf-test] . go 11 p1
  7925. 1160.68 s [opt-env-conf-test] . showString " "
  7926. 1160.68 s [opt-env-conf-test] - . go 11 p2
  7927. 1160.68 s [opt-env-conf-test] + . go -11 p2
  7928. 1160.68 s [opt-env-conf-test] ParserMany mLoc p ->
  7929. 1160.68 s [opt-env-conf-test] showParen (d > 10) $
  7930. 1160.68 s [opt-env-conf-test] showString "Many "
  7931. 1160.68 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:20-26
  7932. 1160.68 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7933. 1160.69 s [opt-env-conf-test] . showString " "
  7934. 1160.69 s [opt-env-conf-test] . go 11 p
  7935. 1160.69 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7936. 1160.69 s [opt-env-conf-test] - showParen (d > 10) $
  7937. 1160.69 s [opt-env-conf-test] + showParen (False) $
  7938. 1160.69 s [opt-env-conf-test] showString "AllOrNothing "
  7939. 1160.69 s [opt-env-conf-test] . showsPrec 11 mLoc
  7940. 1160.69 s [opt-env-conf-test] . showString " "
  7941. 1160.69 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:339:20-26
  7942. 1160.69 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7943. 1160.69 s [opt-env-conf-test] . showString " "
  7944. 1160.69 s [opt-env-conf-test] . go 11 p
  7945. 1160.69 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7946. 1160.69 s [opt-env-conf-test] - showParen (d > 10) $
  7947. 1160.69 s [opt-env-conf-test] + showParen (not d > 10) $
  7948. 1160.69 s [opt-env-conf-test] showString "AllOrNothing "
  7949. 1160.69 s [opt-env-conf-test] . showsPrec 11 mLoc
  7950. 1160.69 s [opt-env-conf-test] . showString " "
  7951. 1160.69 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:19-27
  7952. 1160.69 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7953. 1160.69 s [opt-env-conf-test] . showString " "
  7954. 1160.69 s [opt-env-conf-test] . go 11 p
  7955. 1160.69 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7956. 1160.69 s [opt-env-conf-test] - showParen (d > 10) $
  7957. 1160.69 s [opt-env-conf-test] + showParen True $
  7958. 1160.69 s [opt-env-conf-test] showString "AllOrNothing "
  7959. 1160.69 s [opt-env-conf-test] . showsPrec 11 mLoc
  7960. 1160.69 s [opt-env-conf-test] . showString " "
  7961. 1160.69 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:19-27
  7962. 1160.69 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7963. 1160.69 s [opt-env-conf-test] . showString " "
  7964. 1160.69 s [opt-env-conf-test] . go 11 p
  7965. 1160.69 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7966. 1160.70 s [opt-env-conf-test] - showParen (d > 10) $
  7967. 1160.70 s [opt-env-conf-test] + showParen False $
  7968. 1160.70 s [opt-env-conf-test] showString "AllOrNothing "
  7969. 1160.70 s [opt-env-conf-test] . showsPrec 11 mLoc
  7970. 1160.70 s [opt-env-conf-test] . showString " "
  7971. 1160.70 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:339:19-27
  7972. 1160.70 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7973. 1160.70 s [opt-env-conf-test] . showString " "
  7974. 1160.70 s [opt-env-conf-test] . go 11 p
  7975. 1160.70 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7976. 1160.70 s [opt-env-conf-test] - showParen (d > 10) $
  7977. 1160.70 s [opt-env-conf-test] + showParen not (d > 10) $
  7978. 1160.70 s [opt-env-conf-test] showString "AllOrNothing "
  7979. 1160.70 s [opt-env-conf-test] . showsPrec 11 mLoc
  7980. 1160.70 s [opt-env-conf-test] . showString " "
  7981. 1160.70 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
  7982. 1160.70 s [opt-env-conf-test] @@ -338,7 +338,7 @@
  7983. 1160.70 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7984. 1160.70 s [opt-env-conf-test] showParen (d > 10) $
  7985. 1160.70 s [opt-env-conf-test] showString "AllOrNothing "
  7986. 1160.70 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7987. 1160.70 s [opt-env-conf-test] + . showsPrec 1 mLoc
  7988. 1160.70 s [opt-env-conf-test] . showString " "
  7989. 1160.70 s [opt-env-conf-test] . go 11 p
  7990. 1160.70 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7991. 1160.70 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
  7992. 1160.70 s [opt-env-conf-test] @@ -338,7 +338,7 @@
  7993. 1160.70 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7994. 1160.70 s [opt-env-conf-test] showParen (d > 10) $
  7995. 1160.70 s [opt-env-conf-test] showString "AllOrNothing "
  7996. 1160.70 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7997. 1160.70 s [opt-env-conf-test] + . showsPrec 0 mLoc
  7998. 1160.70 s [opt-env-conf-test] . showString " "
  7999. 1160.70 s [opt-env-conf-test] . go 11 p
  8000. 1160.70 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  8001. 1160.70 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
  8002. 1160.70 s [opt-env-conf-test] @@ -338,7 +338,7 @@
  8003. 1160.70 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  8004. 1160.70 s [opt-env-conf-test] showParen (d > 10) $
  8005. 1160.70 s [opt-env-conf-test] showString "AllOrNothing "
  8006. 1160.70 s [opt-env-conf-test] - . showsPrec 11 mLoc
  8007. 1160.70 s [opt-env-conf-test] + . showsPrec -11 mLoc
  8008. 1160.70 s [opt-env-conf-test] . showString " "
  8009. 1160.70 s [opt-env-conf-test] . go 11 p
  8010. 1160.70 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  8011. 1160.70 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
  8012. 1160.70 s [opt-env-conf-test] @@ -340,7 +340,7 @@
  8013. 1160.71 s [opt-env-conf-test] showString "AllOrNothing "
  8014. 1160.71 s [opt-env-conf-test] . showsPrec 11 mLoc
  8015. 1160.71 s [opt-env-conf-test] . showString " "
  8016. 1160.71 s [opt-env-conf-test] - . go 11 p
  8017. 1160.71 s [opt-env-conf-test] + . go 0 p
  8018. 1160.71 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  8019. 1160.71 s [opt-env-conf-test] showParen (d > 10) $
  8020. 1160.71 s [opt-env-conf-test] showString "Check "
  8021. 1160.71 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
  8022. 1160.71 s [opt-env-conf-test] @@ -340,7 +340,7 @@
  8023. 1160.71 s [opt-env-conf-test] showString "AllOrNothing "
  8024. 1160.71 s [opt-env-conf-test] . showsPrec 11 mLoc
  8025. 1160.71 s [opt-env-conf-test] . showString " "
  8026. 1160.71 s [opt-env-conf-test] - . go 11 p
  8027. 1160.71 s [opt-env-conf-test] + . go 1 p
  8028. 1160.71 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  8029. 1160.71 s [opt-env-conf-test] showParen (d > 10) $
  8030. 1160.71 s [opt-env-conf-test] showString "Check "
  8031. 1160.71 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
  8032. 1160.71 s [opt-env-conf-test] @@ -340,7 +340,7 @@
  8033. 1160.71 s [opt-env-conf-test] showString "AllOrNothing "
  8034. 1160.71 s [opt-env-conf-test] . showsPrec 11 mLoc
  8035. 1160.71 s [opt-env-conf-test] . showString " "
  8036. 1160.71 s [opt-env-conf-test] - . go 11 p
  8037. 1160.71 s [opt-env-conf-test] + . go -11 p
  8038. 1160.71 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  8039. 1160.71 s [opt-env-conf-test] showParen (d > 10) $
  8040. 1160.71 s [opt-env-conf-test] showString "Check "
  8041. 1160.71 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
  8042. 1160.71 s [opt-env-conf-test] @@ -313,7 +313,7 @@
  8043. 1160.71 s [opt-env-conf-test] showString "Select "
  8044. 1160.71 s [opt-env-conf-test] . go 11 pe
  8045. 1160.71 s [opt-env-conf-test] . showString " "
  8046. 1160.71 s [opt-env-conf-test] - . go 11 pf
  8047. 1160.71 s [opt-env-conf-test] + . go 1 pf
  8048. 1160.71 s [opt-env-conf-test] ParserEmpty mLoc ->
  8049. 1160.71 s [opt-env-conf-test] showString "Empty "
  8050. 1160.71 s [opt-env-conf-test] . showsPrec 11 mLoc
  8051. 1160.71 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
  8052. 1160.71 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  8053. 1160.71 s [opt-env-conf-test] . showString " "
  8054. 1160.71 s [opt-env-conf-test] . go 11 p
  8055. 1160.71 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  8056. 1160.71 s [opt-env-conf-test] - showParen (d > 10) $
  8057. 1160.71 s [opt-env-conf-test] + showParen (d > 1) $
  8058. 1160.71 s [opt-env-conf-test] showString "Check "
  8059. 1160.71 s [opt-env-conf-test] . showsPrec 11 mLoc
  8060. 1160.71 s [opt-env-conf-test] . showString " "
  8061. 1160.71 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
  8062. 1160.72 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  8063. 1160.72 s [opt-env-conf-test] . showString " "
  8064. 1160.72 s [opt-env-conf-test] . go 11 p
  8065. 1160.72 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  8066. 1160.72 s [opt-env-conf-test] - showParen (d > 10) $
  8067. 1160.72 s [opt-env-conf-test] + showParen (d > 0) $
  8068. 1160.72 s [opt-env-conf-test] showString "Check "
  8069. 1160.72 s [opt-env-conf-test] . showsPrec 11 mLoc
  8070. 1160.72 s [opt-env-conf-test] . showString " "
  8071. 1173.55 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
  8072. 1173.55 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  8073. 1173.55 s [opt-env-conf-test] . showString " "
  8074. 1173.57 s [opt-env-conf-test] . go 11 p
  8075. 1173.57 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  8076. 1173.58 s [opt-env-conf-test] - showParen (d > 10) $
  8077. 1173.58 s [opt-env-conf-test] + showParen (d > -10) $
  8078. 1173.58 s [opt-env-conf-test] showString "Check "
  8079. 1173.58 s [opt-env-conf-test] . showsPrec 11 mLoc
  8080. 1173.58 s [opt-env-conf-test] . showString " "
  8081. 1173.58 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:20-26
  8082. 1173.58 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  8083. 1173.58 s [opt-env-conf-test] . showString " "
  8084. 1173.58 s [opt-env-conf-test] . go 11 p
  8085. 1173.58 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  8086. 1173.58 s [opt-env-conf-test] - showParen (d > 10) $
  8087. 1173.58 s [opt-env-conf-test] + showParen (True) $
  8088. 1173.58 s [opt-env-conf-test] showString "Check "
  8089. 1173.58 s [opt-env-conf-test] . showsPrec 11 mLoc
  8090. 1173.58 s [opt-env-conf-test] . showString " "
  8091. 1173.58 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
  8092. 1173.58 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  8093. 1173.58 s [opt-env-conf-test] . showString " "
  8094. 1173.58 s [opt-env-conf-test] . go 11 p2
  8095. 1173.58 s [opt-env-conf-test] ParserMany mLoc p ->
  8096. 1173.58 s [opt-env-conf-test] - showParen (d > 10) $
  8097. 1173.58 s [opt-env-conf-test] + showParen (d > 0) $
  8098. 1173.58 s [opt-env-conf-test] showString "Many "
  8099. 1173.58 s [opt-env-conf-test] . showsPrec 11 mLoc
  8100. 1173.58 s [opt-env-conf-test] . showString " "
  8101. 1173.58 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
  8102. 1173.58 s [opt-env-conf-test] @@ -320,7 +320,7 @@
  8103. 1173.58 s [opt-env-conf-test] ParserAlt p1 p2 ->
  8104. 1173.58 s [opt-env-conf-test] showParen (d > 10) $
  8105. 1173.58 s [opt-env-conf-test] showString "Alt "
  8106. 1173.58 s [opt-env-conf-test] - . go 11 p1
  8107. 1173.58 s [opt-env-conf-test] + . go 1 p1
  8108. 1173.58 s [opt-env-conf-test] . showString " "
  8109. 1173.58 s [opt-env-conf-test] . go 11 p2
  8110. 1173.58 s [opt-env-conf-test] ParserMany mLoc p ->
  8111. 1173.58 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
  8112. 1173.58 s [opt-env-conf-test] @@ -320,7 +320,7 @@
  8113. 1173.58 s [opt-env-conf-test] ParserAlt p1 p2 ->
  8114. 1173.58 s [opt-env-conf-test] showParen (d > 10) $
  8115. 1173.59 s [opt-env-conf-test] showString "Alt "
  8116. 1173.59 s [opt-env-conf-test] - . go 11 p1
  8117. 1173.59 s [opt-env-conf-test] + . go 0 p1
  8118. 1173.59 s [opt-env-conf-test] . showString " "
  8119. 1173.59 s [opt-env-conf-test] . go 11 p2
  8120. 1173.59 s [opt-env-conf-test] ParserMany mLoc p ->
  8121. 1173.59 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:321:19-27
  8122. 1173.59 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  8123. 1173.59 s [opt-env-conf-test] showString "Empty "
  8124. 1173.59 s [opt-env-conf-test] . showsPrec 11 mLoc
  8125. 1173.59 s [opt-env-conf-test] ParserAlt p1 p2 ->
  8126. 1173.59 s [opt-env-conf-test] - showParen (d > 10) $
  8127. 1173.59 s [opt-env-conf-test] + showParen not (d > 10) $
  8128. 1173.59 s [opt-env-conf-test] showString "Alt "
  8129. 1173.59 s [opt-env-conf-test] . go 11 p1
  8130. 1173.59 s [opt-env-conf-test] . showString " "
  8131. 1173.59 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
  8132. 1173.59 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  8133. 1173.59 s [opt-env-conf-test] . showString " "
  8134. 1173.59 s [opt-env-conf-test] . go 11 p2
  8135. 1173.59 s [opt-env-conf-test] ParserMany mLoc p ->
  8136. 1173.59 s [opt-env-conf-test] - showParen (d > 10) $
  8137. 1173.59 s [opt-env-conf-test] + showParen (d > 1) $
  8138. 1173.59 s [opt-env-conf-test] showString "Many "
  8139. 1173.59 s [opt-env-conf-test] . showsPrec 11 mLoc
  8140. 1173.59 s [opt-env-conf-test] . showString " "
  8141. 1173.59 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
  8142. 1173.59 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  8143. 1173.59 s [opt-env-conf-test] showString "Empty "
  8144. 1173.59 s [opt-env-conf-test] . showsPrec 11 mLoc
  8145. 1173.59 s [opt-env-conf-test] ParserAlt p1 p2 ->
  8146. 1173.59 s [opt-env-conf-test] - showParen (d > 10) $
  8147. 1173.59 s [opt-env-conf-test] + showParen (d > -10) $
  8148. 1173.59 s [opt-env-conf-test] showString "Alt "
  8149. 1173.59 s [opt-env-conf-test] . go 11 p1
  8150. 1173.59 s [opt-env-conf-test] . showString " "
  8151. 1173.59 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
  8152. 1173.59 s [opt-env-conf-test] @@ -320,7 +320,7 @@
  8153. 1173.59 s [opt-env-conf-test] ParserAlt p1 p2 ->
  8154. 1173.59 s [opt-env-conf-test] showParen (d > 10) $
  8155. 1173.59 s [opt-env-conf-test] showString "Alt "
  8156. 1173.59 s [opt-env-conf-test] - . go 11 p1
  8157. 1173.59 s [opt-env-conf-test] + . go -11 p1
  8158. 1173.59 s [opt-env-conf-test] . showString " "
  8159. 1173.59 s [opt-env-conf-test] . go 11 p2
  8160. 1173.59 s [opt-env-conf-test] ParserMany mLoc p ->
  8161. 1173.59 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:19-27
  8162. 1173.59 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  8163. 1173.59 s [opt-env-conf-test] . showString " "
  8164. 1173.59 s [opt-env-conf-test] . go 11 p
  8165. 1173.59 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  8166. 1173.59 s [opt-env-conf-test] - showParen (d > 10) $
  8167. 1173.59 s [opt-env-conf-test] + showParen True $
  8168. 1173.59 s [opt-env-conf-test] showString "Check "
  8169. 1173.59 s [opt-env-conf-test] . showsPrec 11 mLoc
  8170. 1173.59 s [opt-env-conf-test] . showString " "
  8171. 1173.59 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:345:20-26
  8172. 1173.59 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  8173. 1173.59 s [opt-env-conf-test] . showString " "
  8174. 1173.59 s [opt-env-conf-test] . go 11 p
  8175. 1173.59 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  8176. 1173.59 s [opt-env-conf-test] - showParen (d > 10) $
  8177. 1173.59 s [opt-env-conf-test] + showParen (not d > 10) $
  8178. 1173.59 s [opt-env-conf-test] showString "Check "
  8179. 1173.59 s [opt-env-conf-test] . showsPrec 11 mLoc
  8180. 1173.59 s [opt-env-conf-test] . showString " "
  8181. 1173.59 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:20-26
  8182. 1173.59 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  8183. 1173.59 s [opt-env-conf-test] showString "Empty "
  8184. 1173.59 s [opt-env-conf-test] . showsPrec 11 mLoc
  8185. 1173.59 s [opt-env-conf-test] ParserAlt p1 p2 ->
  8186. 1173.59 s [opt-env-conf-test] - showParen (d > 10) $
  8187. 1173.59 s [opt-env-conf-test] + showParen (False) $
  8188. 1173.59 s [opt-env-conf-test] showString "Alt "
  8189. 1173.59 s [opt-env-conf-test] . go 11 p1
  8190. 1173.59 s [opt-env-conf-test] . showString " "
  8191. 1173.59 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:20-26
  8192. 1173.59 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  8193. 1173.59 s [opt-env-conf-test] . showString " "
  8194. 1173.59 s [opt-env-conf-test] . go 11 p
  8195. 1173.59 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  8196. 1173.59 s [opt-env-conf-test] - showParen (d > 10) $
  8197. 1173.59 s [opt-env-conf-test] + showParen (False) $
  8198. 1173.59 s [opt-env-conf-test] showString "Check "
  8199. 1173.59 s [opt-env-conf-test] . showsPrec 11 mLoc
  8200. 1173.59 s [opt-env-conf-test] . showString " "
  8201. 1173.59 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
  8202. 1173.59 s [opt-env-conf-test] @@ -334,7 +334,7 @@
  8203. 1173.59 s [opt-env-conf-test] showString "Some "
  8204. 1173.59 s [opt-env-conf-test] . showsPrec 11 mLoc
  8205. 1173.59 s [opt-env-conf-test] . showString " "
  8206. 1173.59 s [opt-env-conf-test] - . go 11 p
  8207. 1173.59 s [opt-env-conf-test] + . go 1 p
  8208. 1173.59 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  8209. 1173.59 s [opt-env-conf-test] showParen (d > 10) $
  8210. 1173.59 s [opt-env-conf-test] showString "AllOrNothing "
  8211. 1173.59 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
  8212. 1173.59 s [opt-env-conf-test] @@ -313,7 +313,7 @@
  8213. 1173.59 s [opt-env-conf-test] showString "Select "
  8214. 1173.59 s [opt-env-conf-test] . go 11 pe
  8215. 1173.59 s [opt-env-conf-test] . showString " "
  8216. 1173.59 s [opt-env-conf-test] - . go 11 pf
  8217. 1173.59 s [opt-env-conf-test] + . go 0 pf
  8218. 1173.59 s [opt-env-conf-test] ParserEmpty mLoc ->
  8219. 1173.59 s [opt-env-conf-test] showString "Empty "
  8220. 1173.59 s [opt-env-conf-test] . showsPrec 11 mLoc
  8221. 1173.59 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:33-41
  8222. 1173.59 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  8223. 1173.59 s [opt-env-conf-test] where
  8224. 1173.59 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  8225. 1173.59 s [opt-env-conf-test] go d = \case
  8226. 1173.59 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  8227. 1173.59 s [opt-env-conf-test] + ParserPure _ -> showParen False $ showString "Pure _"
  8228. 1173.59 s [opt-env-conf-test] ParserAp pf pa ->
  8229. 1173.59 s [opt-env-conf-test] showParen (d > 10) $
  8230. 1173.59 s [opt-env-conf-test] showString "Ap "
  8231. 1173.59 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
  8232. 1173.59 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  8233. 1173.59 s [opt-env-conf-test] showString "Empty "
  8234. 1173.59 s [opt-env-conf-test] . showsPrec 11 mLoc
  8235. 1173.59 s [opt-env-conf-test] ParserAlt p1 p2 ->
  8236. 1173.59 s [opt-env-conf-test] - showParen (d > 10) $
  8237. 1173.59 s [opt-env-conf-test] + showParen (d > 1) $
  8238. 1173.59 s [opt-env-conf-test] showString "Alt "
  8239. 1173.59 s [opt-env-conf-test] . go 11 p1
  8240. 1173.59 s [opt-env-conf-test] . showString " "
  8241. 1173.60 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
  8242. 1173.60 s [opt-env-conf-test] @@ -305,7 +305,7 @@
  8243. 1173.60 s [opt-env-conf-test] ParserAp pf pa ->
  8244. 1173.60 s [opt-env-conf-test] showParen (d > 10) $
  8245. 1173.60 s [opt-env-conf-test] showString "Ap "
  8246. 1173.60 s [opt-env-conf-test] - . go 11 pf
  8247. 1173.60 s [opt-env-conf-test] + . go -11 pf
  8248. 1173.60 s [opt-env-conf-test] . showString " "
  8249. 1173.60 s [opt-env-conf-test] . go 11 pa
  8250. 1173.60 s [opt-env-conf-test] ParserSelect pe pf ->
  8251. 1173.60 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
  8252. 1173.60 s [opt-env-conf-test] @@ -311,7 +311,7 @@
  8253. 1173.60 s [opt-env-conf-test] ParserSelect pe pf ->
  8254. 1173.60 s [opt-env-conf-test] showParen (d > 10) $
  8255. 1173.60 s [opt-env-conf-test] showString "Select "
  8256. 1173.60 s [opt-env-conf-test] - . go 11 pe
  8257. 1173.60 s [opt-env-conf-test] + . go 0 pe
  8258. 1173.60 s [opt-env-conf-test] . showString " "
  8259. 1173.60 s [opt-env-conf-test] . go 11 pf
  8260. 1173.60 s [opt-env-conf-test] ParserEmpty mLoc ->
  8261. 1173.60 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:19-27
  8262. 1173.60 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  8263. 1173.60 s [opt-env-conf-test] showString "Empty "
  8264. 1173.60 s [opt-env-conf-test] . showsPrec 11 mLoc
  8265. 1173.60 s [opt-env-conf-test] ParserAlt p1 p2 ->
  8266. 1173.60 s [opt-env-conf-test] - showParen (d > 10) $
  8267. 1173.60 s [opt-env-conf-test] + showParen False $
  8268. 1173.60 s [opt-env-conf-test] showString "Alt "
  8269. 1173.60 s [opt-env-conf-test] . go 11 p1
  8270. 1173.60 s [opt-env-conf-test] . showString " "
  8271. 1173.60 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
  8272. 1173.60 s [opt-env-conf-test] @@ -350,7 +350,7 @@
  8273. 1173.60 s [opt-env-conf-test] . showString " "
  8274. 1173.60 s [opt-env-conf-test] . showsPrec 11 caps
  8275. 1173.60 s [opt-env-conf-test] . showString " _ "
  8276. 1173.60 s [opt-env-conf-test] - . go 11 p
  8277. 1173.60 s [opt-env-conf-test] + . go 0 p
  8278. 1173.60 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  8279. 1173.60 s [opt-env-conf-test] showParen (d > 10) $
  8280. 1173.60 s [opt-env-conf-test] showString "Commands "
  8281. 1173.60 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
  8282. 1173.60 s [opt-env-conf-test] @@ -350,7 +350,7 @@
  8283. 1173.60 s [opt-env-conf-test] . showString " "
  8284. 1173.60 s [opt-env-conf-test] . showsPrec 11 caps
  8285. 1173.60 s [opt-env-conf-test] . showString " _ "
  8286. 1173.60 s [opt-env-conf-test] - . go 11 p
  8287. 1173.60 s [opt-env-conf-test] + . go 1 p
  8288. 1173.60 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  8289. 1173.60 s [opt-env-conf-test] showParen (d > 10) $
  8290. 1173.60 s [opt-env-conf-test] showString "Commands "
  8291. 1173.60 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
  8292. 1173.60 s [opt-env-conf-test] @@ -348,7 +348,7 @@
  8293. 1173.60 s [opt-env-conf-test] . showString " "
  8294. 1173.60 s [opt-env-conf-test] . showsPrec 11 forgivable
  8295. 1173.60 s [opt-env-conf-test] . showString " "
  8296. 1173.60 s [opt-env-conf-test] - . showsPrec 11 caps
  8297. 1173.60 s [opt-env-conf-test] + . showsPrec -11 caps
  8298. 1173.60 s [opt-env-conf-test] . showString " _ "
  8299. 1173.60 s [opt-env-conf-test] . go 11 p
  8300. 1173.60 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  8301. 1173.60 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
  8302. 1173.60 s [opt-env-conf-test] @@ -348,7 +348,7 @@
  8303. 1173.60 s [opt-env-conf-test] . showString " "
  8304. 1173.60 s [opt-env-conf-test] . showsPrec 11 forgivable
  8305. 1173.60 s [opt-env-conf-test] . showString " "
  8306. 1173.60 s [opt-env-conf-test] - . showsPrec 11 caps
  8307. 1173.60 s [opt-env-conf-test] + . showsPrec 1 caps
  8308. 1173.60 s [opt-env-conf-test] . showString " _ "
  8309. 1185.84 s [opt-env-conf-test] . go 11 p
  8310. 1185.86 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  8311. 1185.86 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:19-27
  8312. 1185.87 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  8313. 1185.87 s [opt-env-conf-test] . showString " _ "
  8314. 1185.87 s [opt-env-conf-test] . go 11 p
  8315. 1185.87 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  8316. 1185.87 s [opt-env-conf-test] - showParen (d > 10) $
  8317. 1185.87 s [opt-env-conf-test] + showParen False $
  8318. 1185.87 s [opt-env-conf-test] showString "Commands "
  8319. 1185.87 s [opt-env-conf-test] . showsPrec 11 mLoc
  8320. 1185.87 s [opt-env-conf-test] . showString " "
  8321. 1185.87 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:355:19-27
  8322. 1185.87 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  8323. 1185.87 s [opt-env-conf-test] . showString " _ "
  8324. 1185.87 s [opt-env-conf-test] . go 11 p
  8325. 1185.87 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  8326. 1185.87 s [opt-env-conf-test] - showParen (d > 10) $
  8327. 1185.87 s [opt-env-conf-test] + showParen not (d > 10) $
  8328. 1185.87 s [opt-env-conf-test] showString "Commands "
  8329. 1185.87 s [opt-env-conf-test] . showsPrec 11 mLoc
  8330. 1185.87 s [opt-env-conf-test] . showString " "
  8331. 1185.87 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
  8332. 1185.87 s [opt-env-conf-test] @@ -354,7 +354,7 @@
  8333. 1185.87 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  8334. 1185.87 s [opt-env-conf-test] showParen (d > 10) $
  8335. 1185.88 s [opt-env-conf-test] showString "Commands "
  8336. 1185.88 s [opt-env-conf-test] - . showsPrec 11 mLoc
  8337. 1185.88 s [opt-env-conf-test] + . showsPrec 0 mLoc
  8338. 1185.88 s [opt-env-conf-test] . showString " "
  8339. 1185.88 s [opt-env-conf-test] . showsPrec 11 mDefault
  8340. 1185.88 s [opt-env-conf-test] . showString " "
  8341. 1185.88 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
  8342. 1185.88 s [opt-env-conf-test] @@ -354,7 +354,7 @@
  8343. 1185.88 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  8344. 1185.88 s [opt-env-conf-test] showParen (d > 10) $
  8345. 1185.88 s [opt-env-conf-test] showString "Commands "
  8346. 1185.88 s [opt-env-conf-test] - . showsPrec 11 mLoc
  8347. 1185.88 s [opt-env-conf-test] + . showsPrec 1 mLoc
  8348. 1185.88 s [opt-env-conf-test] . showString " "
  8349. 1185.88 s [opt-env-conf-test] . showsPrec 11 mDefault
  8350. 1185.88 s [opt-env-conf-test] . showString " "
  8351. 1185.88 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
  8352. 1185.88 s [opt-env-conf-test] @@ -354,7 +354,7 @@
  8353. 1185.88 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  8354. 1185.88 s [opt-env-conf-test] showParen (d > 10) $
  8355. 1185.88 s [opt-env-conf-test] showString "Commands "
  8356. 1185.88 s [opt-env-conf-test] - . showsPrec 11 mLoc
  8357. 1185.88 s [opt-env-conf-test] + . showsPrec -11 mLoc
  8358. 1185.88 s [opt-env-conf-test] . showString " "
  8359. 1185.88 s [opt-env-conf-test] . showsPrec 11 mDefault
  8360. 1185.88 s [opt-env-conf-test] . showString " "
  8361. 1185.88 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
  8362. 1185.88 s [opt-env-conf-test] @@ -356,7 +356,7 @@
  8363. 1185.88 s [opt-env-conf-test] showString "Commands "
  8364. 1185.88 s [opt-env-conf-test] . showsPrec 11 mLoc
  8365. 1185.88 s [opt-env-conf-test] . showString " "
  8366. 1185.88 s [opt-env-conf-test] - . showsPrec 11 mDefault
  8367. 1185.89 s [opt-env-conf-test] + . showsPrec 0 mDefault
  8368. 1185.89 s [opt-env-conf-test] . showString " "
  8369. 1185.89 s [opt-env-conf-test] . showListWith
  8370. 1185.89 s [opt-env-conf-test] showCommandABit
  8371. 1185.89 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
  8372. 1185.89 s [opt-env-conf-test] @@ -356,7 +356,7 @@
  8373. 1185.89 s [opt-env-conf-test] showString "Commands "
  8374. 1185.89 s [opt-env-conf-test] . showsPrec 11 mLoc
  8375. 1185.89 s [opt-env-conf-test] . showString " "
  8376. 1185.89 s [opt-env-conf-test] - . showsPrec 11 mDefault
  8377. 1185.89 s [opt-env-conf-test] + . showsPrec 1 mDefault
  8378. 1185.89 s [opt-env-conf-test] . showString " "
  8379. 1185.89 s [opt-env-conf-test] . showListWith
  8380. 1185.89 s [opt-env-conf-test] showCommandABit
  8381. 1185.89 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
  8382. 1185.89 s [opt-env-conf-test] @@ -356,7 +356,7 @@
  8383. 1185.89 s [opt-env-conf-test] showString "Commands "
  8384. 1185.89 s [opt-env-conf-test] . showsPrec 11 mLoc
  8385. 1185.89 s [opt-env-conf-test] . showString " "
  8386. 1185.89 s [opt-env-conf-test] - . showsPrec 11 mDefault
  8387. 1185.89 s [opt-env-conf-test] + . showsPrec -11 mDefault
  8388. 1185.89 s [opt-env-conf-test] . showString " "
  8389. 1185.89 s [opt-env-conf-test] . showListWith
  8390. 1185.89 s [opt-env-conf-test] showCommandABit
  8391. 1185.89 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
  8392. 1185.89 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  8393. 1185.89 s [opt-env-conf-test] showCommandABit
  8394. 1185.89 s [opt-env-conf-test] cs
  8395. 1185.89 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  8396. 1185.89 s [opt-env-conf-test] - showParen (d > 10) $
  8397. 1185.89 s [opt-env-conf-test] + showParen (d > 0) $
  8398. 1185.89 s [opt-env-conf-test] showString "WithConfig _ "
  8399. 1185.89 s [opt-env-conf-test] . showsPrec 11 mLoc
  8400. 1185.89 s [opt-env-conf-test] . showString " "
  8401. 1185.89 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
  8402. 1185.89 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  8403. 1185.89 s [opt-env-conf-test] showCommandABit
  8404. 1185.89 s [opt-env-conf-test] cs
  8405. 1185.89 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  8406. 1185.89 s [opt-env-conf-test] - showParen (d > 10) $
  8407. 1185.89 s [opt-env-conf-test] + showParen (d > 1) $
  8408. 1185.89 s [opt-env-conf-test] showString "WithConfig _ "
  8409. 1185.90 s [opt-env-conf-test] . showsPrec 11 mLoc
  8410. 1185.90 s [opt-env-conf-test] . showString " "
  8411. 1185.90 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
  8412. 1185.90 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  8413. 1185.90 s [opt-env-conf-test] showCommandABit
  8414. 1185.90 s [opt-env-conf-test] cs
  8415. 1185.90 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  8416. 1185.90 s [opt-env-conf-test] - showParen (d > 10) $
  8417. 1185.90 s [opt-env-conf-test] + showParen (d > -10) $
  8418. 1185.90 s [opt-env-conf-test] showString "WithConfig _ "
  8419. 1185.90 s [opt-env-conf-test] . showsPrec 11 mLoc
  8420. 1185.90 s [opt-env-conf-test] . showString " "
  8421. 1185.90 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:20-26
  8422. 1185.90 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  8423. 1185.90 s [opt-env-conf-test] showCommandABit
  8424. 1185.90 s [opt-env-conf-test] cs
  8425. 1185.90 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  8426. 1185.90 s [opt-env-conf-test] - showParen (d > 10) $
  8427. 1185.90 s [opt-env-conf-test] + showParen (True) $
  8428. 1185.90 s [opt-env-conf-test] showString "WithConfig _ "
  8429. 1185.90 s [opt-env-conf-test] . showsPrec 11 mLoc
  8430. 1185.90 s [opt-env-conf-test] . showString " "
  8431. 1185.90 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:20-26
  8432. 1185.90 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  8433. 1185.90 s [opt-env-conf-test] showCommandABit
  8434. 1185.90 s [opt-env-conf-test] cs
  8435. 1185.90 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  8436. 1185.90 s [opt-env-conf-test] - showParen (d > 10) $
  8437. 1185.90 s [opt-env-conf-test] + showParen (False) $
  8438. 1185.90 s [opt-env-conf-test] showString "WithConfig _ "
  8439. 1185.90 s [opt-env-conf-test] . showsPrec 11 mLoc
  8440. 1185.90 s [opt-env-conf-test] . showString " "
  8441. 1185.90 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:365:20-26
  8442. 1185.90 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  8443. 1185.90 s [opt-env-conf-test] showCommandABit
  8444. 1185.90 s [opt-env-conf-test] cs
  8445. 1185.90 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  8446. 1185.90 s [opt-env-conf-test] - showParen (d > 10) $
  8447. 1185.90 s [opt-env-conf-test] + showParen (not d > 10) $
  8448. 1185.90 s [opt-env-conf-test] showString "WithConfig _ "
  8449. 1185.90 s [opt-env-conf-test] . showsPrec 11 mLoc
  8450. 1185.90 s [opt-env-conf-test] . showString " "
  8451. 1185.90 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:19-27
  8452. 1185.90 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  8453. 1185.90 s [opt-env-conf-test] showCommandABit
  8454. 1185.90 s [opt-env-conf-test] cs
  8455. 1185.91 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  8456. 1185.91 s [opt-env-conf-test] - showParen (d > 10) $
  8457. 1185.91 s [opt-env-conf-test] + showParen True $
  8458. 1185.91 s [opt-env-conf-test] showString "WithConfig _ "
  8459. 1185.91 s [opt-env-conf-test] . showsPrec 11 mLoc
  8460. 1185.91 s [opt-env-conf-test] . showString " "
  8461. 1185.91 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:19-27
  8462. 1185.91 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  8463. 1185.91 s [opt-env-conf-test] showCommandABit
  8464. 1185.91 s [opt-env-conf-test] cs
  8465. 1185.91 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  8466. 1185.91 s [opt-env-conf-test] - showParen (d > 10) $
  8467. 1185.91 s [opt-env-conf-test] + showParen False $
  8468. 1185.91 s [opt-env-conf-test] showString "WithConfig _ "
  8469. 1185.91 s [opt-env-conf-test] . showsPrec 11 mLoc
  8470. 1185.91 s [opt-env-conf-test] . showString " "
  8471. 1185.91 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:365:19-27
  8472. 1185.91 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  8473. 1185.91 s [opt-env-conf-test] showCommandABit
  8474. 1185.91 s [opt-env-conf-test] cs
  8475. 1185.91 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  8476. 1185.91 s [opt-env-conf-test] - showParen (d > 10) $
  8477. 1185.91 s [opt-env-conf-test] + showParen not (d > 10) $
  8478. 1185.91 s [opt-env-conf-test] showString "WithConfig _ "
  8479. 1185.91 s [opt-env-conf-test] . showsPrec 11 mLoc
  8480. 1185.91 s [opt-env-conf-test] . showString " "
  8481. 1185.91 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
  8482. 1185.91 s [opt-env-conf-test] @@ -364,7 +364,7 @@
  8483. 1185.91 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  8484. 1185.91 s [opt-env-conf-test] showParen (d > 10) $
  8485. 1185.91 s [opt-env-conf-test] showString "WithConfig _ "
  8486. 1185.91 s [opt-env-conf-test] - . showsPrec 11 mLoc
  8487. 1185.91 s [opt-env-conf-test] + . showsPrec 0 mLoc
  8488. 1185.91 s [opt-env-conf-test] . showString " "
  8489. 1185.91 s [opt-env-conf-test] . go 11 p1
  8490. 1185.91 s [opt-env-conf-test] . showString " "
  8491. 1185.91 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
  8492. 1185.91 s [opt-env-conf-test] @@ -364,7 +364,7 @@
  8493. 1185.91 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  8494. 1185.91 s [opt-env-conf-test] showParen (d > 10) $
  8495. 1185.91 s [opt-env-conf-test] showString "WithConfig _ "
  8496. 1185.91 s [opt-env-conf-test] - . showsPrec 11 mLoc
  8497. 1185.91 s [opt-env-conf-test] + . showsPrec 1 mLoc
  8498. 1185.92 s [opt-env-conf-test] . showString " "
  8499. 1185.92 s [opt-env-conf-test] . go 11 p1
  8500. 1185.92 s [opt-env-conf-test] . showString " "
  8501. 1185.92 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
  8502. 1185.92 s [opt-env-conf-test] @@ -364,7 +364,7 @@
  8503. 1185.92 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  8504. 1185.92 s [opt-env-conf-test] showParen (d > 10) $
  8505. 1185.92 s [opt-env-conf-test] showString "WithConfig _ "
  8506. 1185.92 s [opt-env-conf-test] - . showsPrec 11 mLoc
  8507. 1185.92 s [opt-env-conf-test] + . showsPrec -11 mLoc
  8508. 1185.92 s [opt-env-conf-test] . showString " "
  8509. 1185.92 s [opt-env-conf-test] . go 11 p1
  8510. 1185.92 s [opt-env-conf-test] . showString " "
  8511. 1185.92 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
  8512. 1185.92 s [opt-env-conf-test] @@ -366,7 +366,7 @@
  8513. 1185.92 s [opt-env-conf-test] showString "WithConfig _ "
  8514. 1185.92 s [opt-env-conf-test] . showsPrec 11 mLoc
  8515. 1185.93 s [opt-env-conf-test] . showString " "
  8516. 1185.93 s [opt-env-conf-test] - . go 11 p1
  8517. 1185.93 s [opt-env-conf-test] + . go 0 p1
  8518. 1185.93 s [opt-env-conf-test] . showString " "
  8519. 1185.93 s [opt-env-conf-test] . go 11 p2
  8520. 1185.93 s [opt-env-conf-test] ParserSetting mLoc p ->
  8521. 1185.93 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
  8522. 1185.93 s [opt-env-conf-test] @@ -366,7 +366,7 @@
  8523. 1185.93 s [opt-env-conf-test] showString "WithConfig _ "
  8524. 1185.93 s [opt-env-conf-test] . showsPrec 11 mLoc
  8525. 1185.93 s [opt-env-conf-test] . showString " "
  8526. 1185.93 s [opt-env-conf-test] - . go 11 p1
  8527. 1185.93 s [opt-env-conf-test] + . go 1 p1
  8528. 1185.93 s [opt-env-conf-test] . showString " "
  8529. 1185.93 s [opt-env-conf-test] . go 11 p2
  8530. 1185.93 s [opt-env-conf-test] ParserSetting mLoc p ->
  8531. 1185.93 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
  8532. 1185.93 s [opt-env-conf-test] @@ -366,7 +366,7 @@
  8533. 1185.93 s [opt-env-conf-test] showString "WithConfig _ "
  8534. 1185.93 s [opt-env-conf-test] . showsPrec 11 mLoc
  8535. 1185.94 s [opt-env-conf-test] . showString " "
  8536. 1185.94 s [opt-env-conf-test] - . go 11 p1
  8537. 1195.00 s [opt-env-conf-test] + . go -11 p1
  8538. 1195.03 s [opt-env-conf-test] . showString " "
  8539. 1195.03 s [opt-env-conf-test] . go 11 p2
  8540. 1195.03 s [opt-env-conf-test] ParserSetting mLoc p ->
  8541. 1195.03 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
  8542. 1195.03 s [opt-env-conf-test] @@ -368,7 +368,7 @@
  8543. 1195.03 s [opt-env-conf-test] . showString " "
  8544. 1195.03 s [opt-env-conf-test] . go 11 p1
  8545. 1195.03 s [opt-env-conf-test] . showString " "
  8546. 1195.03 s [opt-env-conf-test] - . go 11 p2
  8547. 1195.03 s [opt-env-conf-test] + . go 0 p2
  8548. 1195.03 s [opt-env-conf-test] ParserSetting mLoc p ->
  8549. 1195.03 s [opt-env-conf-test] showParen (d > 10) $
  8550. 1195.03 s [opt-env-conf-test] showString "Setting "
  8551. 1195.03 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
  8552. 1195.03 s [opt-env-conf-test] @@ -368,7 +368,7 @@
  8553. 1195.03 s [opt-env-conf-test] . showString " "
  8554. 1195.03 s [opt-env-conf-test] . go 11 p1
  8555. 1195.03 s [opt-env-conf-test] . showString " "
  8556. 1195.03 s [opt-env-conf-test] - . go 11 p2
  8557. 1195.03 s [opt-env-conf-test] + . go 1 p2
  8558. 1195.03 s [opt-env-conf-test] ParserSetting mLoc p ->
  8559. 1195.03 s [opt-env-conf-test] showParen (d > 10) $
  8560. 1195.03 s [opt-env-conf-test] showString "Setting "
  8561. 1195.03 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
  8562. 1195.03 s [opt-env-conf-test] @@ -368,7 +368,7 @@
  8563. 1195.03 s [opt-env-conf-test] . showString " "
  8564. 1195.03 s [opt-env-conf-test] . go 11 p1
  8565. 1195.03 s [opt-env-conf-test] . showString " "
  8566. 1195.04 s [opt-env-conf-test] - . go 11 p2
  8567. 1195.04 s [opt-env-conf-test] + . go -11 p2
  8568. 1195.04 s [opt-env-conf-test] ParserSetting mLoc p ->
  8569. 1195.04 s [opt-env-conf-test] showParen (d > 10) $
  8570. 1195.04 s [opt-env-conf-test] showString "Setting "
  8571. 1195.04 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
  8572. 1195.04 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8573. 1195.04 s [opt-env-conf-test] . showString " "
  8574. 1195.04 s [opt-env-conf-test] . go 11 p2
  8575. 1195.04 s [opt-env-conf-test] ParserSetting mLoc p ->
  8576. 1195.04 s [opt-env-conf-test] - showParen (d > 10) $
  8577. 1195.04 s [opt-env-conf-test] + showParen (d > 0) $
  8578. 1195.04 s [opt-env-conf-test] showString "Setting "
  8579. 1195.04 s [opt-env-conf-test] . showsPrec 11 mLoc
  8580. 1195.04 s [opt-env-conf-test] . showString " "
  8581. 1195.04 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
  8582. 1195.04 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8583. 1195.04 s [opt-env-conf-test] . showString " "
  8584. 1195.04 s [opt-env-conf-test] . go 11 p2
  8585. 1195.04 s [opt-env-conf-test] ParserSetting mLoc p ->
  8586. 1195.04 s [opt-env-conf-test] - showParen (d > 10) $
  8587. 1195.04 s [opt-env-conf-test] + showParen (d > 1) $
  8588. 1195.04 s [opt-env-conf-test] showString "Setting "
  8589. 1195.04 s [opt-env-conf-test] . showsPrec 11 mLoc
  8590. 1195.04 s [opt-env-conf-test] . showString " "
  8591. 1195.04 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
  8592. 1195.04 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8593. 1195.04 s [opt-env-conf-test] . showString " "
  8594. 1195.04 s [opt-env-conf-test] . go 11 p2
  8595. 1195.04 s [opt-env-conf-test] ParserSetting mLoc p ->
  8596. 1195.04 s [opt-env-conf-test] - showParen (d > 10) $
  8597. 1195.04 s [opt-env-conf-test] + showParen (d > -10) $
  8598. 1195.04 s [opt-env-conf-test] showString "Setting "
  8599. 1195.04 s [opt-env-conf-test] . showsPrec 11 mLoc
  8600. 1195.04 s [opt-env-conf-test] . showString " "
  8601. 1195.04 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:20-26
  8602. 1195.04 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8603. 1195.04 s [opt-env-conf-test] . showString " "
  8604. 1195.04 s [opt-env-conf-test] . go 11 p2
  8605. 1195.04 s [opt-env-conf-test] ParserSetting mLoc p ->
  8606. 1195.04 s [opt-env-conf-test] - showParen (d > 10) $
  8607. 1195.04 s [opt-env-conf-test] + showParen (True) $
  8608. 1195.04 s [opt-env-conf-test] showString "Setting "
  8609. 1195.04 s [opt-env-conf-test] . showsPrec 11 mLoc
  8610. 1195.04 s [opt-env-conf-test] . showString " "
  8611. 1195.04 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:20-26
  8612. 1195.04 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8613. 1195.04 s [opt-env-conf-test] . showString " "
  8614. 1195.04 s [opt-env-conf-test] . go 11 p2
  8615. 1195.04 s [opt-env-conf-test] ParserSetting mLoc p ->
  8616. 1195.04 s [opt-env-conf-test] - showParen (d > 10) $
  8617. 1195.04 s [opt-env-conf-test] + showParen (False) $
  8618. 1195.05 s [opt-env-conf-test] showString "Setting "
  8619. 1195.05 s [opt-env-conf-test] . showsPrec 11 mLoc
  8620. 1195.05 s [opt-env-conf-test] . showString " "
  8621. 1195.05 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:373:20-26
  8622. 1195.05 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8623. 1195.05 s [opt-env-conf-test] . showString " "
  8624. 1195.05 s [opt-env-conf-test] . go 11 p2
  8625. 1195.05 s [opt-env-conf-test] ParserSetting mLoc p ->
  8626. 1195.05 s [opt-env-conf-test] - showParen (d > 10) $
  8627. 1195.05 s [opt-env-conf-test] + showParen (not d > 10) $
  8628. 1195.05 s [opt-env-conf-test] showString "Setting "
  8629. 1195.05 s [opt-env-conf-test] . showsPrec 11 mLoc
  8630. 1195.05 s [opt-env-conf-test] . showString " "
  8631. 1195.05 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:19-27
  8632. 1195.05 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8633. 1195.05 s [opt-env-conf-test] . showString " "
  8634. 1195.05 s [opt-env-conf-test] . go 11 p2
  8635. 1195.05 s [opt-env-conf-test] ParserSetting mLoc p ->
  8636. 1195.05 s [opt-env-conf-test] - showParen (d > 10) $
  8637. 1195.05 s [opt-env-conf-test] + showParen True $
  8638. 1195.05 s [opt-env-conf-test] showString "Setting "
  8639. 1195.05 s [opt-env-conf-test] . showsPrec 11 mLoc
  8640. 1195.05 s [opt-env-conf-test] . showString " "
  8641. 1195.05 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:19-27
  8642. 1195.05 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8643. 1195.05 s [opt-env-conf-test] . showString " "
  8644. 1195.05 s [opt-env-conf-test] . go 11 p2
  8645. 1195.05 s [opt-env-conf-test] ParserSetting mLoc p ->
  8646. 1195.05 s [opt-env-conf-test] - showParen (d > 10) $
  8647. 1195.05 s [opt-env-conf-test] + showParen False $
  8648. 1195.05 s [opt-env-conf-test] showString "Setting "
  8649. 1195.05 s [opt-env-conf-test] . showsPrec 11 mLoc
  8650. 1195.05 s [opt-env-conf-test] . showString " "
  8651. 1195.05 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:373:19-27
  8652. 1195.05 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8653. 1195.05 s [opt-env-conf-test] . showString " "
  8654. 1195.05 s [opt-env-conf-test] . go 11 p2
  8655. 1195.05 s [opt-env-conf-test] ParserSetting mLoc p ->
  8656. 1195.05 s [opt-env-conf-test] - showParen (d > 10) $
  8657. 1195.05 s [opt-env-conf-test] + showParen not (d > 10) $
  8658. 1195.05 s [opt-env-conf-test] showString "Setting "
  8659. 1195.05 s [opt-env-conf-test] . showsPrec 11 mLoc
  8660. 1195.05 s [opt-env-conf-test] . showString " "
  8661. 1195.05 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
  8662. 1195.05 s [opt-env-conf-test] @@ -372,7 +372,7 @@
  8663. 1195.05 s [opt-env-conf-test] ParserSetting mLoc p ->
  8664. 1195.05 s [opt-env-conf-test] showParen (d > 10) $
  8665. 1195.05 s [opt-env-conf-test] showString "Setting "
  8666. 1195.05 s [opt-env-conf-test] - . showsPrec 11 mLoc
  8667. 1195.05 s [opt-env-conf-test] + . showsPrec 0 mLoc
  8668. 1195.05 s [opt-env-conf-test] . showString " "
  8669. 1195.05 s [opt-env-conf-test] . showSettingABit p
  8670. 1195.05 s [opt-env-conf-test]
  8671. 1195.05 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
  8672. 1195.05 s [opt-env-conf-test] @@ -372,7 +372,7 @@
  8673. 1195.05 s [opt-env-conf-test] ParserSetting mLoc p ->
  8674. 1195.05 s [opt-env-conf-test] showParen (d > 10) $
  8675. 1195.05 s [opt-env-conf-test] showString "Setting "
  8676. 1195.05 s [opt-env-conf-test] - . showsPrec 11 mLoc
  8677. 1195.05 s [opt-env-conf-test] + . showsPrec 1 mLoc
  8678. 1195.05 s [opt-env-conf-test] . showString " "
  8679. 1195.05 s [opt-env-conf-test] . showSettingABit p
  8680. 1195.05 s [opt-env-conf-test]
  8681. 1195.05 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
  8682. 1195.05 s [opt-env-conf-test] @@ -372,7 +372,7 @@
  8683. 1195.05 s [opt-env-conf-test] ParserSetting mLoc p ->
  8684. 1195.05 s [opt-env-conf-test] showParen (d > 10) $
  8685. 1195.05 s [opt-env-conf-test] showString "Setting "
  8686. 1195.05 s [opt-env-conf-test] - . showsPrec 11 mLoc
  8687. 1195.05 s [opt-env-conf-test] + . showsPrec -11 mLoc
  8688. 1195.05 s [opt-env-conf-test] . showString " "
  8689. 1195.05 s [opt-env-conf-test] . showSettingABit p
  8690. 1195.05 s [opt-env-conf-test]
  8691. 1195.05 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:306:19-27
  8692. 1195.05 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  8693. 1195.05 s [opt-env-conf-test] go d = \case
  8694. 1195.05 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  8695. 1195.05 s [opt-env-conf-test] ParserAp pf pa ->
  8696. 1195.05 s [opt-env-conf-test] - showParen (d > 10) $
  8697. 1195.05 s [opt-env-conf-test] + showParen not (d > 10) $
  8698. 1195.05 s [opt-env-conf-test] showString "Ap "
  8699. 1195.05 s [opt-env-conf-test] . go 11 pf
  8700. 1195.05 s [opt-env-conf-test] . showString " "
  8701. 1195.05 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:418:16-34
  8702. 1195.05 s [opt-env-conf-test] @@ -415,7 +415,7 @@
  8703. 1195.05 s [opt-env-conf-test] then pure $ Just []
  8704. 1195.05 s [opt-env-conf-test] else do
  8705. 1195.05 s [opt-env-conf-test] as <- get
  8706. 1195.05 s [opt-env-conf-test] - if settingTryArgument
  8707. 1195.05 s [opt-env-conf-test] + if False
  8708. 1195.05 s [opt-env-conf-test] then do
  8709. 1195.05 s [opt-env-conf-test] let possibilities = Args.consumeArgument as
  8710. 1195.05 s [opt-env-conf-test] -- Try all possible consumptions of the argument.
  8711. 1195.06 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
  8712. 1195.06 s [opt-env-conf-test] @@ -131,7 +131,7 @@
  8713. 1195.06 s [opt-env-conf-test] showCommandABit :: Command a -> ShowS
  8714. 1195.06 s [opt-env-conf-test] showCommandABit Command {..} =
  8715. 1195.06 s [opt-env-conf-test] showString "Command "
  8716. 1195.06 s [opt-env-conf-test] - . showsPrec 11 commandArg
  8717. 1195.06 s [opt-env-conf-test] + . showsPrec 1 commandArg
  8718. 1195.06 s [opt-env-conf-test] . showString " "
  8719. 1195.06 s [opt-env-conf-test] . showsPrec 11 commandHelp
  8720. 1195.06 s [opt-env-conf-test] . showString " "
  8721. 1195.06 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
  8722. 1195.06 s [opt-env-conf-test] @@ -131,7 +131,7 @@
  8723. 1195.06 s [opt-env-conf-test] showCommandABit :: Command a -> ShowS
  8724. 1195.06 s [opt-env-conf-test] showCommandABit Command {..} =
  8725. 1195.06 s [opt-env-conf-test] showString "Command "
  8726. 1195.06 s [opt-env-conf-test] - . showsPrec 11 commandArg
  8727. 1195.06 s [opt-env-conf-test] + . showsPrec -11 commandArg
  8728. 1195.06 s [opt-env-conf-test] . showString " "
  8729. 1195.06 s [opt-env-conf-test] . showsPrec 11 commandHelp
  8730. 1195.06 s [opt-env-conf-test] . showString " "
  8731. 1195.06 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
  8732. 1195.06 s [opt-env-conf-test] @@ -133,7 +133,7 @@
  8733. 1195.06 s [opt-env-conf-test] showString "Command "
  8734. 1195.06 s [opt-env-conf-test] . showsPrec 11 commandArg
  8735. 1195.06 s [opt-env-conf-test] . showString " "
  8736. 1195.06 s [opt-env-conf-test] - . showsPrec 11 commandHelp
  8737. 1195.06 s [opt-env-conf-test] + . showsPrec 0 commandHelp
  8738. 1195.06 s [opt-env-conf-test] . showString " "
  8739. 1195.06 s [opt-env-conf-test] . showParserPrec 11 commandParser
  8740. 1195.06 s [opt-env-conf-test]
  8741. 1195.06 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
  8742. 1195.06 s [opt-env-conf-test] @@ -133,7 +133,7 @@
  8743. 1195.06 s [opt-env-conf-test] showString "Command "
  8744. 1195.06 s [opt-env-conf-test] . showsPrec 11 commandArg
  8745. 1195.06 s [opt-env-conf-test] . showString " "
  8746. 1195.06 s [opt-env-conf-test] - . showsPrec 11 commandHelp
  8747. 1195.06 s [opt-env-conf-test] + . showsPrec 1 commandHelp
  8748. 1195.06 s [opt-env-conf-test] . showString " "
  8749. 1195.06 s [opt-env-conf-test] . showParserPrec 11 commandParser
  8750. 1195.06 s [opt-env-conf-test]
  8751. 1195.06 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
  8752. 1195.06 s [opt-env-conf-test] @@ -133,7 +133,7 @@
  8753. 1195.06 s [opt-env-conf-test] showString "Command "
  8754. 1195.06 s [opt-env-conf-test] . showsPrec 11 commandArg
  8755. 1195.06 s [opt-env-conf-test] . showString " "
  8756. 1195.06 s [opt-env-conf-test] - . showsPrec 11 commandHelp
  8757. 1195.06 s [opt-env-conf-test] + . showsPrec -11 commandHelp
  8758. 1195.06 s [opt-env-conf-test] . showString " "
  8759. 1195.06 s [opt-env-conf-test] . showParserPrec 11 commandParser
  8760. 1195.06 s [opt-env-conf-test]
  8761. 1195.06 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
  8762. 1195.06 s [opt-env-conf-test] @@ -135,7 +135,7 @@
  8763. 1195.06 s [opt-env-conf-test] . showString " "
  8764. 1195.06 s [opt-env-conf-test] . showsPrec 11 commandHelp
  8765. 1195.06 s [opt-env-conf-test] . showString " "
  8766. 1195.06 s [opt-env-conf-test] - . showParserPrec 11 commandParser
  8767. 1195.06 s [opt-env-conf-test] + . showParserPrec 0 commandParser
  8768. 1195.06 s [opt-env-conf-test]
  8769. 1195.06 s [opt-env-conf-test] -- | A 'Parser' structure
  8770. 1195.06 s [opt-env-conf-test] --
  8771. 1195.06 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
  8772. 1195.06 s [opt-env-conf-test] @@ -135,7 +135,7 @@
  8773. 1195.06 s [opt-env-conf-test] . showString " "
  8774. 1195.06 s [opt-env-conf-test] . showsPrec 11 commandHelp
  8775. 1195.06 s [opt-env-conf-test] . showString " "
  8776. 1195.06 s [opt-env-conf-test] - . showParserPrec 11 commandParser
  8777. 1195.06 s [opt-env-conf-test] + . showParserPrec 1 commandParser
  8778. 1195.06 s [opt-env-conf-test]
  8779. 1195.06 s [opt-env-conf-test] -- | A 'Parser' structure
  8780. 1195.06 s [opt-env-conf-test] --
  8781. 1203.06 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
  8782. 1203.08 s [opt-env-conf-test] @@ -135,7 +135,7 @@
  8783. 1203.08 s [opt-env-conf-test] . showString " "
  8784. 1203.08 s [opt-env-conf-test] . showsPrec 11 commandHelp
  8785. 1203.08 s [opt-env-conf-test] . showString " "
  8786. 1203.08 s [opt-env-conf-test] - . showParserPrec 11 commandParser
  8787. 1203.08 s [opt-env-conf-test] + . showParserPrec -11 commandParser
  8788. 1203.08 s [opt-env-conf-test]
  8789. 1203.08 s [opt-env-conf-test] -- | A 'Parser' structure
  8790. 1203.08 s [opt-env-conf-test] --
  8791. 1203.09 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:297:39-40
  8792. 1203.09 s [opt-env-conf-test] @@ -294,7 +294,7 @@
  8793. 1203.09 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  8794. 1203.09 s [opt-env-conf-test]
  8795. 1203.09 s [opt-env-conf-test] showParserABit :: Parser a -> String
  8796. 1203.09 s [opt-env-conf-test] -showParserABit = flip (showParserPrec 0) ""
  8797. 1203.09 s [opt-env-conf-test] +showParserABit = flip (showParserPrec 1) ""
  8798. 1203.09 s [opt-env-conf-test]
  8799. 1203.09 s [opt-env-conf-test] showParserPrec :: Int -> Parser a -> ShowS
  8800. 1203.09 s [opt-env-conf-test] showParserPrec = go
  8801. 1203.09 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:255:27-32
  8802. 1203.09 s [opt-env-conf-test] @@ -252,7 +252,7 @@
  8803. 1203.09 s [opt-env-conf-test] (<|>) p1 p2 =
  8804. 1203.09 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8805. 1203.09 s [opt-env-conf-test] isEmpty = \case
  8806. 1203.09 s [opt-env-conf-test] - ParserPure _ -> False
  8807. 1203.09 s [opt-env-conf-test] + ParserPure _ -> True
  8808. 1203.09 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8809. 1203.09 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8810. 1203.09 s [opt-env-conf-test] ParserEmpty _ -> True
  8811. 1203.09 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-39
  8812. 1203.09 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8813. 1203.09 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8814. 1203.09 s [opt-env-conf-test] isEmpty = \case
  8815. 1203.09 s [opt-env-conf-test] ParserPure _ -> False
  8816. 1203.09 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8817. 1203.09 s [opt-env-conf-test] + ParserAp pf pa -> True && isEmpty pa
  8818. 1203.09 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8819. 1203.09 s [opt-env-conf-test] ParserEmpty _ -> True
  8820. 1203.09 s [opt-env-conf-test] ParserAlt _ _ -> False
  8821. 1203.09 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-39
  8822. 1203.09 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8823. 1203.09 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8824. 1203.09 s [opt-env-conf-test] isEmpty = \case
  8825. 1203.09 s [opt-env-conf-test] ParserPure _ -> False
  8826. 1203.09 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8827. 1203.09 s [opt-env-conf-test] + ParserAp pf pa -> False && isEmpty pa
  8828. 1203.09 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8829. 1203.09 s [opt-env-conf-test] ParserEmpty _ -> True
  8830. 1203.09 s [opt-env-conf-test] ParserAlt _ _ -> False
  8831. 1203.09 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:43-53
  8832. 1203.09 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8833. 1203.09 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8834. 1203.09 s [opt-env-conf-test] isEmpty = \case
  8835. 1203.10 s [opt-env-conf-test] ParserPure _ -> False
  8836. 1203.10 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8837. 1203.10 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && True
  8838. 1203.10 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8839. 1203.10 s [opt-env-conf-test] ParserEmpty _ -> True
  8840. 1203.10 s [opt-env-conf-test] ParserAlt _ _ -> False
  8841. 1203.10 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:29-39
  8842. 1203.10 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8843. 1203.10 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8844. 1203.10 s [opt-env-conf-test] isEmpty = \case
  8845. 1203.10 s [opt-env-conf-test] ParserPure _ -> False
  8846. 1203.10 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8847. 1203.10 s [opt-env-conf-test] + ParserAp pf pa -> not isEmpty pf && isEmpty pa
  8848. 1203.10 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8849. 1203.10 s [opt-env-conf-test] ParserEmpty _ -> True
  8850. 1203.10 s [opt-env-conf-test] ParserAlt _ _ -> False
  8851. 1203.10 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:43-53
  8852. 1203.10 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8853. 1203.10 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8854. 1203.10 s [opt-env-conf-test] isEmpty = \case
  8855. 1203.10 s [opt-env-conf-test] ParserPure _ -> False
  8856. 1203.10 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8857. 1203.10 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && False
  8858. 1203.10 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8859. 1203.10 s [opt-env-conf-test] ParserEmpty _ -> True
  8860. 1203.10 s [opt-env-conf-test] ParserAlt _ _ -> False
  8861. 1203.10 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:43-53
  8862. 1203.10 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8863. 1203.10 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8864. 1203.10 s [opt-env-conf-test] isEmpty = \case
  8865. 1203.10 s [opt-env-conf-test] ParserPure _ -> False
  8866. 1203.10 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8867. 1203.10 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && not isEmpty pa
  8868. 1203.10 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8869. 1203.10 s [opt-env-conf-test] ParserEmpty _ -> True
  8870. 1203.10 s [opt-env-conf-test] ParserAlt _ _ -> False
  8871. 1203.10 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-53
  8872. 1203.10 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8873. 1203.10 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8874. 1203.10 s [opt-env-conf-test] isEmpty = \case
  8875. 1203.10 s [opt-env-conf-test] ParserPure _ -> False
  8876. 1203.10 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8877. 1203.10 s [opt-env-conf-test] + ParserAp pf pa -> True
  8878. 1203.10 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8879. 1203.10 s [opt-env-conf-test] ParserEmpty _ -> True
  8880. 1203.10 s [opt-env-conf-test] ParserAlt _ _ -> False
  8881. 1203.10 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-53
  8882. 1203.10 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8883. 1203.11 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8884. 1203.11 s [opt-env-conf-test] isEmpty = \case
  8885. 1203.11 s [opt-env-conf-test] ParserPure _ -> False
  8886. 1203.11 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8887. 1203.11 s [opt-env-conf-test] + ParserAp pf pa -> False
  8888. 1203.11 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8889. 1203.11 s [opt-env-conf-test] ParserEmpty _ -> True
  8890. 1203.11 s [opt-env-conf-test] ParserAlt _ _ -> False
  8891. 1203.11 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:29-53
  8892. 1203.11 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8893. 1203.11 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8894. 1203.11 s [opt-env-conf-test] isEmpty = \case
  8895. 1203.11 s [opt-env-conf-test] ParserPure _ -> False
  8896. 1203.11 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8897. 1203.11 s [opt-env-conf-test] + ParserAp pf pa -> not isEmpty pf && isEmpty pa
  8898. 1203.11 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8899. 1203.11 s [opt-env-conf-test] ParserEmpty _ -> True
  8900. 1203.11 s [opt-env-conf-test] ParserAlt _ _ -> False
  8901. 1203.11 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-43
  8902. 1203.11 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8903. 1203.11 s [opt-env-conf-test] isEmpty = \case
  8904. 1203.11 s [opt-env-conf-test] ParserPure _ -> False
  8905. 1203.11 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8906. 1203.11 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8907. 1203.11 s [opt-env-conf-test] + ParserSelect pe pf -> True && isEmpty pf
  8908. 1203.11 s [opt-env-conf-test] ParserEmpty _ -> True
  8909. 1203.11 s [opt-env-conf-test] ParserAlt _ _ -> False
  8910. 1203.11 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8911. 1203.11 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-43
  8912. 1203.11 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8913. 1203.11 s [opt-env-conf-test] isEmpty = \case
  8914. 1203.11 s [opt-env-conf-test] ParserPure _ -> False
  8915. 1203.11 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8916. 1203.11 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8917. 1203.11 s [opt-env-conf-test] + ParserSelect pe pf -> False && isEmpty pf
  8918. 1203.11 s [opt-env-conf-test] ParserEmpty _ -> True
  8919. 1203.11 s [opt-env-conf-test] ParserAlt _ _ -> False
  8920. 1203.11 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8921. 1203.11 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:33-43
  8922. 1203.11 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8923. 1203.11 s [opt-env-conf-test] isEmpty = \case
  8924. 1203.11 s [opt-env-conf-test] ParserPure _ -> False
  8925. 1203.11 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8926. 1203.11 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8927. 1203.11 s [opt-env-conf-test] + ParserSelect pe pf -> not isEmpty pe && isEmpty pf
  8928. 1203.11 s [opt-env-conf-test] ParserEmpty _ -> True
  8929. 1203.11 s [opt-env-conf-test] ParserAlt _ _ -> False
  8930. 1203.11 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8931. 1203.11 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:47-57
  8932. 1203.11 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8933. 1203.11 s [opt-env-conf-test] isEmpty = \case
  8934. 1203.11 s [opt-env-conf-test] ParserPure _ -> False
  8935. 1203.11 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8936. 1203.11 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8937. 1203.11 s [opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && True
  8938. 1203.11 s [opt-env-conf-test] ParserEmpty _ -> True
  8939. 1203.12 s [opt-env-conf-test] ParserAlt _ _ -> False
  8940. 1203.12 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8941. 1203.12 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:47-57
  8942. 1203.12 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8943. 1203.12 s [opt-env-conf-test] isEmpty = \case
  8944. 1203.12 s [opt-env-conf-test] ParserPure _ -> False
  8945. 1203.12 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8946. 1203.12 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8947. 1203.12 s [opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && False
  8948. 1203.12 s [opt-env-conf-test] ParserEmpty _ -> True
  8949. 1203.12 s [opt-env-conf-test] ParserAlt _ _ -> False
  8950. 1203.12 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8951. 1203.12 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:47-57
  8952. 1203.12 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8953. 1203.12 s [opt-env-conf-test] isEmpty = \case
  8954. 1203.12 s [opt-env-conf-test] ParserPure _ -> False
  8955. 1203.12 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8956. 1203.12 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8957. 1203.12 s [opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && not isEmpty pf
  8958. 1203.12 s [opt-env-conf-test] ParserEmpty _ -> True
  8959. 1203.12 s [opt-env-conf-test] ParserAlt _ _ -> False
  8960. 1203.12 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8961. 1203.12 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-57
  8962. 1203.12 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8963. 1203.12 s [opt-env-conf-test] isEmpty = \case
  8964. 1203.12 s [opt-env-conf-test] ParserPure _ -> False
  8965. 1203.12 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8966. 1203.12 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8967. 1203.12 s [opt-env-conf-test] + ParserSelect pe pf -> True
  8968. 1203.12 s [opt-env-conf-test] ParserEmpty _ -> True
  8969. 1203.12 s [opt-env-conf-test] ParserAlt _ _ -> False
  8970. 1203.12 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8971. 1203.12 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-57
  8972. 1203.12 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8973. 1203.12 s [opt-env-conf-test] isEmpty = \case
  8974. 1203.12 s [opt-env-conf-test] ParserPure _ -> False
  8975. 1203.12 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8976. 1211.56 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8977. 1211.59 s [opt-env-conf-test] + ParserSelect pe pf -> False
  8978. 1211.59 s [opt-env-conf-test] ParserEmpty _ -> True
  8979. 1211.59 s [opt-env-conf-test] ParserAlt _ _ -> False
  8980. 1211.59 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8981. 1211.59 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:33-57
  8982. 1211.59 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8983. 1211.59 s [opt-env-conf-test] isEmpty = \case
  8984. 1211.59 s [opt-env-conf-test] ParserPure _ -> False
  8985. 1211.60 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8986. 1211.60 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8987. 1211.60 s [opt-env-conf-test] + ParserSelect pe pf -> not isEmpty pe && isEmpty pf
  8988. 1211.60 s [opt-env-conf-test] ParserEmpty _ -> True
  8989. 1211.60 s [opt-env-conf-test] ParserAlt _ _ -> False
  8990. 1211.60 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8991. 1211.60 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:258:28-32
  8992. 1211.60 s [opt-env-conf-test] @@ -255,7 +255,7 @@
  8993. 1211.60 s [opt-env-conf-test] ParserPure _ -> False
  8994. 1211.60 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8995. 1211.60 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8996. 1211.60 s [opt-env-conf-test] - ParserEmpty _ -> True
  8997. 1211.60 s [opt-env-conf-test] + ParserEmpty _ -> False
  8998. 1211.60 s [opt-env-conf-test] ParserAlt _ _ -> False
  8999. 1211.60 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  9000. 1211.60 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  9001. 1211.60 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:259:28-33
  9002. 1211.60 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9003. 1211.60 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  9004. 1211.60 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  9005. 1211.60 s [opt-env-conf-test] ParserEmpty _ -> True
  9006. 1211.60 s [opt-env-conf-test] - ParserAlt _ _ -> False
  9007. 1211.60 s [opt-env-conf-test] + ParserAlt _ _ -> True
  9008. 1211.60 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  9009. 1211.61 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  9010. 1211.61 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9011. 1211.61 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:260:29-38
  9012. 1211.61 s [opt-env-conf-test] @@ -257,7 +257,7 @@
  9013. 1211.61 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  9014. 1211.61 s [opt-env-conf-test] ParserEmpty _ -> True
  9015. 1211.61 s [opt-env-conf-test] ParserAlt _ _ -> False
  9016. 1211.61 s [opt-env-conf-test] - ParserMany _ p -> isEmpty p
  9017. 1211.61 s [opt-env-conf-test] + ParserMany _ p -> True
  9018. 1211.61 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  9019. 1211.61 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9020. 1211.61 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9021. 1211.61 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:260:29-38
  9022. 1211.61 s [opt-env-conf-test] @@ -257,7 +257,7 @@
  9023. 1211.61 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  9024. 1211.61 s [opt-env-conf-test] ParserEmpty _ -> True
  9025. 1211.61 s [opt-env-conf-test] ParserAlt _ _ -> False
  9026. 1211.61 s [opt-env-conf-test] - ParserMany _ p -> isEmpty p
  9027. 1211.61 s [opt-env-conf-test] + ParserMany _ p -> False
  9028. 1211.61 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  9029. 1211.61 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9030. 1211.61 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9031. 1211.61 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:260:29-38
  9032. 1211.61 s [opt-env-conf-test] @@ -257,7 +257,7 @@
  9033. 1211.61 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  9034. 1211.61 s [opt-env-conf-test] ParserEmpty _ -> True
  9035. 1211.61 s [opt-env-conf-test] ParserAlt _ _ -> False
  9036. 1211.61 s [opt-env-conf-test] - ParserMany _ p -> isEmpty p
  9037. 1211.61 s [opt-env-conf-test] + ParserMany _ p -> not isEmpty p
  9038. 1211.61 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  9039. 1211.61 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9040. 1211.61 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9041. 1211.61 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:261:29-38
  9042. 1211.61 s [opt-env-conf-test] @@ -258,7 +258,7 @@
  9043. 1211.61 s [opt-env-conf-test] ParserEmpty _ -> True
  9044. 1211.61 s [opt-env-conf-test] ParserAlt _ _ -> False
  9045. 1211.62 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  9046. 1211.62 s [opt-env-conf-test] - ParserSome _ p -> isEmpty p
  9047. 1211.62 s [opt-env-conf-test] + ParserSome _ p -> True
  9048. 1211.62 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9049. 1211.62 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9050. 1211.62 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9051. 1211.62 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:261:29-38
  9052. 1211.62 s [opt-env-conf-test] @@ -258,7 +258,7 @@
  9053. 1211.62 s [opt-env-conf-test] ParserEmpty _ -> True
  9054. 1211.62 s [opt-env-conf-test] ParserAlt _ _ -> False
  9055. 1211.62 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  9056. 1211.62 s [opt-env-conf-test] - ParserSome _ p -> isEmpty p
  9057. 1211.62 s [opt-env-conf-test] + ParserSome _ p -> False
  9058. 1211.62 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9059. 1211.62 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9060. 1211.62 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9061. 1211.62 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:261:29-38
  9062. 1211.62 s [opt-env-conf-test] @@ -258,7 +258,7 @@
  9063. 1211.62 s [opt-env-conf-test] ParserEmpty _ -> True
  9064. 1211.62 s [opt-env-conf-test] ParserAlt _ _ -> False
  9065. 1211.62 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  9066. 1211.62 s [opt-env-conf-test] - ParserSome _ p -> isEmpty p
  9067. 1211.62 s [opt-env-conf-test] + ParserSome _ p -> not isEmpty p
  9068. 1211.62 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9069. 1211.62 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9070. 1211.62 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9071. 1211.62 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:262:37-46
  9072. 1211.62 s [opt-env-conf-test] @@ -259,7 +259,7 @@
  9073. 1211.62 s [opt-env-conf-test] ParserAlt _ _ -> False
  9074. 1211.62 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  9075. 1211.62 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  9076. 1211.62 s [opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
  9077. 1211.62 s [opt-env-conf-test] + ParserAllOrNothing _ p -> True
  9078. 1211.62 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9079. 1211.62 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9080. 1211.62 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9081. 1211.62 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:262:37-46
  9082. 1211.62 s [opt-env-conf-test] @@ -259,7 +259,7 @@
  9083. 1211.62 s [opt-env-conf-test] ParserAlt _ _ -> False
  9084. 1211.62 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  9085. 1211.62 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  9086. 1211.63 s [opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
  9087. 1211.63 s [opt-env-conf-test] + ParserAllOrNothing _ p -> False
  9088. 1211.63 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9089. 1211.63 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9090. 1211.63 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9091. 1211.63 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:262:37-46
  9092. 1211.63 s [opt-env-conf-test] @@ -259,7 +259,7 @@
  9093. 1211.63 s [opt-env-conf-test] ParserAlt _ _ -> False
  9094. 1211.63 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  9095. 1211.63 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  9096. 1211.63 s [opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
  9097. 1211.63 s [opt-env-conf-test] + ParserAllOrNothing _ p -> not isEmpty p
  9098. 1211.63 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9099. 1211.63 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9100. 1211.63 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9101. 1211.63 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:263:36-45
  9102. 1211.63 s [opt-env-conf-test] @@ -260,7 +260,7 @@
  9103. 1211.63 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  9104. 1211.63 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  9105. 1211.63 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9106. 1211.63 s [opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
  9107. 1211.63 s [opt-env-conf-test] + ParserCheck _ _ _ _ p -> True
  9108. 1211.63 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9109. 1211.63 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9110. 1211.63 s [opt-env-conf-test] ParserSetting _ _ -> False
  9111. 1211.63 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:263:36-45
  9112. 1211.63 s [opt-env-conf-test] @@ -260,7 +260,7 @@
  9113. 1211.63 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  9114. 1211.63 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  9115. 1211.63 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9116. 1211.63 s [opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
  9117. 1211.63 s [opt-env-conf-test] + ParserCheck _ _ _ _ p -> False
  9118. 1211.63 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9119. 1211.63 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9120. 1211.63 s [opt-env-conf-test] ParserSetting _ _ -> False
  9121. 1211.63 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:263:36-45
  9122. 1211.63 s [opt-env-conf-test] @@ -260,7 +260,7 @@
  9123. 1211.63 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  9124. 1211.63 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  9125. 1211.63 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9126. 1211.63 s [opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
  9127. 1211.63 s [opt-env-conf-test] + ParserCheck _ _ _ _ p -> not isEmpty p
  9128. 1211.64 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9129. 1211.64 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9130. 1211.64 s [opt-env-conf-test] ParserSetting _ _ -> False
  9131. 1211.64 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:264:36-43
  9132. 1211.64 s [opt-env-conf-test] @@ -261,7 +261,7 @@
  9133. 1211.64 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  9134. 1211.64 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9135. 1211.64 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9136. 1211.64 s [opt-env-conf-test] - ParserCommands _ _ cs -> null cs
  9137. 1211.64 s [opt-env-conf-test] + ParserCommands _ _ cs -> True
  9138. 1211.64 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9139. 1211.64 s [opt-env-conf-test] ParserSetting _ _ -> False
  9140. 1211.64 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9141. 1211.64 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:264:36-43
  9142. 1211.64 s [opt-env-conf-test] @@ -261,7 +261,7 @@
  9143. 1211.64 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  9144. 1211.64 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9145. 1211.64 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9146. 1211.64 s [opt-env-conf-test] - ParserCommands _ _ cs -> null cs
  9147. 1211.64 s [opt-env-conf-test] + ParserCommands _ _ cs -> False
  9148. 1211.64 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9149. 1211.64 s [opt-env-conf-test] ParserSetting _ _ -> False
  9150. 1211.64 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9151. 1211.64 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:264:36-43
  9152. 1211.64 s [opt-env-conf-test] @@ -261,7 +261,7 @@
  9153. 1211.64 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  9154. 1211.64 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9155. 1211.64 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9156. 1211.64 s [opt-env-conf-test] - ParserCommands _ _ cs -> null cs
  9157. 1211.64 s [opt-env-conf-test] + ParserCommands _ _ cs -> not null cs
  9158. 1213.08 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9159. 1213.08 s [opt-env-conf-test] ParserSetting _ _ -> False
  9160. 1213.08 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9161. 1213.09 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-49
  9162. 1213.09 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  9163. 1213.09 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9164. 1213.09 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9165. 1213.09 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9166. 1213.09 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9167. 1213.09 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> True && isEmpty ps
  9168. 1213.09 s [opt-env-conf-test] ParserSetting _ _ -> False
  9169. 1213.09 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9170. 1213.09 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9171. 1213.09 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-49
  9172. 1213.09 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  9173. 1213.09 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9174. 1213.09 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9175. 1213.09 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9176. 1213.09 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9177. 1213.09 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> False && isEmpty ps
  9178. 1213.09 s [opt-env-conf-test] ParserSetting _ _ -> False
  9179. 1213.09 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9180. 1213.09 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9181. 1213.09 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:39-49
  9182. 1213.09 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  9183. 1213.09 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9184. 1213.09 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9185. 1213.09 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9186. 1213.09 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9187. 1213.09 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> not isEmpty pc && isEmpty ps
  9188. 1213.09 s [opt-env-conf-test] ParserSetting _ _ -> False
  9189. 1213.09 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9190. 1213.09 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9191. 1213.09 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:53-63
  9192. 1213.09 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  9193. 1213.09 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9194. 1213.09 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9195. 1213.09 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9196. 1213.09 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9197. 1213.10 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && True
  9198. 1213.10 s [opt-env-conf-test] ParserSetting _ _ -> False
  9199. 1213.10 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9200. 1213.10 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9201. 1213.10 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:53-63
  9202. 1213.10 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  9203. 1213.10 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9204. 1213.10 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9205. 1213.10 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9206. 1213.10 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9207. 1213.10 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && False
  9208. 1213.10 s [opt-env-conf-test] ParserSetting _ _ -> False
  9209. 1213.10 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9210. 1213.10 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9211. 1213.10 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:53-63
  9212. 1213.10 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  9213. 1213.10 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9214. 1213.10 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9215. 1213.10 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9216. 1213.10 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9217. 1213.10 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && not isEmpty ps
  9218. 1213.10 s [opt-env-conf-test] ParserSetting _ _ -> False
  9219. 1213.10 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9220. 1213.10 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9221. 1213.10 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-63
  9222. 1213.10 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  9223. 1213.10 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9224. 1213.11 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9225. 1213.11 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9226. 1213.11 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9227. 1213.11 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> True
  9228. 1213.11 s [opt-env-conf-test] ParserSetting _ _ -> False
  9229. 1213.11 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9230. 1213.11 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9231. 1213.11 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-63
  9232. 1213.11 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  9233. 1213.11 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9234. 1213.11 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9235. 1213.11 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9236. 1213.11 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9237. 1213.11 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> False
  9238. 1213.11 s [opt-env-conf-test] ParserSetting _ _ -> False
  9239. 1213.11 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9240. 1213.11 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9241. 1213.23 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:39-63
  9242. 1213.23 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  9243. 1213.23 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9244. 1213.23 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9245. 1213.23 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9246. 1213.23 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9247. 1213.23 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> not isEmpty pc && isEmpty ps
  9248. 1213.23 s [opt-env-conf-test] ParserSetting _ _ -> False
  9249. 1213.23 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9250. 1213.23 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9251. 1213.23 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:266:32-37
  9252. 1213.23 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  9253. 1213.23 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9254. 1213.23 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9255. 1213.23 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9256. 1213.23 s [opt-env-conf-test] - ParserSetting _ _ -> False
  9257. 1213.23 s [opt-env-conf-test] + ParserSetting _ _ -> True
  9258. 1213.23 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9259. 1213.23 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9260. 1213.24 s [opt-env-conf-test] (True, False) -> p2
  9261. 1213.24 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:15-25
  9262. 1213.24 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  9263. 1213.24 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9264. 1213.24 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9265. 1213.24 s [opt-env-conf-test] ParserSetting _ _ -> False
  9266. 1213.24 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  9267. 1213.24 s [opt-env-conf-test] + in case (True, isEmpty p2) of
  9268. 1213.24 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9269. 1213.24 s [opt-env-conf-test] (True, False) -> p2
  9270. 1213.24 s [opt-env-conf-test] (False, True) -> p1
  9271. 1213.24 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:15-25
  9272. 1213.24 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  9273. 1213.24 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9274. 1213.24 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9275. 1213.24 s [opt-env-conf-test] ParserSetting _ _ -> False
  9276. 1213.24 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  9277. 1213.24 s [opt-env-conf-test] + in case (False, isEmpty p2) of
  9278. 1213.24 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9279. 1213.24 s [opt-env-conf-test] (True, False) -> p2
  9280. 1213.24 s [opt-env-conf-test] (False, True) -> p1
  9281. 1213.24 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:267:15-25
  9282. 1213.24 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  9283. 1213.24 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9284. 1213.24 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9285. 1213.24 s [opt-env-conf-test] ParserSetting _ _ -> False
  9286. 1213.24 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  9287. 1213.24 s [opt-env-conf-test] + in case (not isEmpty p1, isEmpty p2) of
  9288. 1213.24 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9289. 1213.24 s [opt-env-conf-test] (True, False) -> p2
  9290. 1213.24 s [opt-env-conf-test] (False, True) -> p1
  9291. 1213.24 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:27-37
  9292. 1213.24 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  9293. 1213.24 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9294. 1213.24 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9295. 1213.24 s [opt-env-conf-test] ParserSetting _ _ -> False
  9296. 1213.25 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  9297. 1213.25 s [opt-env-conf-test] + in case (isEmpty p1, True) of
  9298. 1213.25 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9299. 1213.25 s [opt-env-conf-test] (True, False) -> p2
  9300. 1213.25 s [opt-env-conf-test] (False, True) -> p1
  9301. 1213.25 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:27-37
  9302. 1213.25 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  9303. 1213.25 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9304. 1213.25 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9305. 1213.25 s [opt-env-conf-test] ParserSetting _ _ -> False
  9306. 1213.25 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  9307. 1213.25 s [opt-env-conf-test] + in case (isEmpty p1, False) of
  9308. 1213.25 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9309. 1213.25 s [opt-env-conf-test] (True, False) -> p2
  9310. 1213.25 s [opt-env-conf-test] (False, True) -> p1
  9311. 1213.25 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:267:27-37
  9312. 1213.25 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  9313. 1213.25 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9314. 1213.25 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9315. 1213.25 s [opt-env-conf-test] ParserSetting _ _ -> False
  9316. 1213.25 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  9317. 1213.25 s [opt-env-conf-test] + in case (isEmpty p1, not isEmpty p2) of
  9318. 1213.25 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9319. 1213.25 s [opt-env-conf-test] (True, False) -> p2
  9320. 1213.25 s [opt-env-conf-test] (False, True) -> p1
  9321. 1213.25 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
  9322. 1213.25 s [opt-env-conf-test] @@ -269,26 +269,24 @@
  9323. 1213.25 s [opt-env-conf-test] (True, False) -> p2
  9324. 1213.25 s [opt-env-conf-test] (False, True) -> p1
  9325. 1213.25 s [opt-env-conf-test] (False, False) ->
  9326. 1213.25 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  9327. 1213.25 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  9328. 1213.25 s [opt-env-conf-test] -- alts to always be right-leaning
  9329. 1213.25 s [opt-env-conf-test] --
  9330. 1216.32 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  9331. 1216.33 s [opt-env-conf-test] -- p
  9332. 1216.33 s [opt-env-conf-test] -- / \
  9333. 1216.33 s [opt-env-conf-test] -- p1 p2
  9334. 1216.33 s [opt-env-conf-test] -- / \
  9335. 1216.33 s [opt-env-conf-test] -- p3 p4
  9336. 1216.33 s [opt-env-conf-test] --
  9337. 1216.33 s [opt-env-conf-test] -- We need to rearrange it to
  9338. 1216.33 s [opt-env-conf-test] -- p
  9339. 1216.33 s [opt-env-conf-test] -- / \
  9340. 1216.33 s [opt-env-conf-test] -- p1 ++ p3 p4
  9341. 1216.33 s [opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
  9342. 1216.33 s [opt-env-conf-test] - go (go p1' p3') p4'
  9343. 1216.33 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  9344. 1216.33 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  9345. 1216.33 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  9346. 1216.33 s [opt-env-conf-test] in go p1 p2
  9347. 1216.33 s [opt-env-conf-test] many = ParserMany Nothing
  9348. 1216.33 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  9349. 1216.33 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
  9350. 1216.33 s [opt-env-conf-test] @@ -269,26 +269,24 @@
  9351. 1216.33 s [opt-env-conf-test] (True, False) -> p2
  9352. 1216.33 s [opt-env-conf-test] (False, True) -> p1
  9353. 1216.33 s [opt-env-conf-test] (False, False) ->
  9354. 1216.34 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  9355. 1216.34 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  9356. 1216.34 s [opt-env-conf-test] -- alts to always be right-leaning
  9357. 1216.34 s [opt-env-conf-test] --
  9358. 1216.34 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  9359. 1216.34 s [opt-env-conf-test] -- p
  9360. 1216.34 s [opt-env-conf-test] -- / \
  9361. 1216.34 s [opt-env-conf-test] -- p1 p2
  9362. 1216.34 s [opt-env-conf-test] -- / \
  9363. 1216.34 s [opt-env-conf-test] -- p3 p4
  9364. 1216.34 s [opt-env-conf-test] --
  9365. 1216.34 s [opt-env-conf-test] -- We need to rearrange it to
  9366. 1216.34 s [opt-env-conf-test] -- p
  9367. 1216.34 s [opt-env-conf-test] -- / \
  9368. 1216.34 s [opt-env-conf-test] -- p1 ++ p3 p4
  9369. 1216.34 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  9370. 1216.34 s [opt-env-conf-test] go (go p1' p3') p4'
  9371. 1216.34 s [opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  9372. 1216.34 s [opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  9373. 1216.34 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  9374. 1216.34 s [opt-env-conf-test] in go p1 p2
  9375. 1216.34 s [opt-env-conf-test] many = ParserMany Nothing
  9376. 1216.34 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  9377. 1216.34 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
  9378. 1216.34 s [opt-env-conf-test] @@ -269,26 +269,25 @@
  9379. 1216.34 s [opt-env-conf-test] (True, False) -> p2
  9380. 1216.34 s [opt-env-conf-test] (False, True) -> p1
  9381. 1216.34 s [opt-env-conf-test] (False, False) ->
  9382. 1216.34 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  9383. 1216.34 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  9384. 1216.35 s [opt-env-conf-test] -- alts to always be right-leaning
  9385. 1216.35 s [opt-env-conf-test] --
  9386. 1216.35 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  9387. 1216.35 s [opt-env-conf-test] -- p
  9388. 1216.35 s [opt-env-conf-test] -- / \
  9389. 1216.35 s [opt-env-conf-test] -- p1 p2
  9390. 1216.35 s [opt-env-conf-test] -- / \
  9391. 1216.35 s [opt-env-conf-test] -- p3 p4
  9392. 1216.35 s [opt-env-conf-test] --
  9393. 1216.35 s [opt-env-conf-test] -- We need to rearrange it to
  9394. 1216.35 s [opt-env-conf-test] -- p
  9395. 1216.35 s [opt-env-conf-test] -- / \
  9396. 1216.35 s [opt-env-conf-test] -- p1 ++ p3 p4
  9397. 1216.35 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  9398. 1216.35 s [opt-env-conf-test] go (go p1' p3') p4'
  9399. 1216.35 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  9400. 1216.35 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  9401. 1216.35 s [opt-env-conf-test] - _ -> ParserAlt p1' p2'
  9402. 1216.35 s [opt-env-conf-test] in go p1 p2
  9403. 1216.35 s [opt-env-conf-test] many = ParserMany Nothing
  9404. 1216.35 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  9405. 1216.35 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  9406. 1216.35 s [opt-env-conf-test] @@ -264,32 +264,31 @@
  9407. 1216.35 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9408. 1216.35 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9409. 1216.35 s [opt-env-conf-test] ParserSetting _ _ -> False
  9410. 1216.35 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9411. 1216.35 s [opt-env-conf-test] - (True, True) -> ParserEmpty Nothing
  9412. 1216.35 s [opt-env-conf-test] (True, False) -> p2
  9413. 1216.35 s [opt-env-conf-test] (False, True) -> p1
  9414. 1216.35 s [opt-env-conf-test] (False, False) ->
  9415. 1216.35 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  9416. 1216.35 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  9417. 1216.35 s [opt-env-conf-test] -- alts to always be right-leaning
  9418. 1216.35 s [opt-env-conf-test] --
  9419. 1216.35 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  9420. 1216.35 s [opt-env-conf-test] -- p
  9421. 1216.36 s [opt-env-conf-test] -- / \
  9422. 1216.36 s [opt-env-conf-test] -- p1 p2
  9423. 1216.36 s [opt-env-conf-test] -- / \
  9424. 1216.36 s [opt-env-conf-test] -- p3 p4
  9425. 1216.36 s [opt-env-conf-test] --
  9426. 1216.36 s [opt-env-conf-test] -- We need to rearrange it to
  9427. 1216.36 s [opt-env-conf-test] -- p
  9428. 1216.36 s [opt-env-conf-test] -- / \
  9429. 1216.36 s [opt-env-conf-test] -- p1 ++ p3 p4
  9430. 1216.36 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  9431. 1216.36 s [opt-env-conf-test] go (go p1' p3') p4'
  9432. 1216.36 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  9433. 1216.36 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  9434. 1216.36 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  9435. 1216.36 s [opt-env-conf-test] in go p1 p2
  9436. 1216.36 s [opt-env-conf-test] many = ParserMany Nothing
  9437. 1216.36 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  9438. 1216.36 s [opt-env-conf-test]
  9439. 1216.36 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  9440. 1216.36 s [opt-env-conf-test] @@ -264,32 +264,31 @@
  9441. 1216.36 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9442. 1216.36 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9443. 1216.36 s [opt-env-conf-test] ParserSetting _ _ -> False
  9444. 1216.36 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9445. 1216.36 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9446. 1216.36 s [opt-env-conf-test] - (True, False) -> p2
  9447. 1216.36 s [opt-env-conf-test] (False, True) -> p1
  9448. 1216.36 s [opt-env-conf-test] (False, False) ->
  9449. 1216.36 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  9450. 1216.36 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  9451. 1216.36 s [opt-env-conf-test] -- alts to always be right-leaning
  9452. 1216.36 s [opt-env-conf-test] --
  9453. 1216.36 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  9454. 1216.36 s [opt-env-conf-test] -- p
  9455. 1216.36 s [opt-env-conf-test] -- / \
  9456. 1216.36 s [opt-env-conf-test] -- p1 p2
  9457. 1216.36 s [opt-env-conf-test] -- / \
  9458. 1216.36 s [opt-env-conf-test] -- p3 p4
  9459. 1216.36 s [opt-env-conf-test] --
  9460. 1216.36 s [opt-env-conf-test] -- We need to rearrange it to
  9461. 1216.36 s [opt-env-conf-test] -- p
  9462. 1216.36 s [opt-env-conf-test] -- / \
  9463. 1216.37 s [opt-env-conf-test] -- p1 ++ p3 p4
  9464. 1216.37 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  9465. 1216.37 s [opt-env-conf-test] go (go p1' p3') p4'
  9466. 1216.37 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  9467. 1216.37 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  9468. 1216.37 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  9469. 1216.37 s [opt-env-conf-test] in go p1 p2
  9470. 1216.37 s [opt-env-conf-test] many = ParserMany Nothing
  9471. 1216.37 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  9472. 1216.37 s [opt-env-conf-test]
  9473. 1216.37 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  9474. 1216.37 s [opt-env-conf-test] @@ -264,32 +264,31 @@
  9475. 1216.37 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9476. 1216.37 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9477. 1216.37 s [opt-env-conf-test] ParserSetting _ _ -> False
  9478. 1216.37 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9479. 1216.37 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9480. 1216.37 s [opt-env-conf-test] (True, False) -> p2
  9481. 1216.37 s [opt-env-conf-test] - (False, True) -> p1
  9482. 1216.37 s [opt-env-conf-test] (False, False) ->
  9483. 1216.37 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  9484. 1216.37 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  9485. 1216.37 s [opt-env-conf-test] -- alts to always be right-leaning
  9486. 1216.37 s [opt-env-conf-test] --
  9487. 1216.37 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  9488. 1216.37 s [opt-env-conf-test] -- p
  9489. 1216.37 s [opt-env-conf-test] -- / \
  9490. 1216.37 s [opt-env-conf-test] -- p1 p2
  9491. 1216.37 s [opt-env-conf-test] -- / \
  9492. 1216.37 s [opt-env-conf-test] -- p3 p4
  9493. 1216.37 s [opt-env-conf-test] --
  9494. 1216.37 s [opt-env-conf-test] -- We need to rearrange it to
  9495. 1216.37 s [opt-env-conf-test] -- p
  9496. 1216.37 s [opt-env-conf-test] -- / \
  9497. 1216.37 s [opt-env-conf-test] -- p1 ++ p3 p4
  9498. 1216.37 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  9499. 1216.37 s [opt-env-conf-test] go (go p1' p3') p4'
  9500. 1216.37 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  9501. 1216.37 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  9502. 1216.37 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  9503. 1216.37 s [opt-env-conf-test] in go p1 p2
  9504. 1216.37 s [opt-env-conf-test] many = ParserMany Nothing
  9505. 1216.37 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  9506. 1216.37 s [opt-env-conf-test]
  9507. 1216.37 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  9508. 1216.37 s [opt-env-conf-test] @@ -264,32 +264,10 @@
  9509. 1216.37 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9510. 1216.37 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9511. 1216.37 s [opt-env-conf-test] ParserSetting _ _ -> False
  9512. 1216.37 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9513. 1216.37 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9514. 1216.37 s [opt-env-conf-test] (True, False) -> p2
  9515. 1226.91 s [opt-env-conf-test] (False, True) -> p1
  9516. 1226.91 s [opt-env-conf-test] - (False, False) ->
  9517. 1226.93 s [opt-env-conf-test] - let go p1' p2' = case (p1', p2') of
  9518. 1226.93 s [opt-env-conf-test] - -- <|> needs to be associative, so we need to reorder the
  9519. 1226.93 s [opt-env-conf-test] - -- alts to always be right-leaning
  9520. 1226.93 s [opt-env-conf-test] - --
  9521. 1226.94 s [opt-env-conf-test] - -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  9522. 1226.94 s [opt-env-conf-test] - -- p
  9523. 1226.94 s [opt-env-conf-test] - -- / \
  9524. 1226.94 s [opt-env-conf-test] - -- p1 p2
  9525. 1226.94 s [opt-env-conf-test] - -- / \
  9526. 1226.94 s [opt-env-conf-test] - -- p3 p4
  9527. 1226.94 s [opt-env-conf-test] - --
  9528. 1226.94 s [opt-env-conf-test] - -- We need to rearrange it to
  9529. 1226.94 s [opt-env-conf-test] - -- p
  9530. 1226.94 s [opt-env-conf-test] - -- / \
  9531. 1226.94 s [opt-env-conf-test] - -- p1 ++ p3 p4
  9532. 1226.94 s [opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
  9533. 1226.94 s [opt-env-conf-test] - go (go p1' p3') p4'
  9534. 1226.94 s [opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  9535. 1226.94 s [opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  9536. 1226.94 s [opt-env-conf-test] - _ -> ParserAlt p1' p2'
  9537. 1226.94 s [opt-env-conf-test] - in go p1 p2
  9538. 1226.94 s [opt-env-conf-test] many = ParserMany Nothing
  9539. 1226.94 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  9540. 1226.94 s [opt-env-conf-test]
  9541. 1226.94 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
  9542. 1226.94 s [opt-env-conf-test] @@ -239,10 +239,9 @@
  9543. 1226.94 s [opt-env-conf-test]
  9544. 1226.94 s [opt-env-conf-test] instance Applicative Parser where
  9545. 1226.94 s [opt-env-conf-test] pure = ParserPure
  9546. 1226.94 s [opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
  9547. 1226.94 s [opt-env-conf-test] -- Homomorphism law for applicative
  9548. 1226.94 s [opt-env-conf-test] - (ParserPure f, ParserPure a) -> ParserPure (f a)
  9549. 1226.94 s [opt-env-conf-test] _ -> ParserAp p1 p2
  9550. 1226.94 s [opt-env-conf-test]
  9551. 1226.94 s [opt-env-conf-test] instance Selective Parser where
  9552. 1226.94 s [opt-env-conf-test] select = ParserSelect
  9553. 1226.94 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
  9554. 1226.94 s [opt-env-conf-test] @@ -239,10 +239,9 @@
  9555. 1226.94 s [opt-env-conf-test]
  9556. 1226.94 s [opt-env-conf-test] instance Applicative Parser where
  9557. 1226.94 s [opt-env-conf-test] pure = ParserPure
  9558. 1226.94 s [opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
  9559. 1226.94 s [opt-env-conf-test] -- Homomorphism law for applicative
  9560. 1226.94 s [opt-env-conf-test] (ParserPure f, ParserPure a) -> ParserPure (f a)
  9561. 1226.94 s [opt-env-conf-test] - _ -> ParserAp p1 p2
  9562. 1226.94 s [opt-env-conf-test]
  9563. 1226.95 s [opt-env-conf-test] instance Selective Parser where
  9564. 1226.95 s [opt-env-conf-test] select = ParserSelect
  9565. 1226.95 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:234:62-72
  9566. 1226.95 s [opt-env-conf-test] @@ -231,7 +231,7 @@
  9567. 1226.95 s [opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
  9568. 1226.95 s [opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
  9569. 1226.95 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
  9570. 1226.95 s [opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc forgivable caps (fmap (fmap f) . g) p
  9571. 1226.95 s [opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc True caps (fmap (fmap f) . g) p
  9572. 1226.95 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
  9573. 1226.95 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
  9574. 1226.95 s [opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
  9575. 1226.95 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:234:62-72
  9576. 1226.95 s [opt-env-conf-test] @@ -231,7 +231,7 @@
  9577. 1226.95 s [opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
  9578. 1226.95 s [opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
  9579. 1226.95 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
  9580. 1226.95 s [opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc forgivable caps (fmap (fmap f) . g) p
  9581. 1226.95 s [opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc False caps (fmap (fmap f) . g) p
  9582. 1226.95 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
  9583. 1226.95 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
  9584. 1226.95 s [opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
  9585. 1226.95 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:234:62-72
  9586. 1226.95 s [opt-env-conf-test] @@ -231,7 +231,7 @@
  9587. 1226.95 s [opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
  9588. 1226.95 s [opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
  9589. 1226.95 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
  9590. 1226.95 s [opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc forgivable caps (fmap (fmap f) . g) p
  9591. 1226.95 s [opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc not forgivable caps (fmap (fmap f) . g) p
  9592. 1226.95 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
  9593. 1226.95 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
  9594. 1226.95 s [opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
  9595. 1226.95 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:238:30-34
  9596. 1226.95 s [opt-env-conf-test] @@ -235,7 +235,7 @@
  9597. 1226.95 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
  9598. 1226.95 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
  9599. 1226.95 s [opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
  9600. 1226.96 s [opt-env-conf-test] - p -> ParserCheck Nothing True Set.empty (pure . Right . f) p
  9601. 1226.96 s [opt-env-conf-test] + p -> ParserCheck Nothing False Set.empty (pure . Right . f) p
  9602. 1226.96 s [opt-env-conf-test]
  9603. 1226.96 s [opt-env-conf-test] instance Applicative Parser where
  9604. 1226.96 s [opt-env-conf-test] pure = ParserPure
  9605. 1226.96 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:238:20-25
  9606. 1226.96 s [opt-env-conf-test] @@ -235,7 +235,7 @@
  9607. 1226.96 s [opt-env-conf-test] lintParser =
  9608. 1226.96 s [opt-env-conf-test] either Just (const Nothing)
  9609. 1226.96 s [opt-env-conf-test] . validationToEither
  9610. 1226.96 s [opt-env-conf-test] - . (`runReader` False) -- Set to true for parsers that have a way to load conf
  9611. 1226.96 s [opt-env-conf-test] + . (`runReader` True) -- Set to true for parsers that have a way to load conf
  9612. 1226.96 s [opt-env-conf-test] . runValidationT
  9613. 1226.96 s [opt-env-conf-test] . go
  9614. 1226.96 s [opt-env-conf-test] where
  9615. 1226.96 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:246:28-33
  9616. 1226.96 s [opt-env-conf-test] @@ -243,7 +243,7 @@
  9617. 1226.96 s [opt-env-conf-test] -- 'many' is allowed only when every parse below consumes something.
  9618. 1226.96 s [opt-env-conf-test] go :: Parser a -> ValidationT LintError (Reader Bool) Bool
  9619. 1226.96 s [opt-env-conf-test] go = \case
  9620. 1226.96 s [opt-env-conf-test] - ParserPure _ -> pure False
  9621. 1226.96 s [opt-env-conf-test] + ParserPure _ -> pure True
  9622. 1226.96 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9623. 1226.96 s [opt-env-conf-test] c1 <- go p1
  9624. 1226.96 s [opt-env-conf-test] c2 <- go p2
  9625. 1226.96 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-17
  9626. 1226.96 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9627. 1226.96 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9628. 1226.96 s [opt-env-conf-test] c1 <- go p1
  9629. 1226.96 s [opt-env-conf-test] c2 <- go p2
  9630. 1226.96 s [opt-env-conf-test] - pure (c1 || c2)
  9631. 1226.96 s [opt-env-conf-test] + pure (True || c2)
  9632. 1226.96 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9633. 1226.97 s [opt-env-conf-test] c1 <- go p1
  9634. 1226.97 s [opt-env-conf-test] c2 <- go p2
  9635. 1226.97 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-17
  9636. 1226.97 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9637. 1226.97 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9638. 1226.97 s [opt-env-conf-test] c1 <- go p1
  9639. 1226.97 s [opt-env-conf-test] c2 <- go p2
  9640. 1226.97 s [opt-env-conf-test] - pure (c1 || c2)
  9641. 1226.97 s [opt-env-conf-test] + pure (False || c2)
  9642. 1226.97 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9643. 1226.97 s [opt-env-conf-test] c1 <- go p1
  9644. 1226.97 s [opt-env-conf-test] c2 <- go p2
  9645. 1226.97 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:15-17
  9646. 1226.97 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9647. 1226.97 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9648. 1226.97 s [opt-env-conf-test] c1 <- go p1
  9649. 1226.97 s [opt-env-conf-test] c2 <- go p2
  9650. 1226.97 s [opt-env-conf-test] - pure (c1 || c2)
  9651. 1226.97 s [opt-env-conf-test] + pure (not c1 || c2)
  9652. 1226.97 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9653. 1226.97 s [opt-env-conf-test] c1 <- go p1
  9654. 1226.97 s [opt-env-conf-test] c2 <- go p2
  9655. 1226.97 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:21-23
  9656. 1226.97 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9657. 1226.97 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9658. 1226.97 s [opt-env-conf-test] c1 <- go p1
  9659. 1226.97 s [opt-env-conf-test] c2 <- go p2
  9660. 1226.98 s [opt-env-conf-test] - pure (c1 || c2)
  9661. 1226.98 s [opt-env-conf-test] + pure (c1 || True)
  9662. 1226.98 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9663. 1226.98 s [opt-env-conf-test] c1 <- go p1
  9664. 1226.98 s [opt-env-conf-test] c2 <- go p2
  9665. 1226.98 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:21-23
  9666. 1226.98 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9667. 1226.98 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9668. 1226.98 s [opt-env-conf-test] c1 <- go p1
  9669. 1226.98 s [opt-env-conf-test] c2 <- go p2
  9670. 1226.98 s [opt-env-conf-test] - pure (c1 || c2)
  9671. 1226.98 s [opt-env-conf-test] + pure (c1 || False)
  9672. 1226.98 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9673. 1226.98 s [opt-env-conf-test] c1 <- go p1
  9674. 1226.98 s [opt-env-conf-test] c2 <- go p2
  9675. 1226.98 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:21-23
  9676. 1226.98 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9677. 1226.98 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9678. 1226.98 s [opt-env-conf-test] c1 <- go p1
  9679. 1226.98 s [opt-env-conf-test] c2 <- go p2
  9680. 1226.98 s [opt-env-conf-test] - pure (c1 || c2)
  9681. 1226.98 s [opt-env-conf-test] + pure (c1 || not c2)
  9682. 1226.98 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9683. 1226.98 s [opt-env-conf-test] c1 <- go p1
  9684. 1226.98 s [opt-env-conf-test] c2 <- go p2
  9685. 1226.98 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-23
  9686. 1226.98 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9687. 1226.98 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9688. 1226.98 s [opt-env-conf-test] c1 <- go p1
  9689. 1226.98 s [opt-env-conf-test] c2 <- go p2
  9690. 1226.98 s [opt-env-conf-test] - pure (c1 || c2)
  9691. 1226.98 s [opt-env-conf-test] + pure (True)
  9692. 1226.98 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9693. 1226.99 s [opt-env-conf-test] c1 <- go p1
  9694. 1226.99 s [opt-env-conf-test] c2 <- go p2
  9695. 1226.99 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-23
  9696. 1226.99 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9697. 1226.99 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9698. 1226.99 s [opt-env-conf-test] c1 <- go p1
  9699. 1226.99 s [opt-env-conf-test] c2 <- go p2
  9700. 1226.99 s [opt-env-conf-test] - pure (c1 || c2)
  9701. 1226.99 s [opt-env-conf-test] + pure (False)
  9702. 1226.99 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9703. 1226.99 s [opt-env-conf-test] c1 <- go p1
  9704. 1226.99 s [opt-env-conf-test] c2 <- go p2
  9705. 1226.99 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:15-23
  9706. 1226.99 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9707. 1226.99 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9708. 1226.99 s [opt-env-conf-test] c1 <- go p1
  9709. 1226.99 s [opt-env-conf-test] c2 <- go p2
  9710. 1226.99 s [opt-env-conf-test] - pure (c1 || c2)
  9711. 1226.99 s [opt-env-conf-test] + pure (not c1 || c2)
  9712. 1226.99 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9713. 1231.04 s [opt-env-conf-test] c1 <- go p1
  9714. 1231.04 s [opt-env-conf-test] c2 <- go p2
  9715. 1231.04 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:14-24
  9716. 1231.04 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9717. 1231.04 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9718. 1231.04 s [opt-env-conf-test] c1 <- go p1
  9719. 1231.04 s [opt-env-conf-test] c2 <- go p2
  9720. 1231.04 s [opt-env-conf-test] - pure (c1 || c2)
  9721. 1231.04 s [opt-env-conf-test] + pure False
  9722. 1231.04 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9723. 1231.04 s [opt-env-conf-test] c1 <- go p1
  9724. 1231.04 s [opt-env-conf-test] c2 <- go p2
  9725. 1231.04 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:14-24
  9726. 1231.04 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9727. 1231.04 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9728. 1231.04 s [opt-env-conf-test] c1 <- go p1
  9729. 1231.04 s [opt-env-conf-test] c2 <- go p2
  9730. 1231.04 s [opt-env-conf-test] - pure (c1 || c2)
  9731. 1231.04 s [opt-env-conf-test] + pure not (c1 || c2)
  9732. 1231.04 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9733. 1231.04 s [opt-env-conf-test] c1 <- go p1
  9734. 1231.04 s [opt-env-conf-test] c2 <- go p2
  9735. 1231.04 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-17
  9736. 1231.04 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9737. 1231.04 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9738. 1231.04 s [opt-env-conf-test] c1 <- go p1
  9739. 1231.04 s [opt-env-conf-test] c2 <- go p2
  9740. 1231.04 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9741. 1231.04 s [opt-env-conf-test] + pure (True || c2) -- TODO: is this right?
  9742. 1231.05 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9743. 1231.05 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9744. 1231.05 s [opt-env-conf-test] c1 <- go p1
  9745. 1231.05 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-17
  9746. 1231.05 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9747. 1231.05 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9748. 1231.05 s [opt-env-conf-test] c1 <- go p1
  9749. 1231.05 s [opt-env-conf-test] c2 <- go p2
  9750. 1231.05 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9751. 1231.05 s [opt-env-conf-test] + pure (False || c2) -- TODO: is this right?
  9752. 1231.05 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9753. 1231.05 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9754. 1231.05 s [opt-env-conf-test] c1 <- go p1
  9755. 1231.05 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:15-17
  9756. 1231.05 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9757. 1231.05 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9758. 1231.05 s [opt-env-conf-test] c1 <- go p1
  9759. 1231.05 s [opt-env-conf-test] c2 <- go p2
  9760. 1231.05 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9761. 1231.05 s [opt-env-conf-test] + pure (not c1 || c2) -- TODO: is this right?
  9762. 1231.05 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9763. 1231.05 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9764. 1231.05 s [opt-env-conf-test] c1 <- go p1
  9765. 1231.05 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:21-23
  9766. 1231.05 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9767. 1231.05 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9768. 1231.05 s [opt-env-conf-test] c1 <- go p1
  9769. 1231.05 s [opt-env-conf-test] c2 <- go p2
  9770. 1231.05 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9771. 1231.05 s [opt-env-conf-test] + pure (c1 || True) -- TODO: is this right?
  9772. 1231.05 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9773. 1231.05 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9774. 1231.05 s [opt-env-conf-test] c1 <- go p1
  9775. 1231.05 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:21-23
  9776. 1231.05 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9777. 1231.05 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9778. 1231.05 s [opt-env-conf-test] c1 <- go p1
  9779. 1231.05 s [opt-env-conf-test] c2 <- go p2
  9780. 1231.05 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9781. 1231.05 s [opt-env-conf-test] + pure (c1 || False) -- TODO: is this right?
  9782. 1231.05 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9783. 1231.05 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9784. 1231.05 s [opt-env-conf-test] c1 <- go p1
  9785. 1231.05 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:21-23
  9786. 1231.05 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9787. 1231.05 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9788. 1231.05 s [opt-env-conf-test] c1 <- go p1
  9789. 1231.05 s [opt-env-conf-test] c2 <- go p2
  9790. 1231.05 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9791. 1231.05 s [opt-env-conf-test] + pure (c1 || not c2) -- TODO: is this right?
  9792. 1231.05 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9793. 1231.05 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9794. 1231.05 s [opt-env-conf-test] c1 <- go p1
  9795. 1231.05 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-23
  9796. 1231.05 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9797. 1231.05 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9798. 1231.05 s [opt-env-conf-test] c1 <- go p1
  9799. 1231.05 s [opt-env-conf-test] c2 <- go p2
  9800. 1231.05 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9801. 1231.05 s [opt-env-conf-test] + pure (True) -- TODO: is this right?
  9802. 1231.05 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9803. 1231.05 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9804. 1231.05 s [opt-env-conf-test] c1 <- go p1
  9805. 1231.05 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-23
  9806. 1231.05 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9807. 1231.05 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9808. 1231.05 s [opt-env-conf-test] c1 <- go p1
  9809. 1231.05 s [opt-env-conf-test] c2 <- go p2
  9810. 1231.05 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9811. 1231.05 s [opt-env-conf-test] + pure (False) -- TODO: is this right?
  9812. 1231.05 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9813. 1231.05 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9814. 1231.05 s [opt-env-conf-test] c1 <- go p1
  9815. 1231.05 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:15-23
  9816. 1231.05 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9817. 1231.05 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9818. 1231.05 s [opt-env-conf-test] c1 <- go p1
  9819. 1231.05 s [opt-env-conf-test] c2 <- go p2
  9820. 1231.05 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9821. 1231.05 s [opt-env-conf-test] + pure (not c1 || c2) -- TODO: is this right?
  9822. 1231.05 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9823. 1231.05 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9824. 1231.06 s [opt-env-conf-test] c1 <- go p1
  9825. 1231.06 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:14-24
  9826. 1231.06 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9827. 1231.06 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9828. 1231.06 s [opt-env-conf-test] c1 <- go p1
  9829. 1231.06 s [opt-env-conf-test] c2 <- go p2
  9830. 1231.06 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9831. 1231.06 s [opt-env-conf-test] + pure True -- TODO: is this right?
  9832. 1231.06 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9833. 1231.06 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9834. 1231.06 s [opt-env-conf-test] c1 <- go p1
  9835. 1231.06 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:14-24
  9836. 1231.06 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9837. 1231.06 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9838. 1231.06 s [opt-env-conf-test] c1 <- go p1
  9839. 1231.06 s [opt-env-conf-test] c2 <- go p2
  9840. 1231.06 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9841. 1231.06 s [opt-env-conf-test] + pure False -- TODO: is this right?
  9842. 1231.06 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9843. 1231.06 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9844. 1231.06 s [opt-env-conf-test] c1 <- go p1
  9845. 1231.06 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:14-24
  9846. 1231.06 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9847. 1231.06 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9848. 1231.06 s [opt-env-conf-test] c1 <- go p1
  9849. 1231.06 s [opt-env-conf-test] c2 <- go p2
  9850. 1231.06 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9851. 1231.06 s [opt-env-conf-test] + pure not (c1 || c2) -- TODO: is this right?
  9852. 1231.06 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9853. 1231.06 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9854. 1231.06 s [opt-env-conf-test] c1 <- go p1
  9855. 1231.06 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:255:29-33
  9856. 1231.06 s [opt-env-conf-test] @@ -252,7 +252,7 @@
  9857. 1231.06 s [opt-env-conf-test] c1 <- go p1
  9858. 1231.06 s [opt-env-conf-test] c2 <- go p2
  9859. 1231.06 s [opt-env-conf-test] pure (c1 || c2) -- TODO: is this right?
  9860. 1231.06 s [opt-env-conf-test] - ParserEmpty _ -> pure True
  9861. 1231.06 s [opt-env-conf-test] + ParserEmpty _ -> pure False
  9862. 1231.06 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9863. 1231.06 s [opt-env-conf-test] c1 <- go p1
  9864. 1231.06 s [opt-env-conf-test] c2 <- go p2
  9865. 1231.06 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-17
  9866. 1231.06 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9867. 1231.06 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9868. 1231.06 s [opt-env-conf-test] c1 <- go p1
  9869. 1231.06 s [opt-env-conf-test] c2 <- go p2
  9870. 1231.06 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9871. 1231.06 s [opt-env-conf-test] + pure (True && c2) -- TODO: is this right?
  9872. 1231.06 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9873. 1231.06 s [opt-env-conf-test] ParserMany mLoc p -> do
  9874. 1231.06 s [opt-env-conf-test] c <- go p
  9875. 1231.06 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-17
  9876. 1231.06 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9877. 1231.06 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9878. 1231.06 s [opt-env-conf-test] c1 <- go p1
  9879. 1231.06 s [opt-env-conf-test] c2 <- go p2
  9880. 1231.06 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9881. 1231.06 s [opt-env-conf-test] + pure (False && c2) -- TODO: is this right?
  9882. 1231.06 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9883. 1231.06 s [opt-env-conf-test] ParserMany mLoc p -> do
  9884. 1231.06 s [opt-env-conf-test] c <- go p
  9885. 1231.06 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:15-17
  9886. 1231.06 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9887. 1231.06 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9888. 1231.06 s [opt-env-conf-test] c1 <- go p1
  9889. 1231.06 s [opt-env-conf-test] c2 <- go p2
  9890. 1231.06 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9891. 1231.06 s [opt-env-conf-test] + pure (not c1 && c2) -- TODO: is this right?
  9892. 1231.06 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9893. 1231.06 s [opt-env-conf-test] ParserMany mLoc p -> do
  9894. 1231.06 s [opt-env-conf-test] c <- go p
  9895. 1231.06 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:21-23
  9896. 1231.06 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9897. 1231.06 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9898. 1231.06 s [opt-env-conf-test] c1 <- go p1
  9899. 1231.06 s [opt-env-conf-test] c2 <- go p2
  9900. 1231.06 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9901. 1231.06 s [opt-env-conf-test] + pure (c1 && True) -- TODO: is this right?
  9902. 1231.06 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9903. 1231.06 s [opt-env-conf-test] ParserMany mLoc p -> do
  9904. 1231.06 s [opt-env-conf-test] c <- go p
  9905. 1231.06 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:21-23
  9906. 1231.06 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9907. 1231.06 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9908. 1231.06 s [opt-env-conf-test] c1 <- go p1
  9909. 1231.06 s [opt-env-conf-test] c2 <- go p2
  9910. 1231.06 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9911. 1231.06 s [opt-env-conf-test] + pure (c1 && False) -- TODO: is this right?
  9912. 1231.06 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9913. 1231.06 s [opt-env-conf-test] ParserMany mLoc p -> do
  9914. 1231.06 s [opt-env-conf-test] c <- go p
  9915. 1231.06 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:21-23
  9916. 1231.06 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9917. 1231.06 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9918. 1231.06 s [opt-env-conf-test] c1 <- go p1
  9919. 1231.06 s [opt-env-conf-test] c2 <- go p2
  9920. 1231.06 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9921. 1231.06 s [opt-env-conf-test] + pure (c1 && not c2) -- TODO: is this right?
  9922. 1231.06 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9923. 1231.06 s [opt-env-conf-test] ParserMany mLoc p -> do
  9924. 1231.06 s [opt-env-conf-test] c <- go p
  9925. 1231.06 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-23
  9926. 1231.06 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9927. 1231.06 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9928. 1231.06 s [opt-env-conf-test] c1 <- go p1
  9929. 1231.06 s [opt-env-conf-test] c2 <- go p2
  9930. 1231.06 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9931. 1231.06 s [opt-env-conf-test] + pure (True) -- TODO: is this right?
  9932. 1231.06 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9933. 1231.06 s [opt-env-conf-test] ParserMany mLoc p -> do
  9934. 1231.06 s [opt-env-conf-test] c <- go p
  9935. 1240.84 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-23
  9936. 1240.84 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9937. 1240.86 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9938. 1240.86 s [opt-env-conf-test] c1 <- go p1
  9939. 1240.86 s [opt-env-conf-test] c2 <- go p2
  9940. 1240.86 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9941. 1240.87 s [opt-env-conf-test] + pure (False) -- TODO: is this right?
  9942. 1240.87 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9943. 1240.87 s [opt-env-conf-test] ParserMany mLoc p -> do
  9944. 1240.87 s [opt-env-conf-test] c <- go p
  9945. 1240.87 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:272:14-29
  9946. 1240.87 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  9947. 1240.87 s [opt-env-conf-test] Nothing -> pure Nothing
  9948. 1240.87 s [opt-env-conf-test] Just os -> do
  9949. 1240.87 s [opt-env-conf-test] after <- get
  9950. 1240.87 s [opt-env-conf-test] - if after == before
  9951. 1240.87 s [opt-env-conf-test] + if True
  9952. 1240.87 s [opt-env-conf-test] then -- State did not advance; return these completions.
  9953. 1240.87 s [opt-env-conf-test] pure $ Just os
  9954. 1240.87 s [opt-env-conf-test] else -- State advanced: something was consumed. Try the
  9955. 1240.87 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:14-24
  9956. 1240.87 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9957. 1240.87 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9958. 1240.87 s [opt-env-conf-test] c1 <- go p1
  9959. 1240.87 s [opt-env-conf-test] c2 <- go p2
  9960. 1240.87 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9961. 1240.87 s [opt-env-conf-test] + pure True -- TODO: is this right?
  9962. 1240.87 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9963. 1240.87 s [opt-env-conf-test] ParserMany mLoc p -> do
  9964. 1240.87 s [opt-env-conf-test] c <- go p
  9965. 1240.87 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:15-23
  9966. 1240.87 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9967. 1240.87 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9968. 1240.87 s [opt-env-conf-test] c1 <- go p1
  9969. 1240.87 s [opt-env-conf-test] c2 <- go p2
  9970. 1240.87 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9971. 1240.87 s [opt-env-conf-test] + pure (not c1 && c2) -- TODO: is this right?
  9972. 1240.87 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9973. 1240.87 s [opt-env-conf-test] ParserMany mLoc p -> do
  9974. 1240.87 s [opt-env-conf-test] c <- go p
  9975. 1240.87 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:14-24
  9976. 1240.87 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9977. 1240.87 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9978. 1240.87 s [opt-env-conf-test] c1 <- go p1
  9979. 1240.87 s [opt-env-conf-test] c2 <- go p2
  9980. 1240.87 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9981. 1240.87 s [opt-env-conf-test] + pure not (c1 && c2) -- TODO: is this right?
  9982. 1240.87 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9983. 1240.87 s [opt-env-conf-test] ParserMany mLoc p -> do
  9984. 1240.87 s [opt-env-conf-test] c <- go p
  9985. 1240.87 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:266:14-15
  9986. 1240.87 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  9987. 1240.87 s [opt-env-conf-test] when (not c) $
  9988. 1240.87 s [opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
  9989. 1240.87 s [opt-env-conf-test] validationTFailure LintErrorManyInfinite
  9990. 1240.87 s [opt-env-conf-test] - pure c
  9991. 1240.87 s [opt-env-conf-test] + pure True
  9992. 1240.87 s [opt-env-conf-test] ParserSome mLoc p -> do
  9993. 1240.87 s [opt-env-conf-test] c <- go p
  9994. 1240.87 s [opt-env-conf-test] when (not c) $
  9995. 1240.87 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:266:14-15
  9996. 1240.87 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  9997. 1240.87 s [opt-env-conf-test] when (not c) $
  9998. 1240.87 s [opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
  9999. 1240.87 s [opt-env-conf-test] validationTFailure LintErrorManyInfinite
  10000. 1240.87 s [opt-env-conf-test] - pure c
  10001. 1240.87 s [opt-env-conf-test] + pure False
  10002. 1240.87 s [opt-env-conf-test] ParserSome mLoc p -> do
  10003. 1240.87 s [opt-env-conf-test] c <- go p
  10004. 1240.88 s [opt-env-conf-test] when (not c) $
  10005. 1240.88 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:266:14-15
  10006. 1240.88 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  10007. 1240.88 s [opt-env-conf-test] when (not c) $
  10008. 1240.88 s [opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
  10009. 1240.88 s [opt-env-conf-test] validationTFailure LintErrorManyInfinite
  10010. 1240.88 s [opt-env-conf-test] - pure c
  10011. 1240.88 s [opt-env-conf-test] + pure not c
  10012. 1240.88 s [opt-env-conf-test] ParserSome mLoc p -> do
  10013. 1240.88 s [opt-env-conf-test] c <- go p
  10014. 1240.88 s [opt-env-conf-test] when (not c) $
  10015. 1240.88 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:272:14-15
  10016. 1240.88 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  10017. 1240.88 s [opt-env-conf-test] when (not c) $
  10018. 1240.88 s [opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
  10019. 1240.88 s [opt-env-conf-test] validationTFailure LintErrorManyInfinite
  10020. 1240.88 s [opt-env-conf-test] - pure c
  10021. 1240.88 s [opt-env-conf-test] + pure True
  10022. 1240.88 s [opt-env-conf-test] ParserAllOrNothing _ p -> go p
  10023. 1240.88 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
  10024. 1240.88 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  10025. 1240.88 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:272:14-15
  10026. 1240.88 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  10027. 1240.88 s [opt-env-conf-test] when (not c) $
  10028. 1240.88 s [opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
  10029. 1240.88 s [opt-env-conf-test] validationTFailure LintErrorManyInfinite
  10030. 1240.88 s [opt-env-conf-test] - pure c
  10031. 1240.88 s [opt-env-conf-test] + pure False
  10032. 1240.88 s [opt-env-conf-test] ParserAllOrNothing _ p -> go p
  10033. 1240.88 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
  10034. 1240.88 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  10035. 1240.88 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:272:14-15
  10036. 1240.88 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  10037. 1240.88 s [opt-env-conf-test] when (not c) $
  10038. 1240.88 s [opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
  10039. 1240.88 s [opt-env-conf-test] validationTFailure LintErrorManyInfinite
  10040. 1240.88 s [opt-env-conf-test] - pure c
  10041. 1240.88 s [opt-env-conf-test] + pure not c
  10042. 1240.88 s [opt-env-conf-test] ParserAllOrNothing _ p -> go p
  10043. 1240.88 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
  10044. 1240.88 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  10045. 1240.88 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:276:12-19
  10046. 1240.88 s [opt-env-conf-test] @@ -273,7 +273,7 @@
  10047. 1240.88 s [opt-env-conf-test] ParserAllOrNothing _ p -> go p
  10048. 1240.88 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
  10049. 1240.88 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  10050. 1240.88 s [opt-env-conf-test] - if null cs
  10051. 1240.88 s [opt-env-conf-test] + if True
  10052. 1240.88 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  10053. 1240.88 s [opt-env-conf-test] else do
  10054. 1240.88 s [opt-env-conf-test] for_ mDefault $ \d ->
  10055. 1240.88 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:276:12-19
  10056. 1240.88 s [opt-env-conf-test] @@ -273,7 +273,7 @@
  10057. 1240.88 s [opt-env-conf-test] ParserAllOrNothing _ p -> go p
  10058. 1240.88 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
  10059. 1240.88 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  10060. 1240.88 s [opt-env-conf-test] - if null cs
  10061. 1240.88 s [opt-env-conf-test] + if False
  10062. 1240.88 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  10063. 1240.88 s [opt-env-conf-test] else do
  10064. 1240.88 s [opt-env-conf-test] for_ mDefault $ \d ->
  10065. 1240.88 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:276:12-19
  10066. 1240.88 s [opt-env-conf-test] @@ -273,7 +273,7 @@
  10067. 1240.88 s [opt-env-conf-test] ParserAllOrNothing _ p -> go p
  10068. 1240.88 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
  10069. 1240.88 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  10070. 1240.88 s [opt-env-conf-test] - if null cs
  10071. 1240.88 s [opt-env-conf-test] + if not null cs
  10072. 1240.88 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  10073. 1240.88 s [opt-env-conf-test] else do
  10074. 1240.88 s [opt-env-conf-test] for_ mDefault $ \d ->
  10075. 1240.88 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:280:21-62
  10076. 1240.88 s [opt-env-conf-test] @@ -277,7 +277,7 @@
  10077. 1240.88 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  10078. 1240.88 s [opt-env-conf-test] else do
  10079. 1240.88 s [opt-env-conf-test] for_ mDefault $ \d ->
  10080. 1240.88 s [opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
  10081. 1240.88 s [opt-env-conf-test] + when (True) $
  10082. 1240.88 s [opt-env-conf-test] validationTFailure $
  10083. 1240.88 s [opt-env-conf-test] LintError mLoc $
  10084. 1240.88 s [opt-env-conf-test] LintErrorUnknownDefaultCommand d
  10085. 1240.88 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:280:21-62
  10086. 1240.88 s [opt-env-conf-test] @@ -277,7 +277,7 @@
  10087. 1240.88 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  10088. 1240.88 s [opt-env-conf-test] else do
  10089. 1240.88 s [opt-env-conf-test] for_ mDefault $ \d ->
  10090. 1240.88 s [opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
  10091. 1240.88 s [opt-env-conf-test] + when (not isNothing (find ((== d) . commandArg) cs)) $
  10092. 1240.88 s [opt-env-conf-test] validationTFailure $
  10093. 1240.88 s [opt-env-conf-test] LintError mLoc $
  10094. 1240.88 s [opt-env-conf-test] LintErrorUnknownDefaultCommand d
  10095. 1240.88 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:280:20-63
  10096. 1240.88 s [opt-env-conf-test] @@ -277,7 +277,7 @@
  10097. 1240.88 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  10098. 1240.89 s [opt-env-conf-test] else do
  10099. 1240.89 s [opt-env-conf-test] for_ mDefault $ \d ->
  10100. 1240.89 s [opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
  10101. 1240.89 s [opt-env-conf-test] + when True $
  10102. 1240.89 s [opt-env-conf-test] validationTFailure $
  10103. 1240.89 s [opt-env-conf-test] LintError mLoc $
  10104. 1240.89 s [opt-env-conf-test] LintErrorUnknownDefaultCommand d
  10105. 1240.89 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:280:20-63
  10106. 1240.89 s [opt-env-conf-test] @@ -277,7 +277,7 @@
  10107. 1240.89 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  10108. 1240.89 s [opt-env-conf-test] else do
  10109. 1240.89 s [opt-env-conf-test] for_ mDefault $ \d ->
  10110. 1240.89 s [opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
  10111. 1240.89 s [opt-env-conf-test] + when not (isNothing (find ((== d) . commandArg) cs)) $
  10112. 1240.89 s [opt-env-conf-test] validationTFailure $
  10113. 1240.89 s [opt-env-conf-test] LintError mLoc $
  10114. 1240.89 s [opt-env-conf-test] LintErrorUnknownDefaultCommand d
  10115. 1240.89 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Lint.hs:278:16-53
  10116. 1240.89 s [opt-env-conf-test] @@ -275,13 +275,8 @@
  10117. 1240.89 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  10118. 1240.89 s [opt-env-conf-test] if null cs
  10119. 1240.89 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  10120. 1240.89 s [opt-env-conf-test] else do
  10121. 1240.89 s [opt-env-conf-test] - for_ mDefault $ \d ->
  10122. 1240.89 s [opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
  10123. 1240.89 s [opt-env-conf-test] - validationTFailure $
  10124. 1240.89 s [opt-env-conf-test] - LintError mLoc $
  10125. 1240.89 s [opt-env-conf-test] - LintErrorUnknownDefaultCommand d
  10126. 1240.89 s [opt-env-conf-test] and <$> traverse (go . commandParser) cs -- TODO is this right?
  10127. 1240.89 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  10128. 1240.89 s [opt-env-conf-test] c1 <- go p1
  10129. 1240.89 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  10130. 1240.89 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:19-27
  10131. 1240.89 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  10132. 1240.89 s [opt-env-conf-test] . showString " _ "
  10133. 1240.89 s [opt-env-conf-test] . go 11 p
  10134. 1240.89 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  10135. 1240.89 s [opt-env-conf-test] - showParen (d > 10) $
  10136. 1247.81 s [opt-env-conf-test] + showParen True $
  10137. 1247.84 s [opt-env-conf-test] showString "Commands "
  10138. 1247.84 s [opt-env-conf-test] . showsPrec 11 mLoc
  10139. 1247.84 s [opt-env-conf-test] . showString " "
  10140. 1247.84 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-18
  10141. 1247.84 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  10142. 1247.84 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  10143. 1247.84 s [opt-env-conf-test] c1 <- go p1
  10144. 1247.84 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  10145. 1247.84 s [opt-env-conf-test] - pure $ c1 || c2
  10146. 1247.84 s [opt-env-conf-test] + pure $ True || c2
  10147. 1247.84 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  10148. 1247.84 s [opt-env-conf-test] case settingHelp of
  10149. 1247.84 s [opt-env-conf-test] Nothing ->
  10150. 1247.84 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-18
  10151. 1247.84 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  10152. 1247.84 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  10153. 1247.84 s [opt-env-conf-test] c1 <- go p1
  10154. 1247.84 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  10155. 1247.84 s [opt-env-conf-test] - pure $ c1 || c2
  10156. 1247.84 s [opt-env-conf-test] + pure $ False || c2
  10157. 1247.84 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  10158. 1247.84 s [opt-env-conf-test] case settingHelp of
  10159. 1247.84 s [opt-env-conf-test] Nothing ->
  10160. 1247.84 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:20-26
  10161. 1247.84 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  10162. 1247.85 s [opt-env-conf-test] . showString " _ "
  10163. 1247.85 s [opt-env-conf-test] . go 11 p
  10164. 1247.85 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  10165. 1247.85 s [opt-env-conf-test] - showParen (d > 10) $
  10166. 1247.85 s [opt-env-conf-test] + showParen (False) $
  10167. 1247.85 s [opt-env-conf-test] showString "Commands "
  10168. 1247.85 s [opt-env-conf-test] . showsPrec 11 mLoc
  10169. 1247.85 s [opt-env-conf-test] . showString " "
  10170. 1247.85 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:22-24
  10171. 1247.85 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  10172. 1247.85 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  10173. 1247.85 s [opt-env-conf-test] c1 <- go p1
  10174. 1247.85 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  10175. 1247.85 s [opt-env-conf-test] - pure $ c1 || c2
  10176. 1247.85 s [opt-env-conf-test] + pure $ c1 || True
  10177. 1247.85 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  10178. 1247.85 s [opt-env-conf-test] case settingHelp of
  10179. 1247.85 s [opt-env-conf-test] Nothing ->
  10180. 1247.85 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:16-18
  10181. 1247.85 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  10182. 1247.85 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  10183. 1247.85 s [opt-env-conf-test] c1 <- go p1
  10184. 1247.85 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  10185. 1247.85 s [opt-env-conf-test] - pure $ c1 || c2
  10186. 1247.85 s [opt-env-conf-test] + pure $ not c1 || c2
  10187. 1247.85 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  10188. 1247.85 s [opt-env-conf-test] case settingHelp of
  10189. 1247.85 s [opt-env-conf-test] Nothing ->
  10190. 1247.85 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:22-24
  10191. 1247.85 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  10192. 1247.85 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  10193. 1247.85 s [opt-env-conf-test] c1 <- go p1
  10194. 1247.85 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  10195. 1247.85 s [opt-env-conf-test] - pure $ c1 || c2
  10196. 1247.85 s [opt-env-conf-test] + pure $ c1 || False
  10197. 1247.85 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  10198. 1247.85 s [opt-env-conf-test] case settingHelp of
  10199. 1247.85 s [opt-env-conf-test] Nothing ->
  10200. 1247.85 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:355:20-26
  10201. 1247.85 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  10202. 1247.85 s [opt-env-conf-test] . showString " _ "
  10203. 1247.86 s [opt-env-conf-test] . go 11 p
  10204. 1247.86 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  10205. 1247.86 s [opt-env-conf-test] - showParen (d > 10) $
  10206. 1247.86 s [opt-env-conf-test] + showParen (not d > 10) $
  10207. 1247.86 s [opt-env-conf-test] showString "Commands "
  10208. 1247.86 s [opt-env-conf-test] . showsPrec 11 mLoc
  10209. 1247.86 s [opt-env-conf-test] . showString " "
  10210. 1247.86 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
  10211. 1247.86 s [opt-env-conf-test] @@ -350,7 +350,7 @@
  10212. 1247.86 s [opt-env-conf-test] . showString " "
  10213. 1247.86 s [opt-env-conf-test] . showsPrec 11 caps
  10214. 1247.86 s [opt-env-conf-test] . showString " _ "
  10215. 1247.86 s [opt-env-conf-test] - . go 11 p
  10216. 1247.86 s [opt-env-conf-test] + . go -11 p
  10217. 1247.86 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  10218. 1247.86 s [opt-env-conf-test] showParen (d > 10) $
  10219. 1247.86 s [opt-env-conf-test] showString "Commands "
  10220. 1247.86 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:349:28-38
  10221. 1247.86 s [opt-env-conf-test] @@ -346,7 +346,7 @@
  10222. 1247.86 s [opt-env-conf-test] showString "Check "
  10223. 1247.86 s [opt-env-conf-test] . showsPrec 11 mLoc
  10224. 1247.86 s [opt-env-conf-test] . showString " "
  10225. 1247.86 s [opt-env-conf-test] - . showsPrec 11 forgivable
  10226. 1247.86 s [opt-env-conf-test] + . showsPrec 11 not forgivable
  10227. 1247.86 s [opt-env-conf-test] . showString " "
  10228. 1247.86 s [opt-env-conf-test] . showsPrec 11 caps
  10229. 1247.86 s [opt-env-conf-test] . showString " _ "
  10230. 1247.86 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-33
  10231. 1247.86 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  10232. 1247.86 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10233. 1247.86 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10234. 1247.86 s [opt-env-conf-test] and
  10235. 1247.86 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10236. 1247.86 s [opt-env-conf-test] + [ True || settingTryOption || isJust settingSwitchValue,
  10237. 1247.86 s [opt-env-conf-test] null settingEnvVars,
  10238. 1247.86 s [opt-env-conf-test] null settingConfigVals
  10239. 1247.86 s [opt-env-conf-test] ]
  10240. 1247.86 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-33
  10241. 1247.86 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  10242. 1247.86 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10243. 1247.86 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10244. 1247.86 s [opt-env-conf-test] and
  10245. 1247.86 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10246. 1247.86 s [opt-env-conf-test] + [ False || settingTryOption || isJust settingSwitchValue,
  10247. 1247.86 s [opt-env-conf-test] null settingEnvVars,
  10248. 1247.86 s [opt-env-conf-test] null settingConfigVals
  10249. 1247.86 s [opt-env-conf-test] ]
  10250. 1247.86 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:15-33
  10251. 1247.86 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  10252. 1247.86 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10253. 1247.87 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10254. 1247.87 s [opt-env-conf-test] and
  10255. 1247.87 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10256. 1247.87 s [opt-env-conf-test] + [ not settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10257. 1247.87 s [opt-env-conf-test] null settingEnvVars,
  10258. 1247.87 s [opt-env-conf-test] null settingConfigVals
  10259. 1247.87 s [opt-env-conf-test] ]
  10260. 1247.87 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
  10261. 1247.87 s [opt-env-conf-test] @@ -346,7 +346,7 @@
  10262. 1247.87 s [opt-env-conf-test] showString "Check "
  10263. 1247.87 s [opt-env-conf-test] . showsPrec 11 mLoc
  10264. 1247.87 s [opt-env-conf-test] . showString " "
  10265. 1247.87 s [opt-env-conf-test] - . showsPrec 11 forgivable
  10266. 1247.87 s [opt-env-conf-test] + . showsPrec 1 forgivable
  10267. 1247.87 s [opt-env-conf-test] . showString " "
  10268. 1247.87 s [opt-env-conf-test] . showsPrec 11 caps
  10269. 1247.87 s [opt-env-conf-test] . showString " _ "
  10270. 1247.87 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
  10271. 1247.87 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  10272. 1247.87 s [opt-env-conf-test] . showString " _ "
  10273. 1247.87 s [opt-env-conf-test] . go 11 p
  10274. 1247.87 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  10275. 1247.87 s [opt-env-conf-test] - showParen (d > 10) $
  10276. 1247.87 s [opt-env-conf-test] + showParen (d > -10) $
  10277. 1247.87 s [opt-env-conf-test] showString "Commands "
  10278. 1247.87 s [opt-env-conf-test] . showsPrec 11 mLoc
  10279. 1247.87 s [opt-env-conf-test] . showString " "
  10280. 1247.87 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-53
  10281. 1247.87 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  10282. 1247.87 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10283. 1247.87 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10284. 1247.87 s [opt-env-conf-test] and
  10285. 1247.87 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10286. 1247.87 s [opt-env-conf-test] + [ settingTryArgument || False || isJust settingSwitchValue,
  10287. 1247.87 s [opt-env-conf-test] null settingEnvVars,
  10288. 1247.87 s [opt-env-conf-test] null settingConfigVals
  10289. 1247.87 s [opt-env-conf-test] ]
  10290. 1247.87 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:349:28-38
  10291. 1247.87 s [opt-env-conf-test] @@ -346,7 +346,7 @@
  10292. 1247.87 s [opt-env-conf-test] showString "Check "
  10293. 1247.87 s [opt-env-conf-test] . showsPrec 11 mLoc
  10294. 1247.87 s [opt-env-conf-test] . showString " "
  10295. 1247.87 s [opt-env-conf-test] - . showsPrec 11 forgivable
  10296. 1247.87 s [opt-env-conf-test] + . showsPrec 11 False
  10297. 1247.87 s [opt-env-conf-test] . showString " "
  10298. 1247.87 s [opt-env-conf-test] . showsPrec 11 caps
  10299. 1247.87 s [opt-env-conf-test] . showString " _ "
  10300. 1247.87 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
  10301. 1247.87 s [opt-env-conf-test] @@ -346,7 +346,7 @@
  10302. 1247.87 s [opt-env-conf-test] showString "Check "
  10303. 1247.88 s [opt-env-conf-test] . showsPrec 11 mLoc
  10304. 1247.88 s [opt-env-conf-test] . showString " "
  10305. 1247.88 s [opt-env-conf-test] - . showsPrec 11 forgivable
  10306. 1247.88 s [opt-env-conf-test] + . showsPrec -11 forgivable
  10307. 1247.88 s [opt-env-conf-test] . showString " "
  10308. 1247.88 s [opt-env-conf-test] . showsPrec 11 caps
  10309. 1247.88 s [opt-env-conf-test] . showString " _ "
  10310. 1247.88 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
  10311. 1247.88 s [opt-env-conf-test] @@ -344,7 +344,7 @@
  10312. 1247.88 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  10313. 1247.88 s [opt-env-conf-test] showParen (d > 10) $
  10314. 1247.88 s [opt-env-conf-test] showString "Check "
  10315. 1247.88 s [opt-env-conf-test] - . showsPrec 11 mLoc
  10316. 1247.88 s [opt-env-conf-test] + . showsPrec 1 mLoc
  10317. 1247.88 s [opt-env-conf-test] . showString " "
  10318. 1247.88 s [opt-env-conf-test] . showsPrec 11 forgivable
  10319. 1247.88 s [opt-env-conf-test] . showString " "
  10320. 1247.88 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
  10321. 1247.88 s [opt-env-conf-test] @@ -346,7 +346,7 @@
  10322. 1247.88 s [opt-env-conf-test] showString "Check "
  10323. 1247.88 s [opt-env-conf-test] . showsPrec 11 mLoc
  10324. 1247.88 s [opt-env-conf-test] . showString " "
  10325. 1247.88 s [opt-env-conf-test] - . showsPrec 11 forgivable
  10326. 1247.88 s [opt-env-conf-test] + . showsPrec 0 forgivable
  10327. 1247.88 s [opt-env-conf-test] . showString " "
  10328. 1247.88 s [opt-env-conf-test] . showsPrec 11 caps
  10329. 1247.88 s [opt-env-conf-test] . showString " _ "
  10330. 1247.88 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-82
  10331. 1247.88 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  10332. 1247.88 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10333. 1247.88 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10334. 1247.88 s [opt-env-conf-test] and
  10335. 1247.88 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10336. 1247.88 s [opt-env-conf-test] + [ settingTryArgument || True,
  10337. 1259.64 s [opt-env-conf-test] null settingEnvVars,
  10338. 1259.64 s [opt-env-conf-test] null settingConfigVals
  10339. 1259.66 s [opt-env-conf-test] ]
  10340. 1259.66 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:57-82
  10341. 1259.67 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  10342. 1259.67 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10343. 1259.67 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10344. 1259.67 s [opt-env-conf-test] and
  10345. 1259.67 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10346. 1259.67 s [opt-env-conf-test] + [ settingTryArgument || settingTryOption || not isJust settingSwitchValue,
  10347. 1259.67 s [opt-env-conf-test] null settingEnvVars,
  10348. 1259.67 s [opt-env-conf-test] null settingConfigVals
  10349. 1259.67 s [opt-env-conf-test] ]
  10350. 1259.67 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-82
  10351. 1259.67 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  10352. 1259.67 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10353. 1259.67 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10354. 1259.67 s [opt-env-conf-test] and
  10355. 1259.67 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10356. 1259.67 s [opt-env-conf-test] + [ True,
  10357. 1259.67 s [opt-env-conf-test] null settingEnvVars,
  10358. 1259.67 s [opt-env-conf-test] null settingConfigVals
  10359. 1259.67 s [opt-env-conf-test] ]
  10360. 1259.67 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
  10361. 1259.67 s [opt-env-conf-test] @@ -344,7 +344,7 @@
  10362. 1259.67 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  10363. 1259.67 s [opt-env-conf-test] showParen (d > 10) $
  10364. 1259.67 s [opt-env-conf-test] showString "Check "
  10365. 1259.67 s [opt-env-conf-test] - . showsPrec 11 mLoc
  10366. 1259.67 s [opt-env-conf-test] + . showsPrec 0 mLoc
  10367. 1259.67 s [opt-env-conf-test] . showString " "
  10368. 1259.67 s [opt-env-conf-test] . showsPrec 11 forgivable
  10369. 1259.67 s [opt-env-conf-test] . showString " "
  10370. 1259.67 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:37-82
  10371. 1259.68 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  10372. 1259.68 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10373. 1259.68 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10374. 1259.68 s [opt-env-conf-test] and
  10375. 1259.68 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10376. 1259.68 s [opt-env-conf-test] + [ settingTryArgument || not settingTryOption || isJust settingSwitchValue,
  10377. 1259.68 s [opt-env-conf-test] null settingEnvVars,
  10378. 1259.68 s [opt-env-conf-test] null settingConfigVals
  10379. 1259.68 s [opt-env-conf-test] ]
  10380. 1259.68 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-24
  10381. 1259.68 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  10382. 1259.68 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  10383. 1259.68 s [opt-env-conf-test] c1 <- go p1
  10384. 1259.68 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  10385. 1259.68 s [opt-env-conf-test] - pure $ c1 || c2
  10386. 1259.68 s [opt-env-conf-test] + pure $ False
  10387. 1259.68 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  10388. 1259.68 s [opt-env-conf-test] case settingHelp of
  10389. 1259.68 s [opt-env-conf-test] Nothing ->
  10390. 1259.68 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:341:15-34
  10391. 1259.68 s [opt-env-conf-test] @@ -338,6 +338,6 @@
  10392. 1259.68 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10393. 1259.68 s [opt-env-conf-test] and
  10394. 1259.68 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10395. 1259.68 s [opt-env-conf-test] - null settingEnvVars,
  10396. 1259.68 s [opt-env-conf-test] + False,
  10397. 1259.68 s [opt-env-conf-test] null settingConfigVals
  10398. 1259.68 s [opt-env-conf-test] ]
  10399. 1259.68 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:341:15-34
  10400. 1259.68 s [opt-env-conf-test] @@ -338,6 +338,6 @@
  10401. 1259.68 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10402. 1259.68 s [opt-env-conf-test] and
  10403. 1259.68 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10404. 1259.68 s [opt-env-conf-test] - null settingEnvVars,
  10405. 1259.68 s [opt-env-conf-test] + not null settingEnvVars,
  10406. 1259.68 s [opt-env-conf-test] null settingConfigVals
  10407. 1259.68 s [opt-env-conf-test] ]
  10408. 1259.68 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:342:15-37
  10409. 1259.68 s [opt-env-conf-test] @@ -339,5 +339,5 @@
  10410. 1259.68 s [opt-env-conf-test] and
  10411. 1259.68 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10412. 1259.68 s [opt-env-conf-test] null settingEnvVars,
  10413. 1259.68 s [opt-env-conf-test] - null settingConfigVals
  10414. 1259.68 s [opt-env-conf-test] + True
  10415. 1259.69 s [opt-env-conf-test] ]
  10416. 1259.69 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:342:15-37
  10417. 1259.69 s [opt-env-conf-test] @@ -339,5 +339,5 @@
  10418. 1259.69 s [opt-env-conf-test] and
  10419. 1259.69 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10420. 1259.69 s [opt-env-conf-test] null settingEnvVars,
  10421. 1259.69 s [opt-env-conf-test] - null settingConfigVals
  10422. 1259.69 s [opt-env-conf-test] + False
  10423. 1259.69 s [opt-env-conf-test] ]
  10424. 1259.69 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:342:15-37
  10425. 1259.69 s [opt-env-conf-test] @@ -339,5 +339,5 @@
  10426. 1259.69 s [opt-env-conf-test] and
  10427. 1259.69 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10428. 1259.69 s [opt-env-conf-test] null settingEnvVars,
  10429. 1259.69 s [opt-env-conf-test] - null settingConfigVals
  10430. 1259.69 s [opt-env-conf-test] + not null settingConfigVals
  10431. 1259.69 s [opt-env-conf-test] ]
  10432. 1259.69 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
  10433. 1259.69 s [opt-env-conf-test] @@ -337,7 +337,4 @@
  10434. 1259.69 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10435. 1259.69 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10436. 1259.69 s [opt-env-conf-test] and
  10437. 1259.69 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10438. 1259.69 s [opt-env-conf-test] - null settingEnvVars,
  10439. 1259.69 s [opt-env-conf-test] - null settingConfigVals
  10440. 1259.69 s [opt-env-conf-test] ]
  10441. 1259.69 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
  10442. 1259.69 s [opt-env-conf-test] @@ -337,7 +337,6 @@
  10443. 1259.69 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10444. 1259.69 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10445. 1259.69 s [opt-env-conf-test] and
  10446. 1259.69 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10447. 1259.69 s [opt-env-conf-test] null settingEnvVars,
  10448. 1259.69 s [opt-env-conf-test] null settingConfigVals
  10449. 1259.69 s [opt-env-conf-test] ]
  10450. 1259.69 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
  10451. 1259.69 s [opt-env-conf-test] @@ -337,7 +337,6 @@
  10452. 1259.69 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10453. 1259.69 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10454. 1259.69 s [opt-env-conf-test] and
  10455. 1259.69 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10456. 1259.69 s [opt-env-conf-test] null settingEnvVars,
  10457. 1259.69 s [opt-env-conf-test] - null settingConfigVals
  10458. 1259.69 s [opt-env-conf-test] ]
  10459. 1259.69 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:339:11-14
  10460. 1259.69 s [opt-env-conf-test] @@ -336,8 +336,8 @@
  10461. 1259.69 s [opt-env-conf-test] pure $
  10462. 1259.69 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10463. 1259.69 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10464. 1259.69 s [opt-env-conf-test] - and
  10465. 1259.69 s [opt-env-conf-test] + True
  10466. 1259.69 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10467. 1259.69 s [opt-env-conf-test] null settingEnvVars,
  10468. 1259.69 s [opt-env-conf-test] null settingConfigVals
  10469. 1259.69 s [opt-env-conf-test] ]
  10470. 1259.69 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:15-82
  10471. 1259.69 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  10472. 1259.69 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10473. 1259.69 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10474. 1259.69 s [opt-env-conf-test] and
  10475. 1259.69 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10476. 1259.69 s [opt-env-conf-test] + [ not settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10477. 1259.69 s [opt-env-conf-test] null settingEnvVars,
  10478. 1259.69 s [opt-env-conf-test] null settingConfigVals
  10479. 1259.69 s [opt-env-conf-test] ]
  10480. 1259.69 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
  10481. 1259.69 s [opt-env-conf-test] @@ -131,7 +131,7 @@
  10482. 1259.69 s [opt-env-conf-test] showCommandABit :: Command a -> ShowS
  10483. 1259.69 s [opt-env-conf-test] showCommandABit Command {..} =
  10484. 1259.69 s [opt-env-conf-test] showString "Command "
  10485. 1259.69 s [opt-env-conf-test] - . showsPrec 11 commandArg
  10486. 1259.69 s [opt-env-conf-test] + . showsPrec 0 commandArg
  10487. 1259.69 s [opt-env-conf-test] . showString " "
  10488. 1259.69 s [opt-env-conf-test] . showsPrec 11 commandHelp
  10489. 1259.69 s [opt-env-conf-test] . showString " "
  10490. 1259.69 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:339:11-14
  10491. 1259.69 s [opt-env-conf-test] @@ -336,8 +336,8 @@
  10492. 1259.69 s [opt-env-conf-test] pure $
  10493. 1259.69 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10494. 1259.70 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10495. 1259.70 s [opt-env-conf-test] - and
  10496. 1259.70 s [opt-env-conf-test] + False
  10497. 1259.70 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10498. 1259.70 s [opt-env-conf-test] null settingEnvVars,
  10499. 1259.70 s [opt-env-conf-test] null settingConfigVals
  10500. 1259.70 s [opt-env-conf-test] ]
  10501. 1259.70 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
  10502. 1259.70 s [opt-env-conf-test] @@ -348,7 +348,7 @@
  10503. 1259.70 s [opt-env-conf-test] . showString " "
  10504. 1259.70 s [opt-env-conf-test] . showsPrec 11 forgivable
  10505. 1259.70 s [opt-env-conf-test] . showString " "
  10506. 1259.70 s [opt-env-conf-test] - . showsPrec 11 caps
  10507. 1259.70 s [opt-env-conf-test] + . showsPrec 0 caps
  10508. 1259.70 s [opt-env-conf-test] . showString " _ "
  10509. 1259.70 s [opt-env-conf-test] . go 11 p
  10510. 1259.70 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  10511. 1259.70 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:349:28-38
  10512. 1259.70 s [opt-env-conf-test] @@ -346,7 +346,7 @@
  10513. 1259.70 s [opt-env-conf-test] showString "Check "
  10514. 1259.70 s [opt-env-conf-test] . showsPrec 11 mLoc
  10515. 1259.70 s [opt-env-conf-test] . showString " "
  10516. 1259.70 s [opt-env-conf-test] - . showsPrec 11 forgivable
  10517. 1259.70 s [opt-env-conf-test] + . showsPrec 11 True
  10518. 1259.70 s [opt-env-conf-test] . showString " "
  10519. 1259.70 s [opt-env-conf-test] . showsPrec 11 caps
  10520. 1259.70 s [opt-env-conf-test] . showString " _ "
  10521. 1259.70 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
  10522. 1259.70 s [opt-env-conf-test] @@ -68,7 +68,6 @@
  10523. 1259.70 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  10524. 1259.70 s [opt-env-conf-test] case lintErrorMessage of
  10525. 1259.70 s [opt-env-conf-test] LintErrorUndocumented ->
  10526. 1259.70 s [opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
  10527. 1259.70 s [opt-env-conf-test] LintErrorEmptySetting ->
  10528. 1259.70 s [opt-env-conf-test] concat
  10529. 1259.70 s [opt-env-conf-test] [ [ [ "This ",
  10530. 1259.70 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
  10531. 1267.18 s [opt-env-conf-test] @@ -68,7 +68,6 @@
  10532. 1267.18 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  10533. 1267.20 s [opt-env-conf-test] case lintErrorMessage of
  10534. 1267.20 s [opt-env-conf-test] LintErrorUndocumented ->
  10535. 1267.20 s [opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
  10536. 1267.20 s [opt-env-conf-test] LintErrorEmptySetting ->
  10537. 1267.20 s [opt-env-conf-test] concat
  10538. 1267.20 s [opt-env-conf-test] [ [ [ "This ",
  10539. 1267.20 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:339:11-14
  10540. 1267.20 s [opt-env-conf-test] @@ -336,8 +336,8 @@
  10541. 1267.20 s [opt-env-conf-test] pure $
  10542. 1267.20 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10543. 1267.21 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10544. 1267.21 s [opt-env-conf-test] - and
  10545. 1267.21 s [opt-env-conf-test] + not and
  10546. 1267.21 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10547. 1267.21 s [opt-env-conf-test] null settingEnvVars,
  10548. 1267.21 s [opt-env-conf-test] null settingConfigVals
  10549. 1267.21 s [opt-env-conf-test] ]
  10550. 1267.21 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:14-24
  10551. 1267.21 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  10552. 1267.21 s [opt-env-conf-test] ParserAp p1 p2 -> do
  10553. 1267.21 s [opt-env-conf-test] c1 <- go p1
  10554. 1267.21 s [opt-env-conf-test] c2 <- go p2
  10555. 1267.21 s [opt-env-conf-test] - pure (c1 || c2)
  10556. 1267.21 s [opt-env-conf-test] + pure True
  10557. 1267.21 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  10558. 1267.21 s [opt-env-conf-test] c1 <- go p1
  10559. 1267.21 s [opt-env-conf-test] c2 <- go p2
  10560. 1267.21 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
  10561. 1267.21 s [opt-env-conf-test] @@ -71,10 +71,7 @@
  10562. 1267.21 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  10563. 1267.21 s [opt-env-conf-test] LintErrorEmptySetting ->
  10564. 1267.21 s [opt-env-conf-test] concat
  10565. 1267.21 s [opt-env-conf-test] - [ [ [ "This ",
  10566. 1267.21 s [opt-env-conf-test] - functionChunk "setting",
  10567. 1267.21 s [opt-env-conf-test] - " parses nothing."
  10568. 1267.22 s [opt-env-conf-test] ]
  10569. 1267.22 s [opt-env-conf-test] ],
  10570. 1267.22 s [opt-env-conf-test] [ [ "Add an ",
  10571. 1267.22 s [opt-env-conf-test] functionChunk "argument",
  10572. 1267.22 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
  10573. 1267.22 s [opt-env-conf-test] @@ -71,10 +71,9 @@
  10574. 1267.22 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  10575. 1267.22 s [opt-env-conf-test] LintErrorEmptySetting ->
  10576. 1267.22 s [opt-env-conf-test] concat
  10577. 1267.22 s [opt-env-conf-test] - [ [ [ "This ",
  10578. 1267.22 s [opt-env-conf-test] functionChunk "setting",
  10579. 1267.22 s [opt-env-conf-test] " parses nothing."
  10580. 1267.22 s [opt-env-conf-test] ]
  10581. 1267.22 s [opt-env-conf-test] ],
  10582. 1267.22 s [opt-env-conf-test] [ [ "Add an ",
  10583. 1267.22 s [opt-env-conf-test] functionChunk "argument",
  10584. 1267.22 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
  10585. 1267.22 s [opt-env-conf-test] @@ -68,7 +68,6 @@
  10586. 1267.22 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  10587. 1267.22 s [opt-env-conf-test] case lintErrorMessage of
  10588. 1267.22 s [opt-env-conf-test] LintErrorUndocumented ->
  10589. 1267.22 s [opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
  10590. 1267.22 s [opt-env-conf-test] LintErrorEmptySetting ->
  10591. 1267.22 s [opt-env-conf-test] concat
  10592. 1267.22 s [opt-env-conf-test] [ [ [ "This ",
  10593. 1267.22 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
  10594. 1267.22 s [opt-env-conf-test] @@ -71,10 +71,9 @@
  10595. 1267.22 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  10596. 1267.22 s [opt-env-conf-test] LintErrorEmptySetting ->
  10597. 1267.22 s [opt-env-conf-test] concat
  10598. 1267.22 s [opt-env-conf-test] [ [ [ "This ",
  10599. 1267.23 s [opt-env-conf-test] functionChunk "setting",
  10600. 1267.23 s [opt-env-conf-test] - " parses nothing."
  10601. 1267.23 s [opt-env-conf-test] ]
  10602. 1267.23 s [opt-env-conf-test] ],
  10603. 1267.23 s [opt-env-conf-test] [ [ "Add an ",
  10604. 1267.23 s [opt-env-conf-test] functionChunk "argument",
  10605. 1267.23 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:345:19-27
  10606. 1267.23 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  10607. 1267.23 s [opt-env-conf-test] . showString " "
  10608. 1267.23 s [opt-env-conf-test] . go 11 p
  10609. 1267.23 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  10610. 1267.23 s [opt-env-conf-test] - showParen (d > 10) $
  10611. 1267.23 s [opt-env-conf-test] + showParen not (d > 10) $
  10612. 1267.23 s [opt-env-conf-test] showString "Check "
  10613. 1267.23 s [opt-env-conf-test] . showsPrec 11 mLoc
  10614. 1267.23 s [opt-env-conf-test] . showString " "
  10615. 1267.23 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
  10616. 1267.23 s [opt-env-conf-test] @@ -76,20 +76,7 @@
  10617. 1267.23 s [opt-env-conf-test] " parses nothing."
  10618. 1267.23 s [opt-env-conf-test] ]
  10619. 1267.23 s [opt-env-conf-test] ],
  10620. 1267.23 s [opt-env-conf-test] - [ [ "Add an ",
  10621. 1267.23 s [opt-env-conf-test] - functionChunk "argument",
  10622. 1267.23 s [opt-env-conf-test] - ", ",
  10623. 1267.23 s [opt-env-conf-test] - functionChunk "switch",
  10624. 1267.24 s [opt-env-conf-test] - ", ",
  10625. 1267.24 s [opt-env-conf-test] - functionChunk "option",
  10626. 1267.24 s [opt-env-conf-test] - ", ",
  10627. 1267.24 s [opt-env-conf-test] - functionChunk "env",
  10628. 1267.24 s [opt-env-conf-test] - ", ",
  10629. 1267.24 s [opt-env-conf-test] - functionChunk "conf",
  10630. 1267.24 s [opt-env-conf-test] - ", or ",
  10631. 1267.24 s [opt-env-conf-test] - functionChunk "value",
  10632. 1267.24 s [opt-env-conf-test] - "."
  10633. 1267.24 s [opt-env-conf-test] ]
  10634. 1267.24 s [opt-env-conf-test] ]
  10635. 1267.24 s [opt-env-conf-test] ]
  10636. 1267.24 s [opt-env-conf-test] LintErrorDashInShort ->
  10637. 1267.24 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
  10638. 1267.24 s [opt-env-conf-test] @@ -76,20 +76,19 @@
  10639. 1267.24 s [opt-env-conf-test] " parses nothing."
  10640. 1267.24 s [opt-env-conf-test] ]
  10641. 1267.24 s [opt-env-conf-test] ],
  10642. 1267.24 s [opt-env-conf-test] - [ [ "Add an ",
  10643. 1267.24 s [opt-env-conf-test] functionChunk "argument",
  10644. 1267.24 s [opt-env-conf-test] ", ",
  10645. 1267.24 s [opt-env-conf-test] functionChunk "switch",
  10646. 1267.24 s [opt-env-conf-test] ", ",
  10647. 1267.24 s [opt-env-conf-test] functionChunk "option",
  10648. 1267.24 s [opt-env-conf-test] ", ",
  10649. 1267.24 s [opt-env-conf-test] functionChunk "env",
  10650. 1267.24 s [opt-env-conf-test] ", ",
  10651. 1267.24 s [opt-env-conf-test] functionChunk "conf",
  10652. 1267.24 s [opt-env-conf-test] ", or ",
  10653. 1267.24 s [opt-env-conf-test] functionChunk "value",
  10654. 1267.24 s [opt-env-conf-test] "."
  10655. 1267.24 s [opt-env-conf-test] ]
  10656. 1267.24 s [opt-env-conf-test] ]
  10657. 1267.24 s [opt-env-conf-test] ]
  10658. 1267.24 s [opt-env-conf-test] LintErrorDashInShort ->
  10659. 1267.24 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:13-14
  10660. 1267.24 s [opt-env-conf-test] @@ -71,27 +71,7 @@
  10661. 1267.25 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  10662. 1267.25 s [opt-env-conf-test] LintErrorEmptySetting ->
  10663. 1267.25 s [opt-env-conf-test] concat
  10664. 1267.25 s [opt-env-conf-test] - [ [ [ "This ",
  10665. 1267.25 s [opt-env-conf-test] - functionChunk "setting",
  10666. 1267.25 s [opt-env-conf-test] - " parses nothing."
  10667. 1267.25 s [opt-env-conf-test] - ]
  10668. 1267.25 s [opt-env-conf-test] - ],
  10669. 1267.25 s [opt-env-conf-test] - [ [ "Add an ",
  10670. 1267.25 s [opt-env-conf-test] - functionChunk "argument",
  10671. 1267.25 s [opt-env-conf-test] - ", ",
  10672. 1267.25 s [opt-env-conf-test] - functionChunk "switch",
  10673. 1267.25 s [opt-env-conf-test] - ", ",
  10674. 1267.25 s [opt-env-conf-test] - functionChunk "option",
  10675. 1267.25 s [opt-env-conf-test] - ", ",
  10676. 1267.25 s [opt-env-conf-test] - functionChunk "env",
  10677. 1267.25 s [opt-env-conf-test] - ", ",
  10678. 1267.25 s [opt-env-conf-test] - functionChunk "conf",
  10679. 1267.25 s [opt-env-conf-test] - ", or ",
  10680. 1267.25 s [opt-env-conf-test] - functionChunk "value",
  10681. 1267.25 s [opt-env-conf-test] - "."
  10682. 1267.25 s [opt-env-conf-test] - ]
  10683. 1267.25 s [opt-env-conf-test] - ]
  10684. 1267.25 s [opt-env-conf-test] ]
  10685. 1267.25 s [opt-env-conf-test] LintErrorDashInShort ->
  10686. 1267.25 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  10687. 1267.25 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10688. 1267.25 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-82
  10689. 1267.25 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  10690. 1267.25 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10691. 1267.25 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10692. 1267.25 s [opt-env-conf-test] and
  10693. 1267.25 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10694. 1267.25 s [opt-env-conf-test] + [ False,
  10695. 1267.25 s [opt-env-conf-test] null settingEnvVars,
  10696. 1267.25 s [opt-env-conf-test] null settingConfigVals
  10697. 1267.25 s [opt-env-conf-test] ]
  10698. 1267.25 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:57-82
  10699. 1267.25 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  10700. 1267.26 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10701. 1267.26 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10702. 1267.26 s [opt-env-conf-test] and
  10703. 1267.26 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10704. 1267.26 s [opt-env-conf-test] + [ settingTryArgument || settingTryOption || False,
  10705. 1267.26 s [opt-env-conf-test] null settingEnvVars,
  10706. 1267.26 s [opt-env-conf-test] null settingConfigVals
  10707. 1267.26 s [opt-env-conf-test] ]
  10708. 1267.26 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:57-82
  10709. 1267.26 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  10710. 1267.26 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10711. 1267.26 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10712. 1267.26 s [opt-env-conf-test] and
  10713. 1267.26 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10714. 1267.26 s [opt-env-conf-test] + [ settingTryArgument || settingTryOption || True,
  10715. 1267.26 s [opt-env-conf-test] null settingEnvVars,
  10716. 1267.26 s [opt-env-conf-test] null settingConfigVals
  10717. 1267.26 s [opt-env-conf-test] ]
  10718. 1267.26 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-82
  10719. 1267.26 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  10720. 1267.26 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10721. 1267.26 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10722. 1267.26 s [opt-env-conf-test] and
  10723. 1267.26 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10724. 1267.26 s [opt-env-conf-test] + [ settingTryArgument || False,
  10725. 1267.26 s [opt-env-conf-test] null settingEnvVars,
  10726. 1267.26 s [opt-env-conf-test] null settingConfigVals
  10727. 1267.26 s [opt-env-conf-test] ]
  10728. 1267.27 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-24
  10729. 1267.27 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  10730. 1267.27 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  10731. 1267.27 s [opt-env-conf-test] c1 <- go p1
  10732. 1267.27 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  10733. 1267.27 s [opt-env-conf-test] - pure $ c1 || c2
  10734. 1267.27 s [opt-env-conf-test] + pure $ True
  10735. 1267.27 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  10736. 1267.27 s [opt-env-conf-test] case settingHelp of
  10737. 1267.27 s [opt-env-conf-test] Nothing ->
  10738. 1267.27 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:37-53
  10739. 1267.27 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  10740. 1267.27 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10741. 1267.27 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10742. 1267.27 s [opt-env-conf-test] and
  10743. 1275.27 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10744. 1275.30 s [opt-env-conf-test] + [ settingTryArgument || not settingTryOption || isJust settingSwitchValue,
  10745. 1275.30 s [opt-env-conf-test] null settingEnvVars,
  10746. 1275.30 s [opt-env-conf-test] null settingConfigVals
  10747. 1275.30 s [opt-env-conf-test] ]
  10748. 1275.30 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:13-65
  10749. 1275.30 s [opt-env-conf-test] @@ -97,7 +97,6 @@
  10750. 1275.30 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10751. 1275.30 s [opt-env-conf-test] ]
  10752. 1275.30 s [opt-env-conf-test] LintErrorDashInLong s ->
  10753. 1275.30 s [opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
  10754. 1275.30 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10755. 1275.30 s [opt-env-conf-test] [ "Try ",
  10756. 1275.30 s [opt-env-conf-test] functionChunk "long",
  10757. 1275.30 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-53
  10758. 1275.30 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  10759. 1275.30 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10760. 1275.30 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10761. 1275.30 s [opt-env-conf-test] and
  10762. 1275.30 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10763. 1275.30 s [opt-env-conf-test] + [ settingTryArgument || True || isJust settingSwitchValue,
  10764. 1275.30 s [opt-env-conf-test] null settingEnvVars,
  10765. 1275.30 s [opt-env-conf-test] null settingConfigVals
  10766. 1275.30 s [opt-env-conf-test] ]
  10767. 1275.30 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:341:15-34
  10768. 1275.30 s [opt-env-conf-test] @@ -338,6 +338,6 @@
  10769. 1275.30 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10770. 1275.30 s [opt-env-conf-test] and
  10771. 1275.30 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10772. 1275.30 s [opt-env-conf-test] - null settingEnvVars,
  10773. 1275.31 s [opt-env-conf-test] + True,
  10774. 1275.31 s [opt-env-conf-test] null settingConfigVals
  10775. 1275.31 s [opt-env-conf-test] ]
  10776. 1275.31 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
  10777. 1275.31 s [opt-env-conf-test] @@ -98,7 +98,6 @@
  10778. 1275.31 s [opt-env-conf-test] ]
  10779. 1275.31 s [opt-env-conf-test] LintErrorDashInLong s ->
  10780. 1275.31 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10781. 1275.31 s [opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10782. 1275.31 s [opt-env-conf-test] [ "Try ",
  10783. 1275.31 s [opt-env-conf-test] functionChunk "long",
  10784. 1275.31 s [opt-env-conf-test] " ",
  10785. 1275.31 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:16-24
  10786. 1275.31 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  10787. 1275.31 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  10788. 1275.31 s [opt-env-conf-test] c1 <- go p1
  10789. 1275.31 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  10790. 1275.31 s [opt-env-conf-test] - pure $ c1 || c2
  10791. 1275.31 s [opt-env-conf-test] + pure $ not c1 || c2
  10792. 1275.31 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  10793. 1275.31 s [opt-env-conf-test] case settingHelp of
  10794. 1275.31 s [opt-env-conf-test] Nothing ->
  10795. 1275.31 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
  10796. 1275.31 s [opt-env-conf-test] @@ -98,7 +98,6 @@
  10797. 1275.31 s [opt-env-conf-test] ]
  10798. 1275.31 s [opt-env-conf-test] LintErrorDashInLong s ->
  10799. 1275.31 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10800. 1275.31 s [opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10801. 1275.31 s [opt-env-conf-test] [ "Try ",
  10802. 1275.31 s [opt-env-conf-test] functionChunk "long",
  10803. 1275.31 s [opt-env-conf-test] " ",
  10804. 1275.31 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
  10805. 1275.31 s [opt-env-conf-test] @@ -99,19 +99,7 @@
  10806. 1275.31 s [opt-env-conf-test] LintErrorDashInLong s ->
  10807. 1275.31 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10808. 1275.31 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10809. 1275.31 s [opt-env-conf-test] - [ "Try ",
  10810. 1275.31 s [opt-env-conf-test] - functionChunk "long",
  10811. 1275.31 s [opt-env-conf-test] - " ",
  10812. 1275.31 s [opt-env-conf-test] - chunk $
  10813. 1275.31 s [opt-env-conf-test] - T.pack $
  10814. 1275.31 s [opt-env-conf-test] - show $
  10815. 1275.31 s [opt-env-conf-test] - let go = \case
  10816. 1275.31 s [opt-env-conf-test] - [] -> []
  10817. 1275.31 s [opt-env-conf-test] - '-' : cs -> go cs
  10818. 1275.31 s [opt-env-conf-test] - c : cs -> c : cs
  10819. 1275.31 s [opt-env-conf-test] - in go $ NE.toList s,
  10820. 1275.31 s [opt-env-conf-test] - " instead."
  10821. 1275.31 s [opt-env-conf-test] ]
  10822. 1275.31 s [opt-env-conf-test] ]
  10823. 1275.31 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10824. 1275.31 s [opt-env-conf-test] [ [ functionChunk "argument",
  10825. 1275.31 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
  10826. 1275.31 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  10827. 1275.31 s [opt-env-conf-test] . showString " _ "
  10828. 1275.31 s [opt-env-conf-test] . go 11 p
  10829. 1275.31 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  10830. 1275.31 s [opt-env-conf-test] - showParen (d > 10) $
  10831. 1275.31 s [opt-env-conf-test] + showParen (d > 0) $
  10832. 1275.31 s [opt-env-conf-test] showString "Commands "
  10833. 1275.31 s [opt-env-conf-test] . showsPrec 11 mLoc
  10834. 1275.32 s [opt-env-conf-test] . showString " "
  10835. 1275.32 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
  10836. 1275.32 s [opt-env-conf-test] @@ -99,19 +99,18 @@
  10837. 1275.32 s [opt-env-conf-test] LintErrorDashInLong s ->
  10838. 1275.32 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10839. 1275.32 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10840. 1275.32 s [opt-env-conf-test] [ "Try ",
  10841. 1275.32 s [opt-env-conf-test] functionChunk "long",
  10842. 1275.32 s [opt-env-conf-test] " ",
  10843. 1275.32 s [opt-env-conf-test] chunk $
  10844. 1275.32 s [opt-env-conf-test] T.pack $
  10845. 1275.32 s [opt-env-conf-test] show $
  10846. 1275.32 s [opt-env-conf-test] let go = \case
  10847. 1275.32 s [opt-env-conf-test] [] -> []
  10848. 1275.32 s [opt-env-conf-test] '-' : cs -> go cs
  10849. 1275.32 s [opt-env-conf-test] c : cs -> c : cs
  10850. 1275.32 s [opt-env-conf-test] in go $ NE.toList s,
  10851. 1275.32 s [opt-env-conf-test] - " instead."
  10852. 1275.32 s [opt-env-conf-test] ]
  10853. 1275.32 s [opt-env-conf-test] ]
  10854. 1275.32 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10855. 1275.32 s [opt-env-conf-test] [ [ functionChunk "argument",
  10856. 1275.32 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
  10857. 1275.32 s [opt-env-conf-test] @@ -99,19 +99,18 @@
  10858. 1275.32 s [opt-env-conf-test] LintErrorDashInLong s ->
  10859. 1275.32 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10860. 1275.32 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10861. 1275.32 s [opt-env-conf-test] - [ "Try ",
  10862. 1275.32 s [opt-env-conf-test] functionChunk "long",
  10863. 1275.32 s [opt-env-conf-test] " ",
  10864. 1275.32 s [opt-env-conf-test] chunk $
  10865. 1275.32 s [opt-env-conf-test] T.pack $
  10866. 1275.32 s [opt-env-conf-test] show $
  10867. 1275.32 s [opt-env-conf-test] let go = \case
  10868. 1275.32 s [opt-env-conf-test] [] -> []
  10869. 1275.32 s [opt-env-conf-test] '-' : cs -> go cs
  10870. 1275.32 s [opt-env-conf-test] c : cs -> c : cs
  10871. 1275.32 s [opt-env-conf-test] in go $ NE.toList s,
  10872. 1275.32 s [opt-env-conf-test] " instead."
  10873. 1275.32 s [opt-env-conf-test] ]
  10874. 1275.32 s [opt-env-conf-test] ]
  10875. 1275.32 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10876. 1275.32 s [opt-env-conf-test] [ [ functionChunk "argument",
  10877. 1275.32 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
  10878. 1275.32 s [opt-env-conf-test] @@ -97,22 +97,7 @@
  10879. 1275.32 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10880. 1275.32 s [opt-env-conf-test] ]
  10881. 1275.32 s [opt-env-conf-test] LintErrorDashInLong s ->
  10882. 1275.32 s [opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
  10883. 1275.32 s [opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10884. 1275.32 s [opt-env-conf-test] - [ "Try ",
  10885. 1275.33 s [opt-env-conf-test] - functionChunk "long",
  10886. 1275.33 s [opt-env-conf-test] - " ",
  10887. 1275.33 s [opt-env-conf-test] - chunk $
  10888. 1275.33 s [opt-env-conf-test] - T.pack $
  10889. 1275.33 s [opt-env-conf-test] - show $
  10890. 1275.33 s [opt-env-conf-test] - let go = \case
  10891. 1275.33 s [opt-env-conf-test] - [] -> []
  10892. 1275.33 s [opt-env-conf-test] - '-' : cs -> go cs
  10893. 1275.33 s [opt-env-conf-test] - c : cs -> c : cs
  10894. 1275.33 s [opt-env-conf-test] - in go $ NE.toList s,
  10895. 1275.33 s [opt-env-conf-test] - " instead."
  10896. 1275.33 s [opt-env-conf-test] - ]
  10897. 1275.33 s [opt-env-conf-test] ]
  10898. 1275.33 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10899. 1275.33 s [opt-env-conf-test] [ [ functionChunk "argument",
  10900. 1275.33 s [opt-env-conf-test] " has no ",
  10901. 1275.33 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:20-26
  10902. 1275.33 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  10903. 1275.33 s [opt-env-conf-test] . showString " _ "
  10904. 1275.33 s [opt-env-conf-test] . go 11 p
  10905. 1275.33 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  10906. 1275.33 s [opt-env-conf-test] - showParen (d > 10) $
  10907. 1275.33 s [opt-env-conf-test] + showParen (True) $
  10908. 1275.33 s [opt-env-conf-test] showString "Commands "
  10909. 1275.33 s [opt-env-conf-test] . showsPrec 11 mLoc
  10910. 1275.33 s [opt-env-conf-test] . showString " "
  10911. 1275.33 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
  10912. 1275.33 s [opt-env-conf-test] @@ -97,22 +97,21 @@
  10913. 1275.33 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10914. 1275.33 s [opt-env-conf-test] ]
  10915. 1275.33 s [opt-env-conf-test] LintErrorDashInLong s ->
  10916. 1275.33 s [opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
  10917. 1275.33 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10918. 1275.33 s [opt-env-conf-test] [ "Try ",
  10919. 1275.33 s [opt-env-conf-test] functionChunk "long",
  10920. 1275.33 s [opt-env-conf-test] " ",
  10921. 1275.33 s [opt-env-conf-test] chunk $
  10922. 1275.33 s [opt-env-conf-test] T.pack $
  10923. 1275.33 s [opt-env-conf-test] show $
  10924. 1275.33 s [opt-env-conf-test] let go = \case
  10925. 1275.33 s [opt-env-conf-test] [] -> []
  10926. 1275.33 s [opt-env-conf-test] '-' : cs -> go cs
  10927. 1275.33 s [opt-env-conf-test] c : cs -> c : cs
  10928. 1275.33 s [opt-env-conf-test] in go $ NE.toList s,
  10929. 1275.33 s [opt-env-conf-test] " instead."
  10930. 1275.33 s [opt-env-conf-test] ]
  10931. 1275.33 s [opt-env-conf-test] ]
  10932. 1275.33 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10933. 1275.33 s [opt-env-conf-test] [ [ functionChunk "argument",
  10934. 1275.34 s [opt-env-conf-test] " has no ",
  10935. 1275.34 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
  10936. 1275.34 s [opt-env-conf-test] @@ -97,22 +97,9 @@
  10937. 1275.34 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10938. 1275.34 s [opt-env-conf-test] ]
  10939. 1275.34 s [opt-env-conf-test] LintErrorDashInLong s ->
  10940. 1275.34 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10941. 1275.34 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10942. 1275.34 s [opt-env-conf-test] - [ "Try ",
  10943. 1275.34 s [opt-env-conf-test] - functionChunk "long",
  10944. 1275.34 s [opt-env-conf-test] - " ",
  10945. 1275.34 s [opt-env-conf-test] - chunk $
  10946. 1286.70 s [opt-env-conf-test] - T.pack $
  10947. 1286.70 s [opt-env-conf-test] - show $
  10948. 1286.73 s [opt-env-conf-test] - let go = \case
  10949. 1286.73 s [opt-env-conf-test] - [] -> []
  10950. 1286.74 s [opt-env-conf-test] - '-' : cs -> go cs
  10951. 1286.74 s [opt-env-conf-test] - c : cs -> c : cs
  10952. 1286.74 s [opt-env-conf-test] - in go $ NE.toList s,
  10953. 1286.74 s [opt-env-conf-test] - " instead."
  10954. 1286.74 s [opt-env-conf-test] - ]
  10955. 1286.74 s [opt-env-conf-test] ]
  10956. 1286.74 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10957. 1286.74 s [opt-env-conf-test] [ [ functionChunk "argument",
  10958. 1286.74 s [opt-env-conf-test] " has no ",
  10959. 1286.74 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:13-63
  10960. 1286.74 s [opt-env-conf-test] @@ -93,7 +93,6 @@
  10961. 1286.74 s [opt-env-conf-test] ]
  10962. 1286.74 s [opt-env-conf-test] ]
  10963. 1286.74 s [opt-env-conf-test] LintErrorDashInShort ->
  10964. 1286.74 s [opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
  10965. 1286.75 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10966. 1286.75 s [opt-env-conf-test] ]
  10967. 1286.75 s [opt-env-conf-test] LintErrorDashInLong s ->
  10968. 1286.75 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
  10969. 1286.75 s [opt-env-conf-test] @@ -114,11 +114,7 @@
  10970. 1286.75 s [opt-env-conf-test] ]
  10971. 1286.75 s [opt-env-conf-test] ]
  10972. 1286.75 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10973. 1286.75 s [opt-env-conf-test] - [ [ functionChunk "argument",
  10974. 1286.75 s [opt-env-conf-test] - " has no ",
  10975. 1286.75 s [opt-env-conf-test] - functionChunk "reader",
  10976. 1286.75 s [opt-env-conf-test] - "."
  10977. 1286.75 s [opt-env-conf-test] ]
  10978. 1286.75 s [opt-env-conf-test] ]
  10979. 1286.75 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  10980. 1286.75 s [opt-env-conf-test] [ [ functionChunk "argument",
  10981. 1286.75 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
  10982. 1286.75 s [opt-env-conf-test] @@ -114,11 +114,10 @@
  10983. 1286.75 s [opt-env-conf-test] ]
  10984. 1286.75 s [opt-env-conf-test] ]
  10985. 1286.75 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10986. 1286.75 s [opt-env-conf-test] - [ [ functionChunk "argument",
  10987. 1286.75 s [opt-env-conf-test] " has no ",
  10988. 1286.75 s [opt-env-conf-test] functionChunk "reader",
  10989. 1286.75 s [opt-env-conf-test] "."
  10990. 1286.75 s [opt-env-conf-test] ]
  10991. 1286.75 s [opt-env-conf-test] ]
  10992. 1286.75 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  10993. 1286.75 s [opt-env-conf-test] [ [ functionChunk "argument",
  10994. 1286.76 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
  10995. 1286.76 s [opt-env-conf-test] @@ -114,11 +114,10 @@
  10996. 1286.76 s [opt-env-conf-test] ]
  10997. 1286.76 s [opt-env-conf-test] ]
  10998. 1286.76 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10999. 1286.76 s [opt-env-conf-test] [ [ functionChunk "argument",
  11000. 1286.76 s [opt-env-conf-test] " has no ",
  11001. 1286.76 s [opt-env-conf-test] functionChunk "reader",
  11002. 1286.76 s [opt-env-conf-test] - "."
  11003. 1286.76 s [opt-env-conf-test] ]
  11004. 1286.76 s [opt-env-conf-test] ]
  11005. 1286.76 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  11006. 1286.76 s [opt-env-conf-test] [ [ functionChunk "argument",
  11007. 1286.76 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
  11008. 1286.76 s [opt-env-conf-test] @@ -121,11 +121,7 @@
  11009. 1286.76 s [opt-env-conf-test] ]
  11010. 1286.76 s [opt-env-conf-test] ]
  11011. 1286.76 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  11012. 1286.76 s [opt-env-conf-test] - [ [ functionChunk "argument",
  11013. 1286.76 s [opt-env-conf-test] - " has no ",
  11014. 1286.76 s [opt-env-conf-test] - functionChunk "metavar",
  11015. 1286.76 s [opt-env-conf-test] - "."
  11016. 1286.76 s [opt-env-conf-test] ]
  11017. 1286.76 s [opt-env-conf-test] ]
  11018. 1286.76 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  11019. 1286.76 s [opt-env-conf-test] [ [ functionChunk "option",
  11020. 1286.76 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
  11021. 1286.76 s [opt-env-conf-test] @@ -121,11 +121,10 @@
  11022. 1286.76 s [opt-env-conf-test] ]
  11023. 1286.76 s [opt-env-conf-test] ]
  11024. 1286.76 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  11025. 1286.76 s [opt-env-conf-test] - [ [ functionChunk "argument",
  11026. 1286.76 s [opt-env-conf-test] " has no ",
  11027. 1286.77 s [opt-env-conf-test] functionChunk "metavar",
  11028. 1286.77 s [opt-env-conf-test] "."
  11029. 1286.77 s [opt-env-conf-test] ]
  11030. 1286.77 s [opt-env-conf-test] ]
  11031. 1286.77 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  11032. 1286.77 s [opt-env-conf-test] [ [ functionChunk "option",
  11033. 1286.77 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
  11034. 1286.77 s [opt-env-conf-test] @@ -121,11 +121,10 @@
  11035. 1286.77 s [opt-env-conf-test] ]
  11036. 1286.77 s [opt-env-conf-test] ]
  11037. 1286.77 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  11038. 1286.77 s [opt-env-conf-test] [ [ functionChunk "argument",
  11039. 1286.77 s [opt-env-conf-test] " has no ",
  11040. 1286.77 s [opt-env-conf-test] functionChunk "metavar",
  11041. 1286.77 s [opt-env-conf-test] - "."
  11042. 1286.77 s [opt-env-conf-test] ]
  11043. 1286.77 s [opt-env-conf-test] ]
  11044. 1286.77 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  11045. 1286.77 s [opt-env-conf-test] [ [ functionChunk "option",
  11046. 1286.77 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:11-12
  11047. 1286.77 s [opt-env-conf-test] @@ -93,9 +93,8 @@
  11048. 1286.77 s [opt-env-conf-test] ]
  11049. 1286.77 s [opt-env-conf-test] ]
  11050. 1286.77 s [opt-env-conf-test] LintErrorDashInShort ->
  11051. 1286.77 s [opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
  11052. 1286.77 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  11053. 1286.77 s [opt-env-conf-test] ]
  11054. 1286.77 s [opt-env-conf-test] LintErrorDashInLong s ->
  11055. 1286.77 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  11056. 1286.77 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  11057. 1286.77 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
  11058. 1286.77 s [opt-env-conf-test] @@ -98,7 +98,6 @@
  11059. 1286.77 s [opt-env-conf-test] ]
  11060. 1286.77 s [opt-env-conf-test] LintErrorDashInLong s ->
  11061. 1286.77 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  11062. 1286.77 s [opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  11063. 1286.77 s [opt-env-conf-test] [ "Try ",
  11064. 1286.77 s [opt-env-conf-test] functionChunk "long",
  11065. 1286.77 s [opt-env-conf-test] " ",
  11066. 1286.77 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:13-65
  11067. 1286.77 s [opt-env-conf-test] @@ -97,7 +97,6 @@
  11068. 1286.77 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  11069. 1286.77 s [opt-env-conf-test] ]
  11070. 1286.77 s [opt-env-conf-test] LintErrorDashInLong s ->
  11071. 1286.77 s [opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
  11072. 1286.78 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  11073. 1286.78 s [opt-env-conf-test] [ "Try ",
  11074. 1286.78 s [opt-env-conf-test] functionChunk "long",
  11075. 1286.78 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:11-12
  11076. 1286.78 s [opt-env-conf-test] @@ -93,9 +93,7 @@
  11077. 1286.78 s [opt-env-conf-test] ]
  11078. 1286.78 s [opt-env-conf-test] ]
  11079. 1286.78 s [opt-env-conf-test] LintErrorDashInShort ->
  11080. 1286.78 s [opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
  11081. 1286.78 s [opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
  11082. 1286.78 s [opt-env-conf-test] ]
  11083. 1286.78 s [opt-env-conf-test] LintErrorDashInLong s ->
  11084. 1286.78 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  11085. 1286.78 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  11086. 1286.78 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
  11087. 1286.78 s [opt-env-conf-test] @@ -94,7 +94,6 @@
  11088. 1286.78 s [opt-env-conf-test] ]
  11089. 1286.78 s [opt-env-conf-test] LintErrorDashInShort ->
  11090. 1286.78 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  11091. 1286.78 s [opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
  11092. 1286.78 s [opt-env-conf-test] ]
  11093. 1286.78 s [opt-env-conf-test] LintErrorDashInLong s ->
  11094. 1286.78 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  11095. 1286.78 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
  11096. 1286.78 s [opt-env-conf-test] @@ -137,13 +137,12 @@
  11097. 1286.78 s [opt-env-conf-test] ]
  11098. 1286.78 s [opt-env-conf-test] ]
  11099. 1286.78 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  11100. 1286.78 s [opt-env-conf-test] - [ [ functionChunk "option",
  11101. 1286.79 s [opt-env-conf-test] " has no ",
  11102. 1286.79 s [opt-env-conf-test] functionChunk "long",
  11103. 1286.79 s [opt-env-conf-test] " or ",
  11104. 1286.79 s [opt-env-conf-test] functionChunk "short",
  11105. 1286.79 s [opt-env-conf-test] "."
  11106. 1286.79 s [opt-env-conf-test] ]
  11107. 1286.79 s [opt-env-conf-test] ]
  11108. 1286.79 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  11109. 1286.79 s [opt-env-conf-test] [ [ functionChunk "option",
  11110. 1286.79 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
  11111. 1286.79 s [opt-env-conf-test] @@ -94,7 +94,6 @@
  11112. 1286.79 s [opt-env-conf-test] ]
  11113. 1286.79 s [opt-env-conf-test] LintErrorDashInShort ->
  11114. 1286.79 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  11115. 1286.79 s [opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
  11116. 1286.79 s [opt-env-conf-test] ]
  11117. 1286.79 s [opt-env-conf-test] LintErrorDashInLong s ->
  11118. 1286.79 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  11119. 1286.80 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
  11120. 1286.80 s [opt-env-conf-test] @@ -137,13 +137,12 @@
  11121. 1286.80 s [opt-env-conf-test] ]
  11122. 1286.80 s [opt-env-conf-test] ]
  11123. 1286.80 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  11124. 1286.80 s [opt-env-conf-test] [ [ functionChunk "option",
  11125. 1286.80 s [opt-env-conf-test] " has no ",
  11126. 1286.80 s [opt-env-conf-test] functionChunk "long",
  11127. 1286.80 s [opt-env-conf-test] " or ",
  11128. 1286.80 s [opt-env-conf-test] functionChunk "short",
  11129. 1286.80 s [opt-env-conf-test] - "."
  11130. 1286.80 s [opt-env-conf-test] ]
  11131. 1286.80 s [opt-env-conf-test] ]
  11132. 1286.80 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  11133. 1286.81 s [opt-env-conf-test] [ [ functionChunk "option",
  11134. 1286.81 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
  11135. 1286.81 s [opt-env-conf-test] @@ -94,7 +94,6 @@
  11136. 1286.81 s [opt-env-conf-test] ]
  11137. 1286.81 s [opt-env-conf-test] LintErrorDashInShort ->
  11138. 1286.81 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  11139. 1286.81 s [opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
  11140. 1286.81 s [opt-env-conf-test] ]
  11141. 1286.81 s [opt-env-conf-test] LintErrorDashInLong s ->
  11142. 1286.81 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  11143. 1286.81 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
  11144. 1286.81 s [opt-env-conf-test] @@ -146,13 +146,7 @@
  11145. 1286.81 s [opt-env-conf-test] ]
  11146. 1286.81 s [opt-env-conf-test] ]
  11147. 1286.81 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  11148. 1286.81 s [opt-env-conf-test] - [ [ functionChunk "option",
  11149. 1286.81 s [opt-env-conf-test] - " or ",
  11150. 1286.81 s [opt-env-conf-test] - functionChunk "name",
  11151. 1286.81 s [opt-env-conf-test] - " has no ",
  11152. 1286.81 s [opt-env-conf-test] - functionChunk "metavar",
  11153. 1286.81 s [opt-env-conf-test] - "."
  11154. 1286.81 s [opt-env-conf-test] ]
  11155. 1286.81 s [opt-env-conf-test] ]
  11156. 1286.81 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  11157. 1286.81 s [opt-env-conf-test] [ [ functionChunk "switch",
  11158. 1286.81 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
  11159. 1286.81 s [opt-env-conf-test] @@ -76,20 +76,19 @@
  11160. 1286.81 s [opt-env-conf-test] " parses nothing."
  11161. 1286.81 s [opt-env-conf-test] ]
  11162. 1286.81 s [opt-env-conf-test] ],
  11163. 1286.81 s [opt-env-conf-test] [ [ "Add an ",
  11164. 1286.81 s [opt-env-conf-test] functionChunk "argument",
  11165. 1286.81 s [opt-env-conf-test] ", ",
  11166. 1286.81 s [opt-env-conf-test] functionChunk "switch",
  11167. 1286.82 s [opt-env-conf-test] ", ",
  11168. 1286.82 s [opt-env-conf-test] functionChunk "option",
  11169. 1286.82 s [opt-env-conf-test] ", ",
  11170. 1286.82 s [opt-env-conf-test] functionChunk "env",
  11171. 1286.82 s [opt-env-conf-test] ", ",
  11172. 1286.82 s [opt-env-conf-test] functionChunk "conf",
  11173. 1286.82 s [opt-env-conf-test] ", or ",
  11174. 1286.82 s [opt-env-conf-test] functionChunk "value",
  11175. 1296.38 s [opt-env-conf-test] - "."
  11176. 1296.41 s [opt-env-conf-test] ]
  11177. 1296.41 s [opt-env-conf-test] ]
  11178. 1296.41 s [opt-env-conf-test] ]
  11179. 1296.41 s [opt-env-conf-test] LintErrorDashInShort ->
  11180. 1296.41 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
  11181. 1296.41 s [opt-env-conf-test] @@ -146,13 +146,12 @@
  11182. 1296.41 s [opt-env-conf-test] ]
  11183. 1296.41 s [opt-env-conf-test] ]
  11184. 1296.41 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  11185. 1296.41 s [opt-env-conf-test] [ [ functionChunk "option",
  11186. 1296.41 s [opt-env-conf-test] " or ",
  11187. 1296.41 s [opt-env-conf-test] functionChunk "name",
  11188. 1296.41 s [opt-env-conf-test] " has no ",
  11189. 1296.41 s [opt-env-conf-test] functionChunk "metavar",
  11190. 1296.41 s [opt-env-conf-test] - "."
  11191. 1296.41 s [opt-env-conf-test] ]
  11192. 1296.41 s [opt-env-conf-test] ]
  11193. 1296.41 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  11194. 1296.41 s [opt-env-conf-test] [ [ functionChunk "switch",
  11195. 1296.41 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:13-14
  11196. 1296.41 s [opt-env-conf-test] @@ -71,27 +71,22 @@
  11197. 1296.41 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  11198. 1296.42 s [opt-env-conf-test] LintErrorEmptySetting ->
  11199. 1296.42 s [opt-env-conf-test] concat
  11200. 1296.42 s [opt-env-conf-test] - [ [ [ "This ",
  11201. 1296.42 s [opt-env-conf-test] - functionChunk "setting",
  11202. 1296.42 s [opt-env-conf-test] - " parses nothing."
  11203. 1296.42 s [opt-env-conf-test] - ]
  11204. 1296.42 s [opt-env-conf-test] - ],
  11205. 1296.42 s [opt-env-conf-test] [ [ "Add an ",
  11206. 1296.42 s [opt-env-conf-test] functionChunk "argument",
  11207. 1296.42 s [opt-env-conf-test] ", ",
  11208. 1296.42 s [opt-env-conf-test] functionChunk "switch",
  11209. 1296.42 s [opt-env-conf-test] ", ",
  11210. 1296.42 s [opt-env-conf-test] functionChunk "option",
  11211. 1296.42 s [opt-env-conf-test] ", ",
  11212. 1296.42 s [opt-env-conf-test] functionChunk "env",
  11213. 1296.42 s [opt-env-conf-test] ", ",
  11214. 1296.42 s [opt-env-conf-test] functionChunk "conf",
  11215. 1296.42 s [opt-env-conf-test] ", or ",
  11216. 1296.42 s [opt-env-conf-test] functionChunk "value",
  11217. 1296.42 s [opt-env-conf-test] "."
  11218. 1296.42 s [opt-env-conf-test] ]
  11219. 1296.42 s [opt-env-conf-test] ]
  11220. 1296.42 s [opt-env-conf-test] ]
  11221. 1296.42 s [opt-env-conf-test] LintErrorDashInShort ->
  11222. 1296.42 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  11223. 1296.42 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  11224. 1296.42 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:13-63
  11225. 1296.42 s [opt-env-conf-test] @@ -93,7 +93,6 @@
  11226. 1296.42 s [opt-env-conf-test] ]
  11227. 1296.42 s [opt-env-conf-test] ]
  11228. 1296.42 s [opt-env-conf-test] LintErrorDashInShort ->
  11229. 1296.42 s [opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
  11230. 1296.42 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  11231. 1296.42 s [opt-env-conf-test] ]
  11232. 1296.42 s [opt-env-conf-test] LintErrorDashInLong s ->
  11233. 1296.42 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
  11234. 1296.42 s [opt-env-conf-test] @@ -155,13 +155,7 @@
  11235. 1296.42 s [opt-env-conf-test] ]
  11236. 1296.42 s [opt-env-conf-test] ]
  11237. 1296.42 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  11238. 1296.42 s [opt-env-conf-test] - [ [ functionChunk "switch",
  11239. 1296.42 s [opt-env-conf-test] - " has no ",
  11240. 1296.42 s [opt-env-conf-test] - functionChunk "long",
  11241. 1296.42 s [opt-env-conf-test] - " or ",
  11242. 1296.42 s [opt-env-conf-test] - functionChunk "short",
  11243. 1296.42 s [opt-env-conf-test] - "."
  11244. 1296.42 s [opt-env-conf-test] ]
  11245. 1296.42 s [opt-env-conf-test] ]
  11246. 1296.42 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  11247. 1296.42 s [opt-env-conf-test] [ [ functionChunk "long",
  11248. 1296.42 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
  11249. 1296.42 s [opt-env-conf-test] @@ -164,15 +164,7 @@
  11250. 1296.42 s [opt-env-conf-test] ]
  11251. 1296.42 s [opt-env-conf-test] ]
  11252. 1296.42 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  11253. 1296.42 s [opt-env-conf-test] - [ [ functionChunk "long",
  11254. 1296.42 s [opt-env-conf-test] - " or ",
  11255. 1296.42 s [opt-env-conf-test] - functionChunk "short",
  11256. 1296.42 s [opt-env-conf-test] - " has no ",
  11257. 1296.42 s [opt-env-conf-test] - functionChunk "option",
  11258. 1296.42 s [opt-env-conf-test] - " or ",
  11259. 1296.42 s [opt-env-conf-test] - functionChunk "switch",
  11260. 1296.42 s [opt-env-conf-test] - "."
  11261. 1296.42 s [opt-env-conf-test] ]
  11262. 1296.42 s [opt-env-conf-test] ]
  11263. 1296.42 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  11264. 1296.42 s [opt-env-conf-test] [ [ functionChunk "env",
  11265. 1296.42 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
  11266. 1296.42 s [opt-env-conf-test] @@ -344,7 +344,7 @@
  11267. 1296.43 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  11268. 1296.43 s [opt-env-conf-test] showParen (d > 10) $
  11269. 1296.43 s [opt-env-conf-test] showString "Check "
  11270. 1296.43 s [opt-env-conf-test] - . showsPrec 11 mLoc
  11271. 1296.43 s [opt-env-conf-test] + . showsPrec -11 mLoc
  11272. 1296.43 s [opt-env-conf-test] . showString " "
  11273. 1296.43 s [opt-env-conf-test] . showsPrec 11 forgivable
  11274. 1296.43 s [opt-env-conf-test] . showString " "
  11275. 1296.43 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
  11276. 1296.43 s [opt-env-conf-test] @@ -175,13 +175,7 @@
  11277. 1296.43 s [opt-env-conf-test] ]
  11278. 1296.43 s [opt-env-conf-test] ]
  11279. 1296.43 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  11280. 1296.43 s [opt-env-conf-test] - [ [ functionChunk "env",
  11281. 1296.43 s [opt-env-conf-test] - " or ",
  11282. 1296.43 s [opt-env-conf-test] - functionChunk "name",
  11283. 1296.43 s [opt-env-conf-test] - " has no ",
  11284. 1296.43 s [opt-env-conf-test] - functionChunk "reader",
  11285. 1296.43 s [opt-env-conf-test] - "."
  11286. 1296.43 s [opt-env-conf-test] ]
  11287. 1296.43 s [opt-env-conf-test] ]
  11288. 1296.43 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  11289. 1296.43 s [opt-env-conf-test] [ [ functionChunk "env",
  11290. 1296.43 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
  11291. 1296.43 s [opt-env-conf-test] @@ -164,15 +164,14 @@
  11292. 1296.43 s [opt-env-conf-test] ]
  11293. 1296.43 s [opt-env-conf-test] ]
  11294. 1296.43 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  11295. 1296.43 s [opt-env-conf-test] [ [ functionChunk "long",
  11296. 1296.43 s [opt-env-conf-test] " or ",
  11297. 1296.43 s [opt-env-conf-test] functionChunk "short",
  11298. 1296.43 s [opt-env-conf-test] " has no ",
  11299. 1296.43 s [opt-env-conf-test] functionChunk "option",
  11300. 1296.43 s [opt-env-conf-test] " or ",
  11301. 1296.43 s [opt-env-conf-test] functionChunk "switch",
  11302. 1296.43 s [opt-env-conf-test] - "."
  11303. 1296.43 s [opt-env-conf-test] ]
  11304. 1296.43 s [opt-env-conf-test] ]
  11305. 1296.43 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  11306. 1296.43 s [opt-env-conf-test] [ [ functionChunk "env",
  11307. 1296.43 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
  11308. 1296.43 s [opt-env-conf-test] @@ -155,13 +155,12 @@
  11309. 1296.43 s [opt-env-conf-test] ]
  11310. 1296.43 s [opt-env-conf-test] ]
  11311. 1296.43 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  11312. 1296.43 s [opt-env-conf-test] [ [ functionChunk "switch",
  11313. 1296.43 s [opt-env-conf-test] " has no ",
  11314. 1296.43 s [opt-env-conf-test] functionChunk "long",
  11315. 1296.43 s [opt-env-conf-test] " or ",
  11316. 1296.43 s [opt-env-conf-test] functionChunk "short",
  11317. 1296.43 s [opt-env-conf-test] - "."
  11318. 1296.43 s [opt-env-conf-test] ]
  11319. 1296.43 s [opt-env-conf-test] ]
  11320. 1296.43 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  11321. 1296.43 s [opt-env-conf-test] [ [ functionChunk "long",
  11322. 1296.43 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
  11323. 1296.43 s [opt-env-conf-test] @@ -164,15 +164,14 @@
  11324. 1296.43 s [opt-env-conf-test] ]
  11325. 1296.43 s [opt-env-conf-test] ]
  11326. 1296.43 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  11327. 1296.43 s [opt-env-conf-test] - [ [ functionChunk "long",
  11328. 1296.43 s [opt-env-conf-test] " or ",
  11329. 1296.43 s [opt-env-conf-test] functionChunk "short",
  11330. 1296.43 s [opt-env-conf-test] " has no ",
  11331. 1296.43 s [opt-env-conf-test] functionChunk "option",
  11332. 1296.43 s [opt-env-conf-test] " or ",
  11333. 1296.43 s [opt-env-conf-test] functionChunk "switch",
  11334. 1296.43 s [opt-env-conf-test] "."
  11335. 1296.43 s [opt-env-conf-test] ]
  11336. 1296.43 s [opt-env-conf-test] ]
  11337. 1296.43 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  11338. 1296.43 s [opt-env-conf-test] [ [ functionChunk "env",
  11339. 1296.43 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
  11340. 1296.43 s [opt-env-conf-test] @@ -155,13 +155,12 @@
  11341. 1296.43 s [opt-env-conf-test] ]
  11342. 1296.43 s [opt-env-conf-test] ]
  11343. 1296.43 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  11344. 1296.43 s [opt-env-conf-test] - [ [ functionChunk "switch",
  11345. 1296.43 s [opt-env-conf-test] " has no ",
  11346. 1296.43 s [opt-env-conf-test] functionChunk "long",
  11347. 1296.43 s [opt-env-conf-test] " or ",
  11348. 1296.43 s [opt-env-conf-test] functionChunk "short",
  11349. 1296.43 s [opt-env-conf-test] "."
  11350. 1296.44 s [opt-env-conf-test] ]
  11351. 1296.44 s [opt-env-conf-test] ]
  11352. 1296.44 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  11353. 1296.44 s [opt-env-conf-test] [ [ functionChunk "long",
  11354. 1296.44 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
  11355. 1296.44 s [opt-env-conf-test] @@ -137,13 +137,7 @@
  11356. 1296.44 s [opt-env-conf-test] ]
  11357. 1296.44 s [opt-env-conf-test] ]
  11358. 1296.44 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  11359. 1296.44 s [opt-env-conf-test] - [ [ functionChunk "option",
  11360. 1296.44 s [opt-env-conf-test] - " has no ",
  11361. 1296.44 s [opt-env-conf-test] - functionChunk "long",
  11362. 1296.44 s [opt-env-conf-test] - " or ",
  11363. 1296.44 s [opt-env-conf-test] - functionChunk "short",
  11364. 1296.44 s [opt-env-conf-test] - "."
  11365. 1296.44 s [opt-env-conf-test] ]
  11366. 1296.44 s [opt-env-conf-test] ]
  11367. 1296.44 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  11368. 1296.44 s [opt-env-conf-test] [ [ functionChunk "option",
  11369. 1296.44 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
  11370. 1296.44 s [opt-env-conf-test] @@ -184,13 +184,12 @@
  11371. 1296.44 s [opt-env-conf-test] ]
  11372. 1296.44 s [opt-env-conf-test] ]
  11373. 1296.44 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  11374. 1296.44 s [opt-env-conf-test] - [ [ functionChunk "env",
  11375. 1296.44 s [opt-env-conf-test] " or ",
  11376. 1296.44 s [opt-env-conf-test] functionChunk "name",
  11377. 1296.44 s [opt-env-conf-test] " has no ",
  11378. 1296.44 s [opt-env-conf-test] functionChunk "metavar",
  11379. 1296.44 s [opt-env-conf-test] "."
  11380. 1296.44 s [opt-env-conf-test] ]
  11381. 1296.44 s [opt-env-conf-test] ]
  11382. 1296.44 s [opt-env-conf-test] LintErrorNoCommands ->
  11383. 1296.44 s [opt-env-conf-test] [ [ functionChunk "commands",
  11384. 1296.44 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
  11385. 1296.44 s [opt-env-conf-test] @@ -184,13 +184,12 @@
  11386. 1296.44 s [opt-env-conf-test] ]
  11387. 1296.44 s [opt-env-conf-test] ]
  11388. 1296.44 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  11389. 1296.44 s [opt-env-conf-test] [ [ functionChunk "env",
  11390. 1296.44 s [opt-env-conf-test] " or ",
  11391. 1296.44 s [opt-env-conf-test] functionChunk "name",
  11392. 1296.44 s [opt-env-conf-test] " has no ",
  11393. 1296.44 s [opt-env-conf-test] functionChunk "metavar",
  11394. 1296.44 s [opt-env-conf-test] - "."
  11395. 1296.44 s [opt-env-conf-test] ]
  11396. 1296.44 s [opt-env-conf-test] ]
  11397. 1296.44 s [opt-env-conf-test] LintErrorNoCommands ->
  11398. 1296.44 s [opt-env-conf-test] [ [ functionChunk "commands",
  11399. 1296.44 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
  11400. 1296.44 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  11401. 1296.44 s [opt-env-conf-test] . showString " _ "
  11402. 1296.44 s [opt-env-conf-test] . go 11 p
  11403. 1296.44 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  11404. 1296.44 s [opt-env-conf-test] - showParen (d > 10) $
  11405. 1296.44 s [opt-env-conf-test] + showParen (d > 1) $
  11406. 1296.44 s [opt-env-conf-test] showString "Commands "
  11407. 1296.44 s [opt-env-conf-test] . showsPrec 11 mLoc
  11408. 1296.44 s [opt-env-conf-test] . showString " "
  11409. 1296.44 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
  11410. 1296.44 s [opt-env-conf-test] @@ -198,10 +198,9 @@
  11411. 1296.44 s [opt-env-conf-test] ]
  11412. 1296.44 s [opt-env-conf-test] ]
  11413. 1296.44 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  11414. 1296.44 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  11415. 1296.44 s [opt-env-conf-test] " was called with an unknown command: ",
  11416. 1296.44 s [opt-env-conf-test] - commandChunk c
  11417. 1296.44 s [opt-env-conf-test] ]
  11418. 1296.44 s [opt-env-conf-test] ]
  11419. 1296.44 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  11420. 1296.44 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11421. 1296.44 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
  11422. 1296.44 s [opt-env-conf-test] @@ -198,10 +198,7 @@
  11423. 1303.08 s [opt-env-conf-test] ]
  11424. 1303.11 s [opt-env-conf-test] ]
  11425. 1303.11 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  11426. 1303.11 s [opt-env-conf-test] - [ [ functionChunk "defaultCommand",
  11427. 1303.11 s [opt-env-conf-test] - " was called with an unknown command: ",
  11428. 1303.11 s [opt-env-conf-test] - commandChunk c
  11429. 1303.11 s [opt-env-conf-test] ]
  11430. 1303.11 s [opt-env-conf-test] ]
  11431. 1303.11 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  11432. 1303.11 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11433. 1303.11 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
  11434. 1303.11 s [opt-env-conf-test] @@ -204,7 +204,6 @@
  11435. 1303.11 s [opt-env-conf-test] ]
  11436. 1303.11 s [opt-env-conf-test] ]
  11437. 1303.11 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  11438. 1303.11 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11439. 1303.11 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  11440. 1303.11 s [opt-env-conf-test] ]
  11441. 1303.11 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11442. 1303.11 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
  11443. 1303.11 s [opt-env-conf-test] @@ -175,13 +175,12 @@
  11444. 1303.11 s [opt-env-conf-test] ]
  11445. 1303.11 s [opt-env-conf-test] ]
  11446. 1303.11 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  11447. 1303.11 s [opt-env-conf-test] [ [ functionChunk "env",
  11448. 1303.11 s [opt-env-conf-test] " or ",
  11449. 1303.11 s [opt-env-conf-test] functionChunk "name",
  11450. 1303.11 s [opt-env-conf-test] " has no ",
  11451. 1303.11 s [opt-env-conf-test] functionChunk "reader",
  11452. 1303.12 s [opt-env-conf-test] - "."
  11453. 1303.12 s [opt-env-conf-test] ]
  11454. 1303.12 s [opt-env-conf-test] ]
  11455. 1303.12 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  11456. 1303.12 s [opt-env-conf-test] [ [ functionChunk "env",
  11457. 1303.12 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
  11458. 1303.12 s [opt-env-conf-test] @@ -128,13 +128,7 @@
  11459. 1303.12 s [opt-env-conf-test] ]
  11460. 1303.12 s [opt-env-conf-test] ]
  11461. 1303.12 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  11462. 1303.12 s [opt-env-conf-test] - [ [ functionChunk "option",
  11463. 1303.12 s [opt-env-conf-test] - " or ",
  11464. 1303.12 s [opt-env-conf-test] - functionChunk "name",
  11465. 1303.12 s [opt-env-conf-test] - " has no ",
  11466. 1303.12 s [opt-env-conf-test] - functionChunk "reader",
  11467. 1303.12 s [opt-env-conf-test] - "."
  11468. 1303.12 s [opt-env-conf-test] ]
  11469. 1303.12 s [opt-env-conf-test] ]
  11470. 1303.12 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  11471. 1303.12 s [opt-env-conf-test] [ [ functionChunk "option",
  11472. 1303.12 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
  11473. 1303.12 s [opt-env-conf-test] @@ -175,13 +175,12 @@
  11474. 1303.12 s [opt-env-conf-test] ]
  11475. 1303.12 s [opt-env-conf-test] ]
  11476. 1303.12 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  11477. 1303.12 s [opt-env-conf-test] - [ [ functionChunk "env",
  11478. 1303.12 s [opt-env-conf-test] " or ",
  11479. 1303.12 s [opt-env-conf-test] functionChunk "name",
  11480. 1303.12 s [opt-env-conf-test] " has no ",
  11481. 1303.12 s [opt-env-conf-test] functionChunk "reader",
  11482. 1303.12 s [opt-env-conf-test] "."
  11483. 1303.12 s [opt-env-conf-test] ]
  11484. 1303.12 s [opt-env-conf-test] ]
  11485. 1303.12 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  11486. 1303.12 s [opt-env-conf-test] [ [ functionChunk "env",
  11487. 1303.12 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
  11488. 1303.12 s [opt-env-conf-test] @@ -128,13 +128,12 @@
  11489. 1303.12 s [opt-env-conf-test] ]
  11490. 1303.12 s [opt-env-conf-test] ]
  11491. 1303.12 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  11492. 1303.12 s [opt-env-conf-test] [ [ functionChunk "option",
  11493. 1303.12 s [opt-env-conf-test] " or ",
  11494. 1303.12 s [opt-env-conf-test] functionChunk "name",
  11495. 1303.12 s [opt-env-conf-test] " has no ",
  11496. 1303.12 s [opt-env-conf-test] functionChunk "reader",
  11497. 1303.12 s [opt-env-conf-test] - "."
  11498. 1303.12 s [opt-env-conf-test] ]
  11499. 1303.12 s [opt-env-conf-test] ]
  11500. 1303.12 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  11501. 1303.12 s [opt-env-conf-test] [ [ functionChunk "option",
  11502. 1303.13 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
  11503. 1303.13 s [opt-env-conf-test] @@ -128,13 +128,12 @@
  11504. 1303.13 s [opt-env-conf-test] ]
  11505. 1303.13 s [opt-env-conf-test] ]
  11506. 1303.13 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  11507. 1303.13 s [opt-env-conf-test] - [ [ functionChunk "option",
  11508. 1303.13 s [opt-env-conf-test] " or ",
  11509. 1303.13 s [opt-env-conf-test] functionChunk "name",
  11510. 1303.13 s [opt-env-conf-test] " has no ",
  11511. 1303.13 s [opt-env-conf-test] functionChunk "reader",
  11512. 1303.13 s [opt-env-conf-test] "."
  11513. 1303.13 s [opt-env-conf-test] ]
  11514. 1303.13 s [opt-env-conf-test] ]
  11515. 1303.13 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  11516. 1303.13 s [opt-env-conf-test] [ [ functionChunk "option",
  11517. 1303.13 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
  11518. 1303.13 s [opt-env-conf-test] @@ -184,13 +184,7 @@
  11519. 1303.13 s [opt-env-conf-test] ]
  11520. 1303.13 s [opt-env-conf-test] ]
  11521. 1303.13 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  11522. 1303.13 s [opt-env-conf-test] - [ [ functionChunk "env",
  11523. 1303.13 s [opt-env-conf-test] - " or ",
  11524. 1303.13 s [opt-env-conf-test] - functionChunk "name",
  11525. 1303.13 s [opt-env-conf-test] - " has no ",
  11526. 1303.13 s [opt-env-conf-test] - functionChunk "metavar",
  11527. 1303.13 s [opt-env-conf-test] - "."
  11528. 1303.13 s [opt-env-conf-test] ]
  11529. 1303.13 s [opt-env-conf-test] ]
  11530. 1303.13 s [opt-env-conf-test] LintErrorNoCommands ->
  11531. 1303.13 s [opt-env-conf-test] [ [ functionChunk "commands",
  11532. 1303.13 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:11-12
  11533. 1303.13 s [opt-env-conf-test] @@ -204,9 +204,8 @@
  11534. 1303.13 s [opt-env-conf-test] ]
  11535. 1303.13 s [opt-env-conf-test] ]
  11536. 1303.13 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  11537. 1303.13 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11538. 1303.13 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  11539. 1303.13 s [opt-env-conf-test] ]
  11540. 1303.13 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11541. 1303.13 s [opt-env-conf-test] [ [ functionChunk "conf",
  11542. 1303.13 s [opt-env-conf-test] " or ",
  11543. 1303.13 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
  11544. 1303.13 s [opt-env-conf-test] @@ -208,11 +208,7 @@
  11545. 1303.13 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  11546. 1303.13 s [opt-env-conf-test] ]
  11547. 1303.13 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11548. 1303.13 s [opt-env-conf-test] - [ [ functionChunk "conf",
  11549. 1303.13 s [opt-env-conf-test] - " or ",
  11550. 1303.13 s [opt-env-conf-test] - functionChunk "name",
  11551. 1303.13 s [opt-env-conf-test] - " was called with no way to load configuration."
  11552. 1303.13 s [opt-env-conf-test] ],
  11553. 1303.13 s [opt-env-conf-test] [ "You can load configuration with ",
  11554. 1303.13 s [opt-env-conf-test] functionChunk "withConfig",
  11555. 1303.13 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  11556. 1303.13 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:11-12
  11557. 1303.13 s [opt-env-conf-test] @@ -204,9 +204,7 @@
  11558. 1303.13 s [opt-env-conf-test] ]
  11559. 1303.13 s [opt-env-conf-test] ]
  11560. 1303.13 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  11561. 1303.13 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11562. 1303.13 s [opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
  11563. 1303.13 s [opt-env-conf-test] ]
  11564. 1303.13 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11565. 1303.13 s [opt-env-conf-test] [ [ functionChunk "conf",
  11566. 1303.13 s [opt-env-conf-test] " or ",
  11567. 1303.13 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:208:13-44
  11568. 1303.13 s [opt-env-conf-test] @@ -205,7 +205,6 @@
  11569. 1303.13 s [opt-env-conf-test] ]
  11570. 1303.13 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  11571. 1303.13 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11572. 1303.13 s [opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
  11573. 1303.13 s [opt-env-conf-test] ]
  11574. 1303.13 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11575. 1303.13 s [opt-env-conf-test] [ [ functionChunk "conf",
  11576. 1303.13 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:208:13-44
  11577. 1303.13 s [opt-env-conf-test] @@ -205,7 +205,6 @@
  11578. 1303.13 s [opt-env-conf-test] ]
  11579. 1303.13 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  11580. 1303.14 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11581. 1303.14 s [opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
  11582. 1303.14 s [opt-env-conf-test] ]
  11583. 1303.14 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11584. 1303.14 s [opt-env-conf-test] [ [ functionChunk "conf",
  11585. 1303.14 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
  11586. 1303.14 s [opt-env-conf-test] @@ -208,11 +208,10 @@
  11587. 1303.14 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  11588. 1303.14 s [opt-env-conf-test] ]
  11589. 1303.14 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11590. 1303.14 s [opt-env-conf-test] - [ [ functionChunk "conf",
  11591. 1303.14 s [opt-env-conf-test] " or ",
  11592. 1303.14 s [opt-env-conf-test] functionChunk "name",
  11593. 1303.14 s [opt-env-conf-test] " was called with no way to load configuration."
  11594. 1303.14 s [opt-env-conf-test] ],
  11595. 1303.14 s [opt-env-conf-test] [ "You can load configuration with ",
  11596. 1303.14 s [opt-env-conf-test] functionChunk "withConfig",
  11597. 1303.14 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  11598. 1303.14 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  11599. 1303.14 s [opt-env-conf-test] @@ -66,168 +66,151 @@
  11600. 1303.14 s [opt-env-conf-test] renderLintError LintError {..} =
  11601. 1303.14 s [opt-env-conf-test] concat
  11602. 1303.14 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  11603. 1303.14 s [opt-env-conf-test] case lintErrorMessage of
  11604. 1303.14 s [opt-env-conf-test] LintErrorUndocumented ->
  11605. 1303.14 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  11606. 1303.14 s [opt-env-conf-test] LintErrorEmptySetting ->
  11607. 1303.14 s [opt-env-conf-test] concat
  11608. 1303.14 s [opt-env-conf-test] [ [ [ "This ",
  11609. 1303.14 s [opt-env-conf-test] functionChunk "setting",
  11610. 1303.14 s [opt-env-conf-test] " parses nothing."
  11611. 1303.14 s [opt-env-conf-test] ]
  11612. 1303.14 s [opt-env-conf-test] ],
  11613. 1303.14 s [opt-env-conf-test] [ [ "Add an ",
  11614. 1303.14 s [opt-env-conf-test] functionChunk "argument",
  11615. 1303.14 s [opt-env-conf-test] ", ",
  11616. 1303.14 s [opt-env-conf-test] functionChunk "switch",
  11617. 1303.14 s [opt-env-conf-test] ", ",
  11618. 1303.14 s [opt-env-conf-test] functionChunk "option",
  11619. 1303.14 s [opt-env-conf-test] ", ",
  11620. 1303.14 s [opt-env-conf-test] functionChunk "env",
  11621. 1303.14 s [opt-env-conf-test] ", ",
  11622. 1303.14 s [opt-env-conf-test] functionChunk "conf",
  11623. 1303.14 s [opt-env-conf-test] ", or ",
  11624. 1303.14 s [opt-env-conf-test] functionChunk "value",
  11625. 1303.14 s [opt-env-conf-test] "."
  11626. 1303.14 s [opt-env-conf-test] ]
  11627. 1303.14 s [opt-env-conf-test] ]
  11628. 1303.14 s [opt-env-conf-test] ]
  11629. 1303.14 s [opt-env-conf-test] LintErrorDashInShort ->
  11630. 1303.14 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  11631. 1303.14 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  11632. 1303.14 s [opt-env-conf-test] ]
  11633. 1303.14 s [opt-env-conf-test] - LintErrorDashInLong s ->
  11634. 1303.14 s [opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
  11635. 1303.14 s [opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  11636. 1303.14 s [opt-env-conf-test] - [ "Try ",
  11637. 1303.14 s [opt-env-conf-test] - functionChunk "long",
  11638. 1303.14 s [opt-env-conf-test] - " ",
  11639. 1303.14 s [opt-env-conf-test] - chunk $
  11640. 1303.14 s [opt-env-conf-test] - T.pack $
  11641. 1303.14 s [opt-env-conf-test] - show $
  11642. 1303.14 s [opt-env-conf-test] - let go = \case
  11643. 1303.14 s [opt-env-conf-test] - [] -> []
  11644. 1303.14 s [opt-env-conf-test] - '-' : cs -> go cs
  11645. 1303.14 s [opt-env-conf-test] - c : cs -> c : cs
  11646. 1303.14 s [opt-env-conf-test] - in go $ NE.toList s,
  11647. 1303.15 s [opt-env-conf-test] - " instead."
  11648. 1303.15 s [opt-env-conf-test] - ]
  11649. 1303.15 s [opt-env-conf-test] - ]
  11650. 1303.15 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  11651. 1303.15 s [opt-env-conf-test] [ [ functionChunk "argument",
  11652. 1303.15 s [opt-env-conf-test] " has no ",
  11653. 1303.15 s [opt-env-conf-test] functionChunk "reader",
  11654. 1303.15 s [opt-env-conf-test] "."
  11655. 1303.15 s [opt-env-conf-test] ]
  11656. 1303.15 s [opt-env-conf-test] ]
  11657. 1303.15 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  11658. 1303.15 s [opt-env-conf-test] [ [ functionChunk "argument",
  11659. 1303.15 s [opt-env-conf-test] " has no ",
  11660. 1303.15 s [opt-env-conf-test] functionChunk "metavar",
  11661. 1303.15 s [opt-env-conf-test] "."
  11662. 1303.15 s [opt-env-conf-test] ]
  11663. 1303.15 s [opt-env-conf-test] ]
  11664. 1303.15 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  11665. 1303.15 s [opt-env-conf-test] [ [ functionChunk "option",
  11666. 1303.15 s [opt-env-conf-test] " or ",
  11667. 1303.15 s [opt-env-conf-test] functionChunk "name",
  11668. 1303.15 s [opt-env-conf-test] " has no ",
  11669. 1303.15 s [opt-env-conf-test] functionChunk "reader",
  11670. 1303.15 s [opt-env-conf-test] "."
  11671. 1303.15 s [opt-env-conf-test] ]
  11672. 1303.15 s [opt-env-conf-test] ]
  11673. 1303.15 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  11674. 1303.15 s [opt-env-conf-test] [ [ functionChunk "option",
  11675. 1303.15 s [opt-env-conf-test] " has no ",
  11676. 1303.15 s [opt-env-conf-test] functionChunk "long",
  11677. 1303.15 s [opt-env-conf-test] " or ",
  11678. 1303.15 s [opt-env-conf-test] functionChunk "short",
  11679. 1303.15 s [opt-env-conf-test] "."
  11680. 1303.15 s [opt-env-conf-test] ]
  11681. 1303.15 s [opt-env-conf-test] ]
  11682. 1303.15 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  11683. 1303.16 s [opt-env-conf-test] [ [ functionChunk "option",
  11684. 1303.16 s [opt-env-conf-test] " or ",
  11685. 1303.16 s [opt-env-conf-test] functionChunk "name",
  11686. 1303.16 s [opt-env-conf-test] " has no ",
  11687. 1303.16 s [opt-env-conf-test] functionChunk "metavar",
  11688. 1303.16 s [opt-env-conf-test] "."
  11689. 1303.16 s [opt-env-conf-test] ]
  11690. 1303.16 s [opt-env-conf-test] ]
  11691. 1303.16 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  11692. 1303.16 s [opt-env-conf-test] [ [ functionChunk "switch",
  11693. 1303.16 s [opt-env-conf-test] " has no ",
  11694. 1303.16 s [opt-env-conf-test] functionChunk "long",
  11695. 1303.16 s [opt-env-conf-test] " or ",
  11696. 1303.16 s [opt-env-conf-test] functionChunk "short",
  11697. 1303.16 s [opt-env-conf-test] "."
  11698. 1303.16 s [opt-env-conf-test] ]
  11699. 1303.16 s [opt-env-conf-test] ]
  11700. 1303.16 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  11701. 1303.16 s [opt-env-conf-test] [ [ functionChunk "long",
  11702. 1303.16 s [opt-env-conf-test] " or ",
  11703. 1303.16 s [opt-env-conf-test] functionChunk "short",
  11704. 1303.17 s [opt-env-conf-test] " has no ",
  11705. 1303.17 s [opt-env-conf-test] functionChunk "option",
  11706. 1303.17 s [opt-env-conf-test] " or ",
  11707. 1303.17 s [opt-env-conf-test] functionChunk "switch",
  11708. 1303.17 s [opt-env-conf-test] "."
  11709. 1303.17 s [opt-env-conf-test] ]
  11710. 1303.17 s [opt-env-conf-test] ]
  11711. 1303.17 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  11712. 1303.17 s [opt-env-conf-test] [ [ functionChunk "env",
  11713. 1303.17 s [opt-env-conf-test] " or ",
  11714. 1303.17 s [opt-env-conf-test] functionChunk "name",
  11715. 1303.17 s [opt-env-conf-test] " has no ",
  11716. 1303.17 s [opt-env-conf-test] functionChunk "reader",
  11717. 1303.17 s [opt-env-conf-test] "."
  11718. 1303.17 s [opt-env-conf-test] ]
  11719. 1303.17 s [opt-env-conf-test] ]
  11720. 1303.17 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  11721. 1303.17 s [opt-env-conf-test] [ [ functionChunk "env",
  11722. 1303.17 s [opt-env-conf-test] " or ",
  11723. 1303.17 s [opt-env-conf-test] functionChunk "name",
  11724. 1303.17 s [opt-env-conf-test] " has no ",
  11725. 1303.17 s [opt-env-conf-test] functionChunk "metavar",
  11726. 1303.17 s [opt-env-conf-test] "."
  11727. 1303.17 s [opt-env-conf-test] ]
  11728. 1303.75 s [opt-env-conf-test] ]
  11729. 1303.75 s [opt-env-conf-test] LintErrorNoCommands ->
  11730. 1303.75 s [opt-env-conf-test] [ [ functionChunk "commands",
  11731. 1303.76 s [opt-env-conf-test] " was called with an empty list."
  11732. 1303.76 s [opt-env-conf-test] ]
  11733. 1303.76 s [opt-env-conf-test] ]
  11734. 1303.76 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  11735. 1303.76 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  11736. 1303.76 s [opt-env-conf-test] " was called with an unknown command: ",
  11737. 1303.76 s [opt-env-conf-test] commandChunk c
  11738. 1303.76 s [opt-env-conf-test] ]
  11739. 1303.76 s [opt-env-conf-test] ]
  11740. 1303.76 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  11741. 1303.76 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11742. 1303.76 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  11743. 1303.76 s [opt-env-conf-test] ]
  11744. 1303.76 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11745. 1303.76 s [opt-env-conf-test] [ [ functionChunk "conf",
  11746. 1303.76 s [opt-env-conf-test] " or ",
  11747. 1303.76 s [opt-env-conf-test] functionChunk "name",
  11748. 1303.76 s [opt-env-conf-test] " was called with no way to load configuration."
  11749. 1303.76 s [opt-env-conf-test] ],
  11750. 1303.76 s [opt-env-conf-test] [ "You can load configuration with ",
  11751. 1303.76 s [opt-env-conf-test] functionChunk "withConfig",
  11752. 1303.76 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  11753. 1303.76 s [opt-env-conf-test] functionChunk "withoutConfig",
  11754. 1303.76 s [opt-env-conf-test] "."
  11755. 1303.76 s [opt-env-conf-test] ]
  11756. 1303.76 s [opt-env-conf-test] ]
  11757. 1303.76 s [opt-env-conf-test] LintErrorManyInfinite ->
  11758. 1303.76 s [opt-env-conf-test] [ [ functionChunk "many",
  11759. 1303.76 s [opt-env-conf-test] " or ",
  11760. 1303.76 s [opt-env-conf-test] functionChunk "some",
  11761. 1303.76 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  11762. 1303.76 s [opt-env-conf-test] ],
  11763. 1303.76 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  11764. 1303.76 s [opt-env-conf-test] ],
  11765. 1303.76 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  11766. 1303.76 s [opt-env-conf-test] ]
  11767. 1303.76 s [opt-env-conf-test]
  11768. 1303.76 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  11769. 1303.76 s [opt-env-conf-test] @@ -66,168 +66,161 @@
  11770. 1303.76 s [opt-env-conf-test] renderLintError LintError {..} =
  11771. 1303.76 s [opt-env-conf-test] concat
  11772. 1303.76 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  11773. 1303.76 s [opt-env-conf-test] case lintErrorMessage of
  11774. 1303.76 s [opt-env-conf-test] LintErrorUndocumented ->
  11775. 1303.76 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  11776. 1303.76 s [opt-env-conf-test] LintErrorEmptySetting ->
  11777. 1303.76 s [opt-env-conf-test] concat
  11778. 1303.76 s [opt-env-conf-test] [ [ [ "This ",
  11779. 1303.76 s [opt-env-conf-test] functionChunk "setting",
  11780. 1303.76 s [opt-env-conf-test] " parses nothing."
  11781. 1303.76 s [opt-env-conf-test] ]
  11782. 1303.76 s [opt-env-conf-test] ],
  11783. 1303.76 s [opt-env-conf-test] [ [ "Add an ",
  11784. 1303.77 s [opt-env-conf-test] functionChunk "argument",
  11785. 1303.77 s [opt-env-conf-test] ", ",
  11786. 1303.77 s [opt-env-conf-test] functionChunk "switch",
  11787. 1303.77 s [opt-env-conf-test] ", ",
  11788. 1303.77 s [opt-env-conf-test] functionChunk "option",
  11789. 1303.77 s [opt-env-conf-test] ", ",
  11790. 1303.77 s [opt-env-conf-test] functionChunk "env",
  11791. 1303.77 s [opt-env-conf-test] ", ",
  11792. 1303.77 s [opt-env-conf-test] functionChunk "conf",
  11793. 1303.77 s [opt-env-conf-test] ", or ",
  11794. 1303.77 s [opt-env-conf-test] functionChunk "value",
  11795. 1303.77 s [opt-env-conf-test] "."
  11796. 1303.77 s [opt-env-conf-test] ]
  11797. 1303.77 s [opt-env-conf-test] ]
  11798. 1303.78 s [opt-env-conf-test] ]
  11799. 1303.78 s [opt-env-conf-test] LintErrorDashInShort ->
  11800. 1303.78 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  11801. 1303.78 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  11802. 1303.78 s [opt-env-conf-test] ]
  11803. 1303.78 s [opt-env-conf-test] LintErrorDashInLong s ->
  11804. 1303.78 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  11805. 1303.78 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  11806. 1303.78 s [opt-env-conf-test] [ "Try ",
  11807. 1303.78 s [opt-env-conf-test] functionChunk "long",
  11808. 1303.78 s [opt-env-conf-test] " ",
  11809. 1303.78 s [opt-env-conf-test] chunk $
  11810. 1303.78 s [opt-env-conf-test] T.pack $
  11811. 1303.78 s [opt-env-conf-test] show $
  11812. 1303.78 s [opt-env-conf-test] let go = \case
  11813. 1303.78 s [opt-env-conf-test] [] -> []
  11814. 1303.78 s [opt-env-conf-test] '-' : cs -> go cs
  11815. 1303.78 s [opt-env-conf-test] c : cs -> c : cs
  11816. 1303.78 s [opt-env-conf-test] in go $ NE.toList s,
  11817. 1303.78 s [opt-env-conf-test] " instead."
  11818. 1303.78 s [opt-env-conf-test] ]
  11819. 1303.78 s [opt-env-conf-test] ]
  11820. 1303.78 s [opt-env-conf-test] - LintErrorNoReaderForArgument ->
  11821. 1303.78 s [opt-env-conf-test] - [ [ functionChunk "argument",
  11822. 1303.78 s [opt-env-conf-test] - " has no ",
  11823. 1303.78 s [opt-env-conf-test] - functionChunk "reader",
  11824. 1303.78 s [opt-env-conf-test] - "."
  11825. 1303.78 s [opt-env-conf-test] - ]
  11826. 1303.78 s [opt-env-conf-test] - ]
  11827. 1303.78 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  11828. 1303.78 s [opt-env-conf-test] [ [ functionChunk "argument",
  11829. 1303.78 s [opt-env-conf-test] " has no ",
  11830. 1303.78 s [opt-env-conf-test] functionChunk "metavar",
  11831. 1303.78 s [opt-env-conf-test] "."
  11832. 1303.78 s [opt-env-conf-test] ]
  11833. 1303.78 s [opt-env-conf-test] ]
  11834. 1303.78 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  11835. 1303.78 s [opt-env-conf-test] [ [ functionChunk "option",
  11836. 1303.78 s [opt-env-conf-test] " or ",
  11837. 1303.78 s [opt-env-conf-test] functionChunk "name",
  11838. 1303.78 s [opt-env-conf-test] " has no ",
  11839. 1303.78 s [opt-env-conf-test] functionChunk "reader",
  11840. 1303.78 s [opt-env-conf-test] "."
  11841. 1303.78 s [opt-env-conf-test] ]
  11842. 1303.78 s [opt-env-conf-test] ]
  11843. 1303.78 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  11844. 1303.78 s [opt-env-conf-test] [ [ functionChunk "option",
  11845. 1303.78 s [opt-env-conf-test] " has no ",
  11846. 1303.78 s [opt-env-conf-test] functionChunk "long",
  11847. 1303.78 s [opt-env-conf-test] " or ",
  11848. 1303.78 s [opt-env-conf-test] functionChunk "short",
  11849. 1303.78 s [opt-env-conf-test] "."
  11850. 1303.78 s [opt-env-conf-test] ]
  11851. 1303.78 s [opt-env-conf-test] ]
  11852. 1303.78 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  11853. 1303.78 s [opt-env-conf-test] [ [ functionChunk "option",
  11854. 1303.78 s [opt-env-conf-test] " or ",
  11855. 1303.78 s [opt-env-conf-test] functionChunk "name",
  11856. 1303.78 s [opt-env-conf-test] " has no ",
  11857. 1303.78 s [opt-env-conf-test] functionChunk "metavar",
  11858. 1303.78 s [opt-env-conf-test] "."
  11859. 1303.78 s [opt-env-conf-test] ]
  11860. 1303.78 s [opt-env-conf-test] ]
  11861. 1303.78 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  11862. 1303.78 s [opt-env-conf-test] [ [ functionChunk "switch",
  11863. 1303.79 s [opt-env-conf-test] " has no ",
  11864. 1303.79 s [opt-env-conf-test] functionChunk "long",
  11865. 1303.79 s [opt-env-conf-test] " or ",
  11866. 1303.79 s [opt-env-conf-test] functionChunk "short",
  11867. 1303.79 s [opt-env-conf-test] "."
  11868. 1303.79 s [opt-env-conf-test] ]
  11869. 1303.79 s [opt-env-conf-test] ]
  11870. 1303.79 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  11871. 1303.79 s [opt-env-conf-test] [ [ functionChunk "long",
  11872. 1303.79 s [opt-env-conf-test] " or ",
  11873. 1303.79 s [opt-env-conf-test] functionChunk "short",
  11874. 1303.79 s [opt-env-conf-test] " has no ",
  11875. 1303.79 s [opt-env-conf-test] functionChunk "option",
  11876. 1303.79 s [opt-env-conf-test] " or ",
  11877. 1303.79 s [opt-env-conf-test] functionChunk "switch",
  11878. 1303.79 s [opt-env-conf-test] "."
  11879. 1303.79 s [opt-env-conf-test] ]
  11880. 1303.79 s [opt-env-conf-test] ]
  11881. 1303.79 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  11882. 1303.79 s [opt-env-conf-test] [ [ functionChunk "env",
  11883. 1303.79 s [opt-env-conf-test] " or ",
  11884. 1303.79 s [opt-env-conf-test] functionChunk "name",
  11885. 1303.79 s [opt-env-conf-test] " has no ",
  11886. 1303.79 s [opt-env-conf-test] functionChunk "reader",
  11887. 1303.79 s [opt-env-conf-test] "."
  11888. 1303.79 s [opt-env-conf-test] ]
  11889. 1303.79 s [opt-env-conf-test] ]
  11890. 1303.79 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  11891. 1303.79 s [opt-env-conf-test] [ [ functionChunk "env",
  11892. 1303.79 s [opt-env-conf-test] " or ",
  11893. 1303.79 s [opt-env-conf-test] functionChunk "name",
  11894. 1303.79 s [opt-env-conf-test] " has no ",
  11895. 1303.79 s [opt-env-conf-test] functionChunk "metavar",
  11896. 1303.79 s [opt-env-conf-test] "."
  11897. 1303.79 s [opt-env-conf-test] ]
  11898. 1303.79 s [opt-env-conf-test] ]
  11899. 1303.79 s [opt-env-conf-test] LintErrorNoCommands ->
  11900. 1304.59 s [opt-env-conf-test] [ [ functionChunk "commands",
  11901. 1304.59 s [opt-env-conf-test] " was called with an empty list."
  11902. 1304.59 s [opt-env-conf-test] ]
  11903. 1304.59 s [opt-env-conf-test] ]
  11904. 1304.59 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  11905. 1304.59 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  11906. 1304.59 s [opt-env-conf-test] " was called with an unknown command: ",
  11907. 1304.59 s [opt-env-conf-test] commandChunk c
  11908. 1304.59 s [opt-env-conf-test] ]
  11909. 1304.59 s [opt-env-conf-test] ]
  11910. 1304.59 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  11911. 1304.59 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11912. 1304.59 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  11913. 1304.59 s [opt-env-conf-test] ]
  11914. 1304.59 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11915. 1304.59 s [opt-env-conf-test] [ [ functionChunk "conf",
  11916. 1304.59 s [opt-env-conf-test] " or ",
  11917. 1304.59 s [opt-env-conf-test] functionChunk "name",
  11918. 1304.59 s [opt-env-conf-test] " was called with no way to load configuration."
  11919. 1304.59 s [opt-env-conf-test] ],
  11920. 1304.59 s [opt-env-conf-test] [ "You can load configuration with ",
  11921. 1304.59 s [opt-env-conf-test] functionChunk "withConfig",
  11922. 1304.59 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  11923. 1304.59 s [opt-env-conf-test] functionChunk "withoutConfig",
  11924. 1304.59 s [opt-env-conf-test] "."
  11925. 1304.59 s [opt-env-conf-test] ]
  11926. 1304.59 s [opt-env-conf-test] ]
  11927. 1304.59 s [opt-env-conf-test] LintErrorManyInfinite ->
  11928. 1304.59 s [opt-env-conf-test] [ [ functionChunk "many",
  11929. 1304.59 s [opt-env-conf-test] " or ",
  11930. 1304.59 s [opt-env-conf-test] functionChunk "some",
  11931. 1304.59 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  11932. 1304.59 s [opt-env-conf-test] ],
  11933. 1304.59 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  11934. 1304.59 s [opt-env-conf-test] ],
  11935. 1304.59 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  11936. 1304.59 s [opt-env-conf-test] ]
  11937. 1304.59 s [opt-env-conf-test]
  11938. 1304.59 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  11939. 1304.59 s [opt-env-conf-test] @@ -66,168 +66,161 @@
  11940. 1304.60 s [opt-env-conf-test] renderLintError LintError {..} =
  11941. 1304.60 s [opt-env-conf-test] concat
  11942. 1304.60 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  11943. 1304.60 s [opt-env-conf-test] case lintErrorMessage of
  11944. 1304.60 s [opt-env-conf-test] LintErrorUndocumented ->
  11945. 1304.60 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  11946. 1304.60 s [opt-env-conf-test] LintErrorEmptySetting ->
  11947. 1304.60 s [opt-env-conf-test] concat
  11948. 1304.60 s [opt-env-conf-test] [ [ [ "This ",
  11949. 1304.60 s [opt-env-conf-test] functionChunk "setting",
  11950. 1304.60 s [opt-env-conf-test] " parses nothing."
  11951. 1304.60 s [opt-env-conf-test] ]
  11952. 1304.60 s [opt-env-conf-test] ],
  11953. 1304.60 s [opt-env-conf-test] [ [ "Add an ",
  11954. 1304.60 s [opt-env-conf-test] functionChunk "argument",
  11955. 1304.60 s [opt-env-conf-test] ", ",
  11956. 1304.60 s [opt-env-conf-test] functionChunk "switch",
  11957. 1304.60 s [opt-env-conf-test] ", ",
  11958. 1304.60 s [opt-env-conf-test] functionChunk "option",
  11959. 1304.60 s [opt-env-conf-test] ", ",
  11960. 1304.60 s [opt-env-conf-test] functionChunk "env",
  11961. 1304.60 s [opt-env-conf-test] ", ",
  11962. 1304.60 s [opt-env-conf-test] functionChunk "conf",
  11963. 1304.60 s [opt-env-conf-test] ", or ",
  11964. 1304.60 s [opt-env-conf-test] functionChunk "value",
  11965. 1304.60 s [opt-env-conf-test] "."
  11966. 1304.60 s [opt-env-conf-test] ]
  11967. 1304.61 s [opt-env-conf-test] ]
  11968. 1304.61 s [opt-env-conf-test] ]
  11969. 1304.61 s [opt-env-conf-test] LintErrorDashInShort ->
  11970. 1304.61 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  11971. 1304.61 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  11972. 1304.61 s [opt-env-conf-test] ]
  11973. 1304.61 s [opt-env-conf-test] LintErrorDashInLong s ->
  11974. 1304.61 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  11975. 1304.61 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  11976. 1304.61 s [opt-env-conf-test] [ "Try ",
  11977. 1304.61 s [opt-env-conf-test] functionChunk "long",
  11978. 1304.61 s [opt-env-conf-test] " ",
  11979. 1304.61 s [opt-env-conf-test] chunk $
  11980. 1304.61 s [opt-env-conf-test] T.pack $
  11981. 1304.61 s [opt-env-conf-test] show $
  11982. 1304.61 s [opt-env-conf-test] let go = \case
  11983. 1304.61 s [opt-env-conf-test] [] -> []
  11984. 1304.61 s [opt-env-conf-test] '-' : cs -> go cs
  11985. 1304.61 s [opt-env-conf-test] c : cs -> c : cs
  11986. 1304.61 s [opt-env-conf-test] in go $ NE.toList s,
  11987. 1304.61 s [opt-env-conf-test] " instead."
  11988. 1304.61 s [opt-env-conf-test] ]
  11989. 1304.61 s [opt-env-conf-test] ]
  11990. 1304.61 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  11991. 1304.61 s [opt-env-conf-test] [ [ functionChunk "argument",
  11992. 1304.61 s [opt-env-conf-test] " has no ",
  11993. 1304.61 s [opt-env-conf-test] functionChunk "reader",
  11994. 1304.61 s [opt-env-conf-test] "."
  11995. 1304.61 s [opt-env-conf-test] ]
  11996. 1304.62 s [opt-env-conf-test] ]
  11997. 1304.62 s [opt-env-conf-test] - LintErrorNoMetavarForArgument ->
  11998. 1304.62 s [opt-env-conf-test] - [ [ functionChunk "argument",
  11999. 1304.62 s [opt-env-conf-test] - " has no ",
  12000. 1304.62 s [opt-env-conf-test] - functionChunk "metavar",
  12001. 1304.62 s [opt-env-conf-test] - "."
  12002. 1304.62 s [opt-env-conf-test] - ]
  12003. 1304.62 s [opt-env-conf-test] - ]
  12004. 1304.62 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  12005. 1304.62 s [opt-env-conf-test] [ [ functionChunk "option",
  12006. 1304.62 s [opt-env-conf-test] " or ",
  12007. 1304.62 s [opt-env-conf-test] functionChunk "name",
  12008. 1304.62 s [opt-env-conf-test] " has no ",
  12009. 1304.62 s [opt-env-conf-test] functionChunk "reader",
  12010. 1304.62 s [opt-env-conf-test] "."
  12011. 1304.62 s [opt-env-conf-test] ]
  12012. 1304.62 s [opt-env-conf-test] ]
  12013. 1304.62 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  12014. 1304.62 s [opt-env-conf-test] [ [ functionChunk "option",
  12015. 1304.62 s [opt-env-conf-test] " has no ",
  12016. 1304.62 s [opt-env-conf-test] functionChunk "long",
  12017. 1304.62 s [opt-env-conf-test] " or ",
  12018. 1304.62 s [opt-env-conf-test] functionChunk "short",
  12019. 1304.62 s [opt-env-conf-test] "."
  12020. 1304.62 s [opt-env-conf-test] ]
  12021. 1304.62 s [opt-env-conf-test] ]
  12022. 1304.62 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  12023. 1304.62 s [opt-env-conf-test] [ [ functionChunk "option",
  12024. 1304.62 s [opt-env-conf-test] " or ",
  12025. 1304.62 s [opt-env-conf-test] functionChunk "name",
  12026. 1304.62 s [opt-env-conf-test] " has no ",
  12027. 1304.62 s [opt-env-conf-test] functionChunk "metavar",
  12028. 1304.62 s [opt-env-conf-test] "."
  12029. 1304.62 s [opt-env-conf-test] ]
  12030. 1304.62 s [opt-env-conf-test] ]
  12031. 1304.62 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  12032. 1304.62 s [opt-env-conf-test] [ [ functionChunk "switch",
  12033. 1304.62 s [opt-env-conf-test] " has no ",
  12034. 1304.62 s [opt-env-conf-test] functionChunk "long",
  12035. 1304.62 s [opt-env-conf-test] " or ",
  12036. 1304.62 s [opt-env-conf-test] functionChunk "short",
  12037. 1304.62 s [opt-env-conf-test] "."
  12038. 1304.62 s [opt-env-conf-test] ]
  12039. 1304.62 s [opt-env-conf-test] ]
  12040. 1304.62 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  12041. 1304.62 s [opt-env-conf-test] [ [ functionChunk "long",
  12042. 1304.62 s [opt-env-conf-test] " or ",
  12043. 1304.62 s [opt-env-conf-test] functionChunk "short",
  12044. 1304.62 s [opt-env-conf-test] " has no ",
  12045. 1304.62 s [opt-env-conf-test] functionChunk "option",
  12046. 1304.62 s [opt-env-conf-test] " or ",
  12047. 1304.62 s [opt-env-conf-test] functionChunk "switch",
  12048. 1304.62 s [opt-env-conf-test] "."
  12049. 1304.63 s [opt-env-conf-test] ]
  12050. 1304.63 s [opt-env-conf-test] ]
  12051. 1304.63 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  12052. 1304.63 s [opt-env-conf-test] [ [ functionChunk "env",
  12053. 1304.63 s [opt-env-conf-test] " or ",
  12054. 1304.63 s [opt-env-conf-test] functionChunk "name",
  12055. 1304.63 s [opt-env-conf-test] " has no ",
  12056. 1304.63 s [opt-env-conf-test] functionChunk "reader",
  12057. 1304.63 s [opt-env-conf-test] "."
  12058. 1304.63 s [opt-env-conf-test] ]
  12059. 1304.63 s [opt-env-conf-test] ]
  12060. 1304.63 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  12061. 1304.63 s [opt-env-conf-test] [ [ functionChunk "env",
  12062. 1304.63 s [opt-env-conf-test] " or ",
  12063. 1304.63 s [opt-env-conf-test] functionChunk "name",
  12064. 1304.63 s [opt-env-conf-test] " has no ",
  12065. 1304.63 s [opt-env-conf-test] functionChunk "metavar",
  12066. 1304.63 s [opt-env-conf-test] "."
  12067. 1304.63 s [opt-env-conf-test] ]
  12068. 1304.63 s [opt-env-conf-test] ]
  12069. 1304.63 s [opt-env-conf-test] LintErrorNoCommands ->
  12070. 1304.63 s [opt-env-conf-test] [ [ functionChunk "commands",
  12071. 1304.63 s [opt-env-conf-test] " was called with an empty list."
  12072. 1304.63 s [opt-env-conf-test] ]
  12073. 1304.63 s [opt-env-conf-test] ]
  12074. 1304.63 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  12075. 1304.63 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  12076. 1304.63 s [opt-env-conf-test] " was called with an unknown command: ",
  12077. 1304.63 s [opt-env-conf-test] commandChunk c
  12078. 1304.63 s [opt-env-conf-test] ]
  12079. 1304.63 s [opt-env-conf-test] ]
  12080. 1304.63 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  12081. 1304.63 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  12082. 1304.63 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  12083. 1304.63 s [opt-env-conf-test] ]
  12084. 1304.63 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  12085. 1304.63 s [opt-env-conf-test] [ [ functionChunk "conf",
  12086. 1304.63 s [opt-env-conf-test] " or ",
  12087. 1304.63 s [opt-env-conf-test] functionChunk "name",
  12088. 1304.63 s [opt-env-conf-test] " was called with no way to load configuration."
  12089. 1304.63 s [opt-env-conf-test] ],
  12090. 1304.63 s [opt-env-conf-test] [ "You can load configuration with ",
  12091. 1304.63 s [opt-env-conf-test] functionChunk "withConfig",
  12092. 1304.63 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  12093. 1304.63 s [opt-env-conf-test] functionChunk "withoutConfig",
  12094. 1304.63 s [opt-env-conf-test] "."
  12095. 1304.63 s [opt-env-conf-test] ]
  12096. 1304.63 s [opt-env-conf-test] ]
  12097. 1304.63 s [opt-env-conf-test] LintErrorManyInfinite ->
  12098. 1304.63 s [opt-env-conf-test] [ [ functionChunk "many",
  12099. 1304.63 s [opt-env-conf-test] " or ",
  12100. 1304.63 s [opt-env-conf-test] functionChunk "some",
  12101. 1304.63 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  12102. 1304.63 s [opt-env-conf-test] ],
  12103. 1304.63 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  12104. 1304.63 s [opt-env-conf-test] ],
  12105. 1304.63 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  12106. 1304.63 s [opt-env-conf-test] ]
  12107. 1304.63 s [opt-env-conf-test]
  12108. 1304.63 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  12109. 1304.63 s [opt-env-conf-test] @@ -66,168 +66,159 @@
  12110. 1304.63 s [opt-env-conf-test] renderLintError LintError {..} =
  12111. 1304.63 s [opt-env-conf-test] concat
  12112. 1304.63 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  12113. 1304.63 s [opt-env-conf-test] case lintErrorMessage of
  12114. 1304.63 s [opt-env-conf-test] LintErrorUndocumented ->
  12115. 1304.63 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  12116. 1304.63 s [opt-env-conf-test] LintErrorEmptySetting ->
  12117. 1304.63 s [opt-env-conf-test] concat
  12118. 1304.63 s [opt-env-conf-test] [ [ [ "This ",
  12119. 1304.63 s [opt-env-conf-test] functionChunk "setting",
  12120. 1304.63 s [opt-env-conf-test] " parses nothing."
  12121. 1304.63 s [opt-env-conf-test] ]
  12122. 1304.64 s [opt-env-conf-test] ],
  12123. 1304.64 s [opt-env-conf-test] [ [ "Add an ",
  12124. 1304.64 s [opt-env-conf-test] functionChunk "argument",
  12125. 1304.64 s [opt-env-conf-test] ", ",
  12126. 1304.64 s [opt-env-conf-test] functionChunk "switch",
  12127. 1304.64 s [opt-env-conf-test] ", ",
  12128. 1304.64 s [opt-env-conf-test] functionChunk "option",
  12129. 1304.64 s [opt-env-conf-test] ", ",
  12130. 1304.64 s [opt-env-conf-test] functionChunk "env",
  12131. 1304.64 s [opt-env-conf-test] ", ",
  12132. 1304.64 s [opt-env-conf-test] functionChunk "conf",
  12133. 1304.64 s [opt-env-conf-test] ", or ",
  12134. 1304.64 s [opt-env-conf-test] functionChunk "value",
  12135. 1304.64 s [opt-env-conf-test] "."
  12136. 1304.64 s [opt-env-conf-test] ]
  12137. 1304.64 s [opt-env-conf-test] ]
  12138. 1304.64 s [opt-env-conf-test] ]
  12139. 1304.64 s [opt-env-conf-test] LintErrorDashInShort ->
  12140. 1304.64 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  12141. 1304.64 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  12142. 1304.64 s [opt-env-conf-test] ]
  12143. 1304.64 s [opt-env-conf-test] LintErrorDashInLong s ->
  12144. 1304.64 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  12145. 1304.64 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  12146. 1304.64 s [opt-env-conf-test] [ "Try ",
  12147. 1304.64 s [opt-env-conf-test] functionChunk "long",
  12148. 1304.64 s [opt-env-conf-test] " ",
  12149. 1304.64 s [opt-env-conf-test] chunk $
  12150. 1304.64 s [opt-env-conf-test] T.pack $
  12151. 1304.64 s [opt-env-conf-test] show $
  12152. 1304.64 s [opt-env-conf-test] let go = \case
  12153. 1304.64 s [opt-env-conf-test] [] -> []
  12154. 1304.64 s [opt-env-conf-test] '-' : cs -> go cs
  12155. 1304.64 s [opt-env-conf-test] c : cs -> c : cs
  12156. 1304.64 s [opt-env-conf-test] in go $ NE.toList s,
  12157. 1304.64 s [opt-env-conf-test] " instead."
  12158. 1304.64 s [opt-env-conf-test] ]
  12159. 1304.64 s [opt-env-conf-test] ]
  12160. 1304.64 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  12161. 1304.64 s [opt-env-conf-test] [ [ functionChunk "argument",
  12162. 1304.64 s [opt-env-conf-test] " has no ",
  12163. 1304.64 s [opt-env-conf-test] functionChunk "reader",
  12164. 1304.64 s [opt-env-conf-test] "."
  12165. 1304.64 s [opt-env-conf-test] ]
  12166. 1304.64 s [opt-env-conf-test] ]
  12167. 1304.64 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  12168. 1304.64 s [opt-env-conf-test] [ [ functionChunk "argument",
  12169. 1304.64 s [opt-env-conf-test] " has no ",
  12170. 1304.64 s [opt-env-conf-test] functionChunk "metavar",
  12171. 1304.64 s [opt-env-conf-test] "."
  12172. 1304.64 s [opt-env-conf-test] ]
  12173. 1304.64 s [opt-env-conf-test] ]
  12174. 1304.64 s [opt-env-conf-test] - LintErrorNoReaderForOption ->
  12175. 1304.64 s [opt-env-conf-test] - [ [ functionChunk "option",
  12176. 1304.64 s [opt-env-conf-test] - " or ",
  12177. 1304.64 s [opt-env-conf-test] - functionChunk "name",
  12178. 1304.64 s [opt-env-conf-test] - " has no ",
  12179. 1304.64 s [opt-env-conf-test] - functionChunk "reader",
  12180. 1304.64 s [opt-env-conf-test] - "."
  12181. 1304.64 s [opt-env-conf-test] - ]
  12182. 1304.64 s [opt-env-conf-test] - ]
  12183. 1304.64 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  12184. 1304.64 s [opt-env-conf-test] [ [ functionChunk "option",
  12185. 1304.64 s [opt-env-conf-test] " has no ",
  12186. 1304.64 s [opt-env-conf-test] functionChunk "long",
  12187. 1304.64 s [opt-env-conf-test] " or ",
  12188. 1304.64 s [opt-env-conf-test] functionChunk "short",
  12189. 1304.64 s [opt-env-conf-test] "."
  12190. 1304.65 s [opt-env-conf-test] ]
  12191. 1304.65 s [opt-env-conf-test] ]
  12192. 1304.65 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  12193. 1304.65 s [opt-env-conf-test] [ [ functionChunk "option",
  12194. 1304.65 s [opt-env-conf-test] " or ",
  12195. 1304.65 s [opt-env-conf-test] functionChunk "name",
  12196. 1304.65 s [opt-env-conf-test] " has no ",
  12197. 1304.65 s [opt-env-conf-test] functionChunk "metavar",
  12198. 1304.65 s [opt-env-conf-test] "."
  12199. 1304.65 s [opt-env-conf-test] ]
  12200. 1304.65 s [opt-env-conf-test] ]
  12201. 1304.65 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  12202. 1304.65 s [opt-env-conf-test] [ [ functionChunk "switch",
  12203. 1304.65 s [opt-env-conf-test] " has no ",
  12204. 1304.65 s [opt-env-conf-test] functionChunk "long",
  12205. 1304.65 s [opt-env-conf-test] " or ",
  12206. 1304.65 s [opt-env-conf-test] functionChunk "short",
  12207. 1304.65 s [opt-env-conf-test] "."
  12208. 1304.65 s [opt-env-conf-test] ]
  12209. 1304.65 s [opt-env-conf-test] ]
  12210. 1304.65 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  12211. 1304.65 s [opt-env-conf-test] [ [ functionChunk "long",
  12212. 1304.65 s [opt-env-conf-test] " or ",
  12213. 1304.65 s [opt-env-conf-test] functionChunk "short",
  12214. 1304.65 s [opt-env-conf-test] " has no ",
  12215. 1304.65 s [opt-env-conf-test] functionChunk "option",
  12216. 1304.65 s [opt-env-conf-test] " or ",
  12217. 1304.65 s [opt-env-conf-test] functionChunk "switch",
  12218. 1304.65 s [opt-env-conf-test] "."
  12219. 1304.65 s [opt-env-conf-test] ]
  12220. 1304.65 s [opt-env-conf-test] ]
  12221. 1304.65 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  12222. 1304.65 s [opt-env-conf-test] [ [ functionChunk "env",
  12223. 1304.65 s [opt-env-conf-test] " or ",
  12224. 1304.65 s [opt-env-conf-test] functionChunk "name",
  12225. 1304.65 s [opt-env-conf-test] " has no ",
  12226. 1304.65 s [opt-env-conf-test] functionChunk "reader",
  12227. 1304.65 s [opt-env-conf-test] "."
  12228. 1304.65 s [opt-env-conf-test] ]
  12229. 1304.65 s [opt-env-conf-test] ]
  12230. 1304.65 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  12231. 1304.65 s [opt-env-conf-test] [ [ functionChunk "env",
  12232. 1304.65 s [opt-env-conf-test] " or ",
  12233. 1304.65 s [opt-env-conf-test] functionChunk "name",
  12234. 1304.65 s [opt-env-conf-test] " has no ",
  12235. 1304.65 s [opt-env-conf-test] functionChunk "metavar",
  12236. 1304.65 s [opt-env-conf-test] "."
  12237. 1304.65 s [opt-env-conf-test] ]
  12238. 1304.65 s [opt-env-conf-test] ]
  12239. 1304.65 s [opt-env-conf-test] LintErrorNoCommands ->
  12240. 1306.13 s [opt-env-conf-test] [ [ functionChunk "commands",
  12241. 1306.13 s [opt-env-conf-test] " was called with an empty list."
  12242. 1306.13 s [opt-env-conf-test] ]
  12243. 1306.13 s [opt-env-conf-test] ]
  12244. 1306.13 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  12245. 1306.13 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  12246. 1306.13 s [opt-env-conf-test] " was called with an unknown command: ",
  12247. 1306.13 s [opt-env-conf-test] commandChunk c
  12248. 1306.13 s [opt-env-conf-test] ]
  12249. 1306.13 s [opt-env-conf-test] ]
  12250. 1306.13 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  12251. 1306.13 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  12252. 1306.13 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  12253. 1306.13 s [opt-env-conf-test] ]
  12254. 1306.13 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  12255. 1306.13 s [opt-env-conf-test] [ [ functionChunk "conf",
  12256. 1306.13 s [opt-env-conf-test] " or ",
  12257. 1306.13 s [opt-env-conf-test] functionChunk "name",
  12258. 1306.13 s [opt-env-conf-test] " was called with no way to load configuration."
  12259. 1306.13 s [opt-env-conf-test] ],
  12260. 1306.13 s [opt-env-conf-test] [ "You can load configuration with ",
  12261. 1306.13 s [opt-env-conf-test] functionChunk "withConfig",
  12262. 1306.13 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  12263. 1306.13 s [opt-env-conf-test] functionChunk "withoutConfig",
  12264. 1306.13 s [opt-env-conf-test] "."
  12265. 1306.13 s [opt-env-conf-test] ]
  12266. 1306.13 s [opt-env-conf-test] ]
  12267. 1306.13 s [opt-env-conf-test] LintErrorManyInfinite ->
  12268. 1306.13 s [opt-env-conf-test] [ [ functionChunk "many",
  12269. 1306.13 s [opt-env-conf-test] " or ",
  12270. 1306.13 s [opt-env-conf-test] functionChunk "some",
  12271. 1306.14 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  12272. 1306.14 s [opt-env-conf-test] ],
  12273. 1306.14 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  12274. 1306.14 s [opt-env-conf-test] ],
  12275. 1306.14 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  12276. 1306.14 s [opt-env-conf-test] ]
  12277. 1306.14 s [opt-env-conf-test]
  12278. 1306.14 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  12279. 1306.14 s [opt-env-conf-test] @@ -66,168 +66,159 @@
  12280. 1306.14 s [opt-env-conf-test] renderLintError LintError {..} =
  12281. 1306.14 s [opt-env-conf-test] concat
  12282. 1306.14 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  12283. 1306.14 s [opt-env-conf-test] case lintErrorMessage of
  12284. 1306.14 s [opt-env-conf-test] LintErrorUndocumented ->
  12285. 1306.14 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  12286. 1306.14 s [opt-env-conf-test] LintErrorEmptySetting ->
  12287. 1306.14 s [opt-env-conf-test] concat
  12288. 1306.14 s [opt-env-conf-test] [ [ [ "This ",
  12289. 1306.14 s [opt-env-conf-test] functionChunk "setting",
  12290. 1306.14 s [opt-env-conf-test] " parses nothing."
  12291. 1306.14 s [opt-env-conf-test] ]
  12292. 1306.14 s [opt-env-conf-test] ],
  12293. 1306.14 s [opt-env-conf-test] [ [ "Add an ",
  12294. 1306.14 s [opt-env-conf-test] functionChunk "argument",
  12295. 1306.14 s [opt-env-conf-test] ", ",
  12296. 1306.14 s [opt-env-conf-test] functionChunk "switch",
  12297. 1306.14 s [opt-env-conf-test] ", ",
  12298. 1306.14 s [opt-env-conf-test] functionChunk "option",
  12299. 1306.14 s [opt-env-conf-test] ", ",
  12300. 1306.14 s [opt-env-conf-test] functionChunk "env",
  12301. 1306.14 s [opt-env-conf-test] ", ",
  12302. 1306.14 s [opt-env-conf-test] functionChunk "conf",
  12303. 1306.14 s [opt-env-conf-test] ", or ",
  12304. 1306.14 s [opt-env-conf-test] functionChunk "value",
  12305. 1306.14 s [opt-env-conf-test] "."
  12306. 1306.14 s [opt-env-conf-test] ]
  12307. 1306.14 s [opt-env-conf-test] ]
  12308. 1306.14 s [opt-env-conf-test] ]
  12309. 1306.14 s [opt-env-conf-test] LintErrorDashInShort ->
  12310. 1306.14 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  12311. 1306.14 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  12312. 1306.14 s [opt-env-conf-test] ]
  12313. 1306.14 s [opt-env-conf-test] LintErrorDashInLong s ->
  12314. 1306.14 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  12315. 1306.14 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  12316. 1306.14 s [opt-env-conf-test] [ "Try ",
  12317. 1306.14 s [opt-env-conf-test] functionChunk "long",
  12318. 1306.14 s [opt-env-conf-test] " ",
  12319. 1306.14 s [opt-env-conf-test] chunk $
  12320. 1306.14 s [opt-env-conf-test] T.pack $
  12321. 1306.14 s [opt-env-conf-test] show $
  12322. 1306.14 s [opt-env-conf-test] let go = \case
  12323. 1306.14 s [opt-env-conf-test] [] -> []
  12324. 1306.14 s [opt-env-conf-test] '-' : cs -> go cs
  12325. 1306.14 s [opt-env-conf-test] c : cs -> c : cs
  12326. 1306.14 s [opt-env-conf-test] in go $ NE.toList s,
  12327. 1306.14 s [opt-env-conf-test] " instead."
  12328. 1306.14 s [opt-env-conf-test] ]
  12329. 1306.14 s [opt-env-conf-test] ]
  12330. 1306.14 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  12331. 1306.14 s [opt-env-conf-test] [ [ functionChunk "argument",
  12332. 1306.14 s [opt-env-conf-test] " has no ",
  12333. 1306.14 s [opt-env-conf-test] functionChunk "reader",
  12334. 1306.14 s [opt-env-conf-test] "."
  12335. 1306.15 s [opt-env-conf-test] ]
  12336. 1306.15 s [opt-env-conf-test] ]
  12337. 1306.15 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  12338. 1306.15 s [opt-env-conf-test] [ [ functionChunk "argument",
  12339. 1306.15 s [opt-env-conf-test] " has no ",
  12340. 1306.15 s [opt-env-conf-test] functionChunk "metavar",
  12341. 1306.15 s [opt-env-conf-test] "."
  12342. 1306.15 s [opt-env-conf-test] ]
  12343. 1306.15 s [opt-env-conf-test] ]
  12344. 1306.15 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  12345. 1306.15 s [opt-env-conf-test] [ [ functionChunk "option",
  12346. 1306.15 s [opt-env-conf-test] " or ",
  12347. 1306.15 s [opt-env-conf-test] functionChunk "name",
  12348. 1306.15 s [opt-env-conf-test] " has no ",
  12349. 1306.15 s [opt-env-conf-test] functionChunk "reader",
  12350. 1306.15 s [opt-env-conf-test] "."
  12351. 1306.15 s [opt-env-conf-test] ]
  12352. 1306.15 s [opt-env-conf-test] ]
  12353. 1306.15 s [opt-env-conf-test] - LintErrorNoDashedForOption ->
  12354. 1306.15 s [opt-env-conf-test] - [ [ functionChunk "option",
  12355. 1306.15 s [opt-env-conf-test] - " has no ",
  12356. 1306.15 s [opt-env-conf-test] - functionChunk "long",
  12357. 1306.15 s [opt-env-conf-test] - " or ",
  12358. 1306.15 s [opt-env-conf-test] - functionChunk "short",
  12359. 1306.15 s [opt-env-conf-test] - "."
  12360. 1306.15 s [opt-env-conf-test] - ]
  12361. 1306.15 s [opt-env-conf-test] - ]
  12362. 1306.15 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  12363. 1306.15 s [opt-env-conf-test] [ [ functionChunk "option",
  12364. 1306.15 s [opt-env-conf-test] " or ",
  12365. 1306.15 s [opt-env-conf-test] functionChunk "name",
  12366. 1306.15 s [opt-env-conf-test] " has no ",
  12367. 1306.15 s [opt-env-conf-test] functionChunk "metavar",
  12368. 1306.15 s [opt-env-conf-test] "."
  12369. 1306.15 s [opt-env-conf-test] ]
  12370. 1306.15 s [opt-env-conf-test] ]
  12371. 1306.15 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  12372. 1306.15 s [opt-env-conf-test] [ [ functionChunk "switch",
  12373. 1306.15 s [opt-env-conf-test] " has no ",
  12374. 1306.15 s [opt-env-conf-test] functionChunk "long",
  12375. 1306.15 s [opt-env-conf-test] " or ",
  12376. 1306.15 s [opt-env-conf-test] functionChunk "short",
  12377. 1306.15 s [opt-env-conf-test] "."
  12378. 1306.15 s [opt-env-conf-test] ]
  12379. 1306.15 s [opt-env-conf-test] ]
  12380. 1306.15 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  12381. 1306.15 s [opt-env-conf-test] [ [ functionChunk "long",
  12382. 1306.15 s [opt-env-conf-test] " or ",
  12383. 1306.15 s [opt-env-conf-test] functionChunk "short",
  12384. 1306.15 s [opt-env-conf-test] " has no ",
  12385. 1306.15 s [opt-env-conf-test] functionChunk "option",
  12386. 1306.15 s [opt-env-conf-test] " or ",
  12387. 1306.15 s [opt-env-conf-test] functionChunk "switch",
  12388. 1306.15 s [opt-env-conf-test] "."
  12389. 1306.15 s [opt-env-conf-test] ]
  12390. 1306.15 s [opt-env-conf-test] ]
  12391. 1306.15 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  12392. 1306.15 s [opt-env-conf-test] [ [ functionChunk "env",
  12393. 1306.15 s [opt-env-conf-test] " or ",
  12394. 1306.15 s [opt-env-conf-test] functionChunk "name",
  12395. 1306.15 s [opt-env-conf-test] " has no ",
  12396. 1306.15 s [opt-env-conf-test] functionChunk "reader",
  12397. 1306.15 s [opt-env-conf-test] "."
  12398. 1306.15 s [opt-env-conf-test] ]
  12399. 1306.15 s [opt-env-conf-test] ]
  12400. 1306.15 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  12401. 1306.15 s [opt-env-conf-test] [ [ functionChunk "env",
  12402. 1306.15 s [opt-env-conf-test] " or ",
  12403. 1306.15 s [opt-env-conf-test] functionChunk "name",
  12404. 1306.15 s [opt-env-conf-test] " has no ",
  12405. 1306.15 s [opt-env-conf-test] functionChunk "metavar",
  12406. 1306.15 s [opt-env-conf-test] "."
  12407. 1306.15 s [opt-env-conf-test] ]
  12408. 1306.15 s [opt-env-conf-test] ]
  12409. 1306.15 s [opt-env-conf-test] LintErrorNoCommands ->
  12410. 1306.40 s [opt-env-conf-test] [ [ functionChunk "commands",
  12411. 1306.40 s [opt-env-conf-test] " was called with an empty list."
  12412. 1306.40 s [opt-env-conf-test] ]
  12413. 1306.40 s [opt-env-conf-test] ]
  12414. 1306.40 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  12415. 1306.40 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  12416. 1306.40 s [opt-env-conf-test] " was called with an unknown command: ",
  12417. 1306.40 s [opt-env-conf-test] commandChunk c
  12418. 1306.40 s [opt-env-conf-test] ]
  12419. 1306.40 s [opt-env-conf-test] ]
  12420. 1306.40 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  12421. 1306.40 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  12422. 1306.40 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  12423. 1306.40 s [opt-env-conf-test] ]
  12424. 1306.40 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  12425. 1306.40 s [opt-env-conf-test] [ [ functionChunk "conf",
  12426. 1306.40 s [opt-env-conf-test] " or ",
  12427. 1306.40 s [opt-env-conf-test] functionChunk "name",
  12428. 1306.40 s [opt-env-conf-test] " was called with no way to load configuration."
  12429. 1306.40 s [opt-env-conf-test] ],
  12430. 1306.40 s [opt-env-conf-test] [ "You can load configuration with ",
  12431. 1306.40 s [opt-env-conf-test] functionChunk "withConfig",
  12432. 1306.40 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  12433. 1306.40 s [opt-env-conf-test] functionChunk "withoutConfig",
  12434. 1306.40 s [opt-env-conf-test] "."
  12435. 1306.40 s [opt-env-conf-test] ]
  12436. 1306.40 s [opt-env-conf-test] ]
  12437. 1306.40 s [opt-env-conf-test] LintErrorManyInfinite ->
  12438. 1306.40 s [opt-env-conf-test] [ [ functionChunk "many",
  12439. 1306.40 s [opt-env-conf-test] " or ",
  12440. 1306.40 s [opt-env-conf-test] functionChunk "some",
  12441. 1306.40 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  12442. 1306.40 s [opt-env-conf-test] ],
  12443. 1306.40 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  12444. 1306.40 s [opt-env-conf-test] ],
  12445. 1306.40 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  12446. 1306.40 s [opt-env-conf-test] ]
  12447. 1306.40 s [opt-env-conf-test]
  12448. 1306.40 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  12449. 1306.40 s [opt-env-conf-test] @@ -66,168 +66,159 @@
  12450. 1306.40 s [opt-env-conf-test] renderLintError LintError {..} =
  12451. 1306.40 s [opt-env-conf-test] concat
  12452. 1306.40 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  12453. 1306.40 s [opt-env-conf-test] case lintErrorMessage of
  12454. 1306.41 s [opt-env-conf-test] LintErrorUndocumented ->
  12455. 1306.41 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  12456. 1306.41 s [opt-env-conf-test] LintErrorEmptySetting ->
  12457. 1306.41 s [opt-env-conf-test] concat
  12458. 1306.41 s [opt-env-conf-test] [ [ [ "This ",
  12459. 1306.41 s [opt-env-conf-test] functionChunk "setting",
  12460. 1306.41 s [opt-env-conf-test] " parses nothing."
  12461. 1306.41 s [opt-env-conf-test] ]
  12462. 1306.41 s [opt-env-conf-test] ],
  12463. 1306.41 s [opt-env-conf-test] [ [ "Add an ",
  12464. 1306.41 s [opt-env-conf-test] functionChunk "argument",
  12465. 1306.41 s [opt-env-conf-test] ", ",
  12466. 1306.41 s [opt-env-conf-test] functionChunk "switch",
  12467. 1306.41 s [opt-env-conf-test] ", ",
  12468. 1306.41 s [opt-env-conf-test] functionChunk "option",
  12469. 1306.41 s [opt-env-conf-test] ", ",
  12470. 1306.41 s [opt-env-conf-test] functionChunk "env",
  12471. 1306.41 s [opt-env-conf-test] ", ",
  12472. 1306.41 s [opt-env-conf-test] functionChunk "conf",
  12473. 1306.41 s [opt-env-conf-test] ", or ",
  12474. 1306.41 s [opt-env-conf-test] functionChunk "value",
  12475. 1306.41 s [opt-env-conf-test] "."
  12476. 1306.41 s [opt-env-conf-test] ]
  12477. 1306.41 s [opt-env-conf-test] ]
  12478. 1306.41 s [opt-env-conf-test] ]
  12479. 1306.41 s [opt-env-conf-test] LintErrorDashInShort ->
  12480. 1306.41 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  12481. 1306.41 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  12482. 1306.41 s [opt-env-conf-test] ]
  12483. 1306.41 s [opt-env-conf-test] LintErrorDashInLong s ->
  12484. 1306.41 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  12485. 1306.41 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  12486. 1306.41 s [opt-env-conf-test] [ "Try ",
  12487. 1306.41 s [opt-env-conf-test] functionChunk "long",
  12488. 1306.41 s [opt-env-conf-test] " ",
  12489. 1306.41 s [opt-env-conf-test] chunk $
  12490. 1306.41 s [opt-env-conf-test] T.pack $
  12491. 1306.41 s [opt-env-conf-test] show $
  12492. 1306.41 s [opt-env-conf-test] let go = \case
  12493. 1306.41 s [opt-env-conf-test] [] -> []
  12494. 1306.41 s [opt-env-conf-test] '-' : cs -> go cs
  12495. 1306.41 s [opt-env-conf-test] c : cs -> c : cs
  12496. 1306.41 s [opt-env-conf-test] in go $ NE.toList s,
  12497. 1306.41 s [opt-env-conf-test] " instead."
  12498. 1306.41 s [opt-env-conf-test] ]
  12499. 1306.41 s [opt-env-conf-test] ]
  12500. 1306.41 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  12501. 1306.41 s [opt-env-conf-test] [ [ functionChunk "argument",
  12502. 1306.41 s [opt-env-conf-test] " has no ",
  12503. 1306.41 s [opt-env-conf-test] functionChunk "reader",
  12504. 1306.41 s [opt-env-conf-test] "."
  12505. 1306.41 s [opt-env-conf-test] ]
  12506. 1306.41 s [opt-env-conf-test] ]
  12507. 1306.41 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  12508. 1306.41 s [opt-env-conf-test] [ [ functionChunk "argument",
  12509. 1306.41 s [opt-env-conf-test] " has no ",
  12510. 1306.41 s [opt-env-conf-test] functionChunk "metavar",
  12511. 1306.41 s [opt-env-conf-test] "."
  12512. 1306.41 s [opt-env-conf-test] ]
  12513. 1306.41 s [opt-env-conf-test] ]
  12514. 1306.41 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  12515. 1306.41 s [opt-env-conf-test] [ [ functionChunk "option",
  12516. 1306.41 s [opt-env-conf-test] " or ",
  12517. 1306.41 s [opt-env-conf-test] functionChunk "name",
  12518. 1306.41 s [opt-env-conf-test] " has no ",
  12519. 1306.41 s [opt-env-conf-test] functionChunk "reader",
  12520. 1306.41 s [opt-env-conf-test] "."
  12521. 1306.41 s [opt-env-conf-test] ]
  12522. 1306.41 s [opt-env-conf-test] ]
  12523. 1306.41 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  12524. 1306.41 s [opt-env-conf-test] [ [ functionChunk "option",
  12525. 1306.41 s [opt-env-conf-test] " has no ",
  12526. 1306.41 s [opt-env-conf-test] functionChunk "long",
  12527. 1306.41 s [opt-env-conf-test] " or ",
  12528. 1306.41 s [opt-env-conf-test] functionChunk "short",
  12529. 1306.41 s [opt-env-conf-test] "."
  12530. 1306.41 s [opt-env-conf-test] ]
  12531. 1306.41 s [opt-env-conf-test] ]
  12532. 1306.41 s [opt-env-conf-test] - LintErrorNoMetavarForOption ->
  12533. 1306.42 s [opt-env-conf-test] - [ [ functionChunk "option",
  12534. 1306.42 s [opt-env-conf-test] - " or ",
  12535. 1306.42 s [opt-env-conf-test] - functionChunk "name",
  12536. 1306.42 s [opt-env-conf-test] - " has no ",
  12537. 1306.42 s [opt-env-conf-test] - functionChunk "metavar",
  12538. 1306.42 s [opt-env-conf-test] - "."
  12539. 1306.42 s [opt-env-conf-test] - ]
  12540. 1306.42 s [opt-env-conf-test] - ]
  12541. 1306.42 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  12542. 1306.42 s [opt-env-conf-test] [ [ functionChunk "switch",
  12543. 1306.42 s [opt-env-conf-test] " has no ",
  12544. 1306.42 s [opt-env-conf-test] functionChunk "long",
  12545. 1306.42 s [opt-env-conf-test] " or ",
  12546. 1306.42 s [opt-env-conf-test] functionChunk "short",
  12547. 1306.42 s [opt-env-conf-test] "."
  12548. 1306.42 s [opt-env-conf-test] ]
  12549. 1306.42 s [opt-env-conf-test] ]
  12550. 1306.42 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  12551. 1306.42 s [opt-env-conf-test] [ [ functionChunk "long",
  12552. 1306.42 s [opt-env-conf-test] " or ",
  12553. 1306.42 s [opt-env-conf-test] functionChunk "short",
  12554. 1306.42 s [opt-env-conf-test] " has no ",
  12555. 1306.42 s [opt-env-conf-test] functionChunk "option",
  12556. 1306.42 s [opt-env-conf-test] " or ",
  12557. 1306.42 s [opt-env-conf-test] functionChunk "switch",
  12558. 1306.42 s [opt-env-conf-test] "."
  12559. 1306.42 s [opt-env-conf-test] ]
  12560. 1306.42 s [opt-env-conf-test] ]
  12561. 1306.42 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  12562. 1306.42 s [opt-env-conf-test] [ [ functionChunk "env",
  12563. 1306.42 s [opt-env-conf-test] " or ",
  12564. 1306.42 s [opt-env-conf-test] functionChunk "name",
  12565. 1306.42 s [opt-env-conf-test] " has no ",
  12566. 1306.42 s [opt-env-conf-test] functionChunk "reader",
  12567. 1306.42 s [opt-env-conf-test] "."
  12568. 1306.42 s [opt-env-conf-test] ]
  12569. 1306.42 s [opt-env-conf-test] ]
  12570. 1306.42 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  12571. 1306.42 s [opt-env-conf-test] [ [ functionChunk "env",
  12572. 1306.42 s [opt-env-conf-test] " or ",
  12573. 1306.42 s [opt-env-conf-test] functionChunk "name",
  12574. 1306.42 s [opt-env-conf-test] " has no ",
  12575. 1306.42 s [opt-env-conf-test] functionChunk "metavar",
  12576. 1306.42 s [opt-env-conf-test] "."
  12577. 1306.42 s [opt-env-conf-test] ]
  12578. 1306.42 s [opt-env-conf-test] ]
  12579. 1306.42 s [opt-env-conf-test] LintErrorNoCommands ->
  12580. 1306.62 s [opt-env-conf-test] [ [ functionChunk "commands",
  12581. 1306.62 s [opt-env-conf-test] " was called with an empty list."
  12582. 1306.62 s [opt-env-conf-test] ]
  12583. 1306.62 s [opt-env-conf-test] ]
  12584. 1306.62 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  12585. 1306.62 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  12586. 1306.62 s [opt-env-conf-test] " was called with an unknown command: ",
  12587. 1306.62 s [opt-env-conf-test] commandChunk c
  12588. 1306.62 s [opt-env-conf-test] ]
  12589. 1306.62 s [opt-env-conf-test] ]
  12590. 1306.62 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  12591. 1306.62 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  12592. 1306.62 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  12593. 1306.62 s [opt-env-conf-test] ]
  12594. 1306.62 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  12595. 1306.62 s [opt-env-conf-test] [ [ functionChunk "conf",
  12596. 1306.62 s [opt-env-conf-test] " or ",
  12597. 1306.62 s [opt-env-conf-test] functionChunk "name",
  12598. 1306.62 s [opt-env-conf-test] " was called with no way to load configuration."
  12599. 1306.62 s [opt-env-conf-test] ],
  12600. 1306.62 s [opt-env-conf-test] [ "You can load configuration with ",
  12601. 1306.62 s [opt-env-conf-test] functionChunk "withConfig",
  12602. 1306.62 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  12603. 1306.62 s [opt-env-conf-test] functionChunk "withoutConfig",
  12604. 1306.62 s [opt-env-conf-test] "."
  12605. 1306.63 s [opt-env-conf-test] ]
  12606. 1306.63 s [opt-env-conf-test] ]
  12607. 1306.63 s [opt-env-conf-test] LintErrorManyInfinite ->
  12608. 1306.63 s [opt-env-conf-test] [ [ functionChunk "many",
  12609. 1306.63 s [opt-env-conf-test] " or ",
  12610. 1306.63 s [opt-env-conf-test] functionChunk "some",
  12611. 1306.63 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  12612. 1306.63 s [opt-env-conf-test] ],
  12613. 1306.63 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  12614. 1306.63 s [opt-env-conf-test] ],
  12615. 1306.63 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  12616. 1306.63 s [opt-env-conf-test] ]
  12617. 1306.63 s [opt-env-conf-test]
  12618. 1306.63 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  12619. 1306.63 s [opt-env-conf-test] @@ -66,168 +66,159 @@
  12620. 1306.63 s [opt-env-conf-test] renderLintError LintError {..} =
  12621. 1306.63 s [opt-env-conf-test] concat
  12622. 1306.63 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  12623. 1306.63 s [opt-env-conf-test] case lintErrorMessage of
  12624. 1306.63 s [opt-env-conf-test] LintErrorUndocumented ->
  12625. 1306.63 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  12626. 1306.63 s [opt-env-conf-test] LintErrorEmptySetting ->
  12627. 1306.63 s [opt-env-conf-test] concat
  12628. 1306.63 s [opt-env-conf-test] [ [ [ "This ",
  12629. 1306.63 s [opt-env-conf-test] functionChunk "setting",
  12630. 1306.63 s [opt-env-conf-test] " parses nothing."
  12631. 1306.63 s [opt-env-conf-test] ]
  12632. 1306.63 s [opt-env-conf-test] ],
  12633. 1306.63 s [opt-env-conf-test] [ [ "Add an ",
  12634. 1306.63 s [opt-env-conf-test] functionChunk "argument",
  12635. 1306.63 s [opt-env-conf-test] ", ",
  12636. 1306.63 s [opt-env-conf-test] functionChunk "switch",
  12637. 1306.63 s [opt-env-conf-test] ", ",
  12638. 1306.63 s [opt-env-conf-test] functionChunk "option",
  12639. 1306.63 s [opt-env-conf-test] ", ",
  12640. 1306.63 s [opt-env-conf-test] functionChunk "env",
  12641. 1306.63 s [opt-env-conf-test] ", ",
  12642. 1306.63 s [opt-env-conf-test] functionChunk "conf",
  12643. 1306.63 s [opt-env-conf-test] ", or ",
  12644. 1306.63 s [opt-env-conf-test] functionChunk "value",
  12645. 1306.63 s [opt-env-conf-test] "."
  12646. 1306.63 s [opt-env-conf-test] ]
  12647. 1306.63 s [opt-env-conf-test] ]
  12648. 1306.63 s [opt-env-conf-test] ]
  12649. 1306.63 s [opt-env-conf-test] LintErrorDashInShort ->
  12650. 1306.63 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  12651. 1306.63 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  12652. 1306.63 s [opt-env-conf-test] ]
  12653. 1306.63 s [opt-env-conf-test] LintErrorDashInLong s ->
  12654. 1306.63 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  12655. 1306.63 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  12656. 1306.63 s [opt-env-conf-test] [ "Try ",
  12657. 1306.63 s [opt-env-conf-test] functionChunk "long",
  12658. 1306.63 s [opt-env-conf-test] " ",
  12659. 1306.63 s [opt-env-conf-test] chunk $
  12660. 1306.63 s [opt-env-conf-test] T.pack $
  12661. 1306.63 s [opt-env-conf-test] show $
  12662. 1306.63 s [opt-env-conf-test] let go = \case
  12663. 1306.63 s [opt-env-conf-test] [] -> []
  12664. 1306.63 s [opt-env-conf-test] '-' : cs -> go cs
  12665. 1306.63 s [opt-env-conf-test] c : cs -> c : cs
  12666. 1306.63 s [opt-env-conf-test] in go $ NE.toList s,
  12667. 1306.63 s [opt-env-conf-test] " instead."
  12668. 1306.63 s [opt-env-conf-test] ]
  12669. 1306.63 s [opt-env-conf-test] ]
  12670. 1306.63 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  12671. 1306.63 s [opt-env-conf-test] [ [ functionChunk "argument",
  12672. 1306.63 s [opt-env-conf-test] " has no ",
  12673. 1306.63 s [opt-env-conf-test] functionChunk "reader",
  12674. 1306.63 s [opt-env-conf-test] "."
  12675. 1306.63 s [opt-env-conf-test] ]
  12676. 1306.63 s [opt-env-conf-test] ]
  12677. 1306.63 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  12678. 1306.64 s [opt-env-conf-test] [ [ functionChunk "argument",
  12679. 1306.64 s [opt-env-conf-test] " has no ",
  12680. 1306.64 s [opt-env-conf-test] functionChunk "metavar",
  12681. 1306.64 s [opt-env-conf-test] "."
  12682. 1306.64 s [opt-env-conf-test] ]
  12683. 1306.64 s [opt-env-conf-test] ]
  12684. 1306.64 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  12685. 1306.64 s [opt-env-conf-test] [ [ functionChunk "option",
  12686. 1306.64 s [opt-env-conf-test] " or ",
  12687. 1306.64 s [opt-env-conf-test] functionChunk "name",
  12688. 1306.64 s [opt-env-conf-test] " has no ",
  12689. 1306.64 s [opt-env-conf-test] functionChunk "reader",
  12690. 1306.64 s [opt-env-conf-test] "."
  12691. 1306.64 s [opt-env-conf-test] ]
  12692. 1306.64 s [opt-env-conf-test] ]
  12693. 1306.64 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  12694. 1306.64 s [opt-env-conf-test] [ [ functionChunk "option",
  12695. 1306.64 s [opt-env-conf-test] " has no ",
  12696. 1306.64 s [opt-env-conf-test] functionChunk "long",
  12697. 1306.64 s [opt-env-conf-test] " or ",
  12698. 1306.64 s [opt-env-conf-test] functionChunk "short",
  12699. 1306.64 s [opt-env-conf-test] "."
  12700. 1306.64 s [opt-env-conf-test] ]
  12701. 1306.64 s [opt-env-conf-test] ]
  12702. 1306.64 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  12703. 1306.64 s [opt-env-conf-test] [ [ functionChunk "option",
  12704. 1306.64 s [opt-env-conf-test] " or ",
  12705. 1306.64 s [opt-env-conf-test] functionChunk "name",
  12706. 1306.64 s [opt-env-conf-test] " has no ",
  12707. 1306.64 s [opt-env-conf-test] functionChunk "metavar",
  12708. 1306.64 s [opt-env-conf-test] "."
  12709. 1306.64 s [opt-env-conf-test] ]
  12710. 1306.64 s [opt-env-conf-test] ]
  12711. 1306.64 s [opt-env-conf-test] - LintErrorNoDashedForSwitch ->
  12712. 1306.64 s [opt-env-conf-test] - [ [ functionChunk "switch",
  12713. 1306.64 s [opt-env-conf-test] - " has no ",
  12714. 1306.64 s [opt-env-conf-test] - functionChunk "long",
  12715. 1306.64 s [opt-env-conf-test] - " or ",
  12716. 1306.64 s [opt-env-conf-test] - functionChunk "short",
  12717. 1306.64 s [opt-env-conf-test] - "."
  12718. 1306.64 s [opt-env-conf-test] - ]
  12719. 1306.64 s [opt-env-conf-test] - ]
  12720. 1306.64 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  12721. 1306.64 s [opt-env-conf-test] [ [ functionChunk "long",
  12722. 1306.64 s [opt-env-conf-test] " or ",
  12723. 1306.64 s [opt-env-conf-test] functionChunk "short",
  12724. 1306.64 s [opt-env-conf-test] " has no ",
  12725. 1306.64 s [opt-env-conf-test] functionChunk "option",
  12726. 1306.64 s [opt-env-conf-test] " or ",
  12727. 1306.64 s [opt-env-conf-test] functionChunk "switch",
  12728. 1306.64 s [opt-env-conf-test] "."
  12729. 1306.64 s [opt-env-conf-test] ]
  12730. 1306.64 s [opt-env-conf-test] ]
  12731. 1306.64 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  12732. 1306.64 s [opt-env-conf-test] [ [ functionChunk "env",
  12733. 1306.64 s [opt-env-conf-test] " or ",
  12734. 1306.64 s [opt-env-conf-test] functionChunk "name",
  12735. 1306.64 s [opt-env-conf-test] " has no ",
  12736. 1306.64 s [opt-env-conf-test] functionChunk "reader",
  12737. 1306.64 s [opt-env-conf-test] "."
  12738. 1306.64 s [opt-env-conf-test] ]
  12739. 1306.64 s [opt-env-conf-test] ]
  12740. 1306.64 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  12741. 1306.64 s [opt-env-conf-test] [ [ functionChunk "env",
  12742. 1306.64 s [opt-env-conf-test] " or ",
  12743. 1306.64 s [opt-env-conf-test] functionChunk "name",
  12744. 1306.64 s [opt-env-conf-test] " has no ",
  12745. 1306.64 s [opt-env-conf-test] functionChunk "metavar",
  12746. 1306.64 s [opt-env-conf-test] "."
  12747. 1306.64 s [opt-env-conf-test] ]
  12748. 1306.64 s [opt-env-conf-test] ]
  12749. 1306.64 s [opt-env-conf-test] LintErrorNoCommands ->
  12750. 1307.31 s [opt-env-conf-test] [ [ functionChunk "commands",
  12751. 1307.31 s [opt-env-conf-test] " was called with an empty list."
  12752. 1307.31 s [opt-env-conf-test] ]
  12753. 1307.31 s [opt-env-conf-test] ]
  12754. 1307.31 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  12755. 1307.32 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  12756. 1307.32 s [opt-env-conf-test] " was called with an unknown command: ",
  12757. 1307.32 s [opt-env-conf-test] commandChunk c
  12758. 1307.32 s [opt-env-conf-test] ]
  12759. 1307.32 s [opt-env-conf-test] ]
  12760. 1307.32 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  12761. 1307.32 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  12762. 1307.32 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  12763. 1307.32 s [opt-env-conf-test] ]
  12764. 1307.32 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  12765. 1307.32 s [opt-env-conf-test] [ [ functionChunk "conf",
  12766. 1307.32 s [opt-env-conf-test] " or ",
  12767. 1307.32 s [opt-env-conf-test] functionChunk "name",
  12768. 1307.32 s [opt-env-conf-test] " was called with no way to load configuration."
  12769. 1307.32 s [opt-env-conf-test] ],
  12770. 1307.32 s [opt-env-conf-test] [ "You can load configuration with ",
  12771. 1307.32 s [opt-env-conf-test] functionChunk "withConfig",
  12772. 1307.32 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  12773. 1307.32 s [opt-env-conf-test] functionChunk "withoutConfig",
  12774. 1307.32 s [opt-env-conf-test] "."
  12775. 1307.32 s [opt-env-conf-test] ]
  12776. 1307.32 s [opt-env-conf-test] ]
  12777. 1307.32 s [opt-env-conf-test] LintErrorManyInfinite ->
  12778. 1307.32 s [opt-env-conf-test] [ [ functionChunk "many",
  12779. 1307.32 s [opt-env-conf-test] " or ",
  12780. 1307.32 s [opt-env-conf-test] functionChunk "some",
  12781. 1307.32 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  12782. 1307.32 s [opt-env-conf-test] ],
  12783. 1307.32 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  12784. 1307.32 s [opt-env-conf-test] ],
  12785. 1307.32 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  12786. 1307.32 s [opt-env-conf-test] ]
  12787. 1307.32 s [opt-env-conf-test]
  12788. 1307.32 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  12789. 1307.32 s [opt-env-conf-test] @@ -66,168 +66,157 @@
  12790. 1307.32 s [opt-env-conf-test] renderLintError LintError {..} =
  12791. 1307.33 s [opt-env-conf-test] concat
  12792. 1307.33 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  12793. 1307.33 s [opt-env-conf-test] case lintErrorMessage of
  12794. 1307.33 s [opt-env-conf-test] LintErrorUndocumented ->
  12795. 1307.33 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  12796. 1307.33 s [opt-env-conf-test] LintErrorEmptySetting ->
  12797. 1307.33 s [opt-env-conf-test] concat
  12798. 1307.33 s [opt-env-conf-test] [ [ [ "This ",
  12799. 1307.33 s [opt-env-conf-test] functionChunk "setting",
  12800. 1307.33 s [opt-env-conf-test] " parses nothing."
  12801. 1307.33 s [opt-env-conf-test] ]
  12802. 1307.33 s [opt-env-conf-test] ],
  12803. 1307.33 s [opt-env-conf-test] [ [ "Add an ",
  12804. 1307.33 s [opt-env-conf-test] functionChunk "argument",
  12805. 1307.33 s [opt-env-conf-test] ", ",
  12806. 1307.33 s [opt-env-conf-test] functionChunk "switch",
  12807. 1307.33 s [opt-env-conf-test] ", ",
  12808. 1307.33 s [opt-env-conf-test] functionChunk "option",
  12809. 1307.33 s [opt-env-conf-test] ", ",
  12810. 1307.33 s [opt-env-conf-test] functionChunk "env",
  12811. 1307.33 s [opt-env-conf-test] ", ",
  12812. 1307.33 s [opt-env-conf-test] functionChunk "conf",
  12813. 1307.33 s [opt-env-conf-test] ", or ",
  12814. 1307.33 s [opt-env-conf-test] functionChunk "value",
  12815. 1307.33 s [opt-env-conf-test] "."
  12816. 1307.33 s [opt-env-conf-test] ]
  12817. 1307.33 s [opt-env-conf-test] ]
  12818. 1307.33 s [opt-env-conf-test] ]
  12819. 1307.33 s [opt-env-conf-test] LintErrorDashInShort ->
  12820. 1307.33 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  12821. 1307.33 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  12822. 1307.33 s [opt-env-conf-test] ]
  12823. 1307.33 s [opt-env-conf-test] LintErrorDashInLong s ->
  12824. 1307.33 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  12825. 1307.33 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  12826. 1307.33 s [opt-env-conf-test] [ "Try ",
  12827. 1307.33 s [opt-env-conf-test] functionChunk "long",
  12828. 1307.33 s [opt-env-conf-test] " ",
  12829. 1307.33 s [opt-env-conf-test] chunk $
  12830. 1307.33 s [opt-env-conf-test] T.pack $
  12831. 1307.33 s [opt-env-conf-test] show $
  12832. 1307.33 s [opt-env-conf-test] let go = \case
  12833. 1307.33 s [opt-env-conf-test] [] -> []
  12834. 1307.33 s [opt-env-conf-test] '-' : cs -> go cs
  12835. 1307.33 s [opt-env-conf-test] c : cs -> c : cs
  12836. 1307.33 s [opt-env-conf-test] in go $ NE.toList s,
  12837. 1307.33 s [opt-env-conf-test] " instead."
  12838. 1307.33 s [opt-env-conf-test] ]
  12839. 1307.33 s [opt-env-conf-test] ]
  12840. 1307.33 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  12841. 1307.33 s [opt-env-conf-test] [ [ functionChunk "argument",
  12842. 1307.33 s [opt-env-conf-test] " has no ",
  12843. 1307.33 s [opt-env-conf-test] functionChunk "reader",
  12844. 1307.33 s [opt-env-conf-test] "."
  12845. 1307.33 s [opt-env-conf-test] ]
  12846. 1307.33 s [opt-env-conf-test] ]
  12847. 1307.33 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  12848. 1307.33 s [opt-env-conf-test] [ [ functionChunk "argument",
  12849. 1307.33 s [opt-env-conf-test] " has no ",
  12850. 1307.33 s [opt-env-conf-test] functionChunk "metavar",
  12851. 1307.33 s [opt-env-conf-test] "."
  12852. 1307.33 s [opt-env-conf-test] ]
  12853. 1307.33 s [opt-env-conf-test] ]
  12854. 1307.33 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  12855. 1307.33 s [opt-env-conf-test] [ [ functionChunk "option",
  12856. 1307.33 s [opt-env-conf-test] " or ",
  12857. 1307.33 s [opt-env-conf-test] functionChunk "name",
  12858. 1307.33 s [opt-env-conf-test] " has no ",
  12859. 1307.33 s [opt-env-conf-test] functionChunk "reader",
  12860. 1307.33 s [opt-env-conf-test] "."
  12861. 1307.33 s [opt-env-conf-test] ]
  12862. 1307.33 s [opt-env-conf-test] ]
  12863. 1307.33 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  12864. 1307.33 s [opt-env-conf-test] [ [ functionChunk "option",
  12865. 1307.33 s [opt-env-conf-test] " has no ",
  12866. 1307.33 s [opt-env-conf-test] functionChunk "long",
  12867. 1307.33 s [opt-env-conf-test] " or ",
  12868. 1307.33 s [opt-env-conf-test] functionChunk "short",
  12869. 1307.33 s [opt-env-conf-test] "."
  12870. 1307.33 s [opt-env-conf-test] ]
  12871. 1307.33 s [opt-env-conf-test] ]
  12872. 1307.33 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  12873. 1307.33 s [opt-env-conf-test] [ [ functionChunk "option",
  12874. 1307.33 s [opt-env-conf-test] " or ",
  12875. 1307.33 s [opt-env-conf-test] functionChunk "name",
  12876. 1307.33 s [opt-env-conf-test] " has no ",
  12877. 1307.33 s [opt-env-conf-test] functionChunk "metavar",
  12878. 1307.33 s [opt-env-conf-test] "."
  12879. 1307.34 s [opt-env-conf-test] ]
  12880. 1307.34 s [opt-env-conf-test] ]
  12881. 1307.34 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  12882. 1307.34 s [opt-env-conf-test] [ [ functionChunk "switch",
  12883. 1307.34 s [opt-env-conf-test] " has no ",
  12884. 1307.34 s [opt-env-conf-test] functionChunk "long",
  12885. 1307.34 s [opt-env-conf-test] " or ",
  12886. 1307.34 s [opt-env-conf-test] functionChunk "short",
  12887. 1307.34 s [opt-env-conf-test] "."
  12888. 1307.34 s [opt-env-conf-test] ]
  12889. 1307.34 s [opt-env-conf-test] ]
  12890. 1307.34 s [opt-env-conf-test] - LintErrorNoOptionOrSwitchForDashed ->
  12891. 1307.34 s [opt-env-conf-test] - [ [ functionChunk "long",
  12892. 1307.34 s [opt-env-conf-test] - " or ",
  12893. 1307.34 s [opt-env-conf-test] - functionChunk "short",
  12894. 1307.34 s [opt-env-conf-test] - " has no ",
  12895. 1307.34 s [opt-env-conf-test] - functionChunk "option",
  12896. 1307.34 s [opt-env-conf-test] - " or ",
  12897. 1307.34 s [opt-env-conf-test] - functionChunk "switch",
  12898. 1307.34 s [opt-env-conf-test] - "."
  12899. 1307.34 s [opt-env-conf-test] - ]
  12900. 1307.34 s [opt-env-conf-test] - ]
  12901. 1307.34 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  12902. 1307.34 s [opt-env-conf-test] [ [ functionChunk "env",
  12903. 1307.34 s [opt-env-conf-test] " or ",
  12904. 1307.34 s [opt-env-conf-test] functionChunk "name",
  12905. 1307.34 s [opt-env-conf-test] " has no ",
  12906. 1307.34 s [opt-env-conf-test] functionChunk "reader",
  12907. 1307.34 s [opt-env-conf-test] "."
  12908. 1307.34 s [opt-env-conf-test] ]
  12909. 1307.34 s [opt-env-conf-test] ]
  12910. 1307.34 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  12911. 1307.34 s [opt-env-conf-test] [ [ functionChunk "env",
  12912. 1307.34 s [opt-env-conf-test] " or ",
  12913. 1307.34 s [opt-env-conf-test] functionChunk "name",
  12914. 1307.34 s [opt-env-conf-test] " has no ",
  12915. 1307.34 s [opt-env-conf-test] functionChunk "metavar",
  12916. 1307.34 s [opt-env-conf-test] "."
  12917. 1307.34 s [opt-env-conf-test] ]
  12918. 1307.34 s [opt-env-conf-test] ]
  12919. 1307.34 s [opt-env-conf-test] LintErrorNoCommands ->
  12920. 1307.99 s [opt-env-conf-test] [ [ functionChunk "commands",
  12921. 1307.99 s [opt-env-conf-test] " was called with an empty list."
  12922. 1307.99 s [opt-env-conf-test] ]
  12923. 1307.99 s [opt-env-conf-test] ]
  12924. 1307.99 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  12925. 1307.99 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  12926. 1307.99 s [opt-env-conf-test] " was called with an unknown command: ",
  12927. 1307.99 s [opt-env-conf-test] commandChunk c
  12928. 1307.99 s [opt-env-conf-test] ]
  12929. 1307.99 s [opt-env-conf-test] ]
  12930. 1307.99 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  12931. 1307.99 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  12932. 1307.99 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  12933. 1307.99 s [opt-env-conf-test] ]
  12934. 1307.99 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  12935. 1307.99 s [opt-env-conf-test] [ [ functionChunk "conf",
  12936. 1307.99 s [opt-env-conf-test] " or ",
  12937. 1307.99 s [opt-env-conf-test] functionChunk "name",
  12938. 1308.00 s [opt-env-conf-test] " was called with no way to load configuration."
  12939. 1308.00 s [opt-env-conf-test] ],
  12940. 1308.00 s [opt-env-conf-test] [ "You can load configuration with ",
  12941. 1308.00 s [opt-env-conf-test] functionChunk "withConfig",
  12942. 1308.00 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  12943. 1308.00 s [opt-env-conf-test] functionChunk "withoutConfig",
  12944. 1308.00 s [opt-env-conf-test] "."
  12945. 1308.00 s [opt-env-conf-test] ]
  12946. 1308.00 s [opt-env-conf-test] ]
  12947. 1308.00 s [opt-env-conf-test] LintErrorManyInfinite ->
  12948. 1308.00 s [opt-env-conf-test] [ [ functionChunk "many",
  12949. 1308.00 s [opt-env-conf-test] " or ",
  12950. 1308.00 s [opt-env-conf-test] functionChunk "some",
  12951. 1308.00 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  12952. 1308.00 s [opt-env-conf-test] ],
  12953. 1308.00 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  12954. 1308.00 s [opt-env-conf-test] ],
  12955. 1308.00 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  12956. 1308.00 s [opt-env-conf-test] ]
  12957. 1308.00 s [opt-env-conf-test]
  12958. 1308.00 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  12959. 1308.00 s [opt-env-conf-test] @@ -66,168 +66,159 @@
  12960. 1308.00 s [opt-env-conf-test] renderLintError LintError {..} =
  12961. 1308.00 s [opt-env-conf-test] concat
  12962. 1308.00 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  12963. 1308.00 s [opt-env-conf-test] case lintErrorMessage of
  12964. 1308.00 s [opt-env-conf-test] LintErrorUndocumented ->
  12965. 1308.00 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  12966. 1308.00 s [opt-env-conf-test] LintErrorEmptySetting ->
  12967. 1308.00 s [opt-env-conf-test] concat
  12968. 1308.00 s [opt-env-conf-test] [ [ [ "This ",
  12969. 1308.00 s [opt-env-conf-test] functionChunk "setting",
  12970. 1308.00 s [opt-env-conf-test] " parses nothing."
  12971. 1308.00 s [opt-env-conf-test] ]
  12972. 1308.01 s [opt-env-conf-test] ],
  12973. 1308.01 s [opt-env-conf-test] [ [ "Add an ",
  12974. 1308.01 s [opt-env-conf-test] functionChunk "argument",
  12975. 1308.01 s [opt-env-conf-test] ", ",
  12976. 1308.01 s [opt-env-conf-test] functionChunk "switch",
  12977. 1308.01 s [opt-env-conf-test] ", ",
  12978. 1308.01 s [opt-env-conf-test] functionChunk "option",
  12979. 1308.01 s [opt-env-conf-test] ", ",
  12980. 1308.01 s [opt-env-conf-test] functionChunk "env",
  12981. 1308.01 s [opt-env-conf-test] ", ",
  12982. 1308.01 s [opt-env-conf-test] functionChunk "conf",
  12983. 1308.01 s [opt-env-conf-test] ", or ",
  12984. 1308.01 s [opt-env-conf-test] functionChunk "value",
  12985. 1308.01 s [opt-env-conf-test] "."
  12986. 1308.01 s [opt-env-conf-test] ]
  12987. 1308.01 s [opt-env-conf-test] ]
  12988. 1308.01 s [opt-env-conf-test] ]
  12989. 1308.01 s [opt-env-conf-test] LintErrorDashInShort ->
  12990. 1308.01 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  12991. 1308.01 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  12992. 1308.01 s [opt-env-conf-test] ]
  12993. 1308.01 s [opt-env-conf-test] LintErrorDashInLong s ->
  12994. 1308.01 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  12995. 1308.01 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  12996. 1308.01 s [opt-env-conf-test] [ "Try ",
  12997. 1308.01 s [opt-env-conf-test] functionChunk "long",
  12998. 1308.01 s [opt-env-conf-test] " ",
  12999. 1308.01 s [opt-env-conf-test] chunk $
  13000. 1308.01 s [opt-env-conf-test] T.pack $
  13001. 1308.01 s [opt-env-conf-test] show $
  13002. 1308.01 s [opt-env-conf-test] let go = \case
  13003. 1308.01 s [opt-env-conf-test] [] -> []
  13004. 1308.01 s [opt-env-conf-test] '-' : cs -> go cs
  13005. 1308.01 s [opt-env-conf-test] c : cs -> c : cs
  13006. 1308.01 s [opt-env-conf-test] in go $ NE.toList s,
  13007. 1308.01 s [opt-env-conf-test] " instead."
  13008. 1308.01 s [opt-env-conf-test] ]
  13009. 1308.02 s [opt-env-conf-test] ]
  13010. 1308.02 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  13011. 1308.02 s [opt-env-conf-test] [ [ functionChunk "argument",
  13012. 1308.02 s [opt-env-conf-test] " has no ",
  13013. 1308.02 s [opt-env-conf-test] functionChunk "reader",
  13014. 1308.02 s [opt-env-conf-test] "."
  13015. 1308.02 s [opt-env-conf-test] ]
  13016. 1308.02 s [opt-env-conf-test] ]
  13017. 1308.02 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  13018. 1308.02 s [opt-env-conf-test] [ [ functionChunk "argument",
  13019. 1308.02 s [opt-env-conf-test] " has no ",
  13020. 1308.02 s [opt-env-conf-test] functionChunk "metavar",
  13021. 1308.02 s [opt-env-conf-test] "."
  13022. 1308.02 s [opt-env-conf-test] ]
  13023. 1308.02 s [opt-env-conf-test] ]
  13024. 1308.02 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  13025. 1308.02 s [opt-env-conf-test] [ [ functionChunk "option",
  13026. 1308.02 s [opt-env-conf-test] " or ",
  13027. 1308.02 s [opt-env-conf-test] functionChunk "name",
  13028. 1308.02 s [opt-env-conf-test] " has no ",
  13029. 1308.02 s [opt-env-conf-test] functionChunk "reader",
  13030. 1308.02 s [opt-env-conf-test] "."
  13031. 1308.02 s [opt-env-conf-test] ]
  13032. 1308.02 s [opt-env-conf-test] ]
  13033. 1308.02 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  13034. 1308.02 s [opt-env-conf-test] [ [ functionChunk "option",
  13035. 1308.02 s [opt-env-conf-test] " has no ",
  13036. 1308.02 s [opt-env-conf-test] functionChunk "long",
  13037. 1308.02 s [opt-env-conf-test] " or ",
  13038. 1308.02 s [opt-env-conf-test] functionChunk "short",
  13039. 1308.02 s [opt-env-conf-test] "."
  13040. 1308.02 s [opt-env-conf-test] ]
  13041. 1308.02 s [opt-env-conf-test] ]
  13042. 1308.02 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  13043. 1308.02 s [opt-env-conf-test] [ [ functionChunk "option",
  13044. 1308.02 s [opt-env-conf-test] " or ",
  13045. 1308.02 s [opt-env-conf-test] functionChunk "name",
  13046. 1308.02 s [opt-env-conf-test] " has no ",
  13047. 1308.02 s [opt-env-conf-test] functionChunk "metavar",
  13048. 1308.02 s [opt-env-conf-test] "."
  13049. 1308.02 s [opt-env-conf-test] ]
  13050. 1308.02 s [opt-env-conf-test] ]
  13051. 1308.02 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  13052. 1308.02 s [opt-env-conf-test] [ [ functionChunk "switch",
  13053. 1308.02 s [opt-env-conf-test] " has no ",
  13054. 1308.02 s [opt-env-conf-test] functionChunk "long",
  13055. 1308.02 s [opt-env-conf-test] " or ",
  13056. 1308.02 s [opt-env-conf-test] functionChunk "short",
  13057. 1308.02 s [opt-env-conf-test] "."
  13058. 1308.03 s [opt-env-conf-test] ]
  13059. 1308.03 s [opt-env-conf-test] ]
  13060. 1308.03 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  13061. 1308.03 s [opt-env-conf-test] [ [ functionChunk "long",
  13062. 1308.03 s [opt-env-conf-test] " or ",
  13063. 1308.03 s [opt-env-conf-test] functionChunk "short",
  13064. 1308.03 s [opt-env-conf-test] " has no ",
  13065. 1308.03 s [opt-env-conf-test] functionChunk "option",
  13066. 1308.03 s [opt-env-conf-test] " or ",
  13067. 1308.03 s [opt-env-conf-test] functionChunk "switch",
  13068. 1308.03 s [opt-env-conf-test] "."
  13069. 1308.03 s [opt-env-conf-test] ]
  13070. 1308.03 s [opt-env-conf-test] ]
  13071. 1308.03 s [opt-env-conf-test] - LintErrorNoReaderForEnvVar ->
  13072. 1308.03 s [opt-env-conf-test] - [ [ functionChunk "env",
  13073. 1308.03 s [opt-env-conf-test] - " or ",
  13074. 1308.03 s [opt-env-conf-test] - functionChunk "name",
  13075. 1308.03 s [opt-env-conf-test] - " has no ",
  13076. 1308.03 s [opt-env-conf-test] - functionChunk "reader",
  13077. 1308.03 s [opt-env-conf-test] - "."
  13078. 1308.03 s [opt-env-conf-test] - ]
  13079. 1308.03 s [opt-env-conf-test] - ]
  13080. 1308.03 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  13081. 1308.03 s [opt-env-conf-test] [ [ functionChunk "env",
  13082. 1308.03 s [opt-env-conf-test] " or ",
  13083. 1308.03 s [opt-env-conf-test] functionChunk "name",
  13084. 1308.03 s [opt-env-conf-test] " has no ",
  13085. 1308.03 s [opt-env-conf-test] functionChunk "metavar",
  13086. 1308.03 s [opt-env-conf-test] "."
  13087. 1308.03 s [opt-env-conf-test] ]
  13088. 1308.03 s [opt-env-conf-test] ]
  13089. 1308.03 s [opt-env-conf-test] LintErrorNoCommands ->
  13090. 1308.71 s [opt-env-conf-test] [ [ functionChunk "commands",
  13091. 1308.91 s [opt-env-conf-test] " was called with an empty list."
  13092. 1308.91 s [opt-env-conf-test] ]
  13093. 1308.91 s [opt-env-conf-test] ]
  13094. 1308.91 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  13095. 1308.91 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  13096. 1308.91 s [opt-env-conf-test] " was called with an unknown command: ",
  13097. 1308.91 s [opt-env-conf-test] commandChunk c
  13098. 1308.91 s [opt-env-conf-test] ]
  13099. 1308.91 s [opt-env-conf-test] ]
  13100. 1308.91 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  13101. 1308.91 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  13102. 1308.91 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  13103. 1308.91 s [opt-env-conf-test] ]
  13104. 1308.91 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  13105. 1308.91 s [opt-env-conf-test] [ [ functionChunk "conf",
  13106. 1308.91 s [opt-env-conf-test] " or ",
  13107. 1308.91 s [opt-env-conf-test] functionChunk "name",
  13108. 1308.91 s [opt-env-conf-test] " was called with no way to load configuration."
  13109. 1308.91 s [opt-env-conf-test] ],
  13110. 1308.91 s [opt-env-conf-test] [ "You can load configuration with ",
  13111. 1308.91 s [opt-env-conf-test] functionChunk "withConfig",
  13112. 1308.91 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  13113. 1308.91 s [opt-env-conf-test] functionChunk "withoutConfig",
  13114. 1308.91 s [opt-env-conf-test] "."
  13115. 1308.91 s [opt-env-conf-test] ]
  13116. 1308.91 s [opt-env-conf-test] ]
  13117. 1308.91 s [opt-env-conf-test] LintErrorManyInfinite ->
  13118. 1308.91 s [opt-env-conf-test] [ [ functionChunk "many",
  13119. 1308.91 s [opt-env-conf-test] " or ",
  13120. 1308.91 s [opt-env-conf-test] functionChunk "some",
  13121. 1308.91 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  13122. 1308.91 s [opt-env-conf-test] ],
  13123. 1308.91 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  13124. 1308.91 s [opt-env-conf-test] ],
  13125. 1308.92 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  13126. 1308.92 s [opt-env-conf-test] ]
  13127. 1308.92 s [opt-env-conf-test]
  13128. 1308.92 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  13129. 1308.92 s [opt-env-conf-test] @@ -66,168 +66,159 @@
  13130. 1308.92 s [opt-env-conf-test] renderLintError LintError {..} =
  13131. 1308.92 s [opt-env-conf-test] concat
  13132. 1308.92 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  13133. 1308.92 s [opt-env-conf-test] case lintErrorMessage of
  13134. 1308.92 s [opt-env-conf-test] LintErrorUndocumented ->
  13135. 1308.92 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  13136. 1308.92 s [opt-env-conf-test] LintErrorEmptySetting ->
  13137. 1308.92 s [opt-env-conf-test] concat
  13138. 1308.92 s [opt-env-conf-test] [ [ [ "This ",
  13139. 1308.92 s [opt-env-conf-test] functionChunk "setting",
  13140. 1308.92 s [opt-env-conf-test] " parses nothing."
  13141. 1308.92 s [opt-env-conf-test] ]
  13142. 1308.92 s [opt-env-conf-test] ],
  13143. 1308.92 s [opt-env-conf-test] [ [ "Add an ",
  13144. 1308.92 s [opt-env-conf-test] functionChunk "argument",
  13145. 1308.92 s [opt-env-conf-test] ", ",
  13146. 1308.92 s [opt-env-conf-test] functionChunk "switch",
  13147. 1308.92 s [opt-env-conf-test] ", ",
  13148. 1308.92 s [opt-env-conf-test] functionChunk "option",
  13149. 1308.92 s [opt-env-conf-test] ", ",
  13150. 1308.92 s [opt-env-conf-test] functionChunk "env",
  13151. 1308.92 s [opt-env-conf-test] ", ",
  13152. 1308.92 s [opt-env-conf-test] functionChunk "conf",
  13153. 1308.92 s [opt-env-conf-test] ", or ",
  13154. 1308.92 s [opt-env-conf-test] functionChunk "value",
  13155. 1308.92 s [opt-env-conf-test] "."
  13156. 1308.92 s [opt-env-conf-test] ]
  13157. 1308.92 s [opt-env-conf-test] ]
  13158. 1308.92 s [opt-env-conf-test] ]
  13159. 1308.92 s [opt-env-conf-test] LintErrorDashInShort ->
  13160. 1308.92 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  13161. 1308.92 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  13162. 1308.92 s [opt-env-conf-test] ]
  13163. 1308.92 s [opt-env-conf-test] LintErrorDashInLong s ->
  13164. 1308.92 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  13165. 1308.92 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  13166. 1308.92 s [opt-env-conf-test] [ "Try ",
  13167. 1308.92 s [opt-env-conf-test] functionChunk "long",
  13168. 1308.92 s [opt-env-conf-test] " ",
  13169. 1308.92 s [opt-env-conf-test] chunk $
  13170. 1308.92 s [opt-env-conf-test] T.pack $
  13171. 1308.92 s [opt-env-conf-test] show $
  13172. 1308.92 s [opt-env-conf-test] let go = \case
  13173. 1308.92 s [opt-env-conf-test] [] -> []
  13174. 1308.92 s [opt-env-conf-test] '-' : cs -> go cs
  13175. 1308.92 s [opt-env-conf-test] c : cs -> c : cs
  13176. 1308.92 s [opt-env-conf-test] in go $ NE.toList s,
  13177. 1308.92 s [opt-env-conf-test] " instead."
  13178. 1308.92 s [opt-env-conf-test] ]
  13179. 1308.92 s [opt-env-conf-test] ]
  13180. 1308.92 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  13181. 1308.92 s [opt-env-conf-test] [ [ functionChunk "argument",
  13182. 1308.92 s [opt-env-conf-test] " has no ",
  13183. 1308.92 s [opt-env-conf-test] functionChunk "reader",
  13184. 1308.92 s [opt-env-conf-test] "."
  13185. 1308.92 s [opt-env-conf-test] ]
  13186. 1308.92 s [opt-env-conf-test] ]
  13187. 1308.92 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  13188. 1308.92 s [opt-env-conf-test] [ [ functionChunk "argument",
  13189. 1308.92 s [opt-env-conf-test] " has no ",
  13190. 1308.92 s [opt-env-conf-test] functionChunk "metavar",
  13191. 1308.92 s [opt-env-conf-test] "."
  13192. 1308.92 s [opt-env-conf-test] ]
  13193. 1308.92 s [opt-env-conf-test] ]
  13194. 1308.92 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  13195. 1308.92 s [opt-env-conf-test] [ [ functionChunk "option",
  13196. 1308.92 s [opt-env-conf-test] " or ",
  13197. 1308.92 s [opt-env-conf-test] functionChunk "name",
  13198. 1308.92 s [opt-env-conf-test] " has no ",
  13199. 1308.92 s [opt-env-conf-test] functionChunk "reader",
  13200. 1308.92 s [opt-env-conf-test] "."
  13201. 1308.93 s [opt-env-conf-test] ]
  13202. 1308.93 s [opt-env-conf-test] ]
  13203. 1308.93 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  13204. 1308.93 s [opt-env-conf-test] [ [ functionChunk "option",
  13205. 1308.93 s [opt-env-conf-test] " has no ",
  13206. 1308.93 s [opt-env-conf-test] functionChunk "long",
  13207. 1308.93 s [opt-env-conf-test] " or ",
  13208. 1308.93 s [opt-env-conf-test] functionChunk "short",
  13209. 1308.93 s [opt-env-conf-test] "."
  13210. 1308.93 s [opt-env-conf-test] ]
  13211. 1308.93 s [opt-env-conf-test] ]
  13212. 1308.93 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  13213. 1308.93 s [opt-env-conf-test] [ [ functionChunk "option",
  13214. 1308.93 s [opt-env-conf-test] " or ",
  13215. 1308.93 s [opt-env-conf-test] functionChunk "name",
  13216. 1308.93 s [opt-env-conf-test] " has no ",
  13217. 1308.93 s [opt-env-conf-test] functionChunk "metavar",
  13218. 1308.93 s [opt-env-conf-test] "."
  13219. 1308.93 s [opt-env-conf-test] ]
  13220. 1308.93 s [opt-env-conf-test] ]
  13221. 1308.93 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  13222. 1308.93 s [opt-env-conf-test] [ [ functionChunk "switch",
  13223. 1308.93 s [opt-env-conf-test] " has no ",
  13224. 1308.93 s [opt-env-conf-test] functionChunk "long",
  13225. 1308.93 s [opt-env-conf-test] " or ",
  13226. 1308.93 s [opt-env-conf-test] functionChunk "short",
  13227. 1308.93 s [opt-env-conf-test] "."
  13228. 1308.93 s [opt-env-conf-test] ]
  13229. 1308.93 s [opt-env-conf-test] ]
  13230. 1308.93 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  13231. 1308.93 s [opt-env-conf-test] [ [ functionChunk "long",
  13232. 1308.93 s [opt-env-conf-test] " or ",
  13233. 1308.93 s [opt-env-conf-test] functionChunk "short",
  13234. 1308.93 s [opt-env-conf-test] " has no ",
  13235. 1308.93 s [opt-env-conf-test] functionChunk "option",
  13236. 1308.93 s [opt-env-conf-test] " or ",
  13237. 1308.93 s [opt-env-conf-test] functionChunk "switch",
  13238. 1308.93 s [opt-env-conf-test] "."
  13239. 1308.93 s [opt-env-conf-test] ]
  13240. 1308.93 s [opt-env-conf-test] ]
  13241. 1308.93 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  13242. 1308.93 s [opt-env-conf-test] [ [ functionChunk "env",
  13243. 1308.93 s [opt-env-conf-test] " or ",
  13244. 1308.93 s [opt-env-conf-test] functionChunk "name",
  13245. 1308.93 s [opt-env-conf-test] " has no ",
  13246. 1308.93 s [opt-env-conf-test] functionChunk "reader",
  13247. 1308.93 s [opt-env-conf-test] "."
  13248. 1308.93 s [opt-env-conf-test] ]
  13249. 1308.93 s [opt-env-conf-test] ]
  13250. 1308.93 s [opt-env-conf-test] - LintErrorNoMetavarForEnvVar ->
  13251. 1308.93 s [opt-env-conf-test] - [ [ functionChunk "env",
  13252. 1308.93 s [opt-env-conf-test] - " or ",
  13253. 1308.93 s [opt-env-conf-test] - functionChunk "name",
  13254. 1308.93 s [opt-env-conf-test] - " has no ",
  13255. 1308.93 s [opt-env-conf-test] - functionChunk "metavar",
  13256. 1308.93 s [opt-env-conf-test] - "."
  13257. 1308.93 s [opt-env-conf-test] - ]
  13258. 1308.93 s [opt-env-conf-test] - ]
  13259. 1308.93 s [opt-env-conf-test] LintErrorNoCommands ->
  13260. 1309.62 s [opt-env-conf-test] [ [ functionChunk "commands",
  13261. 1309.62 s [opt-env-conf-test] " was called with an empty list."
  13262. 1309.62 s [opt-env-conf-test] ]
  13263. 1309.62 s [opt-env-conf-test] ]
  13264. 1309.62 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  13265. 1309.62 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  13266. 1309.62 s [opt-env-conf-test] " was called with an unknown command: ",
  13267. 1309.62 s [opt-env-conf-test] commandChunk c
  13268. 1309.62 s [opt-env-conf-test] ]
  13269. 1309.62 s [opt-env-conf-test] ]
  13270. 1309.62 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  13271. 1309.62 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  13272. 1309.62 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  13273. 1309.62 s [opt-env-conf-test] ]
  13274. 1309.62 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  13275. 1309.62 s [opt-env-conf-test] [ [ functionChunk "conf",
  13276. 1309.62 s [opt-env-conf-test] " or ",
  13277. 1309.62 s [opt-env-conf-test] functionChunk "name",
  13278. 1309.62 s [opt-env-conf-test] " was called with no way to load configuration."
  13279. 1309.62 s [opt-env-conf-test] ],
  13280. 1309.62 s [opt-env-conf-test] [ "You can load configuration with ",
  13281. 1309.62 s [opt-env-conf-test] functionChunk "withConfig",
  13282. 1309.62 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  13283. 1309.62 s [opt-env-conf-test] functionChunk "withoutConfig",
  13284. 1309.62 s [opt-env-conf-test] "."
  13285. 1309.62 s [opt-env-conf-test] ]
  13286. 1309.62 s [opt-env-conf-test] ]
  13287. 1309.63 s [opt-env-conf-test] LintErrorManyInfinite ->
  13288. 1309.63 s [opt-env-conf-test] [ [ functionChunk "many",
  13289. 1309.63 s [opt-env-conf-test] " or ",
  13290. 1309.63 s [opt-env-conf-test] functionChunk "some",
  13291. 1309.63 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  13292. 1309.63 s [opt-env-conf-test] ],
  13293. 1309.63 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  13294. 1309.63 s [opt-env-conf-test] ],
  13295. 1309.63 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  13296. 1309.63 s [opt-env-conf-test] ]
  13297. 1309.63 s [opt-env-conf-test]
  13298. 1309.63 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  13299. 1309.63 s [opt-env-conf-test] @@ -66,168 +66,163 @@
  13300. 1309.63 s [opt-env-conf-test] renderLintError LintError {..} =
  13301. 1309.63 s [opt-env-conf-test] concat
  13302. 1309.63 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  13303. 1309.63 s [opt-env-conf-test] case lintErrorMessage of
  13304. 1309.63 s [opt-env-conf-test] LintErrorUndocumented ->
  13305. 1309.63 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  13306. 1309.63 s [opt-env-conf-test] LintErrorEmptySetting ->
  13307. 1309.63 s [opt-env-conf-test] concat
  13308. 1309.63 s [opt-env-conf-test] [ [ [ "This ",
  13309. 1309.63 s [opt-env-conf-test] functionChunk "setting",
  13310. 1309.63 s [opt-env-conf-test] " parses nothing."
  13311. 1309.63 s [opt-env-conf-test] ]
  13312. 1309.63 s [opt-env-conf-test] ],
  13313. 1309.63 s [opt-env-conf-test] [ [ "Add an ",
  13314. 1309.63 s [opt-env-conf-test] functionChunk "argument",
  13315. 1309.63 s [opt-env-conf-test] ", ",
  13316. 1309.63 s [opt-env-conf-test] functionChunk "switch",
  13317. 1309.63 s [opt-env-conf-test] ", ",
  13318. 1309.63 s [opt-env-conf-test] functionChunk "option",
  13319. 1309.63 s [opt-env-conf-test] ", ",
  13320. 1309.63 s [opt-env-conf-test] functionChunk "env",
  13321. 1309.63 s [opt-env-conf-test] ", ",
  13322. 1309.63 s [opt-env-conf-test] functionChunk "conf",
  13323. 1309.64 s [opt-env-conf-test] ", or ",
  13324. 1309.64 s [opt-env-conf-test] functionChunk "value",
  13325. 1309.64 s [opt-env-conf-test] "."
  13326. 1309.64 s [opt-env-conf-test] ]
  13327. 1309.64 s [opt-env-conf-test] ]
  13328. 1309.64 s [opt-env-conf-test] ]
  13329. 1309.64 s [opt-env-conf-test] LintErrorDashInShort ->
  13330. 1309.64 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  13331. 1309.64 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  13332. 1309.64 s [opt-env-conf-test] ]
  13333. 1309.64 s [opt-env-conf-test] LintErrorDashInLong s ->
  13334. 1309.64 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  13335. 1309.64 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  13336. 1309.64 s [opt-env-conf-test] [ "Try ",
  13337. 1309.64 s [opt-env-conf-test] functionChunk "long",
  13338. 1309.64 s [opt-env-conf-test] " ",
  13339. 1309.64 s [opt-env-conf-test] chunk $
  13340. 1309.64 s [opt-env-conf-test] T.pack $
  13341. 1309.64 s [opt-env-conf-test] show $
  13342. 1309.64 s [opt-env-conf-test] let go = \case
  13343. 1309.64 s [opt-env-conf-test] [] -> []
  13344. 1309.64 s [opt-env-conf-test] '-' : cs -> go cs
  13345. 1309.64 s [opt-env-conf-test] c : cs -> c : cs
  13346. 1309.64 s [opt-env-conf-test] in go $ NE.toList s,
  13347. 1309.64 s [opt-env-conf-test] " instead."
  13348. 1309.64 s [opt-env-conf-test] ]
  13349. 1309.64 s [opt-env-conf-test] ]
  13350. 1309.64 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  13351. 1309.64 s [opt-env-conf-test] [ [ functionChunk "argument",
  13352. 1309.64 s [opt-env-conf-test] " has no ",
  13353. 1309.64 s [opt-env-conf-test] functionChunk "reader",
  13354. 1309.64 s [opt-env-conf-test] "."
  13355. 1309.64 s [opt-env-conf-test] ]
  13356. 1309.64 s [opt-env-conf-test] ]
  13357. 1309.64 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  13358. 1309.64 s [opt-env-conf-test] [ [ functionChunk "argument",
  13359. 1309.64 s [opt-env-conf-test] " has no ",
  13360. 1309.64 s [opt-env-conf-test] functionChunk "metavar",
  13361. 1309.64 s [opt-env-conf-test] "."
  13362. 1309.64 s [opt-env-conf-test] ]
  13363. 1309.64 s [opt-env-conf-test] ]
  13364. 1309.64 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  13365. 1309.64 s [opt-env-conf-test] [ [ functionChunk "option",
  13366. 1309.64 s [opt-env-conf-test] " or ",
  13367. 1309.64 s [opt-env-conf-test] functionChunk "name",
  13368. 1309.65 s [opt-env-conf-test] " has no ",
  13369. 1309.65 s [opt-env-conf-test] functionChunk "reader",
  13370. 1309.65 s [opt-env-conf-test] "."
  13371. 1309.65 s [opt-env-conf-test] ]
  13372. 1309.65 s [opt-env-conf-test] ]
  13373. 1309.65 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  13374. 1309.65 s [opt-env-conf-test] [ [ functionChunk "option",
  13375. 1309.65 s [opt-env-conf-test] " has no ",
  13376. 1309.65 s [opt-env-conf-test] functionChunk "long",
  13377. 1309.65 s [opt-env-conf-test] " or ",
  13378. 1309.65 s [opt-env-conf-test] functionChunk "short",
  13379. 1309.65 s [opt-env-conf-test] "."
  13380. 1309.65 s [opt-env-conf-test] ]
  13381. 1309.65 s [opt-env-conf-test] ]
  13382. 1309.65 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  13383. 1309.65 s [opt-env-conf-test] [ [ functionChunk "option",
  13384. 1309.65 s [opt-env-conf-test] " or ",
  13385. 1309.65 s [opt-env-conf-test] functionChunk "name",
  13386. 1309.65 s [opt-env-conf-test] " has no ",
  13387. 1309.65 s [opt-env-conf-test] functionChunk "metavar",
  13388. 1309.65 s [opt-env-conf-test] "."
  13389. 1309.65 s [opt-env-conf-test] ]
  13390. 1309.65 s [opt-env-conf-test] ]
  13391. 1309.65 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  13392. 1309.65 s [opt-env-conf-test] [ [ functionChunk "switch",
  13393. 1309.65 s [opt-env-conf-test] " has no ",
  13394. 1309.65 s [opt-env-conf-test] functionChunk "long",
  13395. 1309.65 s [opt-env-conf-test] " or ",
  13396. 1309.65 s [opt-env-conf-test] functionChunk "short",
  13397. 1309.65 s [opt-env-conf-test] "."
  13398. 1309.65 s [opt-env-conf-test] ]
  13399. 1309.65 s [opt-env-conf-test] ]
  13400. 1309.65 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  13401. 1309.65 s [opt-env-conf-test] [ [ functionChunk "long",
  13402. 1309.65 s [opt-env-conf-test] " or ",
  13403. 1309.65 s [opt-env-conf-test] functionChunk "short",
  13404. 1309.65 s [opt-env-conf-test] " has no ",
  13405. 1309.65 s [opt-env-conf-test] functionChunk "option",
  13406. 1309.65 s [opt-env-conf-test] " or ",
  13407. 1309.65 s [opt-env-conf-test] functionChunk "switch",
  13408. 1309.65 s [opt-env-conf-test] "."
  13409. 1309.65 s [opt-env-conf-test] ]
  13410. 1309.65 s [opt-env-conf-test] ]
  13411. 1309.65 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  13412. 1309.65 s [opt-env-conf-test] [ [ functionChunk "env",
  13413. 1309.65 s [opt-env-conf-test] " or ",
  13414. 1309.65 s [opt-env-conf-test] functionChunk "name",
  13415. 1309.65 s [opt-env-conf-test] " has no ",
  13416. 1309.65 s [opt-env-conf-test] functionChunk "reader",
  13417. 1309.65 s [opt-env-conf-test] "."
  13418. 1309.65 s [opt-env-conf-test] ]
  13419. 1309.65 s [opt-env-conf-test] ]
  13420. 1309.65 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  13421. 1309.65 s [opt-env-conf-test] [ [ functionChunk "env",
  13422. 1309.65 s [opt-env-conf-test] " or ",
  13423. 1309.65 s [opt-env-conf-test] functionChunk "name",
  13424. 1309.65 s [opt-env-conf-test] " has no ",
  13425. 1309.65 s [opt-env-conf-test] functionChunk "metavar",
  13426. 1309.65 s [opt-env-conf-test] "."
  13427. 1309.65 s [opt-env-conf-test] ]
  13428. 1309.65 s [opt-env-conf-test] ]
  13429. 1309.65 s [opt-env-conf-test] - LintErrorNoCommands ->
  13430. 1309.65 s [opt-env-conf-test] - [ [ functionChunk "commands",
  13431. 1309.82 s [opt-env-conf-test] - " was called with an empty list."
  13432. 1309.82 s [opt-env-conf-test] - ]
  13433. 1309.82 s [opt-env-conf-test] - ]
  13434. 1309.82 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  13435. 1309.83 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  13436. 1309.83 s [opt-env-conf-test] " was called with an unknown command: ",
  13437. 1309.83 s [opt-env-conf-test] commandChunk c
  13438. 1309.83 s [opt-env-conf-test] ]
  13439. 1309.83 s [opt-env-conf-test] ]
  13440. 1309.83 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  13441. 1309.83 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  13442. 1309.83 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  13443. 1309.83 s [opt-env-conf-test] ]
  13444. 1309.83 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  13445. 1309.83 s [opt-env-conf-test] [ [ functionChunk "conf",
  13446. 1309.83 s [opt-env-conf-test] " or ",
  13447. 1309.83 s [opt-env-conf-test] functionChunk "name",
  13448. 1309.83 s [opt-env-conf-test] " was called with no way to load configuration."
  13449. 1309.83 s [opt-env-conf-test] ],
  13450. 1309.83 s [opt-env-conf-test] [ "You can load configuration with ",
  13451. 1309.83 s [opt-env-conf-test] functionChunk "withConfig",
  13452. 1309.83 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  13453. 1309.83 s [opt-env-conf-test] functionChunk "withoutConfig",
  13454. 1309.83 s [opt-env-conf-test] "."
  13455. 1309.83 s [opt-env-conf-test] ]
  13456. 1309.83 s [opt-env-conf-test] ]
  13457. 1309.83 s [opt-env-conf-test] LintErrorManyInfinite ->
  13458. 1309.83 s [opt-env-conf-test] [ [ functionChunk "many",
  13459. 1309.83 s [opt-env-conf-test] " or ",
  13460. 1309.83 s [opt-env-conf-test] functionChunk "some",
  13461. 1309.83 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  13462. 1309.83 s [opt-env-conf-test] ],
  13463. 1309.83 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  13464. 1309.83 s [opt-env-conf-test] ],
  13465. 1309.83 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  13466. 1309.83 s [opt-env-conf-test] ]
  13467. 1309.83 s [opt-env-conf-test]
  13468. 1309.84 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  13469. 1309.84 s [opt-env-conf-test] @@ -66,168 +66,162 @@
  13470. 1309.84 s [opt-env-conf-test] renderLintError LintError {..} =
  13471. 1309.84 s [opt-env-conf-test] concat
  13472. 1309.84 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  13473. 1309.84 s [opt-env-conf-test] case lintErrorMessage of
  13474. 1309.84 s [opt-env-conf-test] LintErrorUndocumented ->
  13475. 1309.84 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  13476. 1309.84 s [opt-env-conf-test] LintErrorEmptySetting ->
  13477. 1309.84 s [opt-env-conf-test] concat
  13478. 1309.84 s [opt-env-conf-test] [ [ [ "This ",
  13479. 1309.84 s [opt-env-conf-test] functionChunk "setting",
  13480. 1309.84 s [opt-env-conf-test] " parses nothing."
  13481. 1309.84 s [opt-env-conf-test] ]
  13482. 1309.84 s [opt-env-conf-test] ],
  13483. 1309.84 s [opt-env-conf-test] [ [ "Add an ",
  13484. 1309.84 s [opt-env-conf-test] functionChunk "argument",
  13485. 1309.84 s [opt-env-conf-test] ", ",
  13486. 1309.84 s [opt-env-conf-test] functionChunk "switch",
  13487. 1309.84 s [opt-env-conf-test] ", ",
  13488. 1309.84 s [opt-env-conf-test] functionChunk "option",
  13489. 1309.84 s [opt-env-conf-test] ", ",
  13490. 1309.84 s [opt-env-conf-test] functionChunk "env",
  13491. 1309.84 s [opt-env-conf-test] ", ",
  13492. 1309.84 s [opt-env-conf-test] functionChunk "conf",
  13493. 1309.84 s [opt-env-conf-test] ", or ",
  13494. 1309.84 s [opt-env-conf-test] functionChunk "value",
  13495. 1309.84 s [opt-env-conf-test] "."
  13496. 1309.84 s [opt-env-conf-test] ]
  13497. 1309.84 s [opt-env-conf-test] ]
  13498. 1309.84 s [opt-env-conf-test] ]
  13499. 1309.84 s [opt-env-conf-test] LintErrorDashInShort ->
  13500. 1309.84 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  13501. 1309.84 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  13502. 1309.84 s [opt-env-conf-test] ]
  13503. 1309.84 s [opt-env-conf-test] LintErrorDashInLong s ->
  13504. 1309.84 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  13505. 1309.84 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  13506. 1309.84 s [opt-env-conf-test] [ "Try ",
  13507. 1309.85 s [opt-env-conf-test] functionChunk "long",
  13508. 1309.85 s [opt-env-conf-test] " ",
  13509. 1309.85 s [opt-env-conf-test] chunk $
  13510. 1309.85 s [opt-env-conf-test] T.pack $
  13511. 1309.85 s [opt-env-conf-test] show $
  13512. 1309.85 s [opt-env-conf-test] let go = \case
  13513. 1309.85 s [opt-env-conf-test] [] -> []
  13514. 1309.85 s [opt-env-conf-test] '-' : cs -> go cs
  13515. 1309.85 s [opt-env-conf-test] c : cs -> c : cs
  13516. 1309.85 s [opt-env-conf-test] in go $ NE.toList s,
  13517. 1309.85 s [opt-env-conf-test] " instead."
  13518. 1309.85 s [opt-env-conf-test] ]
  13519. 1309.85 s [opt-env-conf-test] ]
  13520. 1309.85 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  13521. 1309.85 s [opt-env-conf-test] [ [ functionChunk "argument",
  13522. 1309.85 s [opt-env-conf-test] " has no ",
  13523. 1309.85 s [opt-env-conf-test] functionChunk "reader",
  13524. 1309.85 s [opt-env-conf-test] "."
  13525. 1309.85 s [opt-env-conf-test] ]
  13526. 1309.85 s [opt-env-conf-test] ]
  13527. 1309.85 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  13528. 1309.85 s [opt-env-conf-test] [ [ functionChunk "argument",
  13529. 1309.85 s [opt-env-conf-test] " has no ",
  13530. 1309.85 s [opt-env-conf-test] functionChunk "metavar",
  13531. 1309.85 s [opt-env-conf-test] "."
  13532. 1309.85 s [opt-env-conf-test] ]
  13533. 1309.85 s [opt-env-conf-test] ]
  13534. 1309.85 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  13535. 1309.85 s [opt-env-conf-test] [ [ functionChunk "option",
  13536. 1309.85 s [opt-env-conf-test] " or ",
  13537. 1309.85 s [opt-env-conf-test] functionChunk "name",
  13538. 1309.85 s [opt-env-conf-test] " has no ",
  13539. 1309.85 s [opt-env-conf-test] functionChunk "reader",
  13540. 1309.85 s [opt-env-conf-test] "."
  13541. 1309.85 s [opt-env-conf-test] ]
  13542. 1309.85 s [opt-env-conf-test] ]
  13543. 1309.85 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  13544. 1309.85 s [opt-env-conf-test] [ [ functionChunk "option",
  13545. 1309.85 s [opt-env-conf-test] " has no ",
  13546. 1309.85 s [opt-env-conf-test] functionChunk "long",
  13547. 1309.86 s [opt-env-conf-test] " or ",
  13548. 1309.86 s [opt-env-conf-test] functionChunk "short",
  13549. 1309.86 s [opt-env-conf-test] "."
  13550. 1309.86 s [opt-env-conf-test] ]
  13551. 1309.86 s [opt-env-conf-test] ]
  13552. 1309.86 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  13553. 1309.86 s [opt-env-conf-test] [ [ functionChunk "option",
  13554. 1309.86 s [opt-env-conf-test] " or ",
  13555. 1309.86 s [opt-env-conf-test] functionChunk "name",
  13556. 1309.86 s [opt-env-conf-test] " has no ",
  13557. 1309.86 s [opt-env-conf-test] functionChunk "metavar",
  13558. 1309.86 s [opt-env-conf-test] "."
  13559. 1309.86 s [opt-env-conf-test] ]
  13560. 1309.86 s [opt-env-conf-test] ]
  13561. 1309.86 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  13562. 1309.86 s [opt-env-conf-test] [ [ functionChunk "switch",
  13563. 1309.86 s [opt-env-conf-test] " has no ",
  13564. 1309.86 s [opt-env-conf-test] functionChunk "long",
  13565. 1309.86 s [opt-env-conf-test] " or ",
  13566. 1309.86 s [opt-env-conf-test] functionChunk "short",
  13567. 1309.86 s [opt-env-conf-test] "."
  13568. 1309.86 s [opt-env-conf-test] ]
  13569. 1309.86 s [opt-env-conf-test] ]
  13570. 1309.86 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  13571. 1309.86 s [opt-env-conf-test] [ [ functionChunk "long",
  13572. 1309.86 s [opt-env-conf-test] " or ",
  13573. 1309.86 s [opt-env-conf-test] functionChunk "short",
  13574. 1309.86 s [opt-env-conf-test] " has no ",
  13575. 1309.86 s [opt-env-conf-test] functionChunk "option",
  13576. 1309.86 s [opt-env-conf-test] " or ",
  13577. 1309.86 s [opt-env-conf-test] functionChunk "switch",
  13578. 1309.86 s [opt-env-conf-test] "."
  13579. 1309.86 s [opt-env-conf-test] ]
  13580. 1309.86 s [opt-env-conf-test] ]
  13581. 1309.86 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  13582. 1309.86 s [opt-env-conf-test] [ [ functionChunk "env",
  13583. 1309.87 s [opt-env-conf-test] " or ",
  13584. 1309.87 s [opt-env-conf-test] functionChunk "name",
  13585. 1309.87 s [opt-env-conf-test] " has no ",
  13586. 1309.87 s [opt-env-conf-test] functionChunk "reader",
  13587. 1309.87 s [opt-env-conf-test] "."
  13588. 1309.87 s [opt-env-conf-test] ]
  13589. 1309.87 s [opt-env-conf-test] ]
  13590. 1309.87 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  13591. 1309.87 s [opt-env-conf-test] [ [ functionChunk "env",
  13592. 1309.87 s [opt-env-conf-test] " or ",
  13593. 1309.87 s [opt-env-conf-test] functionChunk "name",
  13594. 1309.87 s [opt-env-conf-test] " has no ",
  13595. 1309.87 s [opt-env-conf-test] functionChunk "metavar",
  13596. 1309.87 s [opt-env-conf-test] "."
  13597. 1309.87 s [opt-env-conf-test] ]
  13598. 1309.87 s [opt-env-conf-test] ]
  13599. 1309.87 s [opt-env-conf-test] LintErrorNoCommands ->
  13600. 1309.87 s [opt-env-conf-test] [ [ functionChunk "commands",
  13601. 1309.87 s [opt-env-conf-test] " was called with an empty list."
  13602. 1309.87 s [opt-env-conf-test] - ]
  13603. 1309.87 s [opt-env-conf-test] - ]
  13604. 1309.87 s [opt-env-conf-test] - LintErrorUnknownDefaultCommand c ->
  13605. 1309.87 s [opt-env-conf-test] - [ [ functionChunk "defaultCommand",
  13606. 1309.87 s [opt-env-conf-test] - " was called with an unknown command: ",
  13607. 1309.87 s [opt-env-conf-test] - commandChunk c
  13608. 1309.87 s [opt-env-conf-test] ]
  13609. 1309.87 s [opt-env-conf-test] ]
  13610. 1309.87 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  13611. 1309.87 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  13612. 1309.87 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  13613. 1309.87 s [opt-env-conf-test] ]
  13614. 1309.87 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  13615. 1309.87 s [opt-env-conf-test] [ [ functionChunk "conf",
  13616. 1309.87 s [opt-env-conf-test] " or ",
  13617. 1309.87 s [opt-env-conf-test] functionChunk "name",
  13618. 1309.87 s [opt-env-conf-test] " was called with no way to load configuration."
  13619. 1309.87 s [opt-env-conf-test] ],
  13620. 1309.87 s [opt-env-conf-test] [ "You can load configuration with ",
  13621. 1309.87 s [opt-env-conf-test] functionChunk "withConfig",
  13622. 1309.87 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  13623. 1309.88 s [opt-env-conf-test] functionChunk "withoutConfig",
  13624. 1309.88 s [opt-env-conf-test] "."
  13625. 1309.88 s [opt-env-conf-test] ]
  13626. 1309.88 s [opt-env-conf-test] ]
  13627. 1309.88 s [opt-env-conf-test] LintErrorManyInfinite ->
  13628. 1309.88 s [opt-env-conf-test] [ [ functionChunk "many",
  13629. 1309.88 s [opt-env-conf-test] " or ",
  13630. 1309.88 s [opt-env-conf-test] functionChunk "some",
  13631. 1309.88 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  13632. 1309.88 s [opt-env-conf-test] ],
  13633. 1309.88 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  13634. 1309.88 s [opt-env-conf-test] ],
  13635. 1309.88 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  13636. 1309.88 s [opt-env-conf-test] ]
  13637. 1309.88 s [opt-env-conf-test]
  13638. 1309.88 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  13639. 1309.88 s [opt-env-conf-test] @@ -66,168 +66,164 @@
  13640. 1309.88 s [opt-env-conf-test] renderLintError LintError {..} =
  13641. 1309.88 s [opt-env-conf-test] concat
  13642. 1309.88 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  13643. 1309.88 s [opt-env-conf-test] case lintErrorMessage of
  13644. 1309.88 s [opt-env-conf-test] LintErrorUndocumented ->
  13645. 1309.88 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  13646. 1309.88 s [opt-env-conf-test] LintErrorEmptySetting ->
  13647. 1309.88 s [opt-env-conf-test] concat
  13648. 1309.88 s [opt-env-conf-test] [ [ [ "This ",
  13649. 1309.88 s [opt-env-conf-test] functionChunk "setting",
  13650. 1309.88 s [opt-env-conf-test] " parses nothing."
  13651. 1309.88 s [opt-env-conf-test] ]
  13652. 1309.88 s [opt-env-conf-test] ],
  13653. 1309.88 s [opt-env-conf-test] [ [ "Add an ",
  13654. 1309.88 s [opt-env-conf-test] functionChunk "argument",
  13655. 1309.88 s [opt-env-conf-test] ", ",
  13656. 1309.88 s [opt-env-conf-test] functionChunk "switch",
  13657. 1309.88 s [opt-env-conf-test] ", ",
  13658. 1309.88 s [opt-env-conf-test] functionChunk "option",
  13659. 1309.88 s [opt-env-conf-test] ", ",
  13660. 1309.88 s [opt-env-conf-test] functionChunk "env",
  13661. 1309.88 s [opt-env-conf-test] ", ",
  13662. 1309.88 s [opt-env-conf-test] functionChunk "conf",
  13663. 1309.88 s [opt-env-conf-test] ", or ",
  13664. 1309.88 s [opt-env-conf-test] functionChunk "value",
  13665. 1309.88 s [opt-env-conf-test] "."
  13666. 1309.88 s [opt-env-conf-test] ]
  13667. 1309.88 s [opt-env-conf-test] ]
  13668. 1309.88 s [opt-env-conf-test] ]
  13669. 1309.88 s [opt-env-conf-test] LintErrorDashInShort ->
  13670. 1309.88 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  13671. 1309.88 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  13672. 1309.88 s [opt-env-conf-test] ]
  13673. 1309.88 s [opt-env-conf-test] LintErrorDashInLong s ->
  13674. 1309.88 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  13675. 1309.88 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  13676. 1309.89 s [opt-env-conf-test] [ "Try ",
  13677. 1309.89 s [opt-env-conf-test] functionChunk "long",
  13678. 1309.89 s [opt-env-conf-test] " ",
  13679. 1309.89 s [opt-env-conf-test] chunk $
  13680. 1309.89 s [opt-env-conf-test] T.pack $
  13681. 1309.89 s [opt-env-conf-test] show $
  13682. 1309.89 s [opt-env-conf-test] let go = \case
  13683. 1309.89 s [opt-env-conf-test] [] -> []
  13684. 1309.89 s [opt-env-conf-test] '-' : cs -> go cs
  13685. 1309.89 s [opt-env-conf-test] c : cs -> c : cs
  13686. 1309.89 s [opt-env-conf-test] in go $ NE.toList s,
  13687. 1309.89 s [opt-env-conf-test] " instead."
  13688. 1309.89 s [opt-env-conf-test] ]
  13689. 1309.89 s [opt-env-conf-test] ]
  13690. 1309.89 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  13691. 1309.89 s [opt-env-conf-test] [ [ functionChunk "argument",
  13692. 1309.89 s [opt-env-conf-test] " has no ",
  13693. 1309.89 s [opt-env-conf-test] functionChunk "reader",
  13694. 1309.89 s [opt-env-conf-test] "."
  13695. 1309.89 s [opt-env-conf-test] ]
  13696. 1309.89 s [opt-env-conf-test] ]
  13697. 1309.89 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  13698. 1309.89 s [opt-env-conf-test] [ [ functionChunk "argument",
  13699. 1309.89 s [opt-env-conf-test] " has no ",
  13700. 1309.89 s [opt-env-conf-test] functionChunk "metavar",
  13701. 1309.89 s [opt-env-conf-test] "."
  13702. 1309.89 s [opt-env-conf-test] ]
  13703. 1309.89 s [opt-env-conf-test] ]
  13704. 1309.89 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  13705. 1309.89 s [opt-env-conf-test] [ [ functionChunk "option",
  13706. 1309.89 s [opt-env-conf-test] " or ",
  13707. 1309.89 s [opt-env-conf-test] functionChunk "name",
  13708. 1309.89 s [opt-env-conf-test] " has no ",
  13709. 1309.89 s [opt-env-conf-test] functionChunk "reader",
  13710. 1309.89 s [opt-env-conf-test] "."
  13711. 1309.89 s [opt-env-conf-test] ]
  13712. 1309.89 s [opt-env-conf-test] ]
  13713. 1309.89 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  13714. 1309.89 s [opt-env-conf-test] [ [ functionChunk "option",
  13715. 1309.89 s [opt-env-conf-test] " has no ",
  13716. 1309.89 s [opt-env-conf-test] functionChunk "long",
  13717. 1309.89 s [opt-env-conf-test] " or ",
  13718. 1309.89 s [opt-env-conf-test] functionChunk "short",
  13719. 1309.89 s [opt-env-conf-test] "."
  13720. 1309.90 s [opt-env-conf-test] ]
  13721. 1309.90 s [opt-env-conf-test] ]
  13722. 1309.90 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  13723. 1309.90 s [opt-env-conf-test] [ [ functionChunk "option",
  13724. 1309.90 s [opt-env-conf-test] " or ",
  13725. 1309.90 s [opt-env-conf-test] functionChunk "name",
  13726. 1309.90 s [opt-env-conf-test] " has no ",
  13727. 1309.90 s [opt-env-conf-test] functionChunk "metavar",
  13728. 1309.90 s [opt-env-conf-test] "."
  13729. 1309.90 s [opt-env-conf-test] ]
  13730. 1309.90 s [opt-env-conf-test] ]
  13731. 1309.90 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  13732. 1309.90 s [opt-env-conf-test] [ [ functionChunk "switch",
  13733. 1309.90 s [opt-env-conf-test] " has no ",
  13734. 1309.90 s [opt-env-conf-test] functionChunk "long",
  13735. 1309.90 s [opt-env-conf-test] " or ",
  13736. 1309.90 s [opt-env-conf-test] functionChunk "short",
  13737. 1309.90 s [opt-env-conf-test] "."
  13738. 1309.90 s [opt-env-conf-test] ]
  13739. 1309.90 s [opt-env-conf-test] ]
  13740. 1309.90 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  13741. 1309.90 s [opt-env-conf-test] [ [ functionChunk "long",
  13742. 1309.90 s [opt-env-conf-test] " or ",
  13743. 1309.90 s [opt-env-conf-test] functionChunk "short",
  13744. 1309.90 s [opt-env-conf-test] " has no ",
  13745. 1309.90 s [opt-env-conf-test] functionChunk "option",
  13746. 1309.90 s [opt-env-conf-test] " or ",
  13747. 1309.90 s [opt-env-conf-test] functionChunk "switch",
  13748. 1309.90 s [opt-env-conf-test] "."
  13749. 1309.90 s [opt-env-conf-test] ]
  13750. 1309.90 s [opt-env-conf-test] ]
  13751. 1309.90 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  13752. 1309.90 s [opt-env-conf-test] [ [ functionChunk "env",
  13753. 1309.90 s [opt-env-conf-test] " or ",
  13754. 1309.90 s [opt-env-conf-test] functionChunk "name",
  13755. 1309.90 s [opt-env-conf-test] " has no ",
  13756. 1309.90 s [opt-env-conf-test] functionChunk "reader",
  13757. 1309.90 s [opt-env-conf-test] "."
  13758. 1309.90 s [opt-env-conf-test] ]
  13759. 1309.90 s [opt-env-conf-test] ]
  13760. 1309.90 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  13761. 1309.90 s [opt-env-conf-test] [ [ functionChunk "env",
  13762. 1309.90 s [opt-env-conf-test] " or ",
  13763. 1309.90 s [opt-env-conf-test] functionChunk "name",
  13764. 1309.90 s [opt-env-conf-test] " has no ",
  13765. 1309.90 s [opt-env-conf-test] functionChunk "metavar",
  13766. 1309.90 s [opt-env-conf-test] "."
  13767. 1309.90 s [opt-env-conf-test] ]
  13768. 1309.90 s [opt-env-conf-test] ]
  13769. 1309.90 s [opt-env-conf-test] LintErrorNoCommands ->
  13770. 1309.90 s [opt-env-conf-test] [ [ functionChunk "commands",
  13771. 1309.91 s [opt-env-conf-test] " was called with an empty list."
  13772. 1310.47 s [opt-env-conf-test] ]
  13773. 1310.47 s [opt-env-conf-test] ]
  13774. 1310.47 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  13775. 1310.47 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  13776. 1310.47 s [opt-env-conf-test] " was called with an unknown command: ",
  13777. 1310.47 s [opt-env-conf-test] commandChunk c
  13778. 1310.47 s [opt-env-conf-test] ]
  13779. 1310.47 s [opt-env-conf-test] - ]
  13780. 1310.47 s [opt-env-conf-test] - LintErrorUnreadableExample e ->
  13781. 1310.47 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  13782. 1310.47 s [opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
  13783. 1310.47 s [opt-env-conf-test] ]
  13784. 1310.47 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  13785. 1310.48 s [opt-env-conf-test] [ [ functionChunk "conf",
  13786. 1310.48 s [opt-env-conf-test] " or ",
  13787. 1310.48 s [opt-env-conf-test] functionChunk "name",
  13788. 1310.48 s [opt-env-conf-test] " was called with no way to load configuration."
  13789. 1310.48 s [opt-env-conf-test] ],
  13790. 1310.48 s [opt-env-conf-test] [ "You can load configuration with ",
  13791. 1310.48 s [opt-env-conf-test] functionChunk "withConfig",
  13792. 1310.48 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  13793. 1310.48 s [opt-env-conf-test] functionChunk "withoutConfig",
  13794. 1310.48 s [opt-env-conf-test] "."
  13795. 1310.48 s [opt-env-conf-test] ]
  13796. 1310.48 s [opt-env-conf-test] ]
  13797. 1310.48 s [opt-env-conf-test] LintErrorManyInfinite ->
  13798. 1310.48 s [opt-env-conf-test] [ [ functionChunk "many",
  13799. 1310.48 s [opt-env-conf-test] " or ",
  13800. 1310.48 s [opt-env-conf-test] functionChunk "some",
  13801. 1310.48 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  13802. 1310.48 s [opt-env-conf-test] ],
  13803. 1310.48 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  13804. 1310.48 s [opt-env-conf-test] ],
  13805. 1310.48 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  13806. 1310.48 s [opt-env-conf-test] ]
  13807. 1310.48 s [opt-env-conf-test]
  13808. 1310.48 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  13809. 1310.48 s [opt-env-conf-test] @@ -66,168 +66,155 @@
  13810. 1310.48 s [opt-env-conf-test] renderLintError LintError {..} =
  13811. 1310.48 s [opt-env-conf-test] concat
  13812. 1310.48 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  13813. 1310.48 s [opt-env-conf-test] case lintErrorMessage of
  13814. 1310.48 s [opt-env-conf-test] LintErrorUndocumented ->
  13815. 1310.48 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  13816. 1310.48 s [opt-env-conf-test] LintErrorEmptySetting ->
  13817. 1310.48 s [opt-env-conf-test] concat
  13818. 1310.48 s [opt-env-conf-test] [ [ [ "This ",
  13819. 1310.48 s [opt-env-conf-test] functionChunk "setting",
  13820. 1310.48 s [opt-env-conf-test] " parses nothing."
  13821. 1310.48 s [opt-env-conf-test] ]
  13822. 1310.48 s [opt-env-conf-test] ],
  13823. 1310.48 s [opt-env-conf-test] [ [ "Add an ",
  13824. 1310.48 s [opt-env-conf-test] functionChunk "argument",
  13825. 1310.48 s [opt-env-conf-test] ", ",
  13826. 1310.48 s [opt-env-conf-test] functionChunk "switch",
  13827. 1310.48 s [opt-env-conf-test] ", ",
  13828. 1310.48 s [opt-env-conf-test] functionChunk "option",
  13829. 1310.48 s [opt-env-conf-test] ", ",
  13830. 1310.49 s [opt-env-conf-test] functionChunk "env",
  13831. 1310.49 s [opt-env-conf-test] ", ",
  13832. 1310.49 s [opt-env-conf-test] functionChunk "conf",
  13833. 1310.49 s [opt-env-conf-test] ", or ",
  13834. 1310.49 s [opt-env-conf-test] functionChunk "value",
  13835. 1310.49 s [opt-env-conf-test] "."
  13836. 1310.49 s [opt-env-conf-test] ]
  13837. 1310.49 s [opt-env-conf-test] ]
  13838. 1310.49 s [opt-env-conf-test] ]
  13839. 1310.49 s [opt-env-conf-test] LintErrorDashInShort ->
  13840. 1310.49 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  13841. 1310.49 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  13842. 1310.49 s [opt-env-conf-test] ]
  13843. 1310.49 s [opt-env-conf-test] LintErrorDashInLong s ->
  13844. 1310.49 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  13845. 1310.49 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  13846. 1310.49 s [opt-env-conf-test] [ "Try ",
  13847. 1310.49 s [opt-env-conf-test] functionChunk "long",
  13848. 1310.49 s [opt-env-conf-test] " ",
  13849. 1310.49 s [opt-env-conf-test] chunk $
  13850. 1310.49 s [opt-env-conf-test] T.pack $
  13851. 1310.49 s [opt-env-conf-test] show $
  13852. 1310.49 s [opt-env-conf-test] let go = \case
  13853. 1310.49 s [opt-env-conf-test] [] -> []
  13854. 1310.49 s [opt-env-conf-test] '-' : cs -> go cs
  13855. 1310.49 s [opt-env-conf-test] c : cs -> c : cs
  13856. 1310.49 s [opt-env-conf-test] in go $ NE.toList s,
  13857. 1310.49 s [opt-env-conf-test] " instead."
  13858. 1310.49 s [opt-env-conf-test] ]
  13859. 1310.49 s [opt-env-conf-test] ]
  13860. 1310.49 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  13861. 1310.49 s [opt-env-conf-test] [ [ functionChunk "argument",
  13862. 1310.49 s [opt-env-conf-test] " has no ",
  13863. 1310.49 s [opt-env-conf-test] functionChunk "reader",
  13864. 1310.49 s [opt-env-conf-test] "."
  13865. 1310.49 s [opt-env-conf-test] ]
  13866. 1310.49 s [opt-env-conf-test] ]
  13867. 1310.49 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  13868. 1310.49 s [opt-env-conf-test] [ [ functionChunk "argument",
  13869. 1310.49 s [opt-env-conf-test] " has no ",
  13870. 1310.49 s [opt-env-conf-test] functionChunk "metavar",
  13871. 1310.49 s [opt-env-conf-test] "."
  13872. 1310.49 s [opt-env-conf-test] ]
  13873. 1310.49 s [opt-env-conf-test] ]
  13874. 1310.49 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  13875. 1310.49 s [opt-env-conf-test] [ [ functionChunk "option",
  13876. 1310.49 s [opt-env-conf-test] " or ",
  13877. 1310.49 s [opt-env-conf-test] functionChunk "name",
  13878. 1310.49 s [opt-env-conf-test] " has no ",
  13879. 1310.49 s [opt-env-conf-test] functionChunk "reader",
  13880. 1310.49 s [opt-env-conf-test] "."
  13881. 1310.49 s [opt-env-conf-test] ]
  13882. 1310.49 s [opt-env-conf-test] ]
  13883. 1310.49 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  13884. 1310.49 s [opt-env-conf-test] [ [ functionChunk "option",
  13885. 1310.49 s [opt-env-conf-test] " has no ",
  13886. 1310.49 s [opt-env-conf-test] functionChunk "long",
  13887. 1310.49 s [opt-env-conf-test] " or ",
  13888. 1310.49 s [opt-env-conf-test] functionChunk "short",
  13889. 1310.49 s [opt-env-conf-test] "."
  13890. 1310.49 s [opt-env-conf-test] ]
  13891. 1310.49 s [opt-env-conf-test] ]
  13892. 1310.49 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  13893. 1310.49 s [opt-env-conf-test] [ [ functionChunk "option",
  13894. 1310.49 s [opt-env-conf-test] " or ",
  13895. 1310.49 s [opt-env-conf-test] functionChunk "name",
  13896. 1310.49 s [opt-env-conf-test] " has no ",
  13897. 1310.49 s [opt-env-conf-test] functionChunk "metavar",
  13898. 1310.49 s [opt-env-conf-test] "."
  13899. 1310.50 s [opt-env-conf-test] ]
  13900. 1310.50 s [opt-env-conf-test] ]
  13901. 1310.50 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  13902. 1310.50 s [opt-env-conf-test] [ [ functionChunk "switch",
  13903. 1310.50 s [opt-env-conf-test] " has no ",
  13904. 1310.50 s [opt-env-conf-test] functionChunk "long",
  13905. 1310.50 s [opt-env-conf-test] " or ",
  13906. 1310.50 s [opt-env-conf-test] functionChunk "short",
  13907. 1310.50 s [opt-env-conf-test] "."
  13908. 1310.50 s [opt-env-conf-test] ]
  13909. 1310.50 s [opt-env-conf-test] ]
  13910. 1310.50 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  13911. 1310.50 s [opt-env-conf-test] [ [ functionChunk "long",
  13912. 1310.50 s [opt-env-conf-test] " or ",
  13913. 1310.50 s [opt-env-conf-test] functionChunk "short",
  13914. 1310.50 s [opt-env-conf-test] " has no ",
  13915. 1310.50 s [opt-env-conf-test] functionChunk "option",
  13916. 1310.50 s [opt-env-conf-test] " or ",
  13917. 1310.50 s [opt-env-conf-test] functionChunk "switch",
  13918. 1310.50 s [opt-env-conf-test] "."
  13919. 1310.50 s [opt-env-conf-test] ]
  13920. 1310.50 s [opt-env-conf-test] ]
  13921. 1310.50 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  13922. 1310.50 s [opt-env-conf-test] [ [ functionChunk "env",
  13923. 1310.50 s [opt-env-conf-test] " or ",
  13924. 1310.50 s [opt-env-conf-test] functionChunk "name",
  13925. 1310.50 s [opt-env-conf-test] " has no ",
  13926. 1310.50 s [opt-env-conf-test] functionChunk "reader",
  13927. 1310.50 s [opt-env-conf-test] "."
  13928. 1310.50 s [opt-env-conf-test] ]
  13929. 1310.50 s [opt-env-conf-test] ]
  13930. 1310.50 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  13931. 1310.50 s [opt-env-conf-test] [ [ functionChunk "env",
  13932. 1310.50 s [opt-env-conf-test] " or ",
  13933. 1310.50 s [opt-env-conf-test] functionChunk "name",
  13934. 1310.50 s [opt-env-conf-test] " has no ",
  13935. 1310.50 s [opt-env-conf-test] functionChunk "metavar",
  13936. 1310.50 s [opt-env-conf-test] "."
  13937. 1310.50 s [opt-env-conf-test] ]
  13938. 1310.50 s [opt-env-conf-test] ]
  13939. 1310.50 s [opt-env-conf-test] LintErrorNoCommands ->
  13940. 1310.50 s [opt-env-conf-test] [ [ functionChunk "commands",
  13941. 1310.50 s [opt-env-conf-test] " was called with an empty list."
  13942. 1311.37 s [opt-env-conf-test] ]
  13943. 1311.37 s [opt-env-conf-test] ]
  13944. 1311.37 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  13945. 1311.37 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  13946. 1311.37 s [opt-env-conf-test] " was called with an unknown command: ",
  13947. 1311.37 s [opt-env-conf-test] commandChunk c
  13948. 1311.37 s [opt-env-conf-test] ]
  13949. 1311.37 s [opt-env-conf-test] ]
  13950. 1311.37 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  13951. 1311.37 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  13952. 1311.37 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  13953. 1311.37 s [opt-env-conf-test] ]
  13954. 1311.37 s [opt-env-conf-test] - LintErrorConfigWithoutLoad ->
  13955. 1311.37 s [opt-env-conf-test] - [ [ functionChunk "conf",
  13956. 1311.37 s [opt-env-conf-test] - " or ",
  13957. 1311.37 s [opt-env-conf-test] - functionChunk "name",
  13958. 1311.37 s [opt-env-conf-test] - " was called with no way to load configuration."
  13959. 1311.37 s [opt-env-conf-test] - ],
  13960. 1311.38 s [opt-env-conf-test] - [ "You can load configuration with ",
  13961. 1311.38 s [opt-env-conf-test] - functionChunk "withConfig",
  13962. 1311.38 s [opt-env-conf-test] - ", or explicitly not load any configuration with ",
  13963. 1311.38 s [opt-env-conf-test] - functionChunk "withoutConfig",
  13964. 1311.38 s [opt-env-conf-test] - "."
  13965. 1311.38 s [opt-env-conf-test] - ]
  13966. 1311.38 s [opt-env-conf-test] - ]
  13967. 1311.38 s [opt-env-conf-test] LintErrorManyInfinite ->
  13968. 1311.38 s [opt-env-conf-test] [ [ functionChunk "many",
  13969. 1311.38 s [opt-env-conf-test] " or ",
  13970. 1311.38 s [opt-env-conf-test] functionChunk "some",
  13971. 1311.38 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  13972. 1311.38 s [opt-env-conf-test] ],
  13973. 1311.38 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  13974. 1311.38 s [opt-env-conf-test] ],
  13975. 1311.38 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  13976. 1311.38 s [opt-env-conf-test] ]
  13977. 1311.38 s [opt-env-conf-test]
  13978. 1311.38 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  13979. 1311.38 s [opt-env-conf-test] @@ -66,168 +66,160 @@
  13980. 1311.38 s [opt-env-conf-test] renderLintError LintError {..} =
  13981. 1311.38 s [opt-env-conf-test] concat
  13982. 1311.38 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  13983. 1311.38 s [opt-env-conf-test] case lintErrorMessage of
  13984. 1311.38 s [opt-env-conf-test] LintErrorUndocumented ->
  13985. 1311.38 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  13986. 1311.38 s [opt-env-conf-test] LintErrorEmptySetting ->
  13987. 1311.38 s [opt-env-conf-test] concat
  13988. 1311.38 s [opt-env-conf-test] [ [ [ "This ",
  13989. 1311.38 s [opt-env-conf-test] functionChunk "setting",
  13990. 1311.38 s [opt-env-conf-test] " parses nothing."
  13991. 1311.38 s [opt-env-conf-test] ]
  13992. 1311.38 s [opt-env-conf-test] ],
  13993. 1311.38 s [opt-env-conf-test] [ [ "Add an ",
  13994. 1311.38 s [opt-env-conf-test] functionChunk "argument",
  13995. 1311.38 s [opt-env-conf-test] ", ",
  13996. 1311.38 s [opt-env-conf-test] functionChunk "switch",
  13997. 1311.38 s [opt-env-conf-test] ", ",
  13998. 1311.38 s [opt-env-conf-test] functionChunk "option",
  13999. 1311.39 s [opt-env-conf-test] ", ",
  14000. 1311.39 s [opt-env-conf-test] functionChunk "env",
  14001. 1311.39 s [opt-env-conf-test] ", ",
  14002. 1311.39 s [opt-env-conf-test] functionChunk "conf",
  14003. 1311.39 s [opt-env-conf-test] ", or ",
  14004. 1311.39 s [opt-env-conf-test] functionChunk "value",
  14005. 1311.39 s [opt-env-conf-test] "."
  14006. 1311.39 s [opt-env-conf-test] ]
  14007. 1311.39 s [opt-env-conf-test] ]
  14008. 1311.39 s [opt-env-conf-test] ]
  14009. 1311.39 s [opt-env-conf-test] LintErrorDashInShort ->
  14010. 1311.39 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  14011. 1311.39 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  14012. 1311.39 s [opt-env-conf-test] ]
  14013. 1311.39 s [opt-env-conf-test] LintErrorDashInLong s ->
  14014. 1311.39 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  14015. 1311.39 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  14016. 1311.39 s [opt-env-conf-test] [ "Try ",
  14017. 1311.39 s [opt-env-conf-test] functionChunk "long",
  14018. 1311.39 s [opt-env-conf-test] " ",
  14019. 1311.39 s [opt-env-conf-test] chunk $
  14020. 1311.39 s [opt-env-conf-test] T.pack $
  14021. 1311.39 s [opt-env-conf-test] show $
  14022. 1311.39 s [opt-env-conf-test] let go = \case
  14023. 1311.39 s [opt-env-conf-test] [] -> []
  14024. 1311.39 s [opt-env-conf-test] '-' : cs -> go cs
  14025. 1311.39 s [opt-env-conf-test] c : cs -> c : cs
  14026. 1311.39 s [opt-env-conf-test] in go $ NE.toList s,
  14027. 1311.39 s [opt-env-conf-test] " instead."
  14028. 1311.39 s [opt-env-conf-test] ]
  14029. 1311.39 s [opt-env-conf-test] ]
  14030. 1311.39 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  14031. 1311.39 s [opt-env-conf-test] [ [ functionChunk "argument",
  14032. 1311.39 s [opt-env-conf-test] " has no ",
  14033. 1311.39 s [opt-env-conf-test] functionChunk "reader",
  14034. 1311.39 s [opt-env-conf-test] "."
  14035. 1311.39 s [opt-env-conf-test] ]
  14036. 1311.39 s [opt-env-conf-test] ]
  14037. 1311.39 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  14038. 1311.39 s [opt-env-conf-test] [ [ functionChunk "argument",
  14039. 1311.39 s [opt-env-conf-test] " has no ",
  14040. 1311.39 s [opt-env-conf-test] functionChunk "metavar",
  14041. 1311.39 s [opt-env-conf-test] "."
  14042. 1311.39 s [opt-env-conf-test] ]
  14043. 1311.39 s [opt-env-conf-test] ]
  14044. 1311.39 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  14045. 1311.39 s [opt-env-conf-test] [ [ functionChunk "option",
  14046. 1311.39 s [opt-env-conf-test] " or ",
  14047. 1311.39 s [opt-env-conf-test] functionChunk "name",
  14048. 1311.39 s [opt-env-conf-test] " has no ",
  14049. 1311.39 s [opt-env-conf-test] functionChunk "reader",
  14050. 1311.39 s [opt-env-conf-test] "."
  14051. 1311.39 s [opt-env-conf-test] ]
  14052. 1311.39 s [opt-env-conf-test] ]
  14053. 1311.40 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  14054. 1311.40 s [opt-env-conf-test] [ [ functionChunk "option",
  14055. 1311.40 s [opt-env-conf-test] " has no ",
  14056. 1311.40 s [opt-env-conf-test] functionChunk "long",
  14057. 1311.40 s [opt-env-conf-test] " or ",
  14058. 1311.40 s [opt-env-conf-test] functionChunk "short",
  14059. 1311.40 s [opt-env-conf-test] "."
  14060. 1311.40 s [opt-env-conf-test] ]
  14061. 1311.40 s [opt-env-conf-test] ]
  14062. 1311.40 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  14063. 1311.40 s [opt-env-conf-test] [ [ functionChunk "option",
  14064. 1311.40 s [opt-env-conf-test] " or ",
  14065. 1311.40 s [opt-env-conf-test] functionChunk "name",
  14066. 1311.40 s [opt-env-conf-test] " has no ",
  14067. 1311.40 s [opt-env-conf-test] functionChunk "metavar",
  14068. 1311.40 s [opt-env-conf-test] "."
  14069. 1311.40 s [opt-env-conf-test] ]
  14070. 1311.40 s [opt-env-conf-test] ]
  14071. 1311.40 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  14072. 1311.40 s [opt-env-conf-test] [ [ functionChunk "switch",
  14073. 1311.40 s [opt-env-conf-test] " has no ",
  14074. 1311.40 s [opt-env-conf-test] functionChunk "long",
  14075. 1311.40 s [opt-env-conf-test] " or ",
  14076. 1311.40 s [opt-env-conf-test] functionChunk "short",
  14077. 1311.40 s [opt-env-conf-test] "."
  14078. 1311.40 s [opt-env-conf-test] ]
  14079. 1311.40 s [opt-env-conf-test] ]
  14080. 1311.40 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  14081. 1311.40 s [opt-env-conf-test] [ [ functionChunk "long",
  14082. 1311.40 s [opt-env-conf-test] " or ",
  14083. 1311.40 s [opt-env-conf-test] functionChunk "short",
  14084. 1311.40 s [opt-env-conf-test] " has no ",
  14085. 1311.40 s [opt-env-conf-test] functionChunk "option",
  14086. 1311.40 s [opt-env-conf-test] " or ",
  14087. 1311.40 s [opt-env-conf-test] functionChunk "switch",
  14088. 1311.40 s [opt-env-conf-test] "."
  14089. 1311.40 s [opt-env-conf-test] ]
  14090. 1311.40 s [opt-env-conf-test] ]
  14091. 1311.40 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  14092. 1311.40 s [opt-env-conf-test] [ [ functionChunk "env",
  14093. 1311.40 s [opt-env-conf-test] " or ",
  14094. 1311.40 s [opt-env-conf-test] functionChunk "name",
  14095. 1311.40 s [opt-env-conf-test] " has no ",
  14096. 1311.40 s [opt-env-conf-test] functionChunk "reader",
  14097. 1311.40 s [opt-env-conf-test] "."
  14098. 1311.40 s [opt-env-conf-test] ]
  14099. 1311.40 s [opt-env-conf-test] ]
  14100. 1311.40 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  14101. 1311.40 s [opt-env-conf-test] [ [ functionChunk "env",
  14102. 1311.40 s [opt-env-conf-test] " or ",
  14103. 1311.40 s [opt-env-conf-test] functionChunk "name",
  14104. 1311.40 s [opt-env-conf-test] " has no ",
  14105. 1311.40 s [opt-env-conf-test] functionChunk "metavar",
  14106. 1311.40 s [opt-env-conf-test] "."
  14107. 1311.40 s [opt-env-conf-test] ]
  14108. 1311.40 s [opt-env-conf-test] ]
  14109. 1311.40 s [opt-env-conf-test] LintErrorNoCommands ->
  14110. 1311.40 s [opt-env-conf-test] [ [ functionChunk "commands",
  14111. 1311.40 s [opt-env-conf-test] " was called with an empty list."
  14112. 1311.47 s [opt-env-conf-test] ]
  14113. 1311.47 s [opt-env-conf-test] ]
  14114. 1311.47 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  14115. 1311.47 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  14116. 1311.47 s [opt-env-conf-test] " was called with an unknown command: ",
  14117. 1311.47 s [opt-env-conf-test] commandChunk c
  14118. 1311.47 s [opt-env-conf-test] ]
  14119. 1311.47 s [opt-env-conf-test] ]
  14120. 1311.47 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  14121. 1311.47 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  14122. 1311.47 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  14123. 1311.48 s [opt-env-conf-test] ]
  14124. 1311.48 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  14125. 1311.48 s [opt-env-conf-test] [ [ functionChunk "conf",
  14126. 1311.48 s [opt-env-conf-test] " or ",
  14127. 1311.48 s [opt-env-conf-test] functionChunk "name",
  14128. 1311.48 s [opt-env-conf-test] " was called with no way to load configuration."
  14129. 1311.48 s [opt-env-conf-test] ],
  14130. 1311.48 s [opt-env-conf-test] [ "You can load configuration with ",
  14131. 1311.48 s [opt-env-conf-test] functionChunk "withConfig",
  14132. 1311.48 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  14133. 1311.48 s [opt-env-conf-test] functionChunk "withoutConfig",
  14134. 1311.48 s [opt-env-conf-test] "."
  14135. 1311.48 s [opt-env-conf-test] ]
  14136. 1311.48 s [opt-env-conf-test] ]
  14137. 1311.48 s [opt-env-conf-test] - LintErrorManyInfinite ->
  14138. 1311.48 s [opt-env-conf-test] - [ [ functionChunk "many",
  14139. 1311.48 s [opt-env-conf-test] - " or ",
  14140. 1311.48 s [opt-env-conf-test] - functionChunk "some",
  14141. 1311.48 s [opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
  14142. 1311.48 s [opt-env-conf-test] - ],
  14143. 1311.48 s [opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
  14144. 1311.48 s [opt-env-conf-test] - ],
  14145. 1311.48 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  14146. 1311.48 s [opt-env-conf-test] ]
  14147. 1311.48 s [opt-env-conf-test]
  14148. 1311.48 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
  14149. 1311.48 s [opt-env-conf-test] @@ -65,171 +65,7 @@
  14150. 1311.48 s [opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
  14151. 1311.48 s [opt-env-conf-test] renderLintError LintError {..} =
  14152. 1311.48 s [opt-env-conf-test] concat
  14153. 1311.48 s [opt-env-conf-test] - [ [[fore red "Invalid Setting:"]],
  14154. 1311.48 s [opt-env-conf-test] - case lintErrorMessage of
  14155. 1311.48 s [opt-env-conf-test] - LintErrorUndocumented ->
  14156. 1311.48 s [opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
  14157. 1311.48 s [opt-env-conf-test] - LintErrorEmptySetting ->
  14158. 1311.48 s [opt-env-conf-test] - concat
  14159. 1311.48 s [opt-env-conf-test] - [ [ [ "This ",
  14160. 1311.48 s [opt-env-conf-test] - functionChunk "setting",
  14161. 1311.48 s [opt-env-conf-test] - " parses nothing."
  14162. 1311.48 s [opt-env-conf-test] - ]
  14163. 1311.48 s [opt-env-conf-test] - ],
  14164. 1311.48 s [opt-env-conf-test] - [ [ "Add an ",
  14165. 1311.48 s [opt-env-conf-test] - functionChunk "argument",
  14166. 1311.48 s [opt-env-conf-test] - ", ",
  14167. 1311.48 s [opt-env-conf-test] - functionChunk "switch",
  14168. 1311.48 s [opt-env-conf-test] - ", ",
  14169. 1311.48 s [opt-env-conf-test] - functionChunk "option",
  14170. 1311.48 s [opt-env-conf-test] - ", ",
  14171. 1311.48 s [opt-env-conf-test] - functionChunk "env",
  14172. 1311.48 s [opt-env-conf-test] - ", ",
  14173. 1311.48 s [opt-env-conf-test] - functionChunk "conf",
  14174. 1311.49 s [opt-env-conf-test] - ", or ",
  14175. 1311.49 s [opt-env-conf-test] - functionChunk "value",
  14176. 1311.49 s [opt-env-conf-test] - "."
  14177. 1311.49 s [opt-env-conf-test] - ]
  14178. 1311.49 s [opt-env-conf-test] - ]
  14179. 1311.49 s [opt-env-conf-test] - ]
  14180. 1311.49 s [opt-env-conf-test] - LintErrorDashInShort ->
  14181. 1311.49 s [opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
  14182. 1311.49 s [opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
  14183. 1311.49 s [opt-env-conf-test] - ]
  14184. 1311.49 s [opt-env-conf-test] - LintErrorDashInLong s ->
  14185. 1311.49 s [opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
  14186. 1311.49 s [opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  14187. 1311.49 s [opt-env-conf-test] - [ "Try ",
  14188. 1311.49 s [opt-env-conf-test] - functionChunk "long",
  14189. 1311.49 s [opt-env-conf-test] - " ",
  14190. 1311.49 s [opt-env-conf-test] - chunk $
  14191. 1311.49 s [opt-env-conf-test] - T.pack $
  14192. 1311.49 s [opt-env-conf-test] - show $
  14193. 1311.49 s [opt-env-conf-test] - let go = \case
  14194. 1311.49 s [opt-env-conf-test] - [] -> []
  14195. 1311.49 s [opt-env-conf-test] - '-' : cs -> go cs
  14196. 1311.49 s [opt-env-conf-test] - c : cs -> c : cs
  14197. 1311.49 s [opt-env-conf-test] - in go $ NE.toList s,
  14198. 1311.49 s [opt-env-conf-test] - " instead."
  14199. 1311.49 s [opt-env-conf-test] - ]
  14200. 1311.49 s [opt-env-conf-test] - ]
  14201. 1311.49 s [opt-env-conf-test] - LintErrorNoReaderForArgument ->
  14202. 1311.49 s [opt-env-conf-test] - [ [ functionChunk "argument",
  14203. 1311.49 s [opt-env-conf-test] - " has no ",
  14204. 1311.49 s [opt-env-conf-test] - functionChunk "reader",
  14205. 1311.49 s [opt-env-conf-test] - "."
  14206. 1311.49 s [opt-env-conf-test] - ]
  14207. 1311.49 s [opt-env-conf-test] - ]
  14208. 1311.49 s [opt-env-conf-test] - LintErrorNoMetavarForArgument ->
  14209. 1311.49 s [opt-env-conf-test] - [ [ functionChunk "argument",
  14210. 1311.49 s [opt-env-conf-test] - " has no ",
  14211. 1311.49 s [opt-env-conf-test] - functionChunk "metavar",
  14212. 1311.49 s [opt-env-conf-test] - "."
  14213. 1311.49 s [opt-env-conf-test] - ]
  14214. 1311.49 s [opt-env-conf-test] - ]
  14215. 1311.49 s [opt-env-conf-test] - LintErrorNoReaderForOption ->
  14216. 1311.49 s [opt-env-conf-test] - [ [ functionChunk "option",
  14217. 1311.49 s [opt-env-conf-test] - " or ",
  14218. 1311.49 s [opt-env-conf-test] - functionChunk "name",
  14219. 1311.49 s [opt-env-conf-test] - " has no ",
  14220. 1311.49 s [opt-env-conf-test] - functionChunk "reader",
  14221. 1311.49 s [opt-env-conf-test] - "."
  14222. 1311.49 s [opt-env-conf-test] - ]
  14223. 1311.49 s [opt-env-conf-test] - ]
  14224. 1311.49 s [opt-env-conf-test] - LintErrorNoDashedForOption ->
  14225. 1311.49 s [opt-env-conf-test] - [ [ functionChunk "option",
  14226. 1311.49 s [opt-env-conf-test] - " has no ",
  14227. 1311.49 s [opt-env-conf-test] - functionChunk "long",
  14228. 1311.49 s [opt-env-conf-test] - " or ",
  14229. 1311.49 s [opt-env-conf-test] - functionChunk "short",
  14230. 1311.49 s [opt-env-conf-test] - "."
  14231. 1311.49 s [opt-env-conf-test] - ]
  14232. 1311.49 s [opt-env-conf-test] - ]
  14233. 1311.49 s [opt-env-conf-test] - LintErrorNoMetavarForOption ->
  14234. 1311.49 s [opt-env-conf-test] - [ [ functionChunk "option",
  14235. 1311.49 s [opt-env-conf-test] - " or ",
  14236. 1311.49 s [opt-env-conf-test] - functionChunk "name",
  14237. 1311.49 s [opt-env-conf-test] - " has no ",
  14238. 1311.49 s [opt-env-conf-test] - functionChunk "metavar",
  14239. 1311.49 s [opt-env-conf-test] - "."
  14240. 1311.49 s [opt-env-conf-test] - ]
  14241. 1311.49 s [opt-env-conf-test] - ]
  14242. 1311.49 s [opt-env-conf-test] - LintErrorNoDashedForSwitch ->
  14243. 1311.49 s [opt-env-conf-test] - [ [ functionChunk "switch",
  14244. 1311.49 s [opt-env-conf-test] - " has no ",
  14245. 1311.49 s [opt-env-conf-test] - functionChunk "long",
  14246. 1311.49 s [opt-env-conf-test] - " or ",
  14247. 1311.49 s [opt-env-conf-test] - functionChunk "short",
  14248. 1311.49 s [opt-env-conf-test] - "."
  14249. 1311.49 s [opt-env-conf-test] - ]
  14250. 1311.49 s [opt-env-conf-test] - ]
  14251. 1311.49 s [opt-env-conf-test] - LintErrorNoOptionOrSwitchForDashed ->
  14252. 1311.49 s [opt-env-conf-test] - [ [ functionChunk "long",
  14253. 1311.49 s [opt-env-conf-test] - " or ",
  14254. 1311.49 s [opt-env-conf-test] - functionChunk "short",
  14255. 1311.49 s [opt-env-conf-test] - " has no ",
  14256. 1311.49 s [opt-env-conf-test] - functionChunk "option",
  14257. 1311.49 s [opt-env-conf-test] - " or ",
  14258. 1311.49 s [opt-env-conf-test] - functionChunk "switch",
  14259. 1311.49 s [opt-env-conf-test] - "."
  14260. 1311.49 s [opt-env-conf-test] - ]
  14261. 1311.49 s [opt-env-conf-test] - ]
  14262. 1311.49 s [opt-env-conf-test] - LintErrorNoReaderForEnvVar ->
  14263. 1311.49 s [opt-env-conf-test] - [ [ functionChunk "env",
  14264. 1311.49 s [opt-env-conf-test] - " or ",
  14265. 1311.49 s [opt-env-conf-test] - functionChunk "name",
  14266. 1311.49 s [opt-env-conf-test] - " has no ",
  14267. 1311.49 s [opt-env-conf-test] - functionChunk "reader",
  14268. 1311.49 s [opt-env-conf-test] - "."
  14269. 1311.49 s [opt-env-conf-test] - ]
  14270. 1311.49 s [opt-env-conf-test] - ]
  14271. 1311.49 s [opt-env-conf-test] - LintErrorNoMetavarForEnvVar ->
  14272. 1311.49 s [opt-env-conf-test] - [ [ functionChunk "env",
  14273. 1311.49 s [opt-env-conf-test] - " or ",
  14274. 1311.49 s [opt-env-conf-test] - functionChunk "name",
  14275. 1311.49 s [opt-env-conf-test] - " has no ",
  14276. 1311.49 s [opt-env-conf-test] - functionChunk "metavar",
  14277. 1311.49 s [opt-env-conf-test] - "."
  14278. 1311.49 s [opt-env-conf-test] - ]
  14279. 1311.49 s [opt-env-conf-test] - ]
  14280. 1311.49 s [opt-env-conf-test] - LintErrorNoCommands ->
  14281. 1311.49 s [opt-env-conf-test] - [ [ functionChunk "commands",
  14282. 1311.49 s [opt-env-conf-test] - " was called with an empty list."
  14283. 1311.49 s [opt-env-conf-test] - ]
  14284. 1311.49 s [opt-env-conf-test] - ]
  14285. 1311.49 s [opt-env-conf-test] - LintErrorUnknownDefaultCommand c ->
  14286. 1311.49 s [opt-env-conf-test] - [ [ functionChunk "defaultCommand",
  14287. 1311.49 s [opt-env-conf-test] - " was called with an unknown command: ",
  14288. 1311.49 s [opt-env-conf-test] - commandChunk c
  14289. 1311.49 s [opt-env-conf-test] - ]
  14290. 1311.49 s [opt-env-conf-test] - ]
  14291. 1311.49 s [opt-env-conf-test] - LintErrorUnreadableExample e ->
  14292. 1311.49 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  14293. 1311.50 s [opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
  14294. 1311.50 s [opt-env-conf-test] - ]
  14295. 1311.50 s [opt-env-conf-test] - LintErrorConfigWithoutLoad ->
  14296. 1311.50 s [opt-env-conf-test] - [ [ functionChunk "conf",
  14297. 1311.50 s [opt-env-conf-test] - " or ",
  14298. 1311.50 s [opt-env-conf-test] - functionChunk "name",
  14299. 1311.50 s [opt-env-conf-test] - " was called with no way to load configuration."
  14300. 1311.50 s [opt-env-conf-test] - ],
  14301. 1311.50 s [opt-env-conf-test] - [ "You can load configuration with ",
  14302. 1311.50 s [opt-env-conf-test] - functionChunk "withConfig",
  14303. 1311.81 s [opt-env-conf-test] - ", or explicitly not load any configuration with ",
  14304. 1311.81 s [opt-env-conf-test] - functionChunk "withoutConfig",
  14305. 1311.81 s [opt-env-conf-test] - "."
  14306. 1311.81 s [opt-env-conf-test] - ]
  14307. 1311.81 s [opt-env-conf-test] - ]
  14308. 1311.81 s [opt-env-conf-test] - LintErrorManyInfinite ->
  14309. 1311.81 s [opt-env-conf-test] - [ [ functionChunk "many",
  14310. 1311.81 s [opt-env-conf-test] - " or ",
  14311. 1311.81 s [opt-env-conf-test] - functionChunk "some",
  14312. 1311.81 s [opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
  14313. 1311.81 s [opt-env-conf-test] - ],
  14314. 1311.81 s [opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
  14315. 1311.81 s [opt-env-conf-test] - ],
  14316. 1311.81 s [opt-env-conf-test] - maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  14317. 1311.81 s [opt-env-conf-test] ]
  14318. 1311.81 s [opt-env-conf-test]
  14319. 1311.81 s [opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
  14320. 1311.81 s [opt-env-conf-test] lintParser =
  14321. 1311.82 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
  14322. 1311.82 s [opt-env-conf-test] @@ -65,171 +65,170 @@
  14323. 1311.82 s [opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
  14324. 1311.82 s [opt-env-conf-test] renderLintError LintError {..} =
  14325. 1311.82 s [opt-env-conf-test] concat
  14326. 1311.82 s [opt-env-conf-test] - [ [[fore red "Invalid Setting:"]],
  14327. 1311.82 s [opt-env-conf-test] case lintErrorMessage of
  14328. 1311.82 s [opt-env-conf-test] LintErrorUndocumented ->
  14329. 1311.82 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  14330. 1311.82 s [opt-env-conf-test] LintErrorEmptySetting ->
  14331. 1311.82 s [opt-env-conf-test] concat
  14332. 1311.82 s [opt-env-conf-test] [ [ [ "This ",
  14333. 1311.82 s [opt-env-conf-test] functionChunk "setting",
  14334. 1311.82 s [opt-env-conf-test] " parses nothing."
  14335. 1311.82 s [opt-env-conf-test] ]
  14336. 1311.82 s [opt-env-conf-test] ],
  14337. 1311.82 s [opt-env-conf-test] [ [ "Add an ",
  14338. 1311.82 s [opt-env-conf-test] functionChunk "argument",
  14339. 1311.82 s [opt-env-conf-test] ", ",
  14340. 1311.82 s [opt-env-conf-test] functionChunk "switch",
  14341. 1311.82 s [opt-env-conf-test] ", ",
  14342. 1311.82 s [opt-env-conf-test] functionChunk "option",
  14343. 1311.82 s [opt-env-conf-test] ", ",
  14344. 1311.82 s [opt-env-conf-test] functionChunk "env",
  14345. 1311.82 s [opt-env-conf-test] ", ",
  14346. 1311.82 s [opt-env-conf-test] functionChunk "conf",
  14347. 1311.82 s [opt-env-conf-test] ", or ",
  14348. 1311.82 s [opt-env-conf-test] functionChunk "value",
  14349. 1311.82 s [opt-env-conf-test] "."
  14350. 1311.82 s [opt-env-conf-test] ]
  14351. 1311.83 s [opt-env-conf-test] ]
  14352. 1311.83 s [opt-env-conf-test] ]
  14353. 1311.83 s [opt-env-conf-test] LintErrorDashInShort ->
  14354. 1311.83 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  14355. 1311.83 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  14356. 1311.83 s [opt-env-conf-test] ]
  14357. 1311.83 s [opt-env-conf-test] LintErrorDashInLong s ->
  14358. 1311.83 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  14359. 1311.83 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  14360. 1311.83 s [opt-env-conf-test] [ "Try ",
  14361. 1311.83 s [opt-env-conf-test] functionChunk "long",
  14362. 1311.83 s [opt-env-conf-test] " ",
  14363. 1311.83 s [opt-env-conf-test] chunk $
  14364. 1311.83 s [opt-env-conf-test] T.pack $
  14365. 1311.83 s [opt-env-conf-test] show $
  14366. 1311.83 s [opt-env-conf-test] let go = \case
  14367. 1311.83 s [opt-env-conf-test] [] -> []
  14368. 1311.83 s [opt-env-conf-test] '-' : cs -> go cs
  14369. 1311.83 s [opt-env-conf-test] c : cs -> c : cs
  14370. 1311.83 s [opt-env-conf-test] in go $ NE.toList s,
  14371. 1311.83 s [opt-env-conf-test] " instead."
  14372. 1311.83 s [opt-env-conf-test] ]
  14373. 1311.83 s [opt-env-conf-test] ]
  14374. 1311.83 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  14375. 1311.83 s [opt-env-conf-test] [ [ functionChunk "argument",
  14376. 1311.83 s [opt-env-conf-test] " has no ",
  14377. 1311.83 s [opt-env-conf-test] functionChunk "reader",
  14378. 1311.83 s [opt-env-conf-test] "."
  14379. 1311.83 s [opt-env-conf-test] ]
  14380. 1311.83 s [opt-env-conf-test] ]
  14381. 1311.83 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  14382. 1311.83 s [opt-env-conf-test] [ [ functionChunk "argument",
  14383. 1311.83 s [opt-env-conf-test] " has no ",
  14384. 1311.83 s [opt-env-conf-test] functionChunk "metavar",
  14385. 1311.83 s [opt-env-conf-test] "."
  14386. 1311.83 s [opt-env-conf-test] ]
  14387. 1311.83 s [opt-env-conf-test] ]
  14388. 1311.84 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  14389. 1311.84 s [opt-env-conf-test] [ [ functionChunk "option",
  14390. 1311.84 s [opt-env-conf-test] " or ",
  14391. 1311.84 s [opt-env-conf-test] functionChunk "name",
  14392. 1311.84 s [opt-env-conf-test] " has no ",
  14393. 1311.84 s [opt-env-conf-test] functionChunk "reader",
  14394. 1311.84 s [opt-env-conf-test] "."
  14395. 1311.84 s [opt-env-conf-test] ]
  14396. 1311.84 s [opt-env-conf-test] ]
  14397. 1311.84 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  14398. 1311.84 s [opt-env-conf-test] [ [ functionChunk "option",
  14399. 1311.84 s [opt-env-conf-test] " has no ",
  14400. 1311.84 s [opt-env-conf-test] functionChunk "long",
  14401. 1311.84 s [opt-env-conf-test] " or ",
  14402. 1311.84 s [opt-env-conf-test] functionChunk "short",
  14403. 1311.84 s [opt-env-conf-test] "."
  14404. 1311.84 s [opt-env-conf-test] ]
  14405. 1311.84 s [opt-env-conf-test] ]
  14406. 1311.84 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  14407. 1311.84 s [opt-env-conf-test] [ [ functionChunk "option",
  14408. 1311.84 s [opt-env-conf-test] " or ",
  14409. 1311.84 s [opt-env-conf-test] functionChunk "name",
  14410. 1311.84 s [opt-env-conf-test] " has no ",
  14411. 1311.84 s [opt-env-conf-test] functionChunk "metavar",
  14412. 1311.84 s [opt-env-conf-test] "."
  14413. 1311.84 s [opt-env-conf-test] ]
  14414. 1311.84 s [opt-env-conf-test] ]
  14415. 1311.84 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  14416. 1311.84 s [opt-env-conf-test] [ [ functionChunk "switch",
  14417. 1311.84 s [opt-env-conf-test] " has no ",
  14418. 1311.84 s [opt-env-conf-test] functionChunk "long",
  14419. 1311.84 s [opt-env-conf-test] " or ",
  14420. 1311.84 s [opt-env-conf-test] functionChunk "short",
  14421. 1311.84 s [opt-env-conf-test] "."
  14422. 1311.84 s [opt-env-conf-test] ]
  14423. 1311.84 s [opt-env-conf-test] ]
  14424. 1311.84 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  14425. 1311.84 s [opt-env-conf-test] [ [ functionChunk "long",
  14426. 1311.84 s [opt-env-conf-test] " or ",
  14427. 1311.85 s [opt-env-conf-test] functionChunk "short",
  14428. 1311.85 s [opt-env-conf-test] " has no ",
  14429. 1311.85 s [opt-env-conf-test] functionChunk "option",
  14430. 1311.85 s [opt-env-conf-test] " or ",
  14431. 1311.85 s [opt-env-conf-test] functionChunk "switch",
  14432. 1311.85 s [opt-env-conf-test] "."
  14433. 1311.85 s [opt-env-conf-test] ]
  14434. 1311.85 s [opt-env-conf-test] ]
  14435. 1311.85 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  14436. 1311.85 s [opt-env-conf-test] [ [ functionChunk "env",
  14437. 1311.85 s [opt-env-conf-test] " or ",
  14438. 1311.85 s [opt-env-conf-test] functionChunk "name",
  14439. 1311.85 s [opt-env-conf-test] " has no ",
  14440. 1311.85 s [opt-env-conf-test] functionChunk "reader",
  14441. 1311.85 s [opt-env-conf-test] "."
  14442. 1311.85 s [opt-env-conf-test] ]
  14443. 1311.85 s [opt-env-conf-test] ]
  14444. 1311.85 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  14445. 1311.85 s [opt-env-conf-test] [ [ functionChunk "env",
  14446. 1311.85 s [opt-env-conf-test] " or ",
  14447. 1311.85 s [opt-env-conf-test] functionChunk "name",
  14448. 1311.85 s [opt-env-conf-test] " has no ",
  14449. 1311.85 s [opt-env-conf-test] functionChunk "metavar",
  14450. 1311.85 s [opt-env-conf-test] "."
  14451. 1311.85 s [opt-env-conf-test] ]
  14452. 1311.85 s [opt-env-conf-test] ]
  14453. 1311.85 s [opt-env-conf-test] LintErrorNoCommands ->
  14454. 1311.85 s [opt-env-conf-test] [ [ functionChunk "commands",
  14455. 1311.90 s [opt-env-conf-test] " was called with an empty list."
  14456. 1311.90 s [opt-env-conf-test] ]
  14457. 1311.90 s [opt-env-conf-test] ]
  14458. 1311.90 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  14459. 1311.90 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  14460. 1311.90 s [opt-env-conf-test] " was called with an unknown command: ",
  14461. 1311.90 s [opt-env-conf-test] commandChunk c
  14462. 1311.90 s [opt-env-conf-test] ]
  14463. 1311.90 s [opt-env-conf-test] ]
  14464. 1311.90 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  14465. 1311.90 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  14466. 1311.90 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  14467. 1311.90 s [opt-env-conf-test] ]
  14468. 1311.90 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  14469. 1311.90 s [opt-env-conf-test] [ [ functionChunk "conf",
  14470. 1311.90 s [opt-env-conf-test] " or ",
  14471. 1311.90 s [opt-env-conf-test] functionChunk "name",
  14472. 1311.90 s [opt-env-conf-test] " was called with no way to load configuration."
  14473. 1311.90 s [opt-env-conf-test] ],
  14474. 1311.90 s [opt-env-conf-test] [ "You can load configuration with ",
  14475. 1311.90 s [opt-env-conf-test] functionChunk "withConfig",
  14476. 1311.90 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  14477. 1311.91 s [opt-env-conf-test] functionChunk "withoutConfig",
  14478. 1311.91 s [opt-env-conf-test] "."
  14479. 1311.91 s [opt-env-conf-test] ]
  14480. 1311.91 s [opt-env-conf-test] ]
  14481. 1311.91 s [opt-env-conf-test] LintErrorManyInfinite ->
  14482. 1311.91 s [opt-env-conf-test] [ [ functionChunk "many",
  14483. 1311.91 s [opt-env-conf-test] " or ",
  14484. 1311.91 s [opt-env-conf-test] functionChunk "some",
  14485. 1311.91 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  14486. 1311.91 s [opt-env-conf-test] ],
  14487. 1311.91 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  14488. 1311.91 s [opt-env-conf-test] ],
  14489. 1311.91 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  14490. 1311.91 s [opt-env-conf-test] ]
  14491. 1311.91 s [opt-env-conf-test]
  14492. 1311.91 s [opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
  14493. 1311.91 s [opt-env-conf-test] lintParser =
  14494. 1311.91 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
  14495. 1311.91 s [opt-env-conf-test] @@ -65,171 +65,170 @@
  14496. 1311.91 s [opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
  14497. 1311.91 s [opt-env-conf-test] renderLintError LintError {..} =
  14498. 1311.91 s [opt-env-conf-test] concat
  14499. 1311.91 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  14500. 1311.91 s [opt-env-conf-test] case lintErrorMessage of
  14501. 1311.91 s [opt-env-conf-test] LintErrorUndocumented ->
  14502. 1311.91 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  14503. 1311.91 s [opt-env-conf-test] LintErrorEmptySetting ->
  14504. 1311.91 s [opt-env-conf-test] concat
  14505. 1311.91 s [opt-env-conf-test] [ [ [ "This ",
  14506. 1311.91 s [opt-env-conf-test] functionChunk "setting",
  14507. 1311.91 s [opt-env-conf-test] " parses nothing."
  14508. 1311.91 s [opt-env-conf-test] ]
  14509. 1311.91 s [opt-env-conf-test] ],
  14510. 1311.91 s [opt-env-conf-test] [ [ "Add an ",
  14511. 1311.91 s [opt-env-conf-test] functionChunk "argument",
  14512. 1311.91 s [opt-env-conf-test] ", ",
  14513. 1311.91 s [opt-env-conf-test] functionChunk "switch",
  14514. 1311.91 s [opt-env-conf-test] ", ",
  14515. 1311.91 s [opt-env-conf-test] functionChunk "option",
  14516. 1311.91 s [opt-env-conf-test] ", ",
  14517. 1311.91 s [opt-env-conf-test] functionChunk "env",
  14518. 1311.91 s [opt-env-conf-test] ", ",
  14519. 1311.91 s [opt-env-conf-test] functionChunk "conf",
  14520. 1311.91 s [opt-env-conf-test] ", or ",
  14521. 1311.91 s [opt-env-conf-test] functionChunk "value",
  14522. 1311.91 s [opt-env-conf-test] "."
  14523. 1311.91 s [opt-env-conf-test] ]
  14524. 1311.91 s [opt-env-conf-test] ]
  14525. 1311.91 s [opt-env-conf-test] ]
  14526. 1311.91 s [opt-env-conf-test] LintErrorDashInShort ->
  14527. 1311.91 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  14528. 1311.91 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  14529. 1311.91 s [opt-env-conf-test] ]
  14530. 1311.91 s [opt-env-conf-test] LintErrorDashInLong s ->
  14531. 1311.91 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  14532. 1311.91 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  14533. 1311.91 s [opt-env-conf-test] [ "Try ",
  14534. 1311.91 s [opt-env-conf-test] functionChunk "long",
  14535. 1311.91 s [opt-env-conf-test] " ",
  14536. 1311.91 s [opt-env-conf-test] chunk $
  14537. 1311.91 s [opt-env-conf-test] T.pack $
  14538. 1311.91 s [opt-env-conf-test] show $
  14539. 1311.91 s [opt-env-conf-test] let go = \case
  14540. 1311.91 s [opt-env-conf-test] [] -> []
  14541. 1311.91 s [opt-env-conf-test] '-' : cs -> go cs
  14542. 1311.91 s [opt-env-conf-test] c : cs -> c : cs
  14543. 1311.91 s [opt-env-conf-test] in go $ NE.toList s,
  14544. 1311.91 s [opt-env-conf-test] " instead."
  14545. 1311.91 s [opt-env-conf-test] ]
  14546. 1311.91 s [opt-env-conf-test] ]
  14547. 1311.91 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  14548. 1311.91 s [opt-env-conf-test] [ [ functionChunk "argument",
  14549. 1311.91 s [opt-env-conf-test] " has no ",
  14550. 1311.91 s [opt-env-conf-test] functionChunk "reader",
  14551. 1311.91 s [opt-env-conf-test] "."
  14552. 1311.91 s [opt-env-conf-test] ]
  14553. 1311.91 s [opt-env-conf-test] ]
  14554. 1311.91 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  14555. 1311.91 s [opt-env-conf-test] [ [ functionChunk "argument",
  14556. 1311.91 s [opt-env-conf-test] " has no ",
  14557. 1311.91 s [opt-env-conf-test] functionChunk "metavar",
  14558. 1311.91 s [opt-env-conf-test] "."
  14559. 1311.91 s [opt-env-conf-test] ]
  14560. 1311.91 s [opt-env-conf-test] ]
  14561. 1311.91 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  14562. 1311.91 s [opt-env-conf-test] [ [ functionChunk "option",
  14563. 1311.91 s [opt-env-conf-test] " or ",
  14564. 1311.91 s [opt-env-conf-test] functionChunk "name",
  14565. 1311.91 s [opt-env-conf-test] " has no ",
  14566. 1311.91 s [opt-env-conf-test] functionChunk "reader",
  14567. 1311.91 s [opt-env-conf-test] "."
  14568. 1311.91 s [opt-env-conf-test] ]
  14569. 1311.92 s [opt-env-conf-test] ]
  14570. 1311.92 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  14571. 1311.92 s [opt-env-conf-test] [ [ functionChunk "option",
  14572. 1311.92 s [opt-env-conf-test] " has no ",
  14573. 1311.92 s [opt-env-conf-test] functionChunk "long",
  14574. 1311.92 s [opt-env-conf-test] " or ",
  14575. 1311.92 s [opt-env-conf-test] functionChunk "short",
  14576. 1311.92 s [opt-env-conf-test] "."
  14577. 1311.92 s [opt-env-conf-test] ]
  14578. 1311.92 s [opt-env-conf-test] ]
  14579. 1311.92 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  14580. 1311.92 s [opt-env-conf-test] [ [ functionChunk "option",
  14581. 1311.92 s [opt-env-conf-test] " or ",
  14582. 1311.92 s [opt-env-conf-test] functionChunk "name",
  14583. 1311.92 s [opt-env-conf-test] " has no ",
  14584. 1311.92 s [opt-env-conf-test] functionChunk "metavar",
  14585. 1311.92 s [opt-env-conf-test] "."
  14586. 1311.92 s [opt-env-conf-test] ]
  14587. 1311.92 s [opt-env-conf-test] ]
  14588. 1311.92 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  14589. 1311.92 s [opt-env-conf-test] [ [ functionChunk "switch",
  14590. 1311.92 s [opt-env-conf-test] " has no ",
  14591. 1311.92 s [opt-env-conf-test] functionChunk "long",
  14592. 1311.92 s [opt-env-conf-test] " or ",
  14593. 1311.92 s [opt-env-conf-test] functionChunk "short",
  14594. 1311.92 s [opt-env-conf-test] "."
  14595. 1311.92 s [opt-env-conf-test] ]
  14596. 1311.92 s [opt-env-conf-test] ]
  14597. 1311.92 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  14598. 1311.92 s [opt-env-conf-test] [ [ functionChunk "long",
  14599. 1311.92 s [opt-env-conf-test] " or ",
  14600. 1311.92 s [opt-env-conf-test] functionChunk "short",
  14601. 1311.92 s [opt-env-conf-test] " has no ",
  14602. 1311.92 s [opt-env-conf-test] functionChunk "option",
  14603. 1311.92 s [opt-env-conf-test] " or ",
  14604. 1311.92 s [opt-env-conf-test] functionChunk "switch",
  14605. 1311.92 s [opt-env-conf-test] "."
  14606. 1311.92 s [opt-env-conf-test] ]
  14607. 1311.92 s [opt-env-conf-test] ]
  14608. 1311.92 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  14609. 1311.92 s [opt-env-conf-test] [ [ functionChunk "env",
  14610. 1311.92 s [opt-env-conf-test] " or ",
  14611. 1311.92 s [opt-env-conf-test] functionChunk "name",
  14612. 1311.92 s [opt-env-conf-test] " has no ",
  14613. 1311.92 s [opt-env-conf-test] functionChunk "reader",
  14614. 1311.92 s [opt-env-conf-test] "."
  14615. 1311.92 s [opt-env-conf-test] ]
  14616. 1311.92 s [opt-env-conf-test] ]
  14617. 1311.92 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  14618. 1311.92 s [opt-env-conf-test] [ [ functionChunk "env",
  14619. 1311.92 s [opt-env-conf-test] " or ",
  14620. 1311.92 s [opt-env-conf-test] functionChunk "name",
  14621. 1311.92 s [opt-env-conf-test] " has no ",
  14622. 1311.92 s [opt-env-conf-test] functionChunk "metavar",
  14623. 1311.92 s [opt-env-conf-test] "."
  14624. 1311.92 s [opt-env-conf-test] ]
  14625. 1311.92 s [opt-env-conf-test] ]
  14626. 1311.92 s [opt-env-conf-test] LintErrorNoCommands ->
  14627. 1311.92 s [opt-env-conf-test] [ [ functionChunk "commands",
  14628. 1319.08 s [opt-env-conf-test] " was called with an empty list."
  14629. 1319.08 s [opt-env-conf-test] ]
  14630. 1319.08 s [opt-env-conf-test] ]
  14631. 1319.10 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  14632. 1319.10 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  14633. 1319.10 s [opt-env-conf-test] " was called with an unknown command: ",
  14634. 1319.10 s [opt-env-conf-test] commandChunk c
  14635. 1319.11 s [opt-env-conf-test] ]
  14636. 1319.11 s [opt-env-conf-test] ]
  14637. 1319.11 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  14638. 1319.11 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  14639. 1319.11 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  14640. 1319.11 s [opt-env-conf-test] ]
  14641. 1319.11 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  14642. 1319.11 s [opt-env-conf-test] [ [ functionChunk "conf",
  14643. 1319.11 s [opt-env-conf-test] " or ",
  14644. 1319.11 s [opt-env-conf-test] functionChunk "name",
  14645. 1319.11 s [opt-env-conf-test] " was called with no way to load configuration."
  14646. 1319.11 s [opt-env-conf-test] ],
  14647. 1319.11 s [opt-env-conf-test] [ "You can load configuration with ",
  14648. 1319.11 s [opt-env-conf-test] functionChunk "withConfig",
  14649. 1319.11 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  14650. 1319.11 s [opt-env-conf-test] functionChunk "withoutConfig",
  14651. 1319.11 s [opt-env-conf-test] "."
  14652. 1319.11 s [opt-env-conf-test] ]
  14653. 1319.11 s [opt-env-conf-test] ]
  14654. 1319.11 s [opt-env-conf-test] LintErrorManyInfinite ->
  14655. 1319.11 s [opt-env-conf-test] [ [ functionChunk "many",
  14656. 1319.11 s [opt-env-conf-test] " or ",
  14657. 1319.11 s [opt-env-conf-test] functionChunk "some",
  14658. 1319.11 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  14659. 1319.11 s [opt-env-conf-test] ],
  14660. 1319.11 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  14661. 1319.11 s [opt-env-conf-test] ],
  14662. 1319.11 s [opt-env-conf-test] - maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  14663. 1319.11 s [opt-env-conf-test] ]
  14664. 1319.11 s [opt-env-conf-test]
  14665. 1319.11 s [opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
  14666. 1319.11 s [opt-env-conf-test] lintParser =
  14667. 1319.11 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:78:41-20
  14668. 1319.11 s [opt-env-conf-test] @@ -75,9 +75,8 @@
  14669. 1319.11 s [opt-env-conf-test]
  14670. 1319.11 s [opt-env-conf-test] -- | Turn a 'Maybe' parsing function into a 'Reader'
  14671. 1319.11 s [opt-env-conf-test] maybeReader :: (String -> Maybe a) -> Reader a
  14672. 1319.11 s [opt-env-conf-test] maybeReader func = eitherReader $ \s -> case func s of
  14673. 1319.11 s [opt-env-conf-test] - Nothing -> Left $ "Unparseable value: " <> show s
  14674. 1319.12 s [opt-env-conf-test] Just a -> Right a
  14675. 1319.12 s [opt-env-conf-test]
  14676. 1319.12 s [opt-env-conf-test] -- | Turn an 'Either' parsing function into a 'Reader'
  14677. 1319.12 s [opt-env-conf-test] --
  14678. 1319.12 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:78:41-20
  14679. 1319.12 s [opt-env-conf-test] @@ -75,9 +75,8 @@
  14680. 1319.12 s [opt-env-conf-test]
  14681. 1319.12 s [opt-env-conf-test] -- | Turn a 'Maybe' parsing function into a 'Reader'
  14682. 1319.12 s [opt-env-conf-test] maybeReader :: (String -> Maybe a) -> Reader a
  14683. 1319.12 s [opt-env-conf-test] maybeReader func = eitherReader $ \s -> case func s of
  14684. 1319.12 s [opt-env-conf-test] Nothing -> Left $ "Unparseable value: " <> show s
  14685. 1319.12 s [opt-env-conf-test] - Just a -> Right a
  14686. 1319.12 s [opt-env-conf-test]
  14687. 1319.12 s [opt-env-conf-test] -- | Turn an 'Either' parsing function into a 'Reader'
  14688. 1319.12 s [opt-env-conf-test] --
  14689. 1319.12 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Reader.hs:70:32-36
  14690. 1319.12 s [opt-env-conf-test] @@ -67,7 +67,7 @@
  14691. 1319.12 s [opt-env-conf-test] --
  14692. 1319.12 s [opt-env-conf-test] -- > exists = Reader $ const $ pure True
  14693. 1319.12 s [opt-env-conf-test] exists :: Reader Bool
  14694. 1319.12 s [opt-env-conf-test] -exists = Reader $ const $ pure True
  14695. 1319.12 s [opt-env-conf-test] +exists = Reader $ const $ pure False
  14696. 1319.12 s [opt-env-conf-test]
  14697. 1319.12 s [opt-env-conf-test] -- | Read a value as if it were specified as a 'String' and parsed via the given 'Codec'.
  14698. 1319.12 s [opt-env-conf-test] viaStringCodec :: (HasCodec a) => Reader a
  14699. 1319.12 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:62:23-20
  14700. 1319.12 s [opt-env-conf-test] @@ -59,9 +59,8 @@
  14701. 1319.12 s [opt-env-conf-test] --
  14702. 1319.12 s [opt-env-conf-test] -- You cannot use this for bare strings, because 'Read' for strings parses quotes.
  14703. 1319.12 s [opt-env-conf-test] auto :: (Read a) => Reader a
  14704. 1319.12 s [opt-env-conf-test] auto = Reader $ \s -> case readMaybe s of
  14705. 1319.12 s [opt-env-conf-test] - Nothing -> Left $ "Un-Read-able value: " <> show s
  14706. 1319.12 s [opt-env-conf-test] Just a -> Right a
  14707. 1319.12 s [opt-env-conf-test]
  14708. 1319.12 s [opt-env-conf-test] -- | Always return True
  14709. 1319.12 s [opt-env-conf-test] --
  14710. 1319.12 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:62:23-20
  14711. 1319.12 s [opt-env-conf-test] @@ -59,9 +59,8 @@
  14712. 1319.12 s [opt-env-conf-test] --
  14713. 1319.12 s [opt-env-conf-test] -- You cannot use this for bare strings, because 'Read' for strings parses quotes.
  14714. 1319.12 s [opt-env-conf-test] auto :: (Read a) => Reader a
  14715. 1319.12 s [opt-env-conf-test] auto = Reader $ \s -> case readMaybe s of
  14716. 1319.12 s [opt-env-conf-test] Nothing -> Left $ "Un-Read-able value: " <> show s
  14717. 1319.12 s [opt-env-conf-test] - Just a -> Right a
  14718. 1319.12 s [opt-env-conf-test]
  14719. 1319.12 s [opt-env-conf-test] -- | Always return True
  14720. 1319.13 s [opt-env-conf-test] --
  14721. 1319.13 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:96:28-38
  14722. 1319.13 s [opt-env-conf-test] @@ -93,6 +93,5 @@
  14723. 1319.13 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  14724. 1319.13 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  14725. 1319.13 s [opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
  14726. 1319.13 s [opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
  14727. 1319.13 s [opt-env-conf-test] goCommand :: Command a -> Map Text Option
  14728. 1319.13 s [opt-env-conf-test] goCommand = go . commandParser
  14729. 1319.13 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:96:28-38
  14730. 1319.13 s [opt-env-conf-test] @@ -93,6 +93,5 @@
  14731. 1319.13 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  14732. 1319.13 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  14733. 1319.13 s [opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
  14734. 1319.13 s [opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
  14735. 1319.13 s [opt-env-conf-test] goCommand :: Command a -> Map Text Option
  14736. 1319.13 s [opt-env-conf-test] goCommand = go . commandParser
  14737. 1319.13 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
  14738. 1319.13 s [opt-env-conf-test] @@ -91,8 +91,7 @@
  14739. 1319.13 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  14740. 1319.13 s [opt-env-conf-test]
  14741. 1319.13 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  14742. 1319.13 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  14743. 1319.13 s [opt-env-conf-test] - (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
  14744. 1319.13 s [opt-env-conf-test] _ -> OptionTypeOneOf [ot1, ot2]
  14745. 1319.13 s [opt-env-conf-test] goCommand :: Command a -> Map Text Option
  14746. 1319.13 s [opt-env-conf-test] goCommand = go . commandParser
  14747. 1319.13 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
  14748. 1319.13 s [opt-env-conf-test] @@ -91,8 +91,7 @@
  14749. 1319.13 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  14750. 1319.13 s [opt-env-conf-test]
  14751. 1319.13 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  14752. 1319.13 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  14753. 1319.13 s [opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
  14754. 1319.13 s [opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
  14755. 1319.13 s [opt-env-conf-test] goCommand :: Command a -> Map Text Option
  14756. 1319.13 s [opt-env-conf-test] goCommand = go . commandParser
  14757. 1319.13 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
  14758. 1319.13 s [opt-env-conf-test] @@ -85,10 +85,9 @@
  14759. 1319.13 s [opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  14760. 1319.13 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  14761. 1319.13 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  14762. 1319.13 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  14763. 1319.13 s [opt-env-conf-test] - (Nothing, _) -> o2
  14764. 1319.13 s [opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
  14765. 1319.13 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  14766. 1319.13 s [opt-env-conf-test]
  14767. 1319.13 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  14768. 1319.13 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  14769. 1319.13 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
  14770. 1319.13 s [opt-env-conf-test] @@ -85,10 +85,9 @@
  14771. 1319.13 s [opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  14772. 1319.13 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  14773. 1319.13 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  14774. 1319.13 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  14775. 1319.13 s [opt-env-conf-test] (Nothing, _) -> o2
  14776. 1319.13 s [opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = Just ot1}
  14777. 1319.13 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  14778. 1319.13 s [opt-env-conf-test]
  14779. 1319.13 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  14780. 1319.13 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  14781. 1319.13 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
  14782. 1319.13 s [opt-env-conf-test] @@ -85,10 +85,9 @@
  14783. 1319.13 s [opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  14784. 1319.13 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  14785. 1319.13 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  14786. 1319.13 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  14787. 1319.13 s [opt-env-conf-test] (Nothing, _) -> o2
  14788. 1319.13 s [opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
  14789. 1319.13 s [opt-env-conf-test] - (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  14790. 1319.13 s [opt-env-conf-test]
  14791. 1319.13 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  14792. 1319.13 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  14793. 1319.13 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:75:35-98
  14794. 1319.13 s [opt-env-conf-test] @@ -72,17 +72,10 @@
  14795. 1319.13 s [opt-env-conf-test] let codecTups = maybe [] NE.toList (settingConfigVals s)
  14796. 1319.13 s [opt-env-conf-test] in M.unionsWith combineOption $ flip map codecTups $ \ConfigValSetting {..} ->
  14797. 1319.13 s [opt-env-conf-test] let go' :: NonEmpty Text -> Map Text Option
  14798. 1319.13 s [opt-env-conf-test] go' (p :| ps) = case NE.nonEmpty ps of
  14799. 1319.13 s [opt-env-conf-test] - Nothing ->
  14800. 1319.13 s [opt-env-conf-test] - let oc =
  14801. 1319.13 s [opt-env-conf-test] - maybe
  14802. 1319.13 s [opt-env-conf-test] - (optionalFieldWith' p configValSettingCodec)
  14803. 1319.14 s [opt-env-conf-test] - (optionalFieldWith p configValSettingCodec)
  14804. 1319.14 s [opt-env-conf-test] - (T.pack <$> settingHelp s)
  14805. 1326.47 s [opt-env-conf-test] - in objectCodecNixOptions oc
  14806. 1326.48 s [opt-env-conf-test] Just rest ->
  14807. 1326.50 s [opt-env-conf-test] let m = go' rest
  14808. 1326.50 s [opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  14809. 1326.50 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  14810. 1326.50 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  14811. 1326.50 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  14812. 1326.51 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:75:35-98
  14813. 1326.51 s [opt-env-conf-test] @@ -72,17 +72,14 @@
  14814. 1326.51 s [opt-env-conf-test] let codecTups = maybe [] NE.toList (settingConfigVals s)
  14815. 1326.51 s [opt-env-conf-test] in M.unionsWith combineOption $ flip map codecTups $ \ConfigValSetting {..} ->
  14816. 1326.51 s [opt-env-conf-test] let go' :: NonEmpty Text -> Map Text Option
  14817. 1326.51 s [opt-env-conf-test] go' (p :| ps) = case NE.nonEmpty ps of
  14818. 1326.51 s [opt-env-conf-test] Nothing ->
  14819. 1326.51 s [opt-env-conf-test] let oc =
  14820. 1326.51 s [opt-env-conf-test] maybe
  14821. 1326.51 s [opt-env-conf-test] (optionalFieldWith' p configValSettingCodec)
  14822. 1326.51 s [opt-env-conf-test] (optionalFieldWith p configValSettingCodec)
  14823. 1326.51 s [opt-env-conf-test] (T.pack <$> settingHelp s)
  14824. 1326.51 s [opt-env-conf-test] in objectCodecNixOptions oc
  14825. 1326.51 s [opt-env-conf-test] - Just rest ->
  14826. 1326.51 s [opt-env-conf-test] - let m = go' rest
  14827. 1326.51 s [opt-env-conf-test] - in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  14828. 1326.51 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  14829. 1326.51 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  14830. 1326.51 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  14831. 1326.51 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:38:19-53
  14832. 1326.51 s [opt-env-conf-test] @@ -35,7 +35,6 @@
  14833. 1326.51 s [opt-env-conf-test] ("# " <>)
  14834. 1326.51 s [opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
  14835. 1326.51 s [opt-env-conf-test] "This file was generated by running",
  14836. 1326.51 s [opt-env-conf-test] - unwords [progname, "--render-nix-options"],
  14837. 1326.51 s [opt-env-conf-test] T.unpack content
  14838. 1326.51 s [opt-env-conf-test] ]
  14839. 1326.51 s [opt-env-conf-test]
  14840. 1326.51 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:38:19-53
  14841. 1326.51 s [opt-env-conf-test] @@ -35,7 +35,6 @@
  14842. 1326.51 s [opt-env-conf-test] ("# " <>)
  14843. 1326.51 s [opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
  14844. 1326.51 s [opt-env-conf-test] "This file was generated by running",
  14845. 1326.52 s [opt-env-conf-test] - unwords [progname, "--render-nix-options"],
  14846. 1326.52 s [opt-env-conf-test] T.unpack content
  14847. 1326.52 s [opt-env-conf-test] ]
  14848. 1326.52 s [opt-env-conf-test]
  14849. 1326.52 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
  14850. 1326.52 s [opt-env-conf-test] @@ -33,11 +33,7 @@
  14851. 1326.52 s [opt-env-conf-test] unlines $
  14852. 1326.52 s [opt-env-conf-test] map
  14853. 1326.52 s [opt-env-conf-test] ("# " <>)
  14854. 1326.52 s [opt-env-conf-test] - [ "DO NOT EDIT THIS FILE DIRECTLY",
  14855. 1326.52 s [opt-env-conf-test] - "This file was generated by running",
  14856. 1326.52 s [opt-env-conf-test] - unwords [progname, "--render-nix-options"],
  14857. 1326.52 s [opt-env-conf-test] - T.unpack content
  14858. 1326.52 s [opt-env-conf-test] ]
  14859. 1326.52 s [opt-env-conf-test]
  14860. 1326.52 s [opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
  14861. 1326.52 s [opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
  14862. 1326.52 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
  14863. 1326.52 s [opt-env-conf-test] @@ -33,11 +33,10 @@
  14864. 1326.52 s [opt-env-conf-test] unlines $
  14865. 1326.52 s [opt-env-conf-test] map
  14866. 1326.52 s [opt-env-conf-test] ("# " <>)
  14867. 1326.52 s [opt-env-conf-test] - [ "DO NOT EDIT THIS FILE DIRECTLY",
  14868. 1326.52 s [opt-env-conf-test] "This file was generated by running",
  14869. 1326.52 s [opt-env-conf-test] unwords [progname, "--render-nix-options"],
  14870. 1326.52 s [opt-env-conf-test] T.unpack content
  14871. 1326.52 s [opt-env-conf-test] ]
  14872. 1326.52 s [opt-env-conf-test]
  14873. 1326.52 s [opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
  14874. 1326.52 s [opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
  14875. 1326.52 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
  14876. 1326.52 s [opt-env-conf-test] @@ -33,11 +33,10 @@
  14877. 1326.52 s [opt-env-conf-test] unlines $
  14878. 1326.52 s [opt-env-conf-test] map
  14879. 1326.52 s [opt-env-conf-test] ("# " <>)
  14880. 1326.52 s [opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
  14881. 1326.52 s [opt-env-conf-test] "This file was generated by running",
  14882. 1326.52 s [opt-env-conf-test] unwords [progname, "--render-nix-options"],
  14883. 1326.53 s [opt-env-conf-test] - T.unpack content
  14884. 1326.53 s [opt-env-conf-test] ]
  14885. 1326.53 s [opt-env-conf-test]
  14886. 1326.53 s [opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
  14887. 1326.53 s [opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
  14888. 1326.53 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:81:46-17
  14889. 1326.53 s [opt-env-conf-test] @@ -78,9 +78,8 @@
  14890. 1326.53 s [opt-env-conf-test] -- We could chose to skip the failures here if the first argument was a
  14891. 1326.53 s [opt-env-conf-test] -- Right, but we'd prefer to see as many errors as possible.
  14892. 1326.53 s [opt-env-conf-test] select (Success _) (Failure ne) = Failure ne
  14893. 1326.53 s [opt-env-conf-test] select (Success e) (Success f) = Success $ case e of
  14894. 1326.53 s [opt-env-conf-test] - Left a -> f a
  14895. 1326.53 s [opt-env-conf-test] Right b -> b
  14896. 1326.53 s [opt-env-conf-test]
  14897. 1326.53 s [opt-env-conf-test] validationFailure :: e -> Validation e a
  14898. 1326.53 s [opt-env-conf-test] validationFailure e = Failure (e :| [])
  14899. 1326.53 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:81:46-17
  14900. 1326.53 s [opt-env-conf-test] @@ -78,9 +78,8 @@
  14901. 1326.53 s [opt-env-conf-test] -- We could chose to skip the failures here if the first argument was a
  14902. 1326.53 s [opt-env-conf-test] -- Right, but we'd prefer to see as many errors as possible.
  14903. 1326.53 s [opt-env-conf-test] select (Success _) (Failure ne) = Failure ne
  14904. 1326.53 s [opt-env-conf-test] select (Success e) (Success f) = Success $ case e of
  14905. 1326.53 s [opt-env-conf-test] Left a -> f a
  14906. 1326.53 s [opt-env-conf-test] - Right b -> b
  14907. 1326.53 s [opt-env-conf-test]
  14908. 1326.53 s [opt-env-conf-test] validationFailure :: e -> Validation e a
  14909. 1326.53 s [opt-env-conf-test] validationFailure e = Failure (e :| [])
  14910. 1326.53 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:69:32-20
  14911. 1326.53 s [opt-env-conf-test] @@ -66,9 +66,8 @@
  14912. 1326.53 s [opt-env-conf-test]
  14913. 1326.53 s [opt-env-conf-test] instance Applicative (Validation e) where
  14914. 1326.53 s [opt-env-conf-test] pure = Success
  14915. 1326.53 s [opt-env-conf-test] Failure e1 <*> b = Failure $ case b of
  14916. 1326.53 s [opt-env-conf-test] - Failure e2 -> e1 `NE.append` e2
  14917. 1326.53 s [opt-env-conf-test] Success _ -> e1
  14918. 1326.53 s [opt-env-conf-test] Success _ <*> Failure e2 = Failure e2
  14919. 1326.53 s [opt-env-conf-test] Success f <*> Success a = Success (f a)
  14920. 1326.53 s [opt-env-conf-test]
  14921. 1326.53 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:69:32-20
  14922. 1326.53 s [opt-env-conf-test] @@ -66,9 +66,8 @@
  14923. 1326.53 s [opt-env-conf-test]
  14924. 1326.53 s [opt-env-conf-test] instance Applicative (Validation e) where
  14925. 1326.53 s [opt-env-conf-test] pure = Success
  14926. 1326.53 s [opt-env-conf-test] Failure e1 <*> b = Failure $ case b of
  14927. 1326.53 s [opt-env-conf-test] Failure e2 -> e1 `NE.append` e2
  14928. 1326.53 s [opt-env-conf-test] - Success _ -> e1
  14929. 1326.53 s [opt-env-conf-test] Success _ <*> Failure e2 = Failure e2
  14930. 1326.53 s [opt-env-conf-test] Success f <*> Success a = Success (f a)
  14931. 1326.53 s [opt-env-conf-test]
  14932. 1326.53 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
  14933. 1326.54 s [opt-env-conf-test] @@ -120,5 +120,4 @@
  14934. 1326.54 s [opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
  14935. 1326.54 s [opt-env-conf-test]
  14936. 1326.54 s [opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
  14937. 1326.54 s [opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
  14938. 1326.54 s [opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
  14939. 1326.54 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
  14940. 1326.54 s [opt-env-conf-test] @@ -120,5 +120,4 @@
  14941. 1326.54 s [opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
  14942. 1326.54 s [opt-env-conf-test]
  14943. 1326.54 s [opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
  14944. 1326.54 s [opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
  14945. 1326.54 s [opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
  14946. 1326.54 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
  14947. 1326.54 s [opt-env-conf-test] @@ -120,5 +120,4 @@
  14948. 1326.54 s [opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
  14949. 1326.54 s [opt-env-conf-test]
  14950. 1326.54 s [opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
  14951. 1326.54 s [opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
  14952. 1326.54 s [opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
  14953. 1326.54 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Output.hs:112:34-39
  14954. 1326.54 s [opt-env-conf-test] @@ -109,7 +109,7 @@
  14955. 1326.54 s [opt-env-conf-test] cleanPackage pkg =
  14956. 1326.54 s [opt-env-conf-test] T.unpack $
  14957. 1326.54 s [opt-env-conf-test] T.intercalate "-" $
  14958. 1326.54 s [opt-env-conf-test] - takeWhile (not . maybe False (Char.isDigit . fst) . T.uncons) $
  14959. 1326.54 s [opt-env-conf-test] + takeWhile (not . maybe True (Char.isDigit . fst) . T.uncons) $
  14960. 1326.54 s [opt-env-conf-test] T.splitOn "-" (T.pack pkg)
  14961. 1326.54 s [opt-env-conf-test]
  14962. 1326.54 s [opt-env-conf-test] indent :: [[Chunk]] -> [[Chunk]]
  14963. 1326.54 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:87:27-50
  14964. 1326.54 s [opt-env-conf-test] @@ -84,9 +84,8 @@
  14965. 1326.54 s [opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
  14966. 1326.54 s [opt-env-conf-test]
  14967. 1326.54 s [opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
  14968. 1326.54 s [opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
  14969. 1326.54 s [opt-env-conf-test] - [] -> []
  14970. 1326.54 s [opt-env-conf-test] cs -> intersperse ", " (map capabilityChunk cs)
  14971. 1326.54 s [opt-env-conf-test]
  14972. 1326.54 s [opt-env-conf-test] capabilityChunk :: Capability -> Chunk
  14973. 1326.54 s [opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
  14974. 1326.54 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:87:27-50
  14975. 1326.54 s [opt-env-conf-test] @@ -84,9 +84,8 @@
  14976. 1326.54 s [opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
  14977. 1326.54 s [opt-env-conf-test]
  14978. 1326.54 s [opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
  14979. 1326.55 s [opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
  14980. 1326.55 s [opt-env-conf-test] [] -> []
  14981. 1326.55 s [opt-env-conf-test] - cs -> intersperse ", " (map capabilityChunk cs)
  14982. 1326.55 s [opt-env-conf-test]
  14983. 1326.55 s [opt-env-conf-test] capabilityChunk :: Capability -> Chunk
  14984. 1326.55 s [opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
  14985. 1326.55 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:81:18-44
  14986. 1326.55 s [opt-env-conf-test] @@ -78,7 +78,6 @@
  14987. 1326.55 s [opt-env-conf-test] helpChunk = fore blue . chunk . T.pack
  14988. 1326.55 s [opt-env-conf-test]
  14989. 1326.55 s [opt-env-conf-test] headerChunks :: Text -> [Chunk]
  14990. 1326.55 s [opt-env-conf-test] -headerChunks t = [fore cyan (chunk t), ":"]
  14991. 1326.55 s [opt-env-conf-test]
  14992. 1326.55 s [opt-env-conf-test] syntaxChunk :: String -> Chunk
  14993. 1326.55 s [opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
  14994. 1326.55 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:81:18-44
  14995. 1326.55 s [opt-env-conf-test] @@ -78,7 +78,6 @@
  14996. 1326.55 s [opt-env-conf-test] helpChunk = fore blue . chunk . T.pack
  14997. 1326.55 s [opt-env-conf-test]
  14998. 1326.55 s [opt-env-conf-test] headerChunks :: Text -> [Chunk]
  14999. 1326.55 s [opt-env-conf-test] -headerChunks t = [fore cyan (chunk t), ":"]
  15000. 1326.55 s [opt-env-conf-test]
  15001. 1326.55 s [opt-env-conf-test] syntaxChunk :: String -> Chunk
  15002. 1326.55 s [opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
  15003. 1326.55 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:71:12-59
  15004. 1326.55 s [opt-env-conf-test] @@ -68,7 +68,6 @@
  15005. 1326.55 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  15006. 1326.55 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  15007. 1326.55 s [opt-env-conf-test] [] -> []
  15008. 1326.55 s [opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  15009. 1326.55 s [opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  15010. 1326.55 s [opt-env-conf-test]
  15011. 1337.48 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  15012. 1337.48 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:71:12-59
  15013. 1337.50 s [opt-env-conf-test] @@ -68,7 +68,6 @@
  15014. 1337.50 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  15015. 1337.50 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  15016. 1337.50 s [opt-env-conf-test] [] -> []
  15017. 1337.50 s [opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  15018. 1337.51 s [opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  15019. 1337.51 s [opt-env-conf-test]
  15020. 1337.51 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  15021. 1337.51 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:72:8-91
  15022. 1337.51 s [opt-env-conf-test] @@ -69,7 +69,6 @@
  15023. 1337.51 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  15024. 1337.51 s [opt-env-conf-test] [] -> []
  15025. 1337.51 s [opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  15026. 1337.51 s [opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  15027. 1337.51 s [opt-env-conf-test]
  15028. 1337.51 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  15029. 1337.51 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  15030. 1337.51 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:72:8-91
  15031. 1337.51 s [opt-env-conf-test] @@ -69,7 +69,6 @@
  15032. 1337.51 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  15033. 1337.51 s [opt-env-conf-test] [] -> []
  15034. 1337.51 s [opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  15035. 1337.51 s [opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  15036. 1337.51 s [opt-env-conf-test]
  15037. 1337.51 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  15038. 1337.51 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  15039. 1337.51 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
  15040. 1337.51 s [opt-env-conf-test] @@ -66,10 +66,9 @@
  15041. 1337.51 s [opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  15042. 1337.51 s [opt-env-conf-test]
  15043. 1337.51 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  15044. 1337.51 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  15045. 1337.51 s [opt-env-conf-test] - [] -> []
  15046. 1337.51 s [opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  15047. 1337.51 s [opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  15048. 1337.51 s [opt-env-conf-test]
  15049. 1337.52 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  15050. 1337.52 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  15051. 1337.52 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
  15052. 1337.52 s [opt-env-conf-test] @@ -66,10 +66,9 @@
  15053. 1337.52 s [opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  15054. 1337.52 s [opt-env-conf-test]
  15055. 1337.52 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  15056. 1337.52 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  15057. 1337.52 s [opt-env-conf-test] [] -> []
  15058. 1337.52 s [opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  15059. 1337.52 s [opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  15060. 1337.52 s [opt-env-conf-test]
  15061. 1337.52 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  15062. 1337.52 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  15063. 1337.52 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
  15064. 1337.52 s [opt-env-conf-test] @@ -66,10 +66,9 @@
  15065. 1337.52 s [opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  15066. 1337.52 s [opt-env-conf-test]
  15067. 1337.52 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  15068. 1337.52 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  15069. 1337.52 s [opt-env-conf-test] [] -> []
  15070. 1337.52 s [opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  15071. 1337.52 s [opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  15072. 1337.52 s [opt-env-conf-test]
  15073. 1337.52 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  15074. 1337.52 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  15075. 1337.52 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:66:26-73
  15076. 1337.52 s [opt-env-conf-test] @@ -63,7 +63,6 @@
  15077. 1337.52 s [opt-env-conf-test] confValChunk = fore white . chunk . T.pack . intercalate "." . NE.toList
  15078. 1337.52 s [opt-env-conf-test]
  15079. 1337.52 s [opt-env-conf-test] defaultValueChunks :: String -> [Chunk]
  15080. 1337.52 s [opt-env-conf-test] -defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  15081. 1337.52 s [opt-env-conf-test]
  15082. 1337.52 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  15083. 1337.52 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  15084. 1337.52 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:66:26-73
  15085. 1337.53 s [opt-env-conf-test] @@ -63,7 +63,6 @@
  15086. 1337.53 s [opt-env-conf-test] confValChunk = fore white . chunk . T.pack . intercalate "." . NE.toList
  15087. 1337.53 s [opt-env-conf-test]
  15088. 1337.53 s [opt-env-conf-test] defaultValueChunks :: String -> [Chunk]
  15089. 1337.53 s [opt-env-conf-test] -defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  15090. 1337.53 s [opt-env-conf-test]
  15091. 1337.53 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  15092. 1337.53 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  15093. 1337.53 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:272:22-22
  15094. 1337.53 s [opt-env-conf-test] @@ -269,9 +269,8 @@
  15095. 1337.53 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  15096. 1337.53 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  15097. 1337.53 s [opt-env-conf-test] applyComponent d ".." = parent d
  15098. 1337.53 s [opt-env-conf-test] applyComponent d c = case parseRelDir c of
  15099. 1337.53 s [opt-env-conf-test] - Nothing -> d
  15100. 1337.53 s [opt-env-conf-test] Just rd -> d </> rd
  15101. 1337.53 s [opt-env-conf-test]
  15102. 1337.53 s [opt-env-conf-test] filterPrefix :: String -> [CompletionResult] -> [CompletionResult]
  15103. 1337.53 s [opt-env-conf-test] filterPrefix s = filter ((s `isPrefixOf`) . completionResultValue)
  15104. 1337.53 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:272:22-22
  15105. 1337.53 s [opt-env-conf-test] @@ -269,9 +269,8 @@
  15106. 1337.53 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  15107. 1337.53 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  15108. 1337.53 s [opt-env-conf-test] applyComponent d ".." = parent d
  15109. 1337.53 s [opt-env-conf-test] applyComponent d c = case parseRelDir c of
  15110. 1337.53 s [opt-env-conf-test] Nothing -> d
  15111. 1337.53 s [opt-env-conf-test] - Just rd -> d </> rd
  15112. 1337.53 s [opt-env-conf-test]
  15113. 1337.53 s [opt-env-conf-test] filterPrefix :: String -> [CompletionResult] -> [CompletionResult]
  15114. 1337.53 s [opt-env-conf-test] filterPrefix s = filter ((s `isPrefixOf`) . completionResultValue)
  15115. 1337.53 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:27-35
  15116. 1337.53 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  15117. 1337.53 s [opt-env-conf-test] splitOnSlash s =
  15118. 1337.53 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  15119. 1337.53 s [opt-env-conf-test] in case rest of
  15120. 1337.53 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  15121. 1337.53 s [opt-env-conf-test] + [] -> [seg | not (True)]
  15122. 1337.53 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  15123. 1337.53 s [opt-env-conf-test]
  15124. 1337.53 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  15125. 1337.53 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:27-35
  15126. 1337.53 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  15127. 1337.53 s [opt-env-conf-test] splitOnSlash s =
  15128. 1337.53 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  15129. 1337.53 s [opt-env-conf-test] in case rest of
  15130. 1337.53 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  15131. 1337.54 s [opt-env-conf-test] + [] -> [seg | not (not null seg)]
  15132. 1337.54 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  15133. 1337.54 s [opt-env-conf-test]
  15134. 1337.54 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  15135. 1337.54 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:26-36
  15136. 1337.54 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  15137. 1337.54 s [opt-env-conf-test] splitOnSlash s =
  15138. 1337.54 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  15139. 1337.54 s [opt-env-conf-test] in case rest of
  15140. 1337.54 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  15141. 1337.54 s [opt-env-conf-test] + [] -> [seg | not True]
  15142. 1337.54 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  15143. 1337.54 s [opt-env-conf-test]
  15144. 1337.54 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  15145. 1337.54 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:26-36
  15146. 1337.54 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  15147. 1337.54 s [opt-env-conf-test] splitOnSlash s =
  15148. 1337.54 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  15149. 1337.54 s [opt-env-conf-test] in case rest of
  15150. 1337.54 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  15151. 1337.54 s [opt-env-conf-test] + [] -> [seg | not not (null seg)]
  15152. 1337.54 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  15153. 1337.54 s [opt-env-conf-test]
  15154. 1337.54 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  15155. 1337.54 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:22-36
  15156. 1337.54 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  15157. 1337.54 s [opt-env-conf-test] splitOnSlash s =
  15158. 1337.54 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  15159. 1337.54 s [opt-env-conf-test] in case rest of
  15160. 1337.54 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  15161. 1337.54 s [opt-env-conf-test] + [] -> [seg | True]
  15162. 1337.54 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  15163. 1337.54 s [opt-env-conf-test]
  15164. 1337.54 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  15165. 1337.54 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:22-36
  15166. 1337.54 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  15167. 1337.54 s [opt-env-conf-test] splitOnSlash s =
  15168. 1337.54 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  15169. 1337.54 s [opt-env-conf-test] in case rest of
  15170. 1337.54 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  15171. 1337.54 s [opt-env-conf-test] + [] -> [seg | not not (null seg)]
  15172. 1337.54 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  15173. 1337.54 s [opt-env-conf-test]
  15174. 1337.54 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  15175. 1337.54 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:266:15-37
  15176. 1337.54 s [opt-env-conf-test] @@ -263,7 +263,6 @@
  15177. 1337.54 s [opt-env-conf-test] splitOnSlash s =
  15178. 1337.54 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  15179. 1337.54 s [opt-env-conf-test] in case rest of
  15180. 1337.54 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  15181. 1337.54 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  15182. 1337.54 s [opt-env-conf-test]
  15183. 1337.54 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  15184. 1337.54 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:34-42
  15185. 1337.54 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  15186. 1337.55 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  15187. 1337.55 s [opt-env-conf-test] in case rest of
  15188. 1337.55 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  15189. 1337.55 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  15190. 1337.55 s [opt-env-conf-test] + _ : rest' -> [seg | not (True)] <> splitOnSlash rest'
  15191. 1337.55 s [opt-env-conf-test]
  15192. 1337.55 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  15193. 1337.55 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  15194. 1337.55 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:34-42
  15195. 1337.55 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  15196. 1337.55 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  15197. 1337.55 s [opt-env-conf-test] in case rest of
  15198. 1337.55 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  15199. 1337.55 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  15200. 1337.55 s [opt-env-conf-test] + _ : rest' -> [seg | not (not null seg)] <> splitOnSlash rest'
  15201. 1337.55 s [opt-env-conf-test]
  15202. 1337.55 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  15203. 1337.55 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  15204. 1337.55 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:33-43
  15205. 1337.55 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  15206. 1343.01 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  15207. 1343.01 s [opt-env-conf-test] in case rest of
  15208. 1343.03 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  15209. 1343.03 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  15210. 1343.03 s [opt-env-conf-test] + _ : rest' -> [seg | not True] <> splitOnSlash rest'
  15211. 1343.03 s [opt-env-conf-test]
  15212. 1343.03 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  15213. 1343.03 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  15214. 1343.03 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:33-43
  15215. 1343.03 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  15216. 1343.03 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  15217. 1343.03 s [opt-env-conf-test] in case rest of
  15218. 1343.03 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  15219. 1343.03 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  15220. 1343.03 s [opt-env-conf-test] + _ : rest' -> [seg | not not (null seg)] <> splitOnSlash rest'
  15221. 1343.03 s [opt-env-conf-test]
  15222. 1343.04 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  15223. 1343.04 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  15224. 1343.04 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
  15225. 1343.04 s [opt-env-conf-test] @@ -221,11 +221,7 @@
  15226. 1343.04 s [opt-env-conf-test] ]
  15227. 1343.04 s [opt-env-conf-test] ]
  15228. 1343.04 s [opt-env-conf-test] LintErrorManyInfinite ->
  15229. 1343.04 s [opt-env-conf-test] - [ [ functionChunk "many",
  15230. 1343.04 s [opt-env-conf-test] - " or ",
  15231. 1343.04 s [opt-env-conf-test] - functionChunk "some",
  15232. 1343.04 s [opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
  15233. 1343.04 s [opt-env-conf-test] ],
  15234. 1343.04 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  15235. 1343.04 s [opt-env-conf-test] ],
  15236. 1343.04 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  15237. 1343.04 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:11-12
  15238. 1343.04 s [opt-env-conf-test] @@ -208,18 +208,13 @@
  15239. 1343.04 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  15240. 1343.04 s [opt-env-conf-test] ]
  15241. 1343.04 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  15242. 1343.04 s [opt-env-conf-test] - [ [ functionChunk "conf",
  15243. 1343.04 s [opt-env-conf-test] - " or ",
  15244. 1343.04 s [opt-env-conf-test] - functionChunk "name",
  15245. 1343.04 s [opt-env-conf-test] - " was called with no way to load configuration."
  15246. 1343.04 s [opt-env-conf-test] - ],
  15247. 1343.04 s [opt-env-conf-test] [ "You can load configuration with ",
  15248. 1343.04 s [opt-env-conf-test] functionChunk "withConfig",
  15249. 1343.04 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  15250. 1343.04 s [opt-env-conf-test] functionChunk "withoutConfig",
  15251. 1343.04 s [opt-env-conf-test] "."
  15252. 1343.04 s [opt-env-conf-test] ]
  15253. 1343.04 s [opt-env-conf-test] ]
  15254. 1343.04 s [opt-env-conf-test] LintErrorManyInfinite ->
  15255. 1343.04 s [opt-env-conf-test] [ [ functionChunk "many",
  15256. 1343.04 s [opt-env-conf-test] " or ",
  15257. 1343.04 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:29-43
  15258. 1343.04 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  15259. 1343.04 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  15260. 1343.04 s [opt-env-conf-test] in case rest of
  15261. 1343.04 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  15262. 1343.04 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  15263. 1343.04 s [opt-env-conf-test] + _ : rest' -> [seg | True] <> splitOnSlash rest'
  15264. 1343.04 s [opt-env-conf-test]
  15265. 1343.04 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  15266. 1343.04 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  15267. 1343.04 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
  15268. 1343.04 s [opt-env-conf-test] @@ -213,12 +213,11 @@
  15269. 1343.04 s [opt-env-conf-test] functionChunk "name",
  15270. 1343.04 s [opt-env-conf-test] " was called with no way to load configuration."
  15271. 1343.04 s [opt-env-conf-test] ],
  15272. 1343.04 s [opt-env-conf-test] - [ "You can load configuration with ",
  15273. 1343.04 s [opt-env-conf-test] functionChunk "withConfig",
  15274. 1343.05 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  15275. 1343.05 s [opt-env-conf-test] functionChunk "withoutConfig",
  15276. 1343.05 s [opt-env-conf-test] "."
  15277. 1343.05 s [opt-env-conf-test] ]
  15278. 1343.05 s [opt-env-conf-test] ]
  15279. 1343.05 s [opt-env-conf-test] LintErrorManyInfinite ->
  15280. 1343.05 s [opt-env-conf-test] [ [ functionChunk "many",
  15281. 1343.05 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:11-12
  15282. 1343.05 s [opt-env-conf-test] @@ -208,18 +208,7 @@
  15283. 1343.05 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  15284. 1343.05 s [opt-env-conf-test] ]
  15285. 1343.05 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  15286. 1343.05 s [opt-env-conf-test] - [ [ functionChunk "conf",
  15287. 1343.05 s [opt-env-conf-test] - " or ",
  15288. 1343.05 s [opt-env-conf-test] - functionChunk "name",
  15289. 1343.05 s [opt-env-conf-test] - " was called with no way to load configuration."
  15290. 1343.05 s [opt-env-conf-test] - ],
  15291. 1343.05 s [opt-env-conf-test] - [ "You can load configuration with ",
  15292. 1343.05 s [opt-env-conf-test] - functionChunk "withConfig",
  15293. 1343.05 s [opt-env-conf-test] - ", or explicitly not load any configuration with ",
  15294. 1343.05 s [opt-env-conf-test] - functionChunk "withoutConfig",
  15295. 1343.05 s [opt-env-conf-test] - "."
  15296. 1343.05 s [opt-env-conf-test] - ]
  15297. 1343.05 s [opt-env-conf-test] ]
  15298. 1343.05 s [opt-env-conf-test] LintErrorManyInfinite ->
  15299. 1343.05 s [opt-env-conf-test] [ [ functionChunk "many",
  15300. 1343.05 s [opt-env-conf-test] " or ",
  15301. 1343.05 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:29-43
  15302. 1343.05 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  15303. 1343.05 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  15304. 1343.05 s [opt-env-conf-test] in case rest of
  15305. 1343.05 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  15306. 1343.05 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  15307. 1343.05 s [opt-env-conf-test] + _ : rest' -> [seg | not not (null seg)] <> splitOnSlash rest'
  15308. 1343.05 s [opt-env-conf-test]
  15309. 1343.05 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  15310. 1343.05 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  15311. 1343.05 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:267:22-44
  15312. 1343.05 s [opt-env-conf-test] @@ -264,7 +264,6 @@
  15313. 1343.05 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  15314. 1343.05 s [opt-env-conf-test] in case rest of
  15315. 1343.05 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  15316. 1343.05 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  15317. 1343.05 s [opt-env-conf-test]
  15318. 1343.05 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  15319. 1343.05 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  15320. 1343.05 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:265:7-66
  15321. 1343.05 s [opt-env-conf-test] @@ -262,9 +262,8 @@
  15322. 1343.05 s [opt-env-conf-test] splitOnSlash [] = []
  15323. 1343.05 s [opt-env-conf-test] splitOnSlash s =
  15324. 1343.05 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  15325. 1343.05 s [opt-env-conf-test] in case rest of
  15326. 1343.05 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  15327. 1343.05 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  15328. 1343.05 s [opt-env-conf-test]
  15329. 1343.05 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  15330. 1343.05 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  15331. 1343.05 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
  15332. 1343.05 s [opt-env-conf-test] @@ -213,12 +213,11 @@
  15333. 1343.05 s [opt-env-conf-test] functionChunk "name",
  15334. 1343.05 s [opt-env-conf-test] " was called with no way to load configuration."
  15335. 1343.05 s [opt-env-conf-test] ],
  15336. 1343.05 s [opt-env-conf-test] [ "You can load configuration with ",
  15337. 1343.05 s [opt-env-conf-test] functionChunk "withConfig",
  15338. 1343.05 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  15339. 1343.05 s [opt-env-conf-test] functionChunk "withoutConfig",
  15340. 1343.05 s [opt-env-conf-test] - "."
  15341. 1343.05 s [opt-env-conf-test] ]
  15342. 1343.05 s [opt-env-conf-test] ]
  15343. 1343.05 s [opt-env-conf-test] LintErrorManyInfinite ->
  15344. 1343.05 s [opt-env-conf-test] [ [ functionChunk "many",
  15345. 1343.05 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
  15346. 1343.05 s [opt-env-conf-test] @@ -213,12 +213,7 @@
  15347. 1343.05 s [opt-env-conf-test] functionChunk "name",
  15348. 1343.05 s [opt-env-conf-test] " was called with no way to load configuration."
  15349. 1343.05 s [opt-env-conf-test] ],
  15350. 1343.05 s [opt-env-conf-test] - [ "You can load configuration with ",
  15351. 1343.05 s [opt-env-conf-test] - functionChunk "withConfig",
  15352. 1343.05 s [opt-env-conf-test] - ", or explicitly not load any configuration with ",
  15353. 1343.05 s [opt-env-conf-test] - functionChunk "withoutConfig",
  15354. 1343.05 s [opt-env-conf-test] - "."
  15355. 1343.05 s [opt-env-conf-test] ]
  15356. 1343.05 s [opt-env-conf-test] ]
  15357. 1343.05 s [opt-env-conf-test] LintErrorManyInfinite ->
  15358. 1343.05 s [opt-env-conf-test] [ [ functionChunk "many",
  15359. 1343.05 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  15360. 1343.05 s [opt-env-conf-test] @@ -66,168 +66,164 @@
  15361. 1343.05 s [opt-env-conf-test] renderLintError LintError {..} =
  15362. 1343.05 s [opt-env-conf-test] concat
  15363. 1343.05 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  15364. 1343.05 s [opt-env-conf-test] case lintErrorMessage of
  15365. 1343.05 s [opt-env-conf-test] LintErrorUndocumented ->
  15366. 1343.05 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  15367. 1343.05 s [opt-env-conf-test] LintErrorEmptySetting ->
  15368. 1343.05 s [opt-env-conf-test] concat
  15369. 1343.05 s [opt-env-conf-test] [ [ [ "This ",
  15370. 1343.05 s [opt-env-conf-test] functionChunk "setting",
  15371. 1343.05 s [opt-env-conf-test] " parses nothing."
  15372. 1343.05 s [opt-env-conf-test] ]
  15373. 1343.05 s [opt-env-conf-test] ],
  15374. 1343.05 s [opt-env-conf-test] [ [ "Add an ",
  15375. 1343.05 s [opt-env-conf-test] functionChunk "argument",
  15376. 1343.05 s [opt-env-conf-test] ", ",
  15377. 1343.05 s [opt-env-conf-test] functionChunk "switch",
  15378. 1343.05 s [opt-env-conf-test] ", ",
  15379. 1343.05 s [opt-env-conf-test] functionChunk "option",
  15380. 1343.05 s [opt-env-conf-test] ", ",
  15381. 1343.05 s [opt-env-conf-test] functionChunk "env",
  15382. 1343.05 s [opt-env-conf-test] ", ",
  15383. 1343.05 s [opt-env-conf-test] functionChunk "conf",
  15384. 1343.05 s [opt-env-conf-test] ", or ",
  15385. 1343.05 s [opt-env-conf-test] functionChunk "value",
  15386. 1343.05 s [opt-env-conf-test] "."
  15387. 1343.05 s [opt-env-conf-test] ]
  15388. 1343.05 s [opt-env-conf-test] ]
  15389. 1343.05 s [opt-env-conf-test] ]
  15390. 1343.05 s [opt-env-conf-test] - LintErrorDashInShort ->
  15391. 1343.05 s [opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
  15392. 1343.05 s [opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
  15393. 1343.05 s [opt-env-conf-test] - ]
  15394. 1343.05 s [opt-env-conf-test] LintErrorDashInLong s ->
  15395. 1343.05 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  15396. 1343.06 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  15397. 1343.06 s [opt-env-conf-test] [ "Try ",
  15398. 1343.06 s [opt-env-conf-test] functionChunk "long",
  15399. 1343.06 s [opt-env-conf-test] " ",
  15400. 1343.06 s [opt-env-conf-test] chunk $
  15401. 1343.06 s [opt-env-conf-test] T.pack $
  15402. 1343.06 s [opt-env-conf-test] show $
  15403. 1343.06 s [opt-env-conf-test] let go = \case
  15404. 1343.06 s [opt-env-conf-test] [] -> []
  15405. 1343.06 s [opt-env-conf-test] '-' : cs -> go cs
  15406. 1343.06 s [opt-env-conf-test] c : cs -> c : cs
  15407. 1343.06 s [opt-env-conf-test] in go $ NE.toList s,
  15408. 1343.06 s [opt-env-conf-test] " instead."
  15409. 1343.06 s [opt-env-conf-test] ]
  15410. 1343.06 s [opt-env-conf-test] ]
  15411. 1343.06 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  15412. 1343.06 s [opt-env-conf-test] [ [ functionChunk "argument",
  15413. 1343.06 s [opt-env-conf-test] " has no ",
  15414. 1343.06 s [opt-env-conf-test] functionChunk "reader",
  15415. 1343.06 s [opt-env-conf-test] "."
  15416. 1343.06 s [opt-env-conf-test] ]
  15417. 1343.06 s [opt-env-conf-test] ]
  15418. 1343.06 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  15419. 1343.06 s [opt-env-conf-test] [ [ functionChunk "argument",
  15420. 1343.06 s [opt-env-conf-test] " has no ",
  15421. 1343.06 s [opt-env-conf-test] functionChunk "metavar",
  15422. 1343.06 s [opt-env-conf-test] "."
  15423. 1343.06 s [opt-env-conf-test] ]
  15424. 1343.06 s [opt-env-conf-test] ]
  15425. 1343.06 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  15426. 1343.06 s [opt-env-conf-test] [ [ functionChunk "option",
  15427. 1343.06 s [opt-env-conf-test] " or ",
  15428. 1343.06 s [opt-env-conf-test] functionChunk "name",
  15429. 1343.06 s [opt-env-conf-test] " has no ",
  15430. 1343.06 s [opt-env-conf-test] functionChunk "reader",
  15431. 1343.06 s [opt-env-conf-test] "."
  15432. 1343.06 s [opt-env-conf-test] ]
  15433. 1343.06 s [opt-env-conf-test] ]
  15434. 1343.06 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  15435. 1343.06 s [opt-env-conf-test] [ [ functionChunk "option",
  15436. 1343.06 s [opt-env-conf-test] " has no ",
  15437. 1343.06 s [opt-env-conf-test] functionChunk "long",
  15438. 1343.06 s [opt-env-conf-test] " or ",
  15439. 1343.06 s [opt-env-conf-test] functionChunk "short",
  15440. 1343.06 s [opt-env-conf-test] "."
  15441. 1343.06 s [opt-env-conf-test] ]
  15442. 1343.06 s [opt-env-conf-test] ]
  15443. 1343.06 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  15444. 1343.06 s [opt-env-conf-test] [ [ functionChunk "option",
  15445. 1343.06 s [opt-env-conf-test] " or ",
  15446. 1343.06 s [opt-env-conf-test] functionChunk "name",
  15447. 1343.06 s [opt-env-conf-test] " has no ",
  15448. 1343.06 s [opt-env-conf-test] functionChunk "metavar",
  15449. 1343.06 s [opt-env-conf-test] "."
  15450. 1343.06 s [opt-env-conf-test] ]
  15451. 1343.06 s [opt-env-conf-test] ]
  15452. 1343.06 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  15453. 1343.06 s [opt-env-conf-test] [ [ functionChunk "switch",
  15454. 1343.06 s [opt-env-conf-test] " has no ",
  15455. 1343.06 s [opt-env-conf-test] functionChunk "long",
  15456. 1343.06 s [opt-env-conf-test] " or ",
  15457. 1343.06 s [opt-env-conf-test] functionChunk "short",
  15458. 1343.06 s [opt-env-conf-test] "."
  15459. 1343.06 s [opt-env-conf-test] ]
  15460. 1343.06 s [opt-env-conf-test] ]
  15461. 1343.06 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  15462. 1343.06 s [opt-env-conf-test] [ [ functionChunk "long",
  15463. 1343.06 s [opt-env-conf-test] " or ",
  15464. 1343.06 s [opt-env-conf-test] functionChunk "short",
  15465. 1343.06 s [opt-env-conf-test] " has no ",
  15466. 1343.06 s [opt-env-conf-test] functionChunk "option",
  15467. 1343.06 s [opt-env-conf-test] " or ",
  15468. 1343.06 s [opt-env-conf-test] functionChunk "switch",
  15469. 1343.06 s [opt-env-conf-test] "."
  15470. 1343.06 s [opt-env-conf-test] ]
  15471. 1343.06 s [opt-env-conf-test] ]
  15472. 1343.06 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  15473. 1343.06 s [opt-env-conf-test] [ [ functionChunk "env",
  15474. 1343.06 s [opt-env-conf-test] " or ",
  15475. 1343.06 s [opt-env-conf-test] functionChunk "name",
  15476. 1343.06 s [opt-env-conf-test] " has no ",
  15477. 1343.06 s [opt-env-conf-test] functionChunk "reader",
  15478. 1343.06 s [opt-env-conf-test] "."
  15479. 1343.06 s [opt-env-conf-test] ]
  15480. 1343.06 s [opt-env-conf-test] ]
  15481. 1343.06 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  15482. 1343.06 s [opt-env-conf-test] [ [ functionChunk "env",
  15483. 1343.06 s [opt-env-conf-test] " or ",
  15484. 1343.06 s [opt-env-conf-test] functionChunk "name",
  15485. 1343.06 s [opt-env-conf-test] " has no ",
  15486. 1343.06 s [opt-env-conf-test] functionChunk "metavar",
  15487. 1343.06 s [opt-env-conf-test] "."
  15488. 1343.06 s [opt-env-conf-test] ]
  15489. 1343.06 s [opt-env-conf-test] ]
  15490. 1343.06 s [opt-env-conf-test] LintErrorNoCommands ->
  15491. 1343.06 s [opt-env-conf-test] [ [ functionChunk "commands",
  15492. 1343.85 s [opt-env-conf-test] " was called with an empty list."
  15493. 1343.85 s [opt-env-conf-test] ]
  15494. 1343.85 s [opt-env-conf-test] ]
  15495. 1343.85 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  15496. 1343.85 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  15497. 1343.85 s [opt-env-conf-test] " was called with an unknown command: ",
  15498. 1343.85 s [opt-env-conf-test] commandChunk c
  15499. 1343.85 s [opt-env-conf-test] ]
  15500. 1343.85 s [opt-env-conf-test] ]
  15501. 1343.85 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  15502. 1343.85 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  15503. 1343.85 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  15504. 1343.85 s [opt-env-conf-test] ]
  15505. 1343.85 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  15506. 1343.85 s [opt-env-conf-test] [ [ functionChunk "conf",
  15507. 1343.85 s [opt-env-conf-test] " or ",
  15508. 1343.85 s [opt-env-conf-test] functionChunk "name",
  15509. 1343.86 s [opt-env-conf-test] " was called with no way to load configuration."
  15510. 1343.86 s [opt-env-conf-test] ],
  15511. 1343.86 s [opt-env-conf-test] [ "You can load configuration with ",
  15512. 1343.86 s [opt-env-conf-test] functionChunk "withConfig",
  15513. 1343.86 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  15514. 1343.86 s [opt-env-conf-test] functionChunk "withoutConfig",
  15515. 1343.86 s [opt-env-conf-test] "."
  15516. 1343.86 s [opt-env-conf-test] ]
  15517. 1343.86 s [opt-env-conf-test] ]
  15518. 1343.86 s [opt-env-conf-test] LintErrorManyInfinite ->
  15519. 1343.86 s [opt-env-conf-test] [ [ functionChunk "many",
  15520. 1343.86 s [opt-env-conf-test] " or ",
  15521. 1343.86 s [opt-env-conf-test] functionChunk "some",
  15522. 1343.86 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  15523. 1343.86 s [opt-env-conf-test] ],
  15524. 1343.86 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  15525. 1343.86 s [opt-env-conf-test] ],
  15526. 1343.86 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  15527. 1343.86 s [opt-env-conf-test] ]
  15528. 1343.86 s [opt-env-conf-test]
  15529. 1343.86 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  15530. 1343.86 s [opt-env-conf-test] @@ -66,168 +66,145 @@
  15531. 1343.86 s [opt-env-conf-test] renderLintError LintError {..} =
  15532. 1343.86 s [opt-env-conf-test] concat
  15533. 1343.86 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  15534. 1343.86 s [opt-env-conf-test] case lintErrorMessage of
  15535. 1343.86 s [opt-env-conf-test] LintErrorUndocumented ->
  15536. 1343.86 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  15537. 1343.86 s [opt-env-conf-test] - LintErrorEmptySetting ->
  15538. 1343.86 s [opt-env-conf-test] - concat
  15539. 1343.86 s [opt-env-conf-test] - [ [ [ "This ",
  15540. 1343.86 s [opt-env-conf-test] - functionChunk "setting",
  15541. 1343.86 s [opt-env-conf-test] - " parses nothing."
  15542. 1343.86 s [opt-env-conf-test] - ]
  15543. 1343.86 s [opt-env-conf-test] - ],
  15544. 1343.86 s [opt-env-conf-test] - [ [ "Add an ",
  15545. 1343.86 s [opt-env-conf-test] - functionChunk "argument",
  15546. 1343.86 s [opt-env-conf-test] - ", ",
  15547. 1343.86 s [opt-env-conf-test] - functionChunk "switch",
  15548. 1343.86 s [opt-env-conf-test] - ", ",
  15549. 1343.86 s [opt-env-conf-test] - functionChunk "option",
  15550. 1343.86 s [opt-env-conf-test] - ", ",
  15551. 1343.86 s [opt-env-conf-test] - functionChunk "env",
  15552. 1343.86 s [opt-env-conf-test] - ", ",
  15553. 1343.86 s [opt-env-conf-test] - functionChunk "conf",
  15554. 1343.86 s [opt-env-conf-test] - ", or ",
  15555. 1343.86 s [opt-env-conf-test] - functionChunk "value",
  15556. 1343.86 s [opt-env-conf-test] - "."
  15557. 1343.86 s [opt-env-conf-test] - ]
  15558. 1343.86 s [opt-env-conf-test] - ]
  15559. 1343.87 s [opt-env-conf-test] - ]
  15560. 1343.87 s [opt-env-conf-test] LintErrorDashInShort ->
  15561. 1343.87 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  15562. 1343.87 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  15563. 1343.87 s [opt-env-conf-test] ]
  15564. 1343.87 s [opt-env-conf-test] LintErrorDashInLong s ->
  15565. 1343.87 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  15566. 1343.87 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  15567. 1343.87 s [opt-env-conf-test] [ "Try ",
  15568. 1343.87 s [opt-env-conf-test] functionChunk "long",
  15569. 1343.87 s [opt-env-conf-test] " ",
  15570. 1343.87 s [opt-env-conf-test] chunk $
  15571. 1343.87 s [opt-env-conf-test] T.pack $
  15572. 1343.87 s [opt-env-conf-test] show $
  15573. 1343.87 s [opt-env-conf-test] let go = \case
  15574. 1343.87 s [opt-env-conf-test] [] -> []
  15575. 1343.87 s [opt-env-conf-test] '-' : cs -> go cs
  15576. 1343.87 s [opt-env-conf-test] c : cs -> c : cs
  15577. 1343.87 s [opt-env-conf-test] in go $ NE.toList s,
  15578. 1343.87 s [opt-env-conf-test] " instead."
  15579. 1343.87 s [opt-env-conf-test] ]
  15580. 1343.87 s [opt-env-conf-test] ]
  15581. 1343.87 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  15582. 1343.87 s [opt-env-conf-test] [ [ functionChunk "argument",
  15583. 1343.87 s [opt-env-conf-test] " has no ",
  15584. 1343.87 s [opt-env-conf-test] functionChunk "reader",
  15585. 1343.87 s [opt-env-conf-test] "."
  15586. 1343.87 s [opt-env-conf-test] ]
  15587. 1343.87 s [opt-env-conf-test] ]
  15588. 1343.87 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  15589. 1343.87 s [opt-env-conf-test] [ [ functionChunk "argument",
  15590. 1343.87 s [opt-env-conf-test] " has no ",
  15591. 1343.87 s [opt-env-conf-test] functionChunk "metavar",
  15592. 1343.87 s [opt-env-conf-test] "."
  15593. 1343.87 s [opt-env-conf-test] ]
  15594. 1343.87 s [opt-env-conf-test] ]
  15595. 1343.87 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  15596. 1343.87 s [opt-env-conf-test] [ [ functionChunk "option",
  15597. 1343.87 s [opt-env-conf-test] " or ",
  15598. 1343.87 s [opt-env-conf-test] functionChunk "name",
  15599. 1343.87 s [opt-env-conf-test] " has no ",
  15600. 1343.87 s [opt-env-conf-test] functionChunk "reader",
  15601. 1343.87 s [opt-env-conf-test] "."
  15602. 1343.87 s [opt-env-conf-test] ]
  15603. 1343.87 s [opt-env-conf-test] ]
  15604. 1343.87 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  15605. 1343.87 s [opt-env-conf-test] [ [ functionChunk "option",
  15606. 1343.87 s [opt-env-conf-test] " has no ",
  15607. 1343.87 s [opt-env-conf-test] functionChunk "long",
  15608. 1343.87 s [opt-env-conf-test] " or ",
  15609. 1343.87 s [opt-env-conf-test] functionChunk "short",
  15610. 1343.87 s [opt-env-conf-test] "."
  15611. 1343.87 s [opt-env-conf-test] ]
  15612. 1343.87 s [opt-env-conf-test] ]
  15613. 1343.87 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  15614. 1343.87 s [opt-env-conf-test] [ [ functionChunk "option",
  15615. 1343.87 s [opt-env-conf-test] " or ",
  15616. 1343.87 s [opt-env-conf-test] functionChunk "name",
  15617. 1343.87 s [opt-env-conf-test] " has no ",
  15618. 1343.87 s [opt-env-conf-test] functionChunk "metavar",
  15619. 1343.87 s [opt-env-conf-test] "."
  15620. 1343.87 s [opt-env-conf-test] ]
  15621. 1343.87 s [opt-env-conf-test] ]
  15622. 1343.88 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  15623. 1343.88 s [opt-env-conf-test] [ [ functionChunk "switch",
  15624. 1343.88 s [opt-env-conf-test] " has no ",
  15625. 1343.88 s [opt-env-conf-test] functionChunk "long",
  15626. 1343.88 s [opt-env-conf-test] " or ",
  15627. 1343.88 s [opt-env-conf-test] functionChunk "short",
  15628. 1343.88 s [opt-env-conf-test] "."
  15629. 1343.88 s [opt-env-conf-test] ]
  15630. 1343.88 s [opt-env-conf-test] ]
  15631. 1343.88 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  15632. 1343.88 s [opt-env-conf-test] [ [ functionChunk "long",
  15633. 1343.88 s [opt-env-conf-test] " or ",
  15634. 1343.88 s [opt-env-conf-test] functionChunk "short",
  15635. 1343.88 s [opt-env-conf-test] " has no ",
  15636. 1343.88 s [opt-env-conf-test] functionChunk "option",
  15637. 1343.88 s [opt-env-conf-test] " or ",
  15638. 1343.88 s [opt-env-conf-test] functionChunk "switch",
  15639. 1343.88 s [opt-env-conf-test] "."
  15640. 1343.88 s [opt-env-conf-test] ]
  15641. 1343.88 s [opt-env-conf-test] ]
  15642. 1343.88 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  15643. 1343.88 s [opt-env-conf-test] [ [ functionChunk "env",
  15644. 1343.88 s [opt-env-conf-test] " or ",
  15645. 1343.88 s [opt-env-conf-test] functionChunk "name",
  15646. 1343.88 s [opt-env-conf-test] " has no ",
  15647. 1343.88 s [opt-env-conf-test] functionChunk "reader",
  15648. 1343.88 s [opt-env-conf-test] "."
  15649. 1343.88 s [opt-env-conf-test] ]
  15650. 1343.88 s [opt-env-conf-test] ]
  15651. 1343.88 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  15652. 1343.88 s [opt-env-conf-test] [ [ functionChunk "env",
  15653. 1343.88 s [opt-env-conf-test] " or ",
  15654. 1343.88 s [opt-env-conf-test] functionChunk "name",
  15655. 1343.88 s [opt-env-conf-test] " has no ",
  15656. 1344.18 s [opt-env-conf-test] functionChunk "metavar",
  15657. 1344.18 s [opt-env-conf-test] "."
  15658. 1344.18 s [opt-env-conf-test] ]
  15659. 1344.18 s [opt-env-conf-test] ]
  15660. 1344.18 s [opt-env-conf-test] LintErrorNoCommands ->
  15661. 1344.18 s [opt-env-conf-test] [ [ functionChunk "commands",
  15662. 1344.18 s [opt-env-conf-test] " was called with an empty list."
  15663. 1344.18 s [opt-env-conf-test] ]
  15664. 1344.18 s [opt-env-conf-test] ]
  15665. 1344.18 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  15666. 1344.18 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  15667. 1344.18 s [opt-env-conf-test] " was called with an unknown command: ",
  15668. 1344.18 s [opt-env-conf-test] commandChunk c
  15669. 1344.18 s [opt-env-conf-test] ]
  15670. 1344.18 s [opt-env-conf-test] ]
  15671. 1344.18 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  15672. 1344.18 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  15673. 1344.18 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  15674. 1344.18 s [opt-env-conf-test] ]
  15675. 1344.18 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  15676. 1344.18 s [opt-env-conf-test] [ [ functionChunk "conf",
  15677. 1344.18 s [opt-env-conf-test] " or ",
  15678. 1344.18 s [opt-env-conf-test] functionChunk "name",
  15679. 1344.18 s [opt-env-conf-test] " was called with no way to load configuration."
  15680. 1344.18 s [opt-env-conf-test] ],
  15681. 1344.18 s [opt-env-conf-test] [ "You can load configuration with ",
  15682. 1344.19 s [opt-env-conf-test] functionChunk "withConfig",
  15683. 1344.19 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  15684. 1344.19 s [opt-env-conf-test] functionChunk "withoutConfig",
  15685. 1344.19 s [opt-env-conf-test] "."
  15686. 1344.19 s [opt-env-conf-test] ]
  15687. 1344.19 s [opt-env-conf-test] ]
  15688. 1344.19 s [opt-env-conf-test] LintErrorManyInfinite ->
  15689. 1344.19 s [opt-env-conf-test] [ [ functionChunk "many",
  15690. 1344.19 s [opt-env-conf-test] " or ",
  15691. 1344.19 s [opt-env-conf-test] functionChunk "some",
  15692. 1344.19 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  15693. 1344.19 s [opt-env-conf-test] ],
  15694. 1344.19 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  15695. 1344.19 s [opt-env-conf-test] ],
  15696. 1344.19 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  15697. 1344.19 s [opt-env-conf-test] ]
  15698. 1344.19 s [opt-env-conf-test]
  15699. 1344.19 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  15700. 1344.19 s [opt-env-conf-test] @@ -66,168 +66,166 @@
  15701. 1344.19 s [opt-env-conf-test] renderLintError LintError {..} =
  15702. 1344.19 s [opt-env-conf-test] concat
  15703. 1344.19 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  15704. 1344.19 s [opt-env-conf-test] case lintErrorMessage of
  15705. 1344.19 s [opt-env-conf-test] - LintErrorUndocumented ->
  15706. 1344.19 s [opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
  15707. 1344.19 s [opt-env-conf-test] LintErrorEmptySetting ->
  15708. 1344.19 s [opt-env-conf-test] concat
  15709. 1344.19 s [opt-env-conf-test] [ [ [ "This ",
  15710. 1344.19 s [opt-env-conf-test] functionChunk "setting",
  15711. 1344.19 s [opt-env-conf-test] " parses nothing."
  15712. 1344.19 s [opt-env-conf-test] ]
  15713. 1344.19 s [opt-env-conf-test] ],
  15714. 1344.19 s [opt-env-conf-test] [ [ "Add an ",
  15715. 1344.19 s [opt-env-conf-test] functionChunk "argument",
  15716. 1344.19 s [opt-env-conf-test] ", ",
  15717. 1344.20 s [opt-env-conf-test] functionChunk "switch",
  15718. 1344.20 s [opt-env-conf-test] ", ",
  15719. 1344.20 s [opt-env-conf-test] functionChunk "option",
  15720. 1344.20 s [opt-env-conf-test] ", ",
  15721. 1344.20 s [opt-env-conf-test] functionChunk "env",
  15722. 1344.20 s [opt-env-conf-test] ", ",
  15723. 1344.20 s [opt-env-conf-test] functionChunk "conf",
  15724. 1344.20 s [opt-env-conf-test] ", or ",
  15725. 1344.20 s [opt-env-conf-test] functionChunk "value",
  15726. 1344.20 s [opt-env-conf-test] "."
  15727. 1344.20 s [opt-env-conf-test] ]
  15728. 1344.20 s [opt-env-conf-test] ]
  15729. 1344.20 s [opt-env-conf-test] ]
  15730. 1344.20 s [opt-env-conf-test] LintErrorDashInShort ->
  15731. 1344.20 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  15732. 1344.20 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  15733. 1344.20 s [opt-env-conf-test] ]
  15734. 1344.20 s [opt-env-conf-test] LintErrorDashInLong s ->
  15735. 1344.20 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  15736. 1344.20 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  15737. 1344.20 s [opt-env-conf-test] [ "Try ",
  15738. 1344.20 s [opt-env-conf-test] functionChunk "long",
  15739. 1344.20 s [opt-env-conf-test] " ",
  15740. 1344.20 s [opt-env-conf-test] chunk $
  15741. 1344.20 s [opt-env-conf-test] T.pack $
  15742. 1344.20 s [opt-env-conf-test] show $
  15743. 1344.20 s [opt-env-conf-test] let go = \case
  15744. 1344.20 s [opt-env-conf-test] [] -> []
  15745. 1344.20 s [opt-env-conf-test] '-' : cs -> go cs
  15746. 1344.20 s [opt-env-conf-test] c : cs -> c : cs
  15747. 1344.20 s [opt-env-conf-test] in go $ NE.toList s,
  15748. 1344.20 s [opt-env-conf-test] " instead."
  15749. 1344.20 s [opt-env-conf-test] ]
  15750. 1344.20 s [opt-env-conf-test] ]
  15751. 1344.20 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  15752. 1344.20 s [opt-env-conf-test] [ [ functionChunk "argument",
  15753. 1344.20 s [opt-env-conf-test] " has no ",
  15754. 1344.20 s [opt-env-conf-test] functionChunk "reader",
  15755. 1344.20 s [opt-env-conf-test] "."
  15756. 1344.20 s [opt-env-conf-test] ]
  15757. 1344.20 s [opt-env-conf-test] ]
  15758. 1344.20 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  15759. 1344.20 s [opt-env-conf-test] [ [ functionChunk "argument",
  15760. 1344.21 s [opt-env-conf-test] " has no ",
  15761. 1344.21 s [opt-env-conf-test] functionChunk "metavar",
  15762. 1344.21 s [opt-env-conf-test] "."
  15763. 1344.21 s [opt-env-conf-test] ]
  15764. 1344.21 s [opt-env-conf-test] ]
  15765. 1344.21 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  15766. 1344.21 s [opt-env-conf-test] [ [ functionChunk "option",
  15767. 1344.21 s [opt-env-conf-test] " or ",
  15768. 1344.21 s [opt-env-conf-test] functionChunk "name",
  15769. 1344.21 s [opt-env-conf-test] " has no ",
  15770. 1344.21 s [opt-env-conf-test] functionChunk "reader",
  15771. 1344.21 s [opt-env-conf-test] "."
  15772. 1344.21 s [opt-env-conf-test] ]
  15773. 1344.21 s [opt-env-conf-test] ]
  15774. 1344.21 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  15775. 1344.21 s [opt-env-conf-test] [ [ functionChunk "option",
  15776. 1344.21 s [opt-env-conf-test] " has no ",
  15777. 1344.21 s [opt-env-conf-test] functionChunk "long",
  15778. 1344.21 s [opt-env-conf-test] " or ",
  15779. 1344.21 s [opt-env-conf-test] functionChunk "short",
  15780. 1344.21 s [opt-env-conf-test] "."
  15781. 1344.21 s [opt-env-conf-test] ]
  15782. 1344.21 s [opt-env-conf-test] ]
  15783. 1344.21 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  15784. 1344.21 s [opt-env-conf-test] [ [ functionChunk "option",
  15785. 1344.21 s [opt-env-conf-test] " or ",
  15786. 1344.21 s [opt-env-conf-test] functionChunk "name",
  15787. 1344.21 s [opt-env-conf-test] " has no ",
  15788. 1344.21 s [opt-env-conf-test] functionChunk "metavar",
  15789. 1344.21 s [opt-env-conf-test] "."
  15790. 1344.21 s [opt-env-conf-test] ]
  15791. 1344.21 s [opt-env-conf-test] ]
  15792. 1344.21 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  15793. 1344.21 s [opt-env-conf-test] [ [ functionChunk "switch",
  15794. 1344.21 s [opt-env-conf-test] " has no ",
  15795. 1344.21 s [opt-env-conf-test] functionChunk "long",
  15796. 1344.21 s [opt-env-conf-test] " or ",
  15797. 1344.21 s [opt-env-conf-test] functionChunk "short",
  15798. 1344.21 s [opt-env-conf-test] "."
  15799. 1344.21 s [opt-env-conf-test] ]
  15800. 1344.21 s [opt-env-conf-test] ]
  15801. 1344.21 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  15802. 1344.21 s [opt-env-conf-test] [ [ functionChunk "long",
  15803. 1344.21 s [opt-env-conf-test] " or ",
  15804. 1344.21 s [opt-env-conf-test] functionChunk "short",
  15805. 1344.21 s [opt-env-conf-test] " has no ",
  15806. 1344.21 s [opt-env-conf-test] functionChunk "option",
  15807. 1344.21 s [opt-env-conf-test] " or ",
  15808. 1344.21 s [opt-env-conf-test] functionChunk "switch",
  15809. 1344.21 s [opt-env-conf-test] "."
  15810. 1344.21 s [opt-env-conf-test] ]
  15811. 1344.21 s [opt-env-conf-test] ]
  15812. 1344.21 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  15813. 1344.21 s [opt-env-conf-test] [ [ functionChunk "env",
  15814. 1344.21 s [opt-env-conf-test] " or ",
  15815. 1344.21 s [opt-env-conf-test] functionChunk "name",
  15816. 1344.21 s [opt-env-conf-test] " has no ",
  15817. 1344.21 s [opt-env-conf-test] functionChunk "reader",
  15818. 1344.21 s [opt-env-conf-test] "."
  15819. 1344.21 s [opt-env-conf-test] ]
  15820. 1344.21 s [opt-env-conf-test] ]
  15821. 1344.22 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  15822. 1344.22 s [opt-env-conf-test] [ [ functionChunk "env",
  15823. 1344.22 s [opt-env-conf-test] " or ",
  15824. 1344.22 s [opt-env-conf-test] functionChunk "name",
  15825. 1344.22 s [opt-env-conf-test] " has no ",
  15826. 1344.22 s [opt-env-conf-test] functionChunk "metavar",
  15827. 1344.22 s [opt-env-conf-test] "."
  15828. 1344.22 s [opt-env-conf-test] ]
  15829. 1344.22 s [opt-env-conf-test] ]
  15830. 1344.22 s [opt-env-conf-test] LintErrorNoCommands ->
  15831. 1344.22 s [opt-env-conf-test] [ [ functionChunk "commands",
  15832. 1353.65 s [opt-env-conf-test] " was called with an empty list."
  15833. 1353.65 s [opt-env-conf-test] ]
  15834. 1353.66 s [opt-env-conf-test] ]
  15835. 1353.68 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  15836. 1353.68 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  15837. 1353.68 s [opt-env-conf-test] " was called with an unknown command: ",
  15838. 1353.68 s [opt-env-conf-test] commandChunk c
  15839. 1353.68 s [opt-env-conf-test] ]
  15840. 1353.68 s [opt-env-conf-test] ]
  15841. 1353.68 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  15842. 1353.68 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  15843. 1353.68 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  15844. 1353.68 s [opt-env-conf-test] ]
  15845. 1353.68 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  15846. 1353.68 s [opt-env-conf-test] [ [ functionChunk "conf",
  15847. 1353.68 s [opt-env-conf-test] " or ",
  15848. 1353.68 s [opt-env-conf-test] functionChunk "name",
  15849. 1353.68 s [opt-env-conf-test] " was called with no way to load configuration."
  15850. 1353.68 s [opt-env-conf-test] ],
  15851. 1353.68 s [opt-env-conf-test] [ "You can load configuration with ",
  15852. 1353.68 s [opt-env-conf-test] functionChunk "withConfig",
  15853. 1353.68 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  15854. 1353.68 s [opt-env-conf-test] functionChunk "withoutConfig",
  15855. 1353.68 s [opt-env-conf-test] "."
  15856. 1353.68 s [opt-env-conf-test] ]
  15857. 1353.68 s [opt-env-conf-test] ]
  15858. 1353.69 s [opt-env-conf-test] LintErrorManyInfinite ->
  15859. 1353.69 s [opt-env-conf-test] [ [ functionChunk "many",
  15860. 1353.69 s [opt-env-conf-test] " or ",
  15861. 1353.69 s [opt-env-conf-test] functionChunk "some",
  15862. 1353.69 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  15863. 1353.69 s [opt-env-conf-test] ],
  15864. 1353.69 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  15865. 1353.69 s [opt-env-conf-test] ],
  15866. 1353.69 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  15867. 1353.69 s [opt-env-conf-test] ]
  15868. 1353.69 s [opt-env-conf-test]
  15869. 1353.69 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:11-12
  15870. 1353.69 s [opt-env-conf-test] @@ -221,13 +221,7 @@
  15871. 1353.69 s [opt-env-conf-test] ]
  15872. 1353.69 s [opt-env-conf-test] ]
  15873. 1353.69 s [opt-env-conf-test] LintErrorManyInfinite ->
  15874. 1353.69 s [opt-env-conf-test] - [ [ functionChunk "many",
  15875. 1353.69 s [opt-env-conf-test] - " or ",
  15876. 1353.69 s [opt-env-conf-test] - functionChunk "some",
  15877. 1353.69 s [opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
  15878. 1353.69 s [opt-env-conf-test] - ],
  15879. 1353.69 s [opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
  15880. 1353.69 s [opt-env-conf-test] ],
  15881. 1353.69 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  15882. 1353.69 s [opt-env-conf-test] ]
  15883. 1353.69 s [opt-env-conf-test]
  15884. 1353.69 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:11-12
  15885. 1353.69 s [opt-env-conf-test] @@ -221,13 +221,8 @@
  15886. 1353.69 s [opt-env-conf-test] ]
  15887. 1353.69 s [opt-env-conf-test] ]
  15888. 1353.69 s [opt-env-conf-test] LintErrorManyInfinite ->
  15889. 1353.69 s [opt-env-conf-test] - [ [ functionChunk "many",
  15890. 1353.69 s [opt-env-conf-test] - " or ",
  15891. 1353.69 s [opt-env-conf-test] - functionChunk "some",
  15892. 1353.69 s [opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
  15893. 1353.69 s [opt-env-conf-test] - ],
  15894. 1353.69 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  15895. 1353.69 s [opt-env-conf-test] ],
  15896. 1353.69 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  15897. 1353.69 s [opt-env-conf-test] ]
  15898. 1353.69 s [opt-env-conf-test]
  15899. 1353.69 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completer.hs:246:27-28
  15900. 1353.69 s [opt-env-conf-test] @@ -243,7 +243,7 @@
  15901. 1353.69 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  15902. 1353.69 s [opt-env-conf-test] [] -> 0
  15903. 1353.69 s [opt-env-conf-test] ixs -> maximum ixs
  15904. 1353.69 s [opt-env-conf-test] - in if lastDotDotIdx == 0
  15905. 1353.69 s [opt-env-conf-test] + in if lastDotDotIdx == 1
  15906. 1353.69 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  15907. 1353.69 s [opt-env-conf-test] else
  15908. 1353.69 s [opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
  15909. 1353.69 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
  15910. 1353.69 s [opt-env-conf-test] @@ -221,11 +221,10 @@
  15911. 1353.69 s [opt-env-conf-test] ]
  15912. 1353.69 s [opt-env-conf-test] ]
  15913. 1353.69 s [opt-env-conf-test] LintErrorManyInfinite ->
  15914. 1353.69 s [opt-env-conf-test] - [ [ functionChunk "many",
  15915. 1353.69 s [opt-env-conf-test] " or ",
  15916. 1353.69 s [opt-env-conf-test] functionChunk "some",
  15917. 1353.69 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  15918. 1353.69 s [opt-env-conf-test] ],
  15919. 1353.69 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  15920. 1353.69 s [opt-env-conf-test] ],
  15921. 1353.69 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  15922. 1353.69 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:243:23-27
  15923. 1353.69 s [opt-env-conf-test] @@ -240,9 +240,8 @@
  15924. 1353.69 s [opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
  15925. 1353.69 s [opt-env-conf-test] components = splitOnSlash afterCurDir
  15926. 1353.69 s [opt-env-conf-test] -- Find the index after the last "../" component
  15927. 1353.69 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  15928. 1353.69 s [opt-env-conf-test] [] -> 0
  15929. 1353.69 s [opt-env-conf-test] - ixs -> maximum ixs
  15930. 1353.69 s [opt-env-conf-test] in if lastDotDotIdx == 0
  15931. 1353.69 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  15932. 1353.69 s [opt-env-conf-test] else
  15933. 1353.69 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:246:10-28
  15934. 1353.70 s [opt-env-conf-test] @@ -243,7 +243,7 @@
  15935. 1353.70 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  15936. 1353.70 s [opt-env-conf-test] [] -> 0
  15937. 1353.70 s [opt-env-conf-test] ixs -> maximum ixs
  15938. 1353.70 s [opt-env-conf-test] - in if lastDotDotIdx == 0
  15939. 1353.70 s [opt-env-conf-test] + in if True
  15940. 1353.70 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  15941. 1353.70 s [opt-env-conf-test] else
  15942. 1353.70 s [opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
  15943. 1353.70 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:243:28-76
  15944. 1353.70 s [opt-env-conf-test] @@ -240,7 +240,6 @@
  15945. 1353.70 s [opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
  15946. 1353.70 s [opt-env-conf-test] components = splitOnSlash afterCurDir
  15947. 1353.70 s [opt-env-conf-test] -- Find the index after the last "../" component
  15948. 1353.70 s [opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  15949. 1353.70 s [opt-env-conf-test] [] -> 0
  15950. 1353.70 s [opt-env-conf-test] ixs -> maximum ixs
  15951. 1353.70 s [opt-env-conf-test] in if lastDotDotIdx == 0
  15952. 1353.70 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:243:66-75
  15953. 1353.70 s [opt-env-conf-test] @@ -240,7 +240,7 @@
  15954. 1353.70 s [opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
  15955. 1353.70 s [opt-env-conf-test] components = splitOnSlash afterCurDir
  15956. 1353.70 s [opt-env-conf-test] -- Find the index after the last "../" component
  15957. 1353.70 s [opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  15958. 1353.70 s [opt-env-conf-test] + lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, not c == ".."] of
  15959. 1353.70 s [opt-env-conf-test] [] -> 0
  15960. 1353.70 s [opt-env-conf-test] ixs -> maximum ixs
  15961. 1353.70 s [opt-env-conf-test] in if lastDotDotIdx == 0
  15962. 1353.70 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:246:10-28
  15963. 1353.70 s [opt-env-conf-test] @@ -243,7 +243,7 @@
  15964. 1353.70 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  15965. 1353.70 s [opt-env-conf-test] [] -> 0
  15966. 1353.70 s [opt-env-conf-test] ixs -> maximum ixs
  15967. 1353.70 s [opt-env-conf-test] - in if lastDotDotIdx == 0
  15968. 1353.70 s [opt-env-conf-test] + in if False
  15969. 1353.70 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  15970. 1353.70 s [opt-env-conf-test] else
  15971. 1353.70 s [opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
  15972. 1353.70 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
  15973. 1353.70 s [opt-env-conf-test] @@ -204,7 +204,6 @@
  15974. 1353.70 s [opt-env-conf-test] ]
  15975. 1353.70 s [opt-env-conf-test] ]
  15976. 1353.70 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  15977. 1353.70 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  15978. 1353.70 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  15979. 1353.70 s [opt-env-conf-test] ]
  15980. 1353.70 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  15981. 1353.70 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:19-47
  15982. 1353.70 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  15983. 1353.70 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  15984. 1353.70 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  15985. 1353.70 s [opt-env-conf-test] trailingSlash
  15986. 1353.70 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  15987. 1353.70 s [opt-env-conf-test] + | not "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  15988. 1353.70 s [opt-env-conf-test] | otherwise = ""
  15989. 1353.70 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  15990. 1353.70 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  15991. 1353.70 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:54-78
  15992. 1353.70 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  15993. 1353.70 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  15994. 1353.70 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  15995. 1353.70 s [opt-env-conf-test] trailingSlash
  15996. 1353.70 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  15997. 1353.70 s [opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not (True) = "/"
  15998. 1353.70 s [opt-env-conf-test] | otherwise = ""
  15999. 1353.71 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  16000. 1353.71 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  16001. 1353.71 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:54-78
  16002. 1353.71 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  16003. 1353.71 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  16004. 1353.71 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  16005. 1353.71 s [opt-env-conf-test] trailingSlash
  16006. 1353.71 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  16007. 1353.71 s [opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not (not null remainderComponents) = "/"
  16008. 1353.71 s [opt-env-conf-test] | otherwise = ""
  16009. 1353.71 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  16010. 1353.71 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  16011. 1353.71 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:53-79
  16012. 1353.71 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  16013. 1353.71 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  16014. 1360.99 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  16015. 1361.01 s [opt-env-conf-test] trailingSlash
  16016. 1361.01 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  16017. 1361.01 s [opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not True = "/"
  16018. 1361.01 s [opt-env-conf-test] | otherwise = ""
  16019. 1361.01 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  16020. 1361.02 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  16021. 1361.02 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:53-79
  16022. 1361.02 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  16023. 1361.02 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  16024. 1361.02 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  16025. 1361.02 s [opt-env-conf-test] trailingSlash
  16026. 1361.02 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  16027. 1361.02 s [opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not not (null remainderComponents) = "/"
  16028. 1361.02 s [opt-env-conf-test] | otherwise = ""
  16029. 1361.02 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  16030. 1361.02 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  16031. 1361.02 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:196:13-14
  16032. 1361.02 s [opt-env-conf-test] @@ -193,9 +193,7 @@
  16033. 1361.02 s [opt-env-conf-test] ]
  16034. 1361.02 s [opt-env-conf-test] ]
  16035. 1361.02 s [opt-env-conf-test] LintErrorNoCommands ->
  16036. 1361.02 s [opt-env-conf-test] - [ [ functionChunk "commands",
  16037. 1361.02 s [opt-env-conf-test] - " was called with an empty list."
  16038. 1361.02 s [opt-env-conf-test] ]
  16039. 1361.02 s [opt-env-conf-test] ]
  16040. 1361.02 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  16041. 1361.02 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  16042. 1361.02 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:49-79
  16043. 1361.02 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  16044. 1361.02 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  16045. 1361.02 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  16046. 1361.02 s [opt-env-conf-test] trailingSlash
  16047. 1361.02 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  16048. 1361.02 s [opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not not (null remainderComponents) = "/"
  16049. 1361.02 s [opt-env-conf-test] | otherwise = ""
  16050. 1361.02 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  16051. 1361.03 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  16052. 1361.03 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:196:13-14
  16053. 1361.03 s [opt-env-conf-test] @@ -193,9 +193,8 @@
  16054. 1361.03 s [opt-env-conf-test] ]
  16055. 1361.03 s [opt-env-conf-test] ]
  16056. 1361.03 s [opt-env-conf-test] LintErrorNoCommands ->
  16057. 1361.03 s [opt-env-conf-test] - [ [ functionChunk "commands",
  16058. 1361.03 s [opt-env-conf-test] " was called with an empty list."
  16059. 1361.03 s [opt-env-conf-test] ]
  16060. 1361.03 s [opt-env-conf-test] ]
  16061. 1361.03 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  16062. 1361.03 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  16063. 1361.03 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
  16064. 1361.03 s [opt-env-conf-test] @@ -208,11 +208,10 @@
  16065. 1361.03 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  16066. 1361.03 s [opt-env-conf-test] ]
  16067. 1361.03 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  16068. 1361.03 s [opt-env-conf-test] [ [ functionChunk "conf",
  16069. 1361.03 s [opt-env-conf-test] " or ",
  16070. 1361.03 s [opt-env-conf-test] functionChunk "name",
  16071. 1361.03 s [opt-env-conf-test] - " was called with no way to load configuration."
  16072. 1361.03 s [opt-env-conf-test] ],
  16073. 1361.03 s [opt-env-conf-test] [ "You can load configuration with ",
  16074. 1361.03 s [opt-env-conf-test] functionChunk "withConfig",
  16075. 1361.03 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  16076. 1361.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:19-47
  16077. 1361.03 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  16078. 1361.03 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  16079. 1361.03 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  16080. 1361.03 s [opt-env-conf-test] trailingSlash
  16081. 1361.03 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  16082. 1361.03 s [opt-env-conf-test] + | True, not (null remainderComponents) = "/"
  16083. 1361.03 s [opt-env-conf-test] | otherwise = ""
  16084. 1361.03 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  16085. 1361.03 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  16086. 1361.04 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:246:10-28
  16087. 1361.04 s [opt-env-conf-test] @@ -243,7 +243,7 @@
  16088. 1361.04 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  16089. 1361.04 s [opt-env-conf-test] [] -> 0
  16090. 1361.04 s [opt-env-conf-test] ixs -> maximum ixs
  16091. 1361.04 s [opt-env-conf-test] - in if lastDotDotIdx == 0
  16092. 1361.04 s [opt-env-conf-test] + in if not lastDotDotIdx == 0
  16093. 1361.04 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  16094. 1361.04 s [opt-env-conf-test] else
  16095. 1361.04 s [opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
  16096. 1361.04 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:243:66-75
  16097. 1361.04 s [opt-env-conf-test] @@ -240,7 +240,7 @@
  16098. 1361.04 s [opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
  16099. 1361.04 s [opt-env-conf-test] components = splitOnSlash afterCurDir
  16100. 1361.04 s [opt-env-conf-test] -- Find the index after the last "../" component
  16101. 1361.04 s [opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  16102. 1361.04 s [opt-env-conf-test] + lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, True] of
  16103. 1361.04 s [opt-env-conf-test] [] -> 0
  16104. 1361.04 s [opt-env-conf-test] ixs -> maximum ixs
  16105. 1361.04 s [opt-env-conf-test] in if lastDotDotIdx == 0
  16106. 1361.04 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:265:7-66
  16107. 1361.04 s [opt-env-conf-test] @@ -262,9 +262,8 @@
  16108. 1361.04 s [opt-env-conf-test] splitOnSlash [] = []
  16109. 1361.04 s [opt-env-conf-test] splitOnSlash s =
  16110. 1361.04 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  16111. 1361.04 s [opt-env-conf-test] in case rest of
  16112. 1361.04 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  16113. 1361.04 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  16114. 1361.04 s [opt-env-conf-test]
  16115. 1361.04 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  16116. 1361.04 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  16117. 1361.04 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:243:23-27
  16118. 1361.04 s [opt-env-conf-test] @@ -240,9 +240,8 @@
  16119. 1361.04 s [opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
  16120. 1361.04 s [opt-env-conf-test] components = splitOnSlash afterCurDir
  16121. 1361.04 s [opt-env-conf-test] -- Find the index after the last "../" component
  16122. 1361.04 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  16123. 1361.04 s [opt-env-conf-test] - [] -> 0
  16124. 1361.04 s [opt-env-conf-test] ixs -> maximum ixs
  16125. 1361.04 s [opt-env-conf-test] in if lastDotDotIdx == 0
  16126. 1361.04 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  16127. 1361.04 s [opt-env-conf-test] else
  16128. 1361.04 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:214:15-13
  16129. 1361.04 s [opt-env-conf-test] @@ -211,9 +211,8 @@
  16130. 1361.04 s [opt-env-conf-test] }
  16131. 1361.04 s [opt-env-conf-test]
  16132. 1361.04 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  16133. 1361.04 s [opt-env-conf-test] hiddenRel p = case toFilePath p of
  16134. 1361.04 s [opt-env-conf-test] - ('.' : _) -> True
  16135. 1361.04 s [opt-env-conf-test] _ -> False
  16136. 1361.04 s [opt-env-conf-test]
  16137. 1361.04 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  16138. 1361.04 s [opt-env-conf-test] stripCurDir = \case
  16139. 1361.04 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
  16140. 1361.04 s [opt-env-conf-test] @@ -155,11 +155,8 @@
  16141. 1361.04 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  16142. 1361.04 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  16143. 1361.04 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  16144. 1361.04 s [opt-env-conf-test] Nothing -> case fp of
  16145. 1361.04 s [opt-env-conf-test] - [] -> do
  16146. 1361.04 s [opt-env-conf-test] - (ds, _) <- listDirRel baseDir
  16147. 1361.04 s [opt-env-conf-test] - pure (map fromRelDir $ filter (not . hiddenRel) ds)
  16148. 1361.04 s [opt-env-conf-test] _ -> pure []
  16149. 1361.04 s [opt-env-conf-test] Just (Abs ad) -> do
  16150. 1361.04 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  16151. 1361.05 s [opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  16152. 1361.05 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
  16153. 1361.05 s [opt-env-conf-test] @@ -155,11 +155,10 @@
  16154. 1361.05 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  16155. 1361.05 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  16156. 1361.05 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  16157. 1361.05 s [opt-env-conf-test] Nothing -> case fp of
  16158. 1361.05 s [opt-env-conf-test] [] -> do
  16159. 1361.05 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  16160. 1361.05 s [opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
  16161. 1361.05 s [opt-env-conf-test] - _ -> pure []
  16162. 1361.05 s [opt-env-conf-test] Just (Abs ad) -> do
  16163. 1361.05 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  16164. 1361.05 s [opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  16165. 1361.05 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:214:15-13
  16166. 1361.05 s [opt-env-conf-test] @@ -211,9 +211,9 @@
  16167. 1361.05 s [opt-env-conf-test] }
  16168. 1361.05 s [opt-env-conf-test]
  16169. 1361.05 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  16170. 1361.05 s [opt-env-conf-test] -hiddenRel p = case toFilePath p of
  16171. 1361.05 s [opt-env-conf-test] +hiddenRel p = False= case toFilePath p of
  16172. 1361.05 s [opt-env-conf-test] ('.' : _) -> True
  16173. 1361.05 s [opt-env-conf-test] _ -> False
  16174. 1361.05 s [opt-env-conf-test]
  16175. 1361.05 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  16176. 1361.05 s [opt-env-conf-test] stripCurDir = \case
  16177. 1361.05 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:214:15-13
  16178. 1361.05 s [opt-env-conf-test] @@ -211,9 +211,9 @@
  16179. 1361.05 s [opt-env-conf-test] }
  16180. 1361.05 s [opt-env-conf-test]
  16181. 1361.05 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  16182. 1361.05 s [opt-env-conf-test] -hiddenRel p = case toFilePath p of
  16183. 1361.05 s [opt-env-conf-test] +hiddenRel p = True= case toFilePath p of
  16184. 1361.05 s [opt-env-conf-test] ('.' : _) -> True
  16185. 1361.05 s [opt-env-conf-test] _ -> False
  16186. 1361.05 s [opt-env-conf-test]
  16187. 1361.05 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  16188. 1361.05 s [opt-env-conf-test] stripCurDir = \case
  16189. 1361.05 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
  16190. 1361.05 s [opt-env-conf-test] @@ -154,19 +154,16 @@
  16191. 1361.05 s [opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
  16192. 1361.05 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  16193. 1361.05 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  16194. 1361.05 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  16195. 1361.05 s [opt-env-conf-test] Nothing -> case fp of
  16196. 1361.05 s [opt-env-conf-test] [] -> do
  16197. 1361.05 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  16198. 1361.05 s [opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
  16199. 1361.05 s [opt-env-conf-test] _ -> pure []
  16200. 1371.40 s [opt-env-conf-test] - Just (Abs ad) -> do
  16201. 1371.42 s [opt-env-conf-test] - (ds, _) <- listDirForgiving ad
  16202. 1371.42 s [opt-env-conf-test] - pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  16203. 1371.42 s [opt-env-conf-test] Just (Rel rd) -> do
  16204. 1371.42 s [opt-env-conf-test] let ad = baseDir </> rd
  16205. 1371.42 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  16206. 1371.43 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  16207. 1371.43 s [opt-env-conf-test]
  16208. 1371.43 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  16209. 1371.43 s [opt-env-conf-test] Nothing -> pure []
  16210. 1371.43 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:214:15-13
  16211. 1371.43 s [opt-env-conf-test] @@ -211,9 +211,8 @@
  16212. 1371.43 s [opt-env-conf-test] }
  16213. 1371.43 s [opt-env-conf-test]
  16214. 1371.43 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  16215. 1371.43 s [opt-env-conf-test] hiddenRel p = case toFilePath p of
  16216. 1371.43 s [opt-env-conf-test] ('.' : _) -> True
  16217. 1371.43 s [opt-env-conf-test] - _ -> False
  16218. 1371.43 s [opt-env-conf-test]
  16219. 1371.43 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  16220. 1371.43 s [opt-env-conf-test] stripCurDir = \case
  16221. 1371.43 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:214:15-13
  16222. 1371.43 s [opt-env-conf-test] @@ -211,9 +211,9 @@
  16223. 1371.43 s [opt-env-conf-test] }
  16224. 1371.43 s [opt-env-conf-test]
  16225. 1371.43 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  16226. 1371.43 s [opt-env-conf-test] -hiddenRel p = case toFilePath p of
  16227. 1371.43 s [opt-env-conf-test] +hiddenRel p = not case toFilePath p of
  16228. 1371.43 s [opt-env-conf-test] ('.' : _) -> True
  16229. 1371.43 s [opt-env-conf-test] _ -> False
  16230. 1371.43 s [opt-env-conf-test]
  16231. 1371.43 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  16232. 1371.43 s [opt-env-conf-test] stripCurDir = \case
  16233. 1371.44 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
  16234. 1371.44 s [opt-env-conf-test] @@ -154,19 +154,14 @@
  16235. 1371.44 s [opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
  16236. 1371.44 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  16237. 1371.44 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  16238. 1371.44 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  16239. 1371.44 s [opt-env-conf-test] - Nothing -> case fp of
  16240. 1371.44 s [opt-env-conf-test] - [] -> do
  16241. 1371.44 s [opt-env-conf-test] - (ds, _) <- listDirRel baseDir
  16242. 1371.44 s [opt-env-conf-test] - pure (map fromRelDir $ filter (not . hiddenRel) ds)
  16243. 1371.44 s [opt-env-conf-test] - _ -> pure []
  16244. 1371.44 s [opt-env-conf-test] Just (Abs ad) -> do
  16245. 1371.44 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  16246. 1371.44 s [opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  16247. 1371.44 s [opt-env-conf-test] Just (Rel rd) -> do
  16248. 1371.44 s [opt-env-conf-test] let ad = baseDir </> rd
  16249. 1371.44 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  16250. 1371.44 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  16251. 1371.44 s [opt-env-conf-test]
  16252. 1371.44 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  16253. 1371.44 s [opt-env-conf-test] Nothing -> pure []
  16254. 1371.44 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:49-79
  16255. 1371.44 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  16256. 1371.44 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  16257. 1371.44 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  16258. 1371.44 s [opt-env-conf-test] trailingSlash
  16259. 1371.44 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  16260. 1371.44 s [opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, True = "/"
  16261. 1371.44 s [opt-env-conf-test] | otherwise = ""
  16262. 1371.44 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  16263. 1371.44 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  16264. 1371.44 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:19-27
  16265. 1371.44 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  16266. 1371.44 s [opt-env-conf-test] . showString " "
  16267. 1371.44 s [opt-env-conf-test] . go 11 p
  16268. 1371.44 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  16269. 1371.44 s [opt-env-conf-test] - showParen (d > 10) $
  16270. 1371.44 s [opt-env-conf-test] + showParen False $
  16271. 1371.45 s [opt-env-conf-test] showString "Check "
  16272. 1371.45 s [opt-env-conf-test] . showsPrec 11 mLoc
  16273. 1371.45 s [opt-env-conf-test] . showString " "
  16274. 1371.45 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:215:16-20
  16275. 1371.45 s [opt-env-conf-test] @@ -212,7 +212,7 @@
  16276. 1371.45 s [opt-env-conf-test]
  16277. 1371.45 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  16278. 1371.45 s [opt-env-conf-test] hiddenRel p = case toFilePath p of
  16279. 1371.45 s [opt-env-conf-test] - ('.' : _) -> True
  16280. 1371.45 s [opt-env-conf-test] + ('.' : _) -> False
  16281. 1371.45 s [opt-env-conf-test] _ -> False
  16282. 1371.45 s [opt-env-conf-test]
  16283. 1371.45 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  16284. 1371.45 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:216:8-13
  16285. 1371.45 s [opt-env-conf-test] @@ -213,7 +213,7 @@
  16286. 1371.45 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  16287. 1371.45 s [opt-env-conf-test] hiddenRel p = case toFilePath p of
  16288. 1371.45 s [opt-env-conf-test] ('.' : _) -> True
  16289. 1371.45 s [opt-env-conf-test] - _ -> False
  16290. 1371.45 s [opt-env-conf-test] + _ -> True
  16291. 1371.45 s [opt-env-conf-test]
  16292. 1371.45 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  16293. 1371.45 s [opt-env-conf-test] stripCurDir = \case
  16294. 1371.45 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:175:31-53
  16295. 1371.45 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  16296. 1371.45 s [opt-env-conf-test] Nothing -> pure []
  16297. 1371.45 s [opt-env-conf-test] Just (Abs af) -> do
  16298. 1371.45 s [opt-env-conf-test] let dir = parent af
  16299. 1371.45 s [opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  16300. 1371.45 s [opt-env-conf-test] + let filterHidden = if not hiddenRel (dirname af) then id else filter (not . hiddenRel)
  16301. 1371.45 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  16302. 1371.45 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  16303. 1371.45 s [opt-env-conf-test] Just (Rel rf) ->
  16304. 1371.45 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:179:12-21
  16305. 1371.45 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  16306. 1371.45 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  16307. 1371.45 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  16308. 1371.45 s [opt-env-conf-test] Just (Rel rf) ->
  16309. 1371.45 s [opt-env-conf-test] - if fp == "."
  16310. 1371.45 s [opt-env-conf-test] + if False
  16311. 1371.45 s [opt-env-conf-test] then do
  16312. 1371.45 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  16313. 1371.45 s [opt-env-conf-test] pure (map fromRelDir ds)
  16314. 1371.45 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:179:12-21
  16315. 1371.45 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  16316. 1371.45 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  16317. 1371.45 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  16318. 1371.45 s [opt-env-conf-test] Just (Rel rf) ->
  16319. 1371.45 s [opt-env-conf-test] - if fp == "."
  16320. 1371.45 s [opt-env-conf-test] + if True
  16321. 1371.45 s [opt-env-conf-test] then do
  16322. 1371.45 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  16323. 1371.45 s [opt-env-conf-test] pure (map fromRelDir ds)
  16324. 1371.45 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:186:35-47
  16325. 1371.45 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  16326. 1371.46 s [opt-env-conf-test] else do
  16327. 1371.46 s [opt-env-conf-test] let dir = parent rf
  16328. 1371.46 s [opt-env-conf-test] let ad = baseDir </> dir
  16329. 1371.46 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  16330. 1371.46 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  16331. 1371.46 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  16332. 1371.46 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  16333. 1371.46 s [opt-env-conf-test]
  16334. 1371.46 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:179:12-21
  16335. 1371.46 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  16336. 1371.46 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  16337. 1371.46 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  16338. 1371.46 s [opt-env-conf-test] Just (Rel rf) ->
  16339. 1371.46 s [opt-env-conf-test] - if fp == "."
  16340. 1371.46 s [opt-env-conf-test] + if not fp == "."
  16341. 1371.46 s [opt-env-conf-test] then do
  16342. 1371.46 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  16343. 1371.46 s [opt-env-conf-test] pure (map fromRelDir ds)
  16344. 1371.46 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:186:35-47
  16345. 1371.46 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  16346. 1371.46 s [opt-env-conf-test] else do
  16347. 1371.46 s [opt-env-conf-test] let dir = parent rf
  16348. 1371.46 s [opt-env-conf-test] let ad = baseDir </> dir
  16349. 1371.46 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  16350. 1371.46 s [opt-env-conf-test] + let filterHidden = if not hiddenRel rf then id else filter (not . hiddenRel)
  16351. 1371.46 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  16352. 1371.46 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  16353. 1371.46 s [opt-env-conf-test]
  16354. 1371.46 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
  16355. 1371.46 s [opt-env-conf-test] @@ -168,24 +168,23 @@
  16356. 1371.46 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  16357. 1371.46 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  16358. 1371.46 s [opt-env-conf-test]
  16359. 1371.46 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  16360. 1371.46 s [opt-env-conf-test] - Nothing -> pure []
  16361. 1371.46 s [opt-env-conf-test] Just (Abs af) -> do
  16362. 1371.46 s [opt-env-conf-test] let dir = parent af
  16363. 1371.46 s [opt-env-conf-test] let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  16364. 1371.46 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  16365. 1371.46 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  16366. 1371.46 s [opt-env-conf-test] Just (Rel rf) ->
  16367. 1371.46 s [opt-env-conf-test] if fp == "."
  16368. 1371.46 s [opt-env-conf-test] then do
  16369. 1371.46 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  16370. 1371.46 s [opt-env-conf-test] pure (map fromRelDir ds)
  16371. 1371.46 s [opt-env-conf-test] else do
  16372. 1371.46 s [opt-env-conf-test] let dir = parent rf
  16373. 1371.46 s [opt-env-conf-test] let ad = baseDir </> dir
  16374. 1371.46 s [opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  16375. 1371.46 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  16376. 1371.46 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  16377. 1371.47 s [opt-env-conf-test]
  16378. 1371.47 s [opt-env-conf-test] pure $
  16379. 1371.47 s [opt-env-conf-test] concat
  16380. 1371.47 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:186:35-47
  16381. 1371.47 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  16382. 1371.47 s [opt-env-conf-test] else do
  16383. 1371.47 s [opt-env-conf-test] let dir = parent rf
  16384. 1371.47 s [opt-env-conf-test] let ad = baseDir </> dir
  16385. 1371.47 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  16386. 1371.47 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  16387. 1371.47 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  16388. 1371.47 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  16389. 1371.47 s [opt-env-conf-test]
  16390. 1371.47 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:175:31-53
  16391. 1371.47 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  16392. 1371.47 s [opt-env-conf-test] Nothing -> pure []
  16393. 1371.47 s [opt-env-conf-test] Just (Abs af) -> do
  16394. 1371.47 s [opt-env-conf-test] let dir = parent af
  16395. 1371.47 s [opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  16396. 1371.47 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  16397. 1371.47 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  16398. 1371.47 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  16399. 1371.47 s [opt-env-conf-test] Just (Rel rf) ->
  16400. 1374.67 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
  16401. 1374.67 s [opt-env-conf-test] @@ -154,19 +154,15 @@
  16402. 1374.67 s [opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
  16403. 1374.67 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  16404. 1374.67 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  16405. 1374.67 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  16406. 1374.67 s [opt-env-conf-test] Nothing -> case fp of
  16407. 1374.67 s [opt-env-conf-test] [] -> do
  16408. 1374.67 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  16409. 1374.68 s [opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
  16410. 1374.68 s [opt-env-conf-test] _ -> pure []
  16411. 1374.68 s [opt-env-conf-test] Just (Abs ad) -> do
  16412. 1374.68 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  16413. 1374.68 s [opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  16414. 1374.68 s [opt-env-conf-test] - Just (Rel rd) -> do
  16415. 1374.68 s [opt-env-conf-test] - let ad = baseDir </> rd
  16416. 1374.68 s [opt-env-conf-test] - (ds, _) <- listDirForgiving ad
  16417. 1374.68 s [opt-env-conf-test] - pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  16418. 1374.68 s [opt-env-conf-test]
  16419. 1374.68 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  16420. 1374.68 s [opt-env-conf-test] Nothing -> pure []
  16421. 1374.68 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:175:31-53
  16422. 1374.68 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  16423. 1374.68 s [opt-env-conf-test] Nothing -> pure []
  16424. 1374.68 s [opt-env-conf-test] Just (Abs af) -> do
  16425. 1374.68 s [opt-env-conf-test] let dir = parent af
  16426. 1374.68 s [opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  16427. 1374.68 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  16428. 1374.68 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  16429. 1374.68 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  16430. 1374.68 s [opt-env-conf-test] Just (Rel rf) ->
  16431. 1374.68 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:74:18-27
  16432. 1374.68 s [opt-env-conf-test] @@ -71,14 +71,13 @@
  16433. 1374.68 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
  16434. 1374.68 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  16435. 1374.68 s [opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
  16436. 1374.68 s [opt-env-conf-test] Nothing -> case fp of
  16437. 1374.68 s [opt-env-conf-test] [] -> do
  16438. 1374.68 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  16439. 1374.68 s [opt-env-conf-test] pure
  16440. 1374.68 s [opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
  16441. 1374.68 s [opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
  16442. 1374.68 s [opt-env-conf-test] )
  16443. 1374.68 s [opt-env-conf-test] - _ -> pure ([], [])
  16444. 1374.68 s [opt-env-conf-test] Just (Abs ad) -> do
  16445. 1374.68 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  16446. 1374.69 s [opt-env-conf-test] pure
  16447. 1374.69 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
  16448. 1374.69 s [opt-env-conf-test] @@ -70,28 +70,20 @@
  16449. 1374.69 s [opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
  16450. 1374.69 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
  16451. 1374.69 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  16452. 1374.69 s [opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
  16453. 1374.69 s [opt-env-conf-test] - Nothing -> case fp of
  16454. 1374.69 s [opt-env-conf-test] - [] -> do
  16455. 1374.69 s [opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
  16456. 1374.69 s [opt-env-conf-test] - pure
  16457. 1374.69 s [opt-env-conf-test] - ( map fromRelDir $ filter (not . hiddenRel) ds,
  16458. 1374.69 s [opt-env-conf-test] - map fromRelFile $ filter (not . hiddenRel) fs
  16459. 1374.69 s [opt-env-conf-test] - )
  16460. 1374.69 s [opt-env-conf-test] - _ -> pure ([], [])
  16461. 1374.69 s [opt-env-conf-test] Just (Abs ad) -> do
  16462. 1374.69 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  16463. 1374.69 s [opt-env-conf-test] pure
  16464. 1374.69 s [opt-env-conf-test] ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
  16465. 1374.69 s [opt-env-conf-test] map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
  16466. 1374.69 s [opt-env-conf-test] )
  16467. 1374.69 s [opt-env-conf-test] Just (Rel rd) -> do
  16468. 1374.69 s [opt-env-conf-test] let ad = baseDir </> rd
  16469. 1374.69 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  16470. 1374.69 s [opt-env-conf-test] pure
  16471. 1374.69 s [opt-env-conf-test] ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
  16472. 1374.69 s [opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
  16473. 1374.69 s [opt-env-conf-test] )
  16474. 1374.69 s [opt-env-conf-test]
  16475. 1374.69 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  16476. 1374.69 s [opt-env-conf-test] Nothing ->
  16477. 1374.69 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
  16478. 1374.69 s [opt-env-conf-test] @@ -70,28 +70,22 @@
  16479. 1374.69 s [opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
  16480. 1374.69 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
  16481. 1374.70 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  16482. 1374.70 s [opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
  16483. 1374.70 s [opt-env-conf-test] Nothing -> case fp of
  16484. 1374.70 s [opt-env-conf-test] [] -> do
  16485. 1374.70 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  16486. 1374.70 s [opt-env-conf-test] pure
  16487. 1374.70 s [opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
  16488. 1374.70 s [opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
  16489. 1374.70 s [opt-env-conf-test] )
  16490. 1374.70 s [opt-env-conf-test] _ -> pure ([], [])
  16491. 1374.70 s [opt-env-conf-test] - Just (Abs ad) -> do
  16492. 1374.70 s [opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
  16493. 1374.70 s [opt-env-conf-test] - pure
  16494. 1374.70 s [opt-env-conf-test] - ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
  16495. 1374.70 s [opt-env-conf-test] - map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
  16496. 1374.70 s [opt-env-conf-test] - )
  16497. 1374.70 s [opt-env-conf-test] Just (Rel rd) -> do
  16498. 1374.70 s [opt-env-conf-test] let ad = baseDir </> rd
  16499. 1374.70 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  16500. 1374.70 s [opt-env-conf-test] pure
  16501. 1374.70 s [opt-env-conf-test] ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
  16502. 1374.70 s [opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
  16503. 1374.70 s [opt-env-conf-test] )
  16504. 1374.70 s [opt-env-conf-test]
  16505. 1374.70 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  16506. 1374.70 s [opt-env-conf-test] Nothing ->
  16507. 1374.70 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:74:18-27
  16508. 1374.70 s [opt-env-conf-test] @@ -71,14 +71,8 @@
  16509. 1374.70 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
  16510. 1374.70 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  16511. 1374.70 s [opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
  16512. 1374.70 s [opt-env-conf-test] Nothing -> case fp of
  16513. 1374.70 s [opt-env-conf-test] - [] -> do
  16514. 1374.70 s [opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
  16515. 1374.70 s [opt-env-conf-test] - pure
  16516. 1374.70 s [opt-env-conf-test] - ( map fromRelDir $ filter (not . hiddenRel) ds,
  16517. 1374.70 s [opt-env-conf-test] - map fromRelFile $ filter (not . hiddenRel) fs
  16518. 1374.70 s [opt-env-conf-test] - )
  16519. 1374.70 s [opt-env-conf-test] _ -> pure ([], [])
  16520. 1374.70 s [opt-env-conf-test] Just (Abs ad) -> do
  16521. 1374.70 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  16522. 1374.70 s [opt-env-conf-test] pure
  16523. 1374.70 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:192:9-10
  16524. 1374.70 s [opt-env-conf-test] @@ -189,9 +189,8 @@
  16525. 1374.70 s [opt-env-conf-test]
  16526. 1374.70 s [opt-env-conf-test] pure $
  16527. 1374.70 s [opt-env-conf-test] concat
  16528. 1374.70 s [opt-env-conf-test] - [ dirsFromPartialListing,
  16529. 1374.70 s [opt-env-conf-test] dirsFromParentListing
  16530. 1374.70 s [opt-env-conf-test] ]
  16531. 1374.70 s [opt-env-conf-test] where
  16532. 1374.70 s [opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
  16533. 1374.70 s [opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
  16534. 1374.70 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:98:12-21
  16535. 1374.70 s [opt-env-conf-test] @@ -95,7 +95,7 @@
  16536. 1374.70 s [opt-env-conf-test]
  16537. 1374.70 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  16538. 1374.70 s [opt-env-conf-test] Nothing ->
  16539. 1374.70 s [opt-env-conf-test] - if fp == "."
  16540. 1374.70 s [opt-env-conf-test] + if True
  16541. 1374.70 s [opt-env-conf-test] then do
  16542. 1374.70 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  16543. 1374.70 s [opt-env-conf-test] pure
  16544. 1374.70 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
  16545. 1374.70 s [opt-env-conf-test] @@ -168,24 +168,19 @@
  16546. 1374.70 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  16547. 1374.70 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  16548. 1374.70 s [opt-env-conf-test]
  16549. 1374.71 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  16550. 1374.71 s [opt-env-conf-test] Nothing -> pure []
  16551. 1374.71 s [opt-env-conf-test] - Just (Abs af) -> do
  16552. 1374.71 s [opt-env-conf-test] - let dir = parent af
  16553. 1374.71 s [opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  16554. 1374.71 s [opt-env-conf-test] - (ds, _) <- listDirForgiving dir
  16555. 1374.71 s [opt-env-conf-test] - pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  16556. 1374.71 s [opt-env-conf-test] Just (Rel rf) ->
  16557. 1374.71 s [opt-env-conf-test] if fp == "."
  16558. 1374.71 s [opt-env-conf-test] then do
  16559. 1374.71 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  16560. 1374.71 s [opt-env-conf-test] pure (map fromRelDir ds)
  16561. 1374.71 s [opt-env-conf-test] else do
  16562. 1374.71 s [opt-env-conf-test] let dir = parent rf
  16563. 1374.71 s [opt-env-conf-test] let ad = baseDir </> dir
  16564. 1374.71 s [opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  16565. 1374.71 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  16566. 1374.71 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  16567. 1374.71 s [opt-env-conf-test]
  16568. 1374.71 s [opt-env-conf-test] pure $
  16569. 1374.71 s [opt-env-conf-test] concat
  16570. 1374.71 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:192:9-10
  16571. 1374.71 s [opt-env-conf-test] @@ -189,9 +189,7 @@
  16572. 1374.71 s [opt-env-conf-test]
  16573. 1374.71 s [opt-env-conf-test] pure $
  16574. 1374.71 s [opt-env-conf-test] concat
  16575. 1374.71 s [opt-env-conf-test] - [ dirsFromPartialListing,
  16576. 1374.71 s [opt-env-conf-test] - dirsFromParentListing
  16577. 1374.71 s [opt-env-conf-test] ]
  16578. 1374.71 s [opt-env-conf-test] where
  16579. 1374.71 s [opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
  16580. 1374.71 s [opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
  16581. 1374.71 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
  16582. 1374.71 s [opt-env-conf-test] @@ -168,24 +168,13 @@
  16583. 1374.71 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  16584. 1374.71 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  16585. 1374.71 s [opt-env-conf-test]
  16586. 1374.71 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  16587. 1374.71 s [opt-env-conf-test] Nothing -> pure []
  16588. 1374.71 s [opt-env-conf-test] Just (Abs af) -> do
  16589. 1374.71 s [opt-env-conf-test] let dir = parent af
  16590. 1374.71 s [opt-env-conf-test] let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  16591. 1374.71 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  16592. 1374.71 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  16593. 1374.71 s [opt-env-conf-test] - Just (Rel rf) ->
  16594. 1374.71 s [opt-env-conf-test] - if fp == "."
  16595. 1374.71 s [opt-env-conf-test] - then do
  16596. 1382.92 s [opt-env-conf-test] - (ds, _) <- listDirRel baseDir
  16597. 1382.92 s [opt-env-conf-test] - pure (map fromRelDir ds)
  16598. 1382.95 s [opt-env-conf-test] - else do
  16599. 1382.95 s [opt-env-conf-test] - let dir = parent rf
  16600. 1382.95 s [opt-env-conf-test] - let ad = baseDir </> dir
  16601. 1382.95 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  16602. 1382.95 s [opt-env-conf-test] - (ds, _) <- listDirForgiving ad
  16603. 1382.95 s [opt-env-conf-test] - pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  16604. 1382.95 s [opt-env-conf-test]
  16605. 1382.95 s [opt-env-conf-test] pure $
  16606. 1382.95 s [opt-env-conf-test] concat
  16607. 1382.95 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
  16608. 1382.95 s [opt-env-conf-test] @@ -70,28 +70,21 @@
  16609. 1382.95 s [opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
  16610. 1382.95 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
  16611. 1382.95 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  16612. 1382.95 s [opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
  16613. 1382.95 s [opt-env-conf-test] Nothing -> case fp of
  16614. 1382.95 s [opt-env-conf-test] [] -> do
  16615. 1382.95 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  16616. 1382.95 s [opt-env-conf-test] pure
  16617. 1382.95 s [opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
  16618. 1382.95 s [opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
  16619. 1382.96 s [opt-env-conf-test] )
  16620. 1382.96 s [opt-env-conf-test] _ -> pure ([], [])
  16621. 1382.96 s [opt-env-conf-test] Just (Abs ad) -> do
  16622. 1382.96 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  16623. 1382.96 s [opt-env-conf-test] pure
  16624. 1382.96 s [opt-env-conf-test] ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
  16625. 1382.96 s [opt-env-conf-test] map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
  16626. 1382.96 s [opt-env-conf-test] )
  16627. 1382.96 s [opt-env-conf-test] - Just (Rel rd) -> do
  16628. 1382.96 s [opt-env-conf-test] - let ad = baseDir </> rd
  16629. 1382.96 s [opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
  16630. 1382.96 s [opt-env-conf-test] - pure
  16631. 1382.96 s [opt-env-conf-test] - ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
  16632. 1382.96 s [opt-env-conf-test] - map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
  16633. 1382.96 s [opt-env-conf-test] - )
  16634. 1382.96 s [opt-env-conf-test]
  16635. 1382.96 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  16636. 1382.96 s [opt-env-conf-test] Nothing ->
  16637. 1382.96 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
  16638. 1382.96 s [opt-env-conf-test] @@ -146,13 +146,12 @@
  16639. 1382.96 s [opt-env-conf-test] ]
  16640. 1382.96 s [opt-env-conf-test] ]
  16641. 1382.96 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  16642. 1382.96 s [opt-env-conf-test] - [ [ functionChunk "option",
  16643. 1382.96 s [opt-env-conf-test] " or ",
  16644. 1382.96 s [opt-env-conf-test] functionChunk "name",
  16645. 1382.96 s [opt-env-conf-test] " has no ",
  16646. 1382.96 s [opt-env-conf-test] functionChunk "metavar",
  16647. 1382.96 s [opt-env-conf-test] "."
  16648. 1382.96 s [opt-env-conf-test] ]
  16649. 1382.96 s [opt-env-conf-test] ]
  16650. 1382.96 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  16651. 1382.96 s [opt-env-conf-test] [ [ functionChunk "switch",
  16652. 1382.96 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
  16653. 1382.96 s [opt-env-conf-test] @@ -221,11 +221,10 @@
  16654. 1382.97 s [opt-env-conf-test] ]
  16655. 1382.97 s [opt-env-conf-test] ]
  16656. 1382.97 s [opt-env-conf-test] LintErrorManyInfinite ->
  16657. 1382.97 s [opt-env-conf-test] [ [ functionChunk "many",
  16658. 1382.97 s [opt-env-conf-test] " or ",
  16659. 1382.97 s [opt-env-conf-test] functionChunk "some",
  16660. 1382.97 s [opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
  16661. 1382.97 s [opt-env-conf-test] ],
  16662. 1382.97 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  16663. 1382.97 s [opt-env-conf-test] ],
  16664. 1382.97 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  16665. 1382.97 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:98:12-21
  16666. 1382.97 s [opt-env-conf-test] @@ -95,7 +95,7 @@
  16667. 1382.97 s [opt-env-conf-test]
  16668. 1382.97 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  16669. 1382.97 s [opt-env-conf-test] Nothing ->
  16670. 1382.97 s [opt-env-conf-test] - if fp == "."
  16671. 1382.97 s [opt-env-conf-test] + if False
  16672. 1382.97 s [opt-env-conf-test] then do
  16673. 1382.97 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  16674. 1382.97 s [opt-env-conf-test] pure
  16675. 1382.97 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
  16676. 1382.97 s [opt-env-conf-test] @@ -204,7 +204,6 @@
  16677. 1382.97 s [opt-env-conf-test] ]
  16678. 1382.97 s [opt-env-conf-test] ]
  16679. 1382.97 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  16680. 1382.97 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  16681. 1382.97 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  16682. 1382.97 s [opt-env-conf-test] ]
  16683. 1382.97 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  16684. 1382.97 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
  16685. 1382.97 s [opt-env-conf-test] @@ -198,10 +198,9 @@
  16686. 1382.97 s [opt-env-conf-test] ]
  16687. 1382.97 s [opt-env-conf-test] ]
  16688. 1382.97 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  16689. 1382.97 s [opt-env-conf-test] - [ [ functionChunk "defaultCommand",
  16690. 1382.97 s [opt-env-conf-test] " was called with an unknown command: ",
  16691. 1382.97 s [opt-env-conf-test] commandChunk c
  16692. 1382.97 s [opt-env-conf-test] ]
  16693. 1382.97 s [opt-env-conf-test] ]
  16694. 1382.97 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  16695. 1382.97 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  16696. 1382.97 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:108:31-54
  16697. 1382.97 s [opt-env-conf-test] @@ -105,7 +105,7 @@
  16698. 1382.98 s [opt-env-conf-test] else pure ([], [])
  16699. 1382.98 s [opt-env-conf-test] Just (Abs af) -> do
  16700. 1382.98 s [opt-env-conf-test] let dir = parent af
  16701. 1382.98 s [opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
  16702. 1382.98 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  16703. 1382.98 s [opt-env-conf-test] (ds, fs) <- listDirForgiving dir
  16704. 1382.98 s [opt-env-conf-test] pure
  16705. 1382.98 s [opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
  16706. 1382.98 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:108:31-54
  16707. 1382.98 s [opt-env-conf-test] @@ -105,7 +105,7 @@
  16708. 1382.98 s [opt-env-conf-test] else pure ([], [])
  16709. 1382.98 s [opt-env-conf-test] Just (Abs af) -> do
  16710. 1382.98 s [opt-env-conf-test] let dir = parent af
  16711. 1382.98 s [opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
  16712. 1382.98 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  16713. 1382.98 s [opt-env-conf-test] (ds, fs) <- listDirForgiving dir
  16714. 1382.98 s [opt-env-conf-test] pure
  16715. 1382.98 s [opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
  16716. 1382.98 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completer.hs:244:15-16
  16717. 1382.98 s [opt-env-conf-test] @@ -241,7 +241,7 @@
  16718. 1382.98 s [opt-env-conf-test] components = splitOnSlash afterCurDir
  16719. 1382.98 s [opt-env-conf-test] -- Find the index after the last "../" component
  16720. 1382.98 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  16721. 1382.98 s [opt-env-conf-test] - [] -> 0
  16722. 1382.98 s [opt-env-conf-test] + [] -> 1
  16723. 1382.98 s [opt-env-conf-test] ixs -> maximum ixs
  16724. 1382.98 s [opt-env-conf-test] in if lastDotDotIdx == 0
  16725. 1382.98 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  16726. 1382.98 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:117:31-43
  16727. 1382.98 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  16728. 1382.98 s [opt-env-conf-test] Just (Rel rf) -> do
  16729. 1382.98 s [opt-env-conf-test] let dir = parent rf
  16730. 1382.98 s [opt-env-conf-test] let ad = baseDir </> dir
  16731. 1382.98 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  16732. 1382.98 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  16733. 1382.98 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  16734. 1382.98 s [opt-env-conf-test] pure
  16735. 1382.98 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  16736. 1382.98 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:117:31-43
  16737. 1382.98 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  16738. 1382.98 s [opt-env-conf-test] Just (Rel rf) -> do
  16739. 1382.98 s [opt-env-conf-test] let dir = parent rf
  16740. 1382.98 s [opt-env-conf-test] let ad = baseDir </> dir
  16741. 1382.98 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  16742. 1382.98 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  16743. 1382.98 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  16744. 1382.99 s [opt-env-conf-test] pure
  16745. 1382.99 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  16746. 1382.99 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:117:31-43
  16747. 1382.99 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  16748. 1382.99 s [opt-env-conf-test] Just (Rel rf) -> do
  16749. 1382.99 s [opt-env-conf-test] let dir = parent rf
  16750. 1382.99 s [opt-env-conf-test] let ad = baseDir </> dir
  16751. 1382.99 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  16752. 1382.99 s [opt-env-conf-test] + let filterHidden = if not hiddenRel rf then id else filter (not . hiddenRel)
  16753. 1382.99 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  16754. 1382.99 s [opt-env-conf-test] pure
  16755. 1382.99 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  16756. 1382.99 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
  16757. 1382.99 s [opt-env-conf-test] @@ -93,33 +93,24 @@
  16758. 1382.99 s [opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
  16759. 1382.99 s [opt-env-conf-test] )
  16760. 1382.99 s [opt-env-conf-test]
  16761. 1382.99 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  16762. 1382.99 s [opt-env-conf-test] - Nothing ->
  16763. 1382.99 s [opt-env-conf-test] - if fp == "."
  16764. 1382.99 s [opt-env-conf-test] - then do
  16765. 1382.99 s [opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
  16766. 1382.99 s [opt-env-conf-test] - pure
  16767. 1382.99 s [opt-env-conf-test] - ( map fromRelDir ds,
  16768. 1382.99 s [opt-env-conf-test] - map fromRelFile fs
  16769. 1382.99 s [opt-env-conf-test] - )
  16770. 1382.99 s [opt-env-conf-test] - else pure ([], [])
  16771. 1382.99 s [opt-env-conf-test] Just (Abs af) -> do
  16772. 1382.99 s [opt-env-conf-test] let dir = parent af
  16773. 1382.99 s [opt-env-conf-test] let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
  16774. 1382.99 s [opt-env-conf-test] (ds, fs) <- listDirForgiving dir
  16775. 1382.99 s [opt-env-conf-test] pure
  16776. 1382.99 s [opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
  16777. 1382.99 s [opt-env-conf-test] map (fromAbsFile . (dir </>)) $ filterHidden fs
  16778. 1382.99 s [opt-env-conf-test] )
  16779. 1382.99 s [opt-env-conf-test] Just (Rel rf) -> do
  16780. 1382.99 s [opt-env-conf-test] let dir = parent rf
  16781. 1382.99 s [opt-env-conf-test] let ad = baseDir </> dir
  16782. 1382.99 s [opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  16783. 1382.99 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  16784. 1382.99 s [opt-env-conf-test] pure
  16785. 1383.00 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  16786. 1383.00 s [opt-env-conf-test] map (fromRelFile . (dir </>)) $ filterHidden fs
  16787. 1383.00 s [opt-env-conf-test] )
  16788. 1383.00 s [opt-env-conf-test]
  16789. 1383.00 s [opt-env-conf-test] pure $
  16790. 1383.00 s [opt-env-conf-test] concat
  16791. 1383.00 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:98:12-21
  16792. 1389.56 s [opt-env-conf-test] @@ -95,7 +95,7 @@
  16793. 1389.56 s [opt-env-conf-test]
  16794. 1389.56 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  16795. 1389.58 s [opt-env-conf-test] Nothing ->
  16796. 1389.58 s [opt-env-conf-test] - if fp == "."
  16797. 1389.58 s [opt-env-conf-test] + if not fp == "."
  16798. 1389.59 s [opt-env-conf-test] then do
  16799. 1389.59 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  16800. 1389.59 s [opt-env-conf-test] pure
  16801. 1389.59 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:108:31-54
  16802. 1389.59 s [opt-env-conf-test] @@ -105,7 +105,7 @@
  16803. 1389.59 s [opt-env-conf-test] else pure ([], [])
  16804. 1389.59 s [opt-env-conf-test] Just (Abs af) -> do
  16805. 1389.59 s [opt-env-conf-test] let dir = parent af
  16806. 1389.59 s [opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
  16807. 1389.59 s [opt-env-conf-test] + let filterHidden = if not hiddenRel (filename af) then id else filter (not . hiddenRel)
  16808. 1389.59 s [opt-env-conf-test] (ds, fs) <- listDirForgiving dir
  16809. 1389.59 s [opt-env-conf-test] pure
  16810. 1389.59 s [opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
  16811. 1389.59 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:406:20-28
  16812. 1389.59 s [opt-env-conf-test] @@ -403,7 +403,6 @@
  16813. 1389.59 s [opt-env-conf-test]
  16814. 1389.59 s [opt-env-conf-test] renderDashed :: Dashed -> String
  16815. 1389.59 s [opt-env-conf-test] renderDashed = \case
  16816. 1389.59 s [opt-env-conf-test] - DashedShort c -> ['-', c]
  16817. 1389.59 s [opt-env-conf-test] DashedLong cs -> '-' : '-' : NE.toList cs
  16818. 1389.59 s [opt-env-conf-test]
  16819. 1389.59 s [opt-env-conf-test] prefixDashed :: String -> Dashed -> Dashed
  16820. 1389.59 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:95:11-40
  16821. 1389.59 s [opt-env-conf-test] @@ -92,6 +92,5 @@
  16822. 1389.59 s [opt-env-conf-test] _ -> Nothing
  16823. 1389.59 s [opt-env-conf-test] )
  16824. 1389.59 s [opt-env-conf-test] errs
  16825. 1389.60 s [opt-env-conf-test] in case mMissingCaps of
  16826. 1389.60 s [opt-env-conf-test] Just ne -> CheckIncapable ne
  16827. 1389.60 s [opt-env-conf-test] - Nothing -> CheckFailed errs
  16828. 1389.60 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:81:10-40
  16829. 1389.60 s [opt-env-conf-test] @@ -78,20 +78,5 @@
  16830. 1389.60 s [opt-env-conf-test] IO (CheckResult a)
  16831. 1389.60 s [opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
  16832. 1389.60 s [opt-env-conf-test] errOrSets <- runParserOn capabilities (Just debugMode) p args envVars mConfig
  16833. 1389.60 s [opt-env-conf-test] pure $ case errOrSets of
  16834. 1389.60 s [opt-env-conf-test] Right a -> CheckSucceeded a
  16835. 1389.60 s [opt-env-conf-test] - Left errs ->
  16836. 1389.60 s [opt-env-conf-test] - -- If all the errors are missing capability errors, return
  16837. 1389.60 s [opt-env-conf-test] - -- CheckIncapable, otherwise CheckFailed
  16838. 1389.60 s [opt-env-conf-test] - let mMissingCaps =
  16839. 1389.60 s [opt-env-conf-test] - -- This MUST be mapM instead of mapMaybe because we need to ensure
  16840. 1389.60 s [opt-env-conf-test] - -- ALL errors are missing capability errors
  16841. 1389.60 s [opt-env-conf-test] - mapM
  16842. 1389.60 s [opt-env-conf-test] - ( \case
  16843. 1389.60 s [opt-env-conf-test] - ParseError mLoc (ParseErrorMissingCapability cap) -> Just (MissingCapability mLoc cap)
  16844. 1389.60 s [opt-env-conf-test] - _ -> Nothing
  16845. 1389.60 s [opt-env-conf-test] - )
  16846. 1389.60 s [opt-env-conf-test] - errs
  16847. 1389.60 s [opt-env-conf-test] - in case mMissingCaps of
  16848. 1389.60 s [opt-env-conf-test] - Just ne -> CheckIncapable ne
  16849. 1389.60 s [opt-env-conf-test] - Nothing -> CheckFailed errs
  16850. 1389.60 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:81:10-40
  16851. 1389.60 s [opt-env-conf-test] @@ -78,20 +78,19 @@
  16852. 1389.60 s [opt-env-conf-test] IO (CheckResult a)
  16853. 1389.60 s [opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
  16854. 1389.60 s [opt-env-conf-test] errOrSets <- runParserOn capabilities (Just debugMode) p args envVars mConfig
  16855. 1389.60 s [opt-env-conf-test] pure $ case errOrSets of
  16856. 1389.60 s [opt-env-conf-test] - Right a -> CheckSucceeded a
  16857. 1389.60 s [opt-env-conf-test] Left errs ->
  16858. 1389.60 s [opt-env-conf-test] -- If all the errors are missing capability errors, return
  16859. 1389.60 s [opt-env-conf-test] -- CheckIncapable, otherwise CheckFailed
  16860. 1389.60 s [opt-env-conf-test] let mMissingCaps =
  16861. 1389.60 s [opt-env-conf-test] -- This MUST be mapM instead of mapMaybe because we need to ensure
  16862. 1389.61 s [opt-env-conf-test] -- ALL errors are missing capability errors
  16863. 1389.61 s [opt-env-conf-test] mapM
  16864. 1389.61 s [opt-env-conf-test] ( \case
  16865. 1389.61 s [opt-env-conf-test] ParseError mLoc (ParseErrorMissingCapability cap) -> Just (MissingCapability mLoc cap)
  16866. 1389.61 s [opt-env-conf-test] _ -> Nothing
  16867. 1389.61 s [opt-env-conf-test] )
  16868. 1389.61 s [opt-env-conf-test] errs
  16869. 1389.61 s [opt-env-conf-test] in case mMissingCaps of
  16870. 1389.61 s [opt-env-conf-test] Just ne -> CheckIncapable ne
  16871. 1389.61 s [opt-env-conf-test] Nothing -> CheckFailed errs
  16872. 1389.61 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:145:21-69
  16873. 1389.61 s [opt-env-conf-test] @@ -142,7 +142,7 @@
  16874. 1389.61 s [opt-env-conf-test] where
  16875. 1389.61 s [opt-env-conf-test] matchesExtension cr
  16876. 1389.61 s [opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
  16877. 1389.61 s [opt-env-conf-test] - | otherwise = any (`isSuffixOf` completionResultValue cr) exts
  16878. 1389.61 s [opt-env-conf-test] + | otherwise = not any (`isSuffixOf` completionResultValue cr) exts
  16879. 1389.61 s [opt-env-conf-test]
  16880. 1389.61 s [opt-env-conf-test] directoryPath :: Completer
  16881. 1389.61 s [opt-env-conf-test] directoryPath = Completer $ \fp' -> do
  16882. 1389.61 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:406:20-28
  16883. 1389.61 s [opt-env-conf-test] @@ -403,7 +403,6 @@
  16884. 1389.61 s [opt-env-conf-test]
  16885. 1389.61 s [opt-env-conf-test] renderDashed :: Dashed -> String
  16886. 1389.61 s [opt-env-conf-test] renderDashed = \case
  16887. 1389.61 s [opt-env-conf-test] - DashedShort c -> ['-', c]
  16888. 1389.61 s [opt-env-conf-test] DashedLong cs -> '-' : '-' : NE.toList cs
  16889. 1389.61 s [opt-env-conf-test]
  16890. 1389.61 s [opt-env-conf-test] prefixDashed :: String -> Dashed -> Dashed
  16891. 1389.61 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:95:11-40
  16892. 1389.61 s [opt-env-conf-test] @@ -92,6 +92,5 @@
  16893. 1389.61 s [opt-env-conf-test] _ -> Nothing
  16894. 1389.61 s [opt-env-conf-test] )
  16895. 1389.61 s [opt-env-conf-test] errs
  16896. 1389.61 s [opt-env-conf-test] in case mMissingCaps of
  16897. 1389.61 s [opt-env-conf-test] - Just ne -> CheckIncapable ne
  16898. 1389.61 s [opt-env-conf-test] Nothing -> CheckFailed errs
  16899. 1389.61 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:145:21-69
  16900. 1389.61 s [opt-env-conf-test] @@ -142,7 +142,7 @@
  16901. 1389.61 s [opt-env-conf-test] where
  16902. 1389.61 s [opt-env-conf-test] matchesExtension cr
  16903. 1389.61 s [opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
  16904. 1389.61 s [opt-env-conf-test] - | otherwise = any (`isSuffixOf` completionResultValue cr) exts
  16905. 1389.61 s [opt-env-conf-test] + | otherwise = True
  16906. 1389.62 s [opt-env-conf-test]
  16907. 1389.62 s [opt-env-conf-test] directoryPath :: Completer
  16908. 1389.62 s [opt-env-conf-test] directoryPath = Completer $ \fp' -> do
  16909. 1389.62 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:144:53-57
  16910. 1389.62 s [opt-env-conf-test] @@ -141,7 +141,7 @@
  16911. 1389.62 s [opt-env-conf-test] pure $ filter matchesExtension results
  16912. 1389.62 s [opt-env-conf-test] where
  16913. 1389.62 s [opt-env-conf-test] matchesExtension cr
  16914. 1389.62 s [opt-env-conf-test] - | "/" `isSuffixOf` completionResultValue cr = True
  16915. 1389.62 s [opt-env-conf-test] + | "/" `isSuffixOf` completionResultValue cr = False
  16916. 1389.62 s [opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
  16917. 1389.62 s [opt-env-conf-test]
  16918. 1389.62 s [opt-env-conf-test] directoryPath :: Completer
  16919. 1389.62 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
  16920. 1389.62 s [opt-env-conf-test] @@ -123,11 +123,10 @@
  16921. 1389.62 s [opt-env-conf-test]
  16922. 1389.62 s [opt-env-conf-test] pure $
  16923. 1389.62 s [opt-env-conf-test] concat
  16924. 1389.62 s [opt-env-conf-test] [ map fileResult filesFromPartialListing,
  16925. 1389.62 s [opt-env-conf-test] map fileResult filesFromParentListing,
  16926. 1389.62 s [opt-env-conf-test] map dirResult dirsFromPartialListing,
  16927. 1389.62 s [opt-env-conf-test] - map dirResult dirsFromParentListing
  16928. 1389.62 s [opt-env-conf-test] ]
  16929. 1389.62 s [opt-env-conf-test] where
  16930. 1389.62 s [opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
  16931. 1389.62 s [opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
  16932. 1389.62 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:144:9-50
  16933. 1389.62 s [opt-env-conf-test] @@ -141,7 +141,7 @@
  16934. 1389.62 s [opt-env-conf-test] pure $ filter matchesExtension results
  16935. 1389.62 s [opt-env-conf-test] where
  16936. 1389.62 s [opt-env-conf-test] matchesExtension cr
  16937. 1389.62 s [opt-env-conf-test] - | "/" `isSuffixOf` completionResultValue cr = True
  16938. 1389.62 s [opt-env-conf-test] + | True = True
  16939. 1389.62 s [opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
  16940. 1389.62 s [opt-env-conf-test]
  16941. 1389.62 s [opt-env-conf-test] directoryPath :: Completer
  16942. 1389.62 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:364:10-21
  16943. 1389.62 s [opt-env-conf-test] @@ -361,7 +361,7 @@
  16944. 1389.62 s [opt-env-conf-test] where
  16945. 1389.62 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  16946. 1389.62 s [opt-env-conf-test] go (c :| rest) =
  16947. 1389.62 s [opt-env-conf-test] - if c `elem` cs
  16948. 1389.62 s [opt-env-conf-test] + if True
  16949. 1389.62 s [opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  16950. 1389.62 s [opt-env-conf-test] else do
  16951. 1389.62 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  16952. 1389.62 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:364:10-21
  16953. 1389.62 s [opt-env-conf-test] @@ -361,7 +361,7 @@
  16954. 1389.62 s [opt-env-conf-test] where
  16955. 1389.62 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  16956. 1389.62 s [opt-env-conf-test] go (c :| rest) =
  16957. 1389.62 s [opt-env-conf-test] - if c `elem` cs
  16958. 1389.62 s [opt-env-conf-test] + if False
  16959. 1389.62 s [opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  16960. 1389.62 s [opt-env-conf-test] else do
  16961. 1389.62 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  16962. 1389.62 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
  16963. 1389.62 s [opt-env-conf-test] @@ -123,11 +123,7 @@
  16964. 1389.63 s [opt-env-conf-test]
  16965. 1389.63 s [opt-env-conf-test] pure $
  16966. 1389.63 s [opt-env-conf-test] concat
  16967. 1389.63 s [opt-env-conf-test] - [ map fileResult filesFromPartialListing,
  16968. 1389.63 s [opt-env-conf-test] - map fileResult filesFromParentListing,
  16969. 1389.63 s [opt-env-conf-test] - map dirResult dirsFromPartialListing,
  16970. 1389.63 s [opt-env-conf-test] - map dirResult dirsFromParentListing
  16971. 1389.63 s [opt-env-conf-test] ]
  16972. 1389.63 s [opt-env-conf-test] where
  16973. 1389.63 s [opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
  16974. 1389.63 s [opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
  16975. 1389.63 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
  16976. 1389.63 s [opt-env-conf-test] @@ -123,11 +123,10 @@
  16977. 1389.63 s [opt-env-conf-test]
  16978. 1389.63 s [opt-env-conf-test] pure $
  16979. 1389.63 s [opt-env-conf-test] concat
  16980. 1389.63 s [opt-env-conf-test] - [ map fileResult filesFromPartialListing,
  16981. 1389.63 s [opt-env-conf-test] map fileResult filesFromParentListing,
  16982. 1389.63 s [opt-env-conf-test] map dirResult dirsFromPartialListing,
  16983. 1389.63 s [opt-env-conf-test] map dirResult dirsFromParentListing
  16984. 1389.63 s [opt-env-conf-test] ]
  16985. 1389.63 s [opt-env-conf-test] where
  16986. 1389.63 s [opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
  16987. 1389.63 s [opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
  16988. 1389.63 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:364:10-21
  16989. 1389.63 s [opt-env-conf-test] @@ -361,7 +361,7 @@
  16990. 1389.63 s [opt-env-conf-test] where
  16991. 1389.63 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  16992. 1389.63 s [opt-env-conf-test] go (c :| rest) =
  16993. 1389.63 s [opt-env-conf-test] - if c `elem` cs
  16994. 1389.63 s [opt-env-conf-test] + if not c `elem` cs
  16995. 1389.63 s [opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  16996. 1389.63 s [opt-env-conf-test] else do
  16997. 1389.63 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  16998. 1389.63 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:338:28-41
  16999. 1389.63 s [opt-env-conf-test] @@ -335,7 +335,7 @@
  17000. 1401.98 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  17001. 1401.98 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  17002. 1402.00 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  17003. 1402.00 s [opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
  17004. 1402.00 s [opt-env-conf-test] + let rest' = if not needTombstone then Dead : rest else rest
  17005. 1402.01 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  17006. 1402.01 s [opt-env-conf-test] _ -> do
  17007. 1402.01 s [opt-env-conf-test] os <- go rest
  17008. 1402.01 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:339:40-46
  17009. 1402.01 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  17010. 1402.01 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  17011. 1402.01 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  17012. 1402.01 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  17013. 1402.01 s [opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
  17014. 1402.01 s [opt-env-conf-test] + in Just $ Live (ArgDashed True cs') : rest'
  17015. 1402.01 s [opt-env-conf-test] _ -> do
  17016. 1402.01 s [opt-env-conf-test] os <- go rest
  17017. 1402.01 s [opt-env-conf-test] pure $ Live o : os
  17018. 1402.01 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:339:40-46
  17019. 1402.01 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  17020. 1402.01 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  17021. 1402.01 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  17022. 1402.01 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  17023. 1402.01 s [opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
  17024. 1402.01 s [opt-env-conf-test] + in Just $ Live (ArgDashed False cs') : rest'
  17025. 1402.01 s [opt-env-conf-test] _ -> do
  17026. 1402.01 s [opt-env-conf-test] os <- go rest
  17027. 1402.01 s [opt-env-conf-test] pure $ Live o : os
  17028. 1402.01 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:339:40-46
  17029. 1402.01 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  17030. 1402.01 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  17031. 1402.01 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  17032. 1402.01 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  17033. 1402.01 s [opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
  17034. 1402.01 s [opt-env-conf-test] + in Just $ Live (ArgDashed not isLong cs') : rest'
  17035. 1402.01 s [opt-env-conf-test] _ -> do
  17036. 1402.01 s [opt-env-conf-test] os <- go rest
  17037. 1402.01 s [opt-env-conf-test] pure $ Live o : os
  17038. 1402.01 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
  17039. 1402.01 s [opt-env-conf-test] @@ -331,12 +331,11 @@
  17040. 1402.01 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  17041. 1402.01 s [opt-env-conf-test] (Live o : rest) -> case o of
  17042. 1402.01 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  17043. 1402.01 s [opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  17044. 1402.01 s [opt-env-conf-test] - Nothing -> (Live o :) <$> go rest
  17045. 1402.01 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  17046. 1402.01 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  17047. 1402.01 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  17048. 1402.01 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  17049. 1402.01 s [opt-env-conf-test] _ -> do
  17050. 1402.01 s [opt-env-conf-test] os <- go rest
  17051. 1402.01 s [opt-env-conf-test] pure $ Live o : os
  17052. 1402.02 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
  17053. 1402.02 s [opt-env-conf-test] @@ -331,12 +331,11 @@
  17054. 1402.02 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  17055. 1402.02 s [opt-env-conf-test] (Live o : rest) -> case o of
  17056. 1402.02 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  17057. 1402.02 s [opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  17058. 1402.02 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  17059. 1402.02 s [opt-env-conf-test] - Just Nothing -> Just $ Dead : rest
  17060. 1402.02 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  17061. 1402.02 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  17062. 1402.02 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  17063. 1402.02 s [opt-env-conf-test] _ -> do
  17064. 1402.02 s [opt-env-conf-test] os <- go rest
  17065. 1402.02 s [opt-env-conf-test] pure $ Live o : os
  17066. 1402.02 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
  17067. 1402.02 s [opt-env-conf-test] @@ -331,12 +331,9 @@
  17068. 1402.02 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  17069. 1402.02 s [opt-env-conf-test] (Live o : rest) -> case o of
  17070. 1402.02 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  17071. 1402.02 s [opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  17072. 1402.02 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  17073. 1402.02 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  17074. 1402.02 s [opt-env-conf-test] - Just (Just (cs', needTombstone)) ->
  17075. 1402.02 s [opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
  17076. 1402.02 s [opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
  17077. 1402.02 s [opt-env-conf-test] _ -> do
  17078. 1402.02 s [opt-env-conf-test] os <- go rest
  17079. 1402.02 s [opt-env-conf-test] pure $ Live o : os
  17080. 1402.02 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
  17081. 1402.02 s [opt-env-conf-test] @@ -329,17 +329,16 @@
  17082. 1402.02 s [opt-env-conf-test] go = \case
  17083. 1402.02 s [opt-env-conf-test] [] -> Nothing
  17084. 1402.02 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  17085. 1402.02 s [opt-env-conf-test] (Live o : rest) -> case o of
  17086. 1402.02 s [opt-env-conf-test] - ArgBareDoubleDash -> Nothing
  17087. 1402.02 s [opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  17088. 1402.02 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  17089. 1402.02 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  17090. 1402.02 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  17091. 1402.02 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  17092. 1402.02 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  17093. 1402.02 s [opt-env-conf-test] _ -> do
  17094. 1402.02 s [opt-env-conf-test] os <- go rest
  17095. 1402.02 s [opt-env-conf-test] pure $ Live o : os
  17096. 1402.02 s [opt-env-conf-test]
  17097. 1402.02 s [opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
  17098. 1402.02 s [opt-env-conf-test] -- character because then we need a tombstone.
  17099. 1402.02 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
  17100. 1402.02 s [opt-env-conf-test] @@ -329,17 +329,11 @@
  17101. 1402.02 s [opt-env-conf-test] go = \case
  17102. 1402.02 s [opt-env-conf-test] [] -> Nothing
  17103. 1402.02 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  17104. 1402.02 s [opt-env-conf-test] (Live o : rest) -> case o of
  17105. 1402.02 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  17106. 1402.02 s [opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  17107. 1402.02 s [opt-env-conf-test] - Nothing -> (Live o :) <$> go rest
  17108. 1402.02 s [opt-env-conf-test] - Just Nothing -> Just $ Dead : rest
  17109. 1402.02 s [opt-env-conf-test] - Just (Just (cs', needTombstone)) ->
  17110. 1402.02 s [opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
  17111. 1402.02 s [opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
  17112. 1402.02 s [opt-env-conf-test] _ -> do
  17113. 1402.02 s [opt-env-conf-test] os <- go rest
  17114. 1402.02 s [opt-env-conf-test] pure $ Live o : os
  17115. 1402.02 s [opt-env-conf-test]
  17116. 1402.02 s [opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
  17117. 1402.02 s [opt-env-conf-test] -- character because then we need a tombstone.
  17118. 1402.02 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
  17119. 1402.02 s [opt-env-conf-test] @@ -329,17 +329,14 @@
  17120. 1402.02 s [opt-env-conf-test] go = \case
  17121. 1402.02 s [opt-env-conf-test] [] -> Nothing
  17122. 1402.02 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  17123. 1402.02 s [opt-env-conf-test] (Live o : rest) -> case o of
  17124. 1402.02 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  17125. 1402.02 s [opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  17126. 1402.02 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  17127. 1402.02 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  17128. 1402.02 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  17129. 1402.02 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  17130. 1402.02 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  17131. 1402.02 s [opt-env-conf-test] - _ -> do
  17132. 1402.02 s [opt-env-conf-test] - os <- go rest
  17133. 1402.02 s [opt-env-conf-test] - pure $ Live o : os
  17134. 1402.02 s [opt-env-conf-test]
  17135. 1402.02 s [opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
  17136. 1402.02 s [opt-env-conf-test] -- character because then we need a tombstone.
  17137. 1402.02 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:309:11-43
  17138. 1402.02 s [opt-env-conf-test] @@ -306,9 +306,8 @@
  17139. 1402.02 s [opt-env-conf-test] where
  17140. 1402.03 s [opt-env-conf-test] go acc ne =
  17141. 1402.03 s [opt-env-conf-test] let (a, mRest) = NE.uncons ne
  17142. 1402.03 s [opt-env-conf-test] in case mRest of
  17143. 1402.03 s [opt-env-conf-test] - Nothing -> (NE.nonEmpty $ reverse acc, a)
  17144. 1402.03 s [opt-env-conf-test] Just rest -> go (a : acc) rest
  17145. 1402.03 s [opt-env-conf-test]
  17146. 1402.03 s [opt-env-conf-test] -- | Consume a switch.
  17147. 1402.03 s [opt-env-conf-test] --
  17148. 1402.03 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:309:11-43
  17149. 1402.03 s [opt-env-conf-test] @@ -306,9 +306,8 @@
  17150. 1402.03 s [opt-env-conf-test] where
  17151. 1402.03 s [opt-env-conf-test] go acc ne =
  17152. 1402.03 s [opt-env-conf-test] let (a, mRest) = NE.uncons ne
  17153. 1402.03 s [opt-env-conf-test] in case mRest of
  17154. 1402.03 s [opt-env-conf-test] Nothing -> (NE.nonEmpty $ reverse acc, a)
  17155. 1402.03 s [opt-env-conf-test] - Just rest -> go (a : acc) rest
  17156. 1402.03 s [opt-env-conf-test]
  17157. 1402.03 s [opt-env-conf-test] -- | Consume a switch.
  17158. 1402.03 s [opt-env-conf-test] --
  17159. 1402.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:293:6-12
  17160. 1402.03 s [opt-env-conf-test] @@ -290,7 +290,7 @@
  17161. 1402.03 s [opt-env-conf-test] NonEmpty Char ->
  17162. 1402.03 s [opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
  17163. 1402.03 s [opt-env-conf-test] consumeDashedOption dasheds isLong cs =
  17164. 1402.03 s [opt-env-conf-test] - if isLong
  17165. 1402.03 s [opt-env-conf-test] + if True
  17166. 1402.03 s [opt-env-conf-test] then
  17167. 1402.03 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  17168. 1402.03 s [opt-env-conf-test] then Just Nothing
  17169. 1402.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:293:6-12
  17170. 1402.03 s [opt-env-conf-test] @@ -290,7 +290,7 @@
  17171. 1402.03 s [opt-env-conf-test] NonEmpty Char ->
  17172. 1402.03 s [opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
  17173. 1402.03 s [opt-env-conf-test] consumeDashedOption dasheds isLong cs =
  17174. 1402.03 s [opt-env-conf-test] - if isLong
  17175. 1402.03 s [opt-env-conf-test] + if False
  17176. 1402.03 s [opt-env-conf-test] then
  17177. 1402.03 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  17178. 1402.03 s [opt-env-conf-test] then Just Nothing
  17179. 1402.03 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:293:6-12
  17180. 1402.03 s [opt-env-conf-test] @@ -290,7 +290,7 @@
  17181. 1402.03 s [opt-env-conf-test] NonEmpty Char ->
  17182. 1402.03 s [opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
  17183. 1402.03 s [opt-env-conf-test] consumeDashedOption dasheds isLong cs =
  17184. 1402.03 s [opt-env-conf-test] - if isLong
  17185. 1402.03 s [opt-env-conf-test] + if not isLong
  17186. 1402.03 s [opt-env-conf-test] then
  17187. 1402.03 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  17188. 1402.03 s [opt-env-conf-test] then Just Nothing
  17189. 1402.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:295:10-38
  17190. 1402.03 s [opt-env-conf-test] @@ -292,7 +292,7 @@
  17191. 1402.03 s [opt-env-conf-test] consumeDashedOption dasheds isLong cs =
  17192. 1402.03 s [opt-env-conf-test] if isLong
  17193. 1402.03 s [opt-env-conf-test] then
  17194. 1402.03 s [opt-env-conf-test] - if DashedLong cs `elem` dasheds
  17195. 1402.03 s [opt-env-conf-test] + if True
  17196. 1402.03 s [opt-env-conf-test] then Just Nothing
  17197. 1402.03 s [opt-env-conf-test] else Nothing
  17198. 1402.03 s [opt-env-conf-test] else
  17199. 1402.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:295:10-38
  17200. 1402.03 s [opt-env-conf-test] @@ -292,7 +292,7 @@
  17201. 1402.03 s [opt-env-conf-test] consumeDashedOption dasheds isLong cs =
  17202. 1402.03 s [opt-env-conf-test] if isLong
  17203. 1402.03 s [opt-env-conf-test] then
  17204. 1402.03 s [opt-env-conf-test] - if DashedLong cs `elem` dasheds
  17205. 1402.03 s [opt-env-conf-test] + if False
  17206. 1411.88 s [opt-env-conf-test] then Just Nothing
  17207. 1411.88 s [opt-env-conf-test] else Nothing
  17208. 1411.88 s [opt-env-conf-test] else
  17209. 1411.88 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:295:10-38
  17210. 1411.91 s [opt-env-conf-test] @@ -292,7 +292,7 @@
  17211. 1411.91 s [opt-env-conf-test] consumeDashedOption dasheds isLong cs =
  17212. 1411.91 s [opt-env-conf-test] if isLong
  17213. 1411.91 s [opt-env-conf-test] then
  17214. 1411.91 s [opt-env-conf-test] - if DashedLong cs `elem` dasheds
  17215. 1411.91 s [opt-env-conf-test] + if not DashedLong cs `elem` dasheds
  17216. 1411.91 s [opt-env-conf-test] then Just Nothing
  17217. 1411.91 s [opt-env-conf-test] else Nothing
  17218. 1411.91 s [opt-env-conf-test] else
  17219. 1411.91 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:300:14-42
  17220. 1411.91 s [opt-env-conf-test] @@ -297,7 +297,7 @@
  17221. 1411.91 s [opt-env-conf-test] else Nothing
  17222. 1411.92 s [opt-env-conf-test] else
  17223. 1411.92 s [opt-env-conf-test] let (mRest, c) = unsnocNE cs
  17224. 1411.92 s [opt-env-conf-test] - in if DashedShort c `elem` dasheds
  17225. 1411.92 s [opt-env-conf-test] + in if True
  17226. 1411.92 s [opt-env-conf-test] then Just mRest
  17227. 1411.92 s [opt-env-conf-test] else Nothing
  17228. 1411.92 s [opt-env-conf-test]
  17229. 1411.92 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:300:14-42
  17230. 1411.92 s [opt-env-conf-test] @@ -297,7 +297,7 @@
  17231. 1411.92 s [opt-env-conf-test] else Nothing
  17232. 1411.92 s [opt-env-conf-test] else
  17233. 1411.92 s [opt-env-conf-test] let (mRest, c) = unsnocNE cs
  17234. 1411.92 s [opt-env-conf-test] - in if DashedShort c `elem` dasheds
  17235. 1411.92 s [opt-env-conf-test] + in if False
  17236. 1411.92 s [opt-env-conf-test] then Just mRest
  17237. 1411.92 s [opt-env-conf-test] else Nothing
  17238. 1411.92 s [opt-env-conf-test]
  17239. 1411.92 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:300:14-42
  17240. 1411.92 s [opt-env-conf-test] @@ -297,7 +297,7 @@
  17241. 1411.92 s [opt-env-conf-test] else Nothing
  17242. 1411.92 s [opt-env-conf-test] else
  17243. 1411.92 s [opt-env-conf-test] let (mRest, c) = unsnocNE cs
  17244. 1411.92 s [opt-env-conf-test] - in if DashedShort c `elem` dasheds
  17245. 1411.92 s [opt-env-conf-test] + in if not DashedShort c `elem` dasheds
  17246. 1411.92 s [opt-env-conf-test] then Just mRest
  17247. 1411.92 s [opt-env-conf-test] else Nothing
  17248. 1411.92 s [opt-env-conf-test]
  17249. 1411.92 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:7-23
  17250. 1411.92 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  17251. 1411.92 s [opt-env-conf-test] Maybe String
  17252. 1411.92 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17253. 1411.92 s [opt-env-conf-test] (c :| rest)
  17254. 1411.93 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17255. 1411.93 s [opt-env-conf-test] + | True && not (null rest) ->
  17256. 1411.93 s [opt-env-conf-test] Just rest
  17257. 1411.93 s [opt-env-conf-test] _ -> Nothing
  17258. 1411.93 s [opt-env-conf-test]
  17259. 1411.93 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:7-23
  17260. 1411.93 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  17261. 1411.93 s [opt-env-conf-test] Maybe String
  17262. 1411.93 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17263. 1411.93 s [opt-env-conf-test] (c :| rest)
  17264. 1411.93 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17265. 1411.93 s [opt-env-conf-test] + | not c `elem` dasheds && not (null rest) ->
  17266. 1411.93 s [opt-env-conf-test] Just rest
  17267. 1411.93 s [opt-env-conf-test] _ -> Nothing
  17268. 1411.93 s [opt-env-conf-test]
  17269. 1411.93 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:32-41
  17270. 1411.93 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  17271. 1411.93 s [opt-env-conf-test] Maybe String
  17272. 1411.93 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17273. 1411.93 s [opt-env-conf-test] (c :| rest)
  17274. 1411.93 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17275. 1411.93 s [opt-env-conf-test] + | c `elem` dasheds && not (True) ->
  17276. 1411.93 s [opt-env-conf-test] Just rest
  17277. 1411.93 s [opt-env-conf-test] _ -> Nothing
  17278. 1411.93 s [opt-env-conf-test]
  17279. 1411.93 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:32-41
  17280. 1411.93 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  17281. 1411.93 s [opt-env-conf-test] Maybe String
  17282. 1411.93 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17283. 1411.93 s [opt-env-conf-test] (c :| rest)
  17284. 1411.93 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17285. 1411.93 s [opt-env-conf-test] + | c `elem` dasheds && not (not null rest) ->
  17286. 1411.93 s [opt-env-conf-test] Just rest
  17287. 1411.93 s [opt-env-conf-test] _ -> Nothing
  17288. 1411.93 s [opt-env-conf-test]
  17289. 1411.93 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:31-42
  17290. 1411.93 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  17291. 1411.93 s [opt-env-conf-test] Maybe String
  17292. 1411.93 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17293. 1411.93 s [opt-env-conf-test] (c :| rest)
  17294. 1411.93 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17295. 1411.93 s [opt-env-conf-test] + | c `elem` dasheds && not True ->
  17296. 1411.93 s [opt-env-conf-test] Just rest
  17297. 1411.93 s [opt-env-conf-test] _ -> Nothing
  17298. 1411.93 s [opt-env-conf-test]
  17299. 1411.94 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:31-42
  17300. 1411.94 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  17301. 1411.94 s [opt-env-conf-test] Maybe String
  17302. 1411.94 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17303. 1411.94 s [opt-env-conf-test] (c :| rest)
  17304. 1411.94 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17305. 1411.94 s [opt-env-conf-test] + | c `elem` dasheds && not not (null rest) ->
  17306. 1411.94 s [opt-env-conf-test] Just rest
  17307. 1411.94 s [opt-env-conf-test] _ -> Nothing
  17308. 1411.94 s [opt-env-conf-test]
  17309. 1411.94 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:27-42
  17310. 1411.94 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  17311. 1411.94 s [opt-env-conf-test] Maybe String
  17312. 1411.94 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17313. 1411.94 s [opt-env-conf-test] (c :| rest)
  17314. 1411.94 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17315. 1411.94 s [opt-env-conf-test] + | c `elem` dasheds && not not (null rest) ->
  17316. 1411.94 s [opt-env-conf-test] Just rest
  17317. 1411.94 s [opt-env-conf-test] _ -> Nothing
  17318. 1411.94 s [opt-env-conf-test]
  17319. 1411.94 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:27-42
  17320. 1411.94 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  17321. 1411.94 s [opt-env-conf-test] Maybe String
  17322. 1411.94 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17323. 1411.94 s [opt-env-conf-test] (c :| rest)
  17324. 1411.94 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17325. 1411.94 s [opt-env-conf-test] + | c `elem` dasheds && True ->
  17326. 1411.94 s [opt-env-conf-test] Just rest
  17327. 1411.94 s [opt-env-conf-test] _ -> Nothing
  17328. 1411.94 s [opt-env-conf-test]
  17329. 1411.94 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:7-42
  17330. 1411.94 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  17331. 1411.94 s [opt-env-conf-test] Maybe String
  17332. 1411.94 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17333. 1411.94 s [opt-env-conf-test] (c :| rest)
  17334. 1411.94 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17335. 1411.94 s [opt-env-conf-test] + | True ->
  17336. 1411.94 s [opt-env-conf-test] Just rest
  17337. 1411.94 s [opt-env-conf-test] _ -> Nothing
  17338. 1411.94 s [opt-env-conf-test]
  17339. 1411.94 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:7-42
  17340. 1411.94 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  17341. 1411.94 s [opt-env-conf-test] Maybe String
  17342. 1411.94 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17343. 1411.94 s [opt-env-conf-test] (c :| rest)
  17344. 1411.94 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17345. 1411.94 s [opt-env-conf-test] + | not c `elem` dasheds && not (null rest) ->
  17346. 1411.94 s [opt-env-conf-test] Just rest
  17347. 1411.94 s [opt-env-conf-test] _ -> Nothing
  17348. 1411.94 s [opt-env-conf-test]
  17349. 1411.94 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:258:6-12
  17350. 1411.94 s [opt-env-conf-test] @@ -255,7 +255,7 @@
  17351. 1411.94 s [opt-env-conf-test] NonEmpty Char ->
  17352. 1411.94 s [opt-env-conf-test] Maybe String
  17353. 1411.94 s [opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
  17354. 1411.94 s [opt-env-conf-test] - if isLong
  17355. 1411.94 s [opt-env-conf-test] + if True
  17356. 1411.94 s [opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
  17357. 1411.95 s [opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
  17358. 1411.95 s [opt-env-conf-test]
  17359. 1411.95 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:258:6-12
  17360. 1411.95 s [opt-env-conf-test] @@ -255,7 +255,7 @@
  17361. 1411.95 s [opt-env-conf-test] NonEmpty Char ->
  17362. 1411.95 s [opt-env-conf-test] Maybe String
  17363. 1411.95 s [opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
  17364. 1411.95 s [opt-env-conf-test] - if isLong
  17365. 1411.95 s [opt-env-conf-test] + if False
  17366. 1411.95 s [opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
  17367. 1411.95 s [opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
  17368. 1411.95 s [opt-env-conf-test]
  17369. 1411.95 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:258:6-12
  17370. 1411.95 s [opt-env-conf-test] @@ -255,7 +255,7 @@
  17371. 1411.95 s [opt-env-conf-test] NonEmpty Char ->
  17372. 1411.95 s [opt-env-conf-test] Maybe String
  17373. 1411.95 s [opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
  17374. 1411.95 s [opt-env-conf-test] - if isLong
  17375. 1411.95 s [opt-env-conf-test] + if not isLong
  17376. 1411.95 s [opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
  17377. 1411.95 s [opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
  17378. 1411.95 s [opt-env-conf-test]
  17379. 1411.95 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:89:25-26
  17380. 1411.95 s [opt-env-conf-test] @@ -86,7 +86,7 @@
  17381. 1411.95 s [opt-env-conf-test] renderArg = \case
  17382. 1411.95 s [opt-env-conf-test] ArgBareDoubleDash -> "--"
  17383. 1411.95 s [opt-env-conf-test] ArgBareDash -> "-"
  17384. 1411.95 s [opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
  17385. 1411.95 s [opt-env-conf-test] + ArgDashed l cs -> (if False then "--" else "-") <> NE.toList cs
  17386. 1411.95 s [opt-env-conf-test] ArgPlain a -> a
  17387. 1411.95 s [opt-env-conf-test]
  17388. 1411.95 s [opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
  17389. 1411.95 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:338:28-41
  17390. 1411.95 s [opt-env-conf-test] @@ -335,7 +335,7 @@
  17391. 1411.95 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  17392. 1411.95 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  17393. 1411.95 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  17394. 1411.95 s [opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
  17395. 1411.95 s [opt-env-conf-test] + let rest' = if True then Dead : rest else rest
  17396. 1411.95 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  17397. 1411.95 s [opt-env-conf-test] _ -> do
  17398. 1411.95 s [opt-env-conf-test] os <- go rest
  17399. 1411.95 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:89:25-26
  17400. 1411.95 s [opt-env-conf-test] @@ -86,7 +86,7 @@
  17401. 1411.95 s [opt-env-conf-test] renderArg = \case
  17402. 1411.95 s [opt-env-conf-test] ArgBareDoubleDash -> "--"
  17403. 1411.95 s [opt-env-conf-test] ArgBareDash -> "-"
  17404. 1411.95 s [opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
  17405. 1411.95 s [opt-env-conf-test] + ArgDashed l cs -> (if not l then "--" else "-") <> NE.toList cs
  17406. 1411.95 s [opt-env-conf-test] ArgPlain a -> a
  17407. 1411.95 s [opt-env-conf-test]
  17408. 1411.95 s [opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
  17409. 1411.95 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:89:25-26
  17410. 1411.96 s [opt-env-conf-test] @@ -86,7 +86,7 @@
  17411. 1411.96 s [opt-env-conf-test] renderArg = \case
  17412. 1411.96 s [opt-env-conf-test] ArgBareDoubleDash -> "--"
  17413. 1411.96 s [opt-env-conf-test] ArgBareDash -> "-"
  17414. 1411.96 s [opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
  17415. 1411.96 s [opt-env-conf-test] + ArgDashed l cs -> (if True then "--" else "-") <> NE.toList cs
  17416. 1411.96 s [opt-env-conf-test] ArgPlain a -> a
  17417. 1411.96 s [opt-env-conf-test]
  17418. 1411.96 s [opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
  17419. 1411.96 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:133:33-47
  17420. 1411.96 s [opt-env-conf-test] @@ -130,10 +130,9 @@
  17421. 1411.96 s [opt-env-conf-test] -- things like a default command.
  17422. 1411.96 s [opt-env-conf-test] let addConsumeNothing = \case
  17423. 1411.96 s [opt-env-conf-test] [] -> [(Nothing, as)]
  17424. 1411.96 s [opt-env-conf-test] r@(t@(mA, _) : rest) -> case mA of
  17425. 1411.96 s [opt-env-conf-test] -- If not consuming anything is already an option, don't add it to the end.
  17426. 1411.96 s [opt-env-conf-test] Nothing -> r
  17427. 1411.96 s [opt-env-conf-test] - Just _ -> t : addConsumeNothing rest
  17428. 1411.96 s [opt-env-conf-test]
  17429. 1411.96 s [opt-env-conf-test] addConsumeNothing $ case argsAfter as of
  17430. 1411.96 s [opt-env-conf-test] [] -> []
  17431. 1411.96 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:169:23-28
  17432. 1411.96 s [opt-env-conf-test] @@ -166,17 +166,16 @@
  17433. 1411.96 s [opt-env-conf-test] [] -> Nothing
  17434. 1411.96 s [opt-env-conf-test] (Dead : rest) -> go rest
  17435. 1411.96 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  17436. 1411.96 s [opt-env-conf-test] in case go afters of
  17437. 1411.96 s [opt-env-conf-test] - Nothing -> [(Nothing, as)]
  17438. 1411.96 s [opt-env-conf-test] Just (firstLive, rest) ->
  17439. 1411.96 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  17440. 1411.96 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  17441. 1416.36 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  17442. 1416.36 s [opt-env-conf-test] -- arguments.
  17443. 1416.36 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  17444. 1416.36 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  17445. 1416.36 s [opt-env-conf-test] )
  17446. 1416.36 s [opt-env-conf-test] ]
  17447. 1416.36 s [opt-env-conf-test] ArgDashed {} ->
  17448. 1416.36 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  17449. 1416.36 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  17450. 1416.36 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:133:33-47
  17451. 1416.36 s [opt-env-conf-test] @@ -130,10 +130,9 @@
  17452. 1416.36 s [opt-env-conf-test] -- things like a default command.
  17453. 1416.36 s [opt-env-conf-test] let addConsumeNothing = \case
  17454. 1416.36 s [opt-env-conf-test] [] -> [(Nothing, as)]
  17455. 1416.36 s [opt-env-conf-test] r@(t@(mA, _) : rest) -> case mA of
  17456. 1416.36 s [opt-env-conf-test] -- If not consuming anything is already an option, don't add it to the end.
  17457. 1416.36 s [opt-env-conf-test] - Nothing -> r
  17458. 1416.36 s [opt-env-conf-test] Just _ -> t : addConsumeNothing rest
  17459. 1416.36 s [opt-env-conf-test]
  17460. 1416.37 s [opt-env-conf-test] addConsumeNothing $ case argsAfter as of
  17461. 1416.37 s [opt-env-conf-test] [] -> []
  17462. 1416.37 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:169:23-28
  17463. 1416.37 s [opt-env-conf-test] @@ -166,17 +166,8 @@
  17464. 1416.37 s [opt-env-conf-test] [] -> Nothing
  17465. 1416.37 s [opt-env-conf-test] (Dead : rest) -> go rest
  17466. 1416.37 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  17467. 1416.37 s [opt-env-conf-test] in case go afters of
  17468. 1416.37 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  17469. 1416.37 s [opt-env-conf-test] - Just (firstLive, rest) ->
  17470. 1416.37 s [opt-env-conf-test] - -- We need to leave the dead argument there so that
  17471. 1416.37 s [opt-env-conf-test] - -- we don't consume the double-dash as an argument
  17472. 1416.37 s [opt-env-conf-test] - -- after consuming all the arguments after it as bare
  17473. 1416.37 s [opt-env-conf-test] - -- arguments.
  17474. 1416.37 s [opt-env-conf-test] - [ ( Just $ renderArg firstLive,
  17475. 1416.37 s [opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
  17476. 1416.37 s [opt-env-conf-test] - )
  17477. 1416.37 s [opt-env-conf-test] - ]
  17478. 1416.37 s [opt-env-conf-test] ArgDashed {} ->
  17479. 1416.37 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  17480. 1416.37 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  17481. 1416.37 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
  17482. 1416.37 s [opt-env-conf-test] @@ -149,34 +149,33 @@
  17483. 1416.37 s [opt-env-conf-test] -- A single dash is always an argument
  17484. 1416.37 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  17485. 1416.37 s [opt-env-conf-test] -- Bare double-dash
  17486. 1416.37 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  17487. 1416.37 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  17488. 1416.37 s [opt-env-conf-test] - [] -> [(Just "--", consumed)]
  17489. 1416.37 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  17490. 1416.37 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  17491. 1416.37 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  17492. 1416.37 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17493. 1416.37 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  17494. 1416.38 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  17495. 1416.38 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  17496. 1416.38 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  17497. 1416.38 s [opt-env-conf-test] -- pop the args as they come.
  17498. 1416.38 s [opt-env-conf-test] _ ->
  17499. 1416.38 s [opt-env-conf-test] let go = \case
  17500. 1416.38 s [opt-env-conf-test] [] -> Nothing
  17501. 1416.38 s [opt-env-conf-test] (Dead : rest) -> go rest
  17502. 1416.38 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  17503. 1416.38 s [opt-env-conf-test] in case go afters of
  17504. 1416.38 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  17505. 1416.38 s [opt-env-conf-test] Just (firstLive, rest) ->
  17506. 1416.38 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  17507. 1416.38 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  17508. 1416.38 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  17509. 1416.38 s [opt-env-conf-test] -- arguments.
  17510. 1416.38 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  17511. 1416.38 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  17512. 1416.38 s [opt-env-conf-test] )
  17513. 1416.38 s [opt-env-conf-test] ]
  17514. 1416.38 s [opt-env-conf-test] ArgDashed {} ->
  17515. 1417.17 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  17516. 1417.23 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  17517. 1417.23 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
  17518. 1417.23 s [opt-env-conf-test] @@ -149,34 +149,33 @@
  17519. 1417.23 s [opt-env-conf-test] -- A single dash is always an argument
  17520. 1417.23 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  17521. 1417.23 s [opt-env-conf-test] -- Bare double-dash
  17522. 1417.23 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  17523. 1417.23 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  17524. 1417.23 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  17525. 1417.23 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  17526. 1417.23 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  17527. 1417.23 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  17528. 1417.23 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17529. 1417.23 s [opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
  17530. 1417.23 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  17531. 1417.23 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  17532. 1417.23 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  17533. 1417.23 s [opt-env-conf-test] -- pop the args as they come.
  17534. 1417.23 s [opt-env-conf-test] _ ->
  17535. 1417.23 s [opt-env-conf-test] let go = \case
  17536. 1417.23 s [opt-env-conf-test] [] -> Nothing
  17537. 1417.23 s [opt-env-conf-test] (Dead : rest) -> go rest
  17538. 1417.23 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  17539. 1417.23 s [opt-env-conf-test] in case go afters of
  17540. 1417.23 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  17541. 1417.24 s [opt-env-conf-test] Just (firstLive, rest) ->
  17542. 1417.24 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  17543. 1417.24 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  17544. 1417.24 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  17545. 1417.24 s [opt-env-conf-test] -- arguments.
  17546. 1417.24 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  17547. 1417.24 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  17548. 1417.24 s [opt-env-conf-test] )
  17549. 1417.24 s [opt-env-conf-test] ]
  17550. 1417.24 s [opt-env-conf-test] ArgDashed {} ->
  17551. 1423.44 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  17552. 1423.47 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  17553. 1423.47 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:338:28-41
  17554. 1423.47 s [opt-env-conf-test] @@ -335,7 +335,7 @@
  17555. 1423.47 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  17556. 1423.47 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  17557. 1423.47 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  17558. 1423.47 s [opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
  17559. 1423.47 s [opt-env-conf-test] + let rest' = if False then Dead : rest else rest
  17560. 1423.47 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  17561. 1423.47 s [opt-env-conf-test] _ -> do
  17562. 1423.47 s [opt-env-conf-test] os <- go rest
  17563. 1423.47 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:334:65-71
  17564. 1423.47 s [opt-env-conf-test] @@ -331,7 +331,7 @@
  17565. 1423.47 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  17566. 1423.47 s [opt-env-conf-test] (Live o : rest) -> case o of
  17567. 1423.47 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  17568. 1423.47 s [opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  17569. 1423.47 s [opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds True cs of
  17570. 1423.48 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  17571. 1423.48 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  17572. 1423.48 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  17573. 1423.48 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:324:16-25
  17574. 1423.48 s [opt-env-conf-test] @@ -321,9 +321,8 @@
  17575. 1423.48 s [opt-env-conf-test] consumeSwitch dasheds as = do
  17576. 1423.48 s [opt-env-conf-test] case go (argsBefore as) of
  17577. 1423.48 s [opt-env-conf-test] Just newBefores -> Just $ as {argsBefore = newBefores}
  17578. 1423.48 s [opt-env-conf-test] Nothing -> case go (argsAfter as) of
  17579. 1423.48 s [opt-env-conf-test] Just newAfters -> Just $ as {argsAfter = newAfters}
  17580. 1423.48 s [opt-env-conf-test] - Nothing -> Nothing
  17581. 1423.48 s [opt-env-conf-test] where
  17582. 1423.48 s [opt-env-conf-test] go :: [Tomb Arg] -> Maybe [Tomb Arg]
  17583. 1423.48 s [opt-env-conf-test] go = \case
  17584. 1423.48 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:324:16-25
  17585. 1423.48 s [opt-env-conf-test] @@ -321,9 +321,8 @@
  17586. 1423.48 s [opt-env-conf-test] consumeSwitch dasheds as = do
  17587. 1423.48 s [opt-env-conf-test] case go (argsBefore as) of
  17588. 1423.48 s [opt-env-conf-test] Just newBefores -> Just $ as {argsBefore = newBefores}
  17589. 1423.48 s [opt-env-conf-test] Nothing -> case go (argsAfter as) of
  17590. 1423.48 s [opt-env-conf-test] - Just newAfters -> Just $ as {argsAfter = newAfters}
  17591. 1423.48 s [opt-env-conf-test] Nothing -> Nothing
  17592. 1423.48 s [opt-env-conf-test] where
  17593. 1423.48 s [opt-env-conf-test] go :: [Tomb Arg] -> Maybe [Tomb Arg]
  17594. 1423.48 s [opt-env-conf-test] go = \case
  17595. 1423.48 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:204:65-82
  17596. 1423.48 s [opt-env-conf-test] @@ -201,7 +201,6 @@
  17597. 1423.48 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17598. 1423.48 s [opt-env-conf-test] ]
  17599. 1423.48 s [opt-env-conf-test] _ ->
  17600. 1423.48 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17601. 1423.48 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17602. 1423.48 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17603. 1423.48 s [opt-env-conf-test] ]
  17604. 1423.48 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:354:10-38
  17605. 1423.48 s [opt-env-conf-test] @@ -351,7 +351,7 @@
  17606. 1423.48 s [opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
  17607. 1423.48 s [opt-env-conf-test] if isLong
  17608. 1423.48 s [opt-env-conf-test] then
  17609. 1423.48 s [opt-env-conf-test] - if DashedLong cs `elem` dasheds
  17610. 1423.48 s [opt-env-conf-test] + if not DashedLong cs `elem` dasheds
  17611. 1423.48 s [opt-env-conf-test] then Just Nothing
  17612. 1423.48 s [opt-env-conf-test] else Nothing
  17613. 1423.49 s [opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
  17614. 1423.49 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:204:65-82
  17615. 1423.49 s [opt-env-conf-test] @@ -201,7 +201,6 @@
  17616. 1423.49 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17617. 1423.49 s [opt-env-conf-test] ]
  17618. 1423.49 s [opt-env-conf-test] _ ->
  17619. 1423.49 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17620. 1423.49 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17621. 1423.49 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17622. 1423.49 s [opt-env-conf-test] ]
  17623. 1423.49 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:77-91
  17624. 1423.49 s [opt-env-conf-test] @@ -202,7 +202,6 @@
  17625. 1423.49 s [opt-env-conf-test] ]
  17626. 1423.49 s [opt-env-conf-test] _ ->
  17627. 1423.49 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17628. 1423.49 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17629. 1423.49 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17630. 1423.49 s [opt-env-conf-test] ]
  17631. 1423.49 s [opt-env-conf-test] )
  17632. 1423.49 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:354:10-38
  17633. 1423.49 s [opt-env-conf-test] @@ -351,7 +351,7 @@
  17634. 1423.49 s [opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
  17635. 1423.49 s [opt-env-conf-test] if isLong
  17636. 1423.49 s [opt-env-conf-test] then
  17637. 1423.49 s [opt-env-conf-test] - if DashedLong cs `elem` dasheds
  17638. 1423.49 s [opt-env-conf-test] + if True
  17639. 1423.49 s [opt-env-conf-test] then Just Nothing
  17640. 1423.49 s [opt-env-conf-test] else Nothing
  17641. 1423.49 s [opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
  17642. 1423.49 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:77-91
  17643. 1423.49 s [opt-env-conf-test] @@ -202,7 +202,6 @@
  17644. 1423.49 s [opt-env-conf-test] ]
  17645. 1423.49 s [opt-env-conf-test] _ ->
  17646. 1423.49 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17647. 1423.49 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17648. 1423.49 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17649. 1423.49 s [opt-env-conf-test] ]
  17650. 1423.49 s [opt-env-conf-test] )
  17651. 1423.49 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:36-37
  17652. 1423.49 s [opt-env-conf-test] @@ -202,9 +202,7 @@
  17653. 1423.49 s [opt-env-conf-test] ]
  17654. 1423.49 s [opt-env-conf-test] _ ->
  17655. 1423.49 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17656. 1423.49 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17657. 1423.49 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  17658. 1423.49 s [opt-env-conf-test] ]
  17659. 1423.49 s [opt-env-conf-test] )
  17660. 1423.49 s [opt-env-conf-test]
  17661. 1423.49 s [opt-env-conf-test] -- | Consume an option.
  17662. 1423.49 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:354:10-38
  17663. 1423.49 s [opt-env-conf-test] @@ -351,7 +351,7 @@
  17664. 1423.49 s [opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
  17665. 1423.49 s [opt-env-conf-test] if isLong
  17666. 1423.50 s [opt-env-conf-test] then
  17667. 1423.50 s [opt-env-conf-test] - if DashedLong cs `elem` dasheds
  17668. 1423.50 s [opt-env-conf-test] + if False
  17669. 1423.50 s [opt-env-conf-test] then Just Nothing
  17670. 1423.50 s [opt-env-conf-test] else Nothing
  17671. 1423.50 s [opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
  17672. 1423.50 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:334:65-71
  17673. 1423.50 s [opt-env-conf-test] @@ -331,7 +331,7 @@
  17674. 1423.50 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  17675. 1423.50 s [opt-env-conf-test] (Live o : rest) -> case o of
  17676. 1423.50 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  17677. 1423.50 s [opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  17678. 1423.50 s [opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds not isLong cs of
  17679. 1423.50 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  17680. 1423.50 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  17681. 1423.50 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  17682. 1423.50 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:198:27-37
  17683. 1423.50 s [opt-env-conf-test] @@ -195,16 +195,12 @@
  17684. 1423.50 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17685. 1423.50 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17686. 1423.50 s [opt-env-conf-test] -- * The dashed is an argument
  17687. 1423.50 s [opt-env-conf-test] ( case a' of
  17688. 1423.50 s [opt-env-conf-test] - ArgDashed {} ->
  17689. 1423.50 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
  17690. 1423.50 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  17691. 1423.50 s [opt-env-conf-test] - ]
  17692. 1423.50 s [opt-env-conf-test] _ ->
  17693. 1423.50 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17694. 1423.50 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17695. 1423.50 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17696. 1423.50 s [opt-env-conf-test] ]
  17697. 1423.50 s [opt-env-conf-test] )
  17698. 1423.50 s [opt-env-conf-test]
  17699. 1423.50 s [opt-env-conf-test] -- | Consume an option.
  17700. 1423.50 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:352:6-12
  17701. 1423.50 s [opt-env-conf-test] @@ -349,7 +349,7 @@
  17702. 1423.50 s [opt-env-conf-test] NonEmpty Char ->
  17703. 1423.50 s [opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
  17704. 1423.50 s [opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
  17705. 1423.50 s [opt-env-conf-test] - if isLong
  17706. 1423.50 s [opt-env-conf-test] + if not isLong
  17707. 1423.50 s [opt-env-conf-test] then
  17708. 1423.50 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  17709. 1423.50 s [opt-env-conf-test] then Just Nothing
  17710. 1423.50 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:198:27-37
  17711. 1423.50 s [opt-env-conf-test] @@ -195,16 +195,11 @@
  17712. 1423.50 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17713. 1423.50 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17714. 1423.50 s [opt-env-conf-test] -- * The dashed is an argument
  17715. 1423.50 s [opt-env-conf-test] ( case a' of
  17716. 1423.50 s [opt-env-conf-test] ArgDashed {} ->
  17717. 1423.50 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17718. 1423.50 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17719. 1423.50 s [opt-env-conf-test] ]
  17720. 1423.50 s [opt-env-conf-test] - _ ->
  17721. 1423.50 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17722. 1423.50 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17723. 1427.20 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  17724. 1427.20 s [opt-env-conf-test] - ]
  17725. 1427.20 s [opt-env-conf-test] )
  17726. 1427.20 s [opt-env-conf-test]
  17727. 1427.20 s [opt-env-conf-test] -- | Consume an option.
  17728. 1427.20 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:36-37
  17729. 1427.20 s [opt-env-conf-test] @@ -202,9 +202,8 @@
  17730. 1427.20 s [opt-env-conf-test] ]
  17731. 1427.20 s [opt-env-conf-test] _ ->
  17732. 1427.20 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17733. 1427.20 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17734. 1427.20 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17735. 1427.20 s [opt-env-conf-test] ]
  17736. 1427.20 s [opt-env-conf-test] )
  17737. 1427.20 s [opt-env-conf-test]
  17738. 1427.20 s [opt-env-conf-test] -- | Consume an option.
  17739. 1427.20 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:352:6-12
  17740. 1427.20 s [opt-env-conf-test] @@ -349,7 +349,7 @@
  17741. 1427.20 s [opt-env-conf-test] NonEmpty Char ->
  17742. 1427.20 s [opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
  17743. 1427.20 s [opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
  17744. 1427.20 s [opt-env-conf-test] - if isLong
  17745. 1427.20 s [opt-env-conf-test] + if False
  17746. 1427.20 s [opt-env-conf-test] then
  17747. 1427.20 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  17748. 1427.20 s [opt-env-conf-test] then Just Nothing
  17749. 1427.20 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
  17750. 1427.20 s [opt-env-conf-test] @@ -186,26 +186,25 @@
  17751. 1427.20 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  17752. 1427.20 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17753. 1427.20 s [opt-env-conf-test] ]
  17754. 1427.20 s [opt-env-conf-test] in case afters of
  17755. 1427.20 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  17756. 1427.20 s [opt-env-conf-test] [] -> switchCase
  17757. 1427.21 s [opt-env-conf-test] - (Dead : _) -> switchCase
  17758. 1427.21 s [opt-env-conf-test] (Live a' : rest) ->
  17759. 1427.21 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  17760. 1427.21 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17761. 1427.21 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17762. 1427.21 s [opt-env-conf-test] -- * The dashed is an argument
  17763. 1427.21 s [opt-env-conf-test] ( case a' of
  17764. 1427.21 s [opt-env-conf-test] ArgDashed {} ->
  17765. 1427.21 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17766. 1427.21 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17767. 1427.21 s [opt-env-conf-test] ]
  17768. 1427.21 s [opt-env-conf-test] _ ->
  17769. 1427.21 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17770. 1427.21 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17771. 1427.21 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17772. 1427.21 s [opt-env-conf-test] ]
  17773. 1427.21 s [opt-env-conf-test] )
  17774. 1427.21 s [opt-env-conf-test]
  17775. 1427.21 s [opt-env-conf-test] -- | Consume an option.
  17776. 1427.21 s [opt-env-conf-test] --
  17777. 1427.21 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
  17778. 1427.21 s [opt-env-conf-test] @@ -186,26 +186,25 @@
  17779. 1427.21 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  17780. 1427.21 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17781. 1427.21 s [opt-env-conf-test] ]
  17782. 1427.21 s [opt-env-conf-test] in case afters of
  17783. 1427.21 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  17784. 1427.21 s [opt-env-conf-test] - [] -> switchCase
  17785. 1427.21 s [opt-env-conf-test] (Dead : _) -> switchCase
  17786. 1427.21 s [opt-env-conf-test] (Live a' : rest) ->
  17787. 1427.21 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  17788. 1427.21 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17789. 1427.21 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17790. 1427.21 s [opt-env-conf-test] -- * The dashed is an argument
  17791. 1427.21 s [opt-env-conf-test] ( case a' of
  17792. 1427.21 s [opt-env-conf-test] ArgDashed {} ->
  17793. 1427.21 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17794. 1427.21 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17795. 1427.21 s [opt-env-conf-test] ]
  17796. 1427.21 s [opt-env-conf-test] _ ->
  17797. 1427.21 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17798. 1427.21 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17799. 1427.21 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17800. 1427.21 s [opt-env-conf-test] ]
  17801. 1427.21 s [opt-env-conf-test] )
  17802. 1427.21 s [opt-env-conf-test]
  17803. 1427.21 s [opt-env-conf-test] -- | Consume an option.
  17804. 1427.21 s [opt-env-conf-test] --
  17805. 1427.21 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
  17806. 1427.21 s [opt-env-conf-test] @@ -186,26 +186,10 @@
  17807. 1427.21 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  17808. 1427.21 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17809. 1427.21 s [opt-env-conf-test] ]
  17810. 1427.21 s [opt-env-conf-test] in case afters of
  17811. 1427.21 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  17812. 1427.21 s [opt-env-conf-test] [] -> switchCase
  17813. 1427.21 s [opt-env-conf-test] (Dead : _) -> switchCase
  17814. 1427.21 s [opt-env-conf-test] - (Live a' : rest) ->
  17815. 1427.21 s [opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
  17816. 1427.21 s [opt-env-conf-test] - -- * The dashed is an option and the live is the value
  17817. 1427.21 s [opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
  17818. 1427.21 s [opt-env-conf-test] - -- * The dashed is an argument
  17819. 1427.21 s [opt-env-conf-test] - ( case a' of
  17820. 1427.21 s [opt-env-conf-test] - ArgDashed {} ->
  17821. 1427.21 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
  17822. 1427.21 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  17823. 1427.21 s [opt-env-conf-test] - ]
  17824. 1427.21 s [opt-env-conf-test] - _ ->
  17825. 1427.21 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17826. 1427.21 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17827. 1427.21 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  17828. 1427.21 s [opt-env-conf-test] - ]
  17829. 1427.21 s [opt-env-conf-test] - )
  17830. 1427.21 s [opt-env-conf-test]
  17831. 1427.21 s [opt-env-conf-test] -- | Consume an option.
  17832. 1427.21 s [opt-env-conf-test] --
  17833. 1427.21 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:138:23-26
  17834. 1427.21 s [opt-env-conf-test] @@ -135,77 +135,8 @@
  17835. 1427.21 s [opt-env-conf-test] Nothing -> r
  17836. 1427.21 s [opt-env-conf-test] Just _ -> t : addConsumeNothing rest
  17837. 1427.21 s [opt-env-conf-test]
  17838. 1427.21 s [opt-env-conf-test] addConsumeNothing $ case argsAfter as of
  17839. 1427.21 s [opt-env-conf-test] [] -> []
  17840. 1427.21 s [opt-env-conf-test] - (firstArg : afters) ->
  17841. 1427.21 s [opt-env-conf-test] - let befores = argsBefore as
  17842. 1427.21 s [opt-env-conf-test] - consumed = Args (befores ++ [Dead]) afters
  17843. 1427.21 s [opt-env-conf-test] - in case firstArg of
  17844. 1427.21 s [opt-env-conf-test] - -- Skip any dead argument
  17845. 1427.21 s [opt-env-conf-test] - Dead -> consumeArgument consumed
  17846. 1427.21 s [opt-env-conf-test] - Live a -> case a of
  17847. 1427.21 s [opt-env-conf-test] - -- Plain argument: that's the only option, consume it.
  17848. 1427.21 s [opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
  17849. 1427.21 s [opt-env-conf-test] - -- A single dash is always an argument
  17850. 1427.21 s [opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
  17851. 1427.21 s [opt-env-conf-test] - -- Bare double-dash
  17852. 1427.21 s [opt-env-conf-test] - ArgBareDoubleDash -> case afters of
  17853. 1427.22 s [opt-env-conf-test] - -- If it's the last argument, consume it as an argument
  17854. 1427.22 s [opt-env-conf-test] - [] -> [(Just "--", consumed)]
  17855. 1427.22 s [opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
  17856. 1427.22 s [opt-env-conf-test] - -- means we've been parsing bare args and are now done.
  17857. 1427.22 s [opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
  17858. 1427.22 s [opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17859. 1427.22 s [opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
  17860. 1427.22 s [opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
  17861. 1427.22 s [opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
  17862. 1427.22 s [opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
  17863. 1427.22 s [opt-env-conf-test] - -- pop the args as they come.
  17864. 1427.22 s [opt-env-conf-test] - _ ->
  17865. 1427.22 s [opt-env-conf-test] - let go = \case
  17866. 1427.22 s [opt-env-conf-test] - [] -> Nothing
  17867. 1427.22 s [opt-env-conf-test] - (Dead : rest) -> go rest
  17868. 1427.22 s [opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
  17869. 1427.22 s [opt-env-conf-test] - in case go afters of
  17870. 1427.22 s [opt-env-conf-test] - Nothing -> [(Nothing, as)]
  17871. 1427.22 s [opt-env-conf-test] - Just (firstLive, rest) ->
  17872. 1427.22 s [opt-env-conf-test] - -- We need to leave the dead argument there so that
  17873. 1427.22 s [opt-env-conf-test] - -- we don't consume the double-dash as an argument
  17874. 1427.22 s [opt-env-conf-test] - -- after consuming all the arguments after it as bare
  17875. 1427.22 s [opt-env-conf-test] - -- arguments.
  17876. 1427.22 s [opt-env-conf-test] - [ ( Just $ renderArg firstLive,
  17877. 1427.22 s [opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
  17878. 1427.22 s [opt-env-conf-test] - )
  17879. 1427.22 s [opt-env-conf-test] - ]
  17880. 1427.22 s [opt-env-conf-test] - ArgDashed {} ->
  17881. 1427.22 s [opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
  17882. 1427.22 s [opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
  17883. 1427.22 s [opt-env-conf-test] - -- * The dashed is an argument
  17884. 1427.22 s [opt-env-conf-test] - -- TODO we need to continue looking too
  17885. 1427.22 s [opt-env-conf-test] - let switchCase =
  17886. 1427.22 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
  17887. 1427.22 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  17888. 1427.22 s [opt-env-conf-test] - ]
  17889. 1427.22 s [opt-env-conf-test] - in case afters of
  17890. 1427.22 s [opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
  17891. 1427.22 s [opt-env-conf-test] - [] -> switchCase
  17892. 1427.22 s [opt-env-conf-test] - (Dead : _) -> switchCase
  17893. 1427.22 s [opt-env-conf-test] - (Live a' : rest) ->
  17894. 1427.22 s [opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
  17895. 1427.22 s [opt-env-conf-test] - -- * The dashed is an option and the live is the value
  17896. 1427.22 s [opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
  17897. 1427.22 s [opt-env-conf-test] - -- * The dashed is an argument
  17898. 1427.22 s [opt-env-conf-test] - ( case a' of
  17899. 1434.82 s [opt-env-conf-test] - ArgDashed {} ->
  17900. 1434.83 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
  17901. 1434.85 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  17902. 1434.85 s [opt-env-conf-test] - ]
  17903. 1434.85 s [opt-env-conf-test] - _ ->
  17904. 1434.85 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17905. 1434.85 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17906. 1434.85 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  17907. 1434.85 s [opt-env-conf-test] - ]
  17908. 1434.85 s [opt-env-conf-test] - )
  17909. 1434.85 s [opt-env-conf-test]
  17910. 1434.85 s [opt-env-conf-test] -- | Consume an option.
  17911. 1434.85 s [opt-env-conf-test] --
  17912. 1434.85 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:240:55-61
  17913. 1434.85 s [opt-env-conf-test] @@ -237,7 +237,7 @@
  17914. 1434.85 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  17915. 1434.85 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  17916. 1434.85 s [opt-env-conf-test] ArgDashed isLong cs ->
  17917. 1434.85 s [opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
  17918. 1434.85 s [opt-env-conf-test] + case consumeDashedShorthandOption dasheds not isLong cs of
  17919. 1434.85 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  17920. 1434.85 s [opt-env-conf-test] Nothing ->
  17921. 1434.85 s [opt-env-conf-test] case rest of
  17922. 1434.85 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:240:55-61
  17923. 1434.86 s [opt-env-conf-test] @@ -237,7 +237,7 @@
  17924. 1434.86 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  17925. 1434.86 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  17926. 1434.86 s [opt-env-conf-test] ArgDashed isLong cs ->
  17927. 1434.86 s [opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
  17928. 1434.86 s [opt-env-conf-test] + case consumeDashedShorthandOption dasheds False cs of
  17929. 1434.86 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  17930. 1434.86 s [opt-env-conf-test] Nothing ->
  17931. 1434.86 s [opt-env-conf-test] case rest of
  17932. 1434.86 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:245:54-60
  17933. 1434.86 s [opt-env-conf-test] @@ -242,7 +242,7 @@
  17934. 1434.86 s [opt-env-conf-test] Nothing ->
  17935. 1434.86 s [opt-env-conf-test] case rest of
  17936. 1434.86 s [opt-env-conf-test] (Live v : rest') ->
  17937. 1434.86 s [opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
  17938. 1434.86 s [opt-env-conf-test] + case consumeDashedOption dasheds True cs of
  17939. 1434.86 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  17940. 1434.86 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  17941. 1434.86 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  17942. 1434.86 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:245:54-60
  17943. 1434.86 s [opt-env-conf-test] @@ -242,7 +242,7 @@
  17944. 1434.86 s [opt-env-conf-test] Nothing ->
  17945. 1434.86 s [opt-env-conf-test] case rest of
  17946. 1434.86 s [opt-env-conf-test] (Live v : rest') ->
  17947. 1434.86 s [opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
  17948. 1434.86 s [opt-env-conf-test] + case consumeDashedOption dasheds False cs of
  17949. 1434.87 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  17950. 1434.87 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  17951. 1434.87 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  17952. 1434.87 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:245:54-60
  17953. 1434.87 s [opt-env-conf-test] @@ -242,7 +242,7 @@
  17954. 1434.87 s [opt-env-conf-test] Nothing ->
  17955. 1434.87 s [opt-env-conf-test] case rest of
  17956. 1434.87 s [opt-env-conf-test] (Live v : rest') ->
  17957. 1434.87 s [opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
  17958. 1434.87 s [opt-env-conf-test] + case consumeDashedOption dasheds not isLong cs of
  17959. 1434.87 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  17960. 1434.87 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  17961. 1434.87 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  17962. 1434.87 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:248:77-83
  17963. 1434.87 s [opt-env-conf-test] @@ -245,7 +245,7 @@
  17964. 1434.87 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  17965. 1434.87 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  17966. 1434.87 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  17967. 1434.87 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  17968. 1434.87 s [opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed True cs') : Dead : rest')
  17969. 1434.87 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  17970. 1434.87 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  17971. 1434.87 s [opt-env-conf-test]
  17972. 1434.87 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:248:77-83
  17973. 1434.87 s [opt-env-conf-test] @@ -245,7 +245,7 @@
  17974. 1434.87 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  17975. 1434.87 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  17976. 1434.87 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  17977. 1434.87 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  17978. 1434.87 s [opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed False cs') : Dead : rest')
  17979. 1434.88 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  17980. 1434.88 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  17981. 1434.88 s [opt-env-conf-test]
  17982. 1434.88 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:248:77-83
  17983. 1434.88 s [opt-env-conf-test] @@ -245,7 +245,7 @@
  17984. 1434.88 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  17985. 1434.88 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  17986. 1434.88 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  17987. 1434.88 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  17988. 1434.88 s [opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed not isLong cs') : Dead : rest')
  17989. 1434.88 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  17990. 1434.88 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  17991. 1434.88 s [opt-env-conf-test]
  17992. 1434.88 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
  17993. 1434.88 s [opt-env-conf-test] @@ -242,10 +242,9 @@
  17994. 1434.88 s [opt-env-conf-test] Nothing ->
  17995. 1434.88 s [opt-env-conf-test] case rest of
  17996. 1434.88 s [opt-env-conf-test] (Live v : rest') ->
  17997. 1434.88 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  17998. 1434.88 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  17999. 1434.88 s [opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
  18000. 1434.88 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18001. 1434.88 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18002. 1434.88 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18003. 1434.88 s [opt-env-conf-test]
  18004. 1434.88 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
  18005. 1434.88 s [opt-env-conf-test] @@ -242,10 +242,9 @@
  18006. 1434.88 s [opt-env-conf-test] Nothing ->
  18007. 1434.88 s [opt-env-conf-test] case rest of
  18008. 1434.88 s [opt-env-conf-test] (Live v : rest') ->
  18009. 1434.88 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18010. 1434.88 s [opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
  18011. 1434.88 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18012. 1434.88 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18013. 1434.88 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18014. 1434.88 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18015. 1434.88 s [opt-env-conf-test]
  18016. 1434.89 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:243:17-53
  18017. 1434.89 s [opt-env-conf-test] @@ -240,13 +240,8 @@
  18018. 1434.89 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  18019. 1434.89 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  18020. 1434.89 s [opt-env-conf-test] Nothing ->
  18021. 1434.89 s [opt-env-conf-test] case rest of
  18022. 1434.89 s [opt-env-conf-test] - (Live v : rest') ->
  18023. 1434.89 s [opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
  18024. 1434.89 s [opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
  18025. 1434.89 s [opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
  18026. 1434.89 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18027. 1434.89 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18028. 1434.89 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18029. 1434.89 s [opt-env-conf-test]
  18030. 1434.89 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18031. 1434.89 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:243:17-53
  18032. 1434.89 s [opt-env-conf-test] @@ -240,13 +240,12 @@
  18033. 1434.89 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  18034. 1434.89 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  18035. 1434.89 s [opt-env-conf-test] Nothing ->
  18036. 1434.89 s [opt-env-conf-test] case rest of
  18037. 1434.89 s [opt-env-conf-test] (Live v : rest') ->
  18038. 1434.89 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18039. 1434.89 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18040. 1434.89 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18041. 1434.89 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18042. 1434.89 s [opt-env-conf-test] - _ -> second (Live k :) <$> go rest
  18043. 1434.89 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18044. 1434.89 s [opt-env-conf-test]
  18045. 1434.89 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18046. 1434.89 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:240:13-53
  18047. 1434.89 s [opt-env-conf-test] @@ -237,16 +237,15 @@
  18048. 1434.89 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  18049. 1435.05 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  18050. 1435.05 s [opt-env-conf-test] ArgDashed isLong cs ->
  18051. 1435.05 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  18052. 1435.06 s [opt-env-conf-test] - Just v -> Just (v, Dead : rest)
  18053. 1435.06 s [opt-env-conf-test] Nothing ->
  18054. 1435.06 s [opt-env-conf-test] case rest of
  18055. 1435.06 s [opt-env-conf-test] (Live v : rest') ->
  18056. 1435.06 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18057. 1435.06 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18058. 1435.06 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18059. 1435.06 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18060. 1435.06 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18061. 1435.06 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18062. 1435.06 s [opt-env-conf-test]
  18063. 1435.06 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18064. 1435.06 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
  18065. 1435.06 s [opt-env-conf-test] @@ -242,10 +242,9 @@
  18066. 1435.06 s [opt-env-conf-test] Nothing ->
  18067. 1435.06 s [opt-env-conf-test] case rest of
  18068. 1435.06 s [opt-env-conf-test] (Live v : rest') ->
  18069. 1435.06 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18070. 1435.06 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18071. 1435.06 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18072. 1435.06 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18073. 1435.06 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18074. 1435.06 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18075. 1435.06 s [opt-env-conf-test]
  18076. 1435.06 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
  18077. 1435.06 s [opt-env-conf-test] @@ -149,34 +149,18 @@
  18078. 1435.06 s [opt-env-conf-test] -- A single dash is always an argument
  18079. 1435.06 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  18080. 1435.06 s [opt-env-conf-test] -- Bare double-dash
  18081. 1435.06 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  18082. 1435.06 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  18083. 1435.07 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  18084. 1435.07 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  18085. 1435.07 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  18086. 1435.07 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  18087. 1435.07 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  18088. 1435.07 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  18089. 1435.07 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  18090. 1435.07 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  18091. 1435.07 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  18092. 1435.07 s [opt-env-conf-test] -- pop the args as they come.
  18093. 1435.07 s [opt-env-conf-test] - _ ->
  18094. 1435.07 s [opt-env-conf-test] - let go = \case
  18095. 1435.07 s [opt-env-conf-test] - [] -> Nothing
  18096. 1435.07 s [opt-env-conf-test] - (Dead : rest) -> go rest
  18097. 1435.07 s [opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
  18098. 1435.07 s [opt-env-conf-test] - in case go afters of
  18099. 1435.07 s [opt-env-conf-test] - Nothing -> [(Nothing, as)]
  18100. 1435.07 s [opt-env-conf-test] - Just (firstLive, rest) ->
  18101. 1435.07 s [opt-env-conf-test] - -- We need to leave the dead argument there so that
  18102. 1435.07 s [opt-env-conf-test] - -- we don't consume the double-dash as an argument
  18103. 1435.07 s [opt-env-conf-test] - -- after consuming all the arguments after it as bare
  18104. 1435.07 s [opt-env-conf-test] - -- arguments.
  18105. 1435.07 s [opt-env-conf-test] - [ ( Just $ renderArg firstLive,
  18106. 1435.07 s [opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
  18107. 1435.07 s [opt-env-conf-test] - )
  18108. 1442.55 s [opt-env-conf-test] - ]
  18109. 1442.56 s [opt-env-conf-test] ArgDashed {} ->
  18110. 1442.56 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  18111. 1442.58 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  18112. 1442.58 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:240:13-53
  18113. 1442.58 s [opt-env-conf-test] @@ -237,16 +237,8 @@
  18114. 1442.58 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  18115. 1442.58 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  18116. 1442.58 s [opt-env-conf-test] ArgDashed isLong cs ->
  18117. 1442.58 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  18118. 1442.58 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  18119. 1442.58 s [opt-env-conf-test] - Nothing ->
  18120. 1442.58 s [opt-env-conf-test] - case rest of
  18121. 1442.58 s [opt-env-conf-test] - (Live v : rest') ->
  18122. 1442.58 s [opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
  18123. 1442.58 s [opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
  18124. 1442.59 s [opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
  18125. 1442.59 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18126. 1442.59 s [opt-env-conf-test] - _ -> second (Live k :) <$> go rest
  18127. 1442.59 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18128. 1442.59 s [opt-env-conf-test]
  18129. 1442.59 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18130. 1442.59 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
  18131. 1442.59 s [opt-env-conf-test] @@ -233,21 +233,20 @@
  18132. 1442.59 s [opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
  18133. 1442.59 s [opt-env-conf-test] -- If we find a live key, try to consume it.
  18134. 1442.59 s [opt-env-conf-test] (Live k : rest) ->
  18135. 1442.59 s [opt-env-conf-test] case k of
  18136. 1442.59 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  18137. 1442.59 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  18138. 1442.59 s [opt-env-conf-test] ArgDashed isLong cs ->
  18139. 1442.59 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  18140. 1442.59 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  18141. 1442.59 s [opt-env-conf-test] Nothing ->
  18142. 1442.59 s [opt-env-conf-test] case rest of
  18143. 1442.59 s [opt-env-conf-test] (Live v : rest') ->
  18144. 1442.59 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18145. 1442.59 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18146. 1442.59 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18147. 1442.59 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18148. 1442.59 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18149. 1442.59 s [opt-env-conf-test] - _ -> second (Live k :) <$> go rest
  18150. 1442.59 s [opt-env-conf-test]
  18151. 1442.59 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18152. 1442.59 s [opt-env-conf-test] [Dashed] ->
  18153. 1442.59 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
  18154. 1442.60 s [opt-env-conf-test] @@ -233,21 +233,20 @@
  18155. 1442.60 s [opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
  18156. 1442.60 s [opt-env-conf-test] -- If we find a live key, try to consume it.
  18157. 1442.60 s [opt-env-conf-test] (Live k : rest) ->
  18158. 1442.60 s [opt-env-conf-test] case k of
  18159. 1442.60 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  18160. 1442.60 s [opt-env-conf-test] - ArgBareDoubleDash -> Nothing
  18161. 1442.60 s [opt-env-conf-test] ArgDashed isLong cs ->
  18162. 1442.60 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  18163. 1442.60 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  18164. 1442.60 s [opt-env-conf-test] Nothing ->
  18165. 1442.60 s [opt-env-conf-test] case rest of
  18166. 1442.60 s [opt-env-conf-test] (Live v : rest') ->
  18167. 1442.60 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18168. 1442.60 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18169. 1442.60 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18170. 1442.60 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18171. 1442.60 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18172. 1442.60 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18173. 1442.60 s [opt-env-conf-test]
  18174. 1442.60 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18175. 1442.60 s [opt-env-conf-test] [Dashed] ->
  18176. 1442.60 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
  18177. 1442.60 s [opt-env-conf-test] @@ -233,21 +233,10 @@
  18178. 1442.60 s [opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
  18179. 1442.60 s [opt-env-conf-test] -- If we find a live key, try to consume it.
  18180. 1442.60 s [opt-env-conf-test] (Live k : rest) ->
  18181. 1442.60 s [opt-env-conf-test] case k of
  18182. 1442.60 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  18183. 1442.60 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  18184. 1442.60 s [opt-env-conf-test] - ArgDashed isLong cs ->
  18185. 1442.60 s [opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
  18186. 1442.60 s [opt-env-conf-test] - Just v -> Just (v, Dead : rest)
  18187. 1442.60 s [opt-env-conf-test] - Nothing ->
  18188. 1442.60 s [opt-env-conf-test] - case rest of
  18189. 1442.60 s [opt-env-conf-test] - (Live v : rest') ->
  18190. 1442.60 s [opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
  18191. 1442.61 s [opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
  18192. 1442.61 s [opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
  18193. 1442.61 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18194. 1442.61 s [opt-env-conf-test] - _ -> second (Live k :) <$> go rest
  18195. 1442.61 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18196. 1442.61 s [opt-env-conf-test]
  18197. 1442.61 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18198. 1442.61 s [opt-env-conf-test] [Dashed] ->
  18199. 1442.61 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:77:23-33
  18200. 1442.61 s [opt-env-conf-test] @@ -74,9 +74,8 @@
  18201. 1442.61 s [opt-env-conf-test]
  18202. 1442.61 s [opt-env-conf-test] parseArg :: String -> Arg
  18203. 1442.61 s [opt-env-conf-test] parseArg = \case
  18204. 1442.61 s [opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
  18205. 1442.61 s [opt-env-conf-test] Nothing -> ArgBareDoubleDash
  18206. 1442.61 s [opt-env-conf-test] - Just ne -> ArgDashed True ne
  18207. 1442.61 s [opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
  18208. 1442.61 s [opt-env-conf-test] Nothing -> ArgBareDash
  18209. 1442.61 s [opt-env-conf-test] Just ne -> ArgDashed False ne
  18210. 1442.61 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:82:26-31
  18211. 1442.61 s [opt-env-conf-test] @@ -79,7 +79,7 @@
  18212. 1442.61 s [opt-env-conf-test] Just ne -> ArgDashed True ne
  18213. 1442.61 s [opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
  18214. 1442.61 s [opt-env-conf-test] Nothing -> ArgBareDash
  18215. 1442.61 s [opt-env-conf-test] - Just ne -> ArgDashed False ne
  18216. 1442.61 s [opt-env-conf-test] + Just ne -> ArgDashed True ne
  18217. 1442.61 s [opt-env-conf-test] s -> ArgPlain s
  18218. 1442.61 s [opt-env-conf-test]
  18219. 1442.61 s [opt-env-conf-test] renderArg :: Arg -> String
  18220. 1442.61 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:79:26-30
  18221. 1442.61 s [opt-env-conf-test] @@ -76,7 +76,7 @@
  18222. 1442.61 s [opt-env-conf-test] parseArg = \case
  18223. 1442.61 s [opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
  18224. 1442.61 s [opt-env-conf-test] Nothing -> ArgBareDoubleDash
  18225. 1442.61 s [opt-env-conf-test] - Just ne -> ArgDashed True ne
  18226. 1442.61 s [opt-env-conf-test] + Just ne -> ArgDashed False ne
  18227. 1442.61 s [opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
  18228. 1442.61 s [opt-env-conf-test] Nothing -> ArgBareDash
  18229. 1442.61 s [opt-env-conf-test] Just ne -> ArgDashed False ne
  18230. 1442.61 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:77:23-33
  18231. 1442.61 s [opt-env-conf-test] @@ -74,9 +74,8 @@
  18232. 1442.61 s [opt-env-conf-test]
  18233. 1442.61 s [opt-env-conf-test] parseArg :: String -> Arg
  18234. 1442.61 s [opt-env-conf-test] parseArg = \case
  18235. 1442.61 s [opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
  18236. 1442.61 s [opt-env-conf-test] - Nothing -> ArgBareDoubleDash
  18237. 1442.61 s [opt-env-conf-test] Just ne -> ArgDashed True ne
  18238. 1442.62 s [opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
  18239. 1442.62 s [opt-env-conf-test] Nothing -> ArgBareDash
  18240. 1442.62 s [opt-env-conf-test] Just ne -> ArgDashed False ne
  18241. 1442.62 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:80:17-34
  18242. 1442.62 s [opt-env-conf-test] @@ -77,9 +77,8 @@
  18243. 1442.62 s [opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
  18244. 1442.62 s [opt-env-conf-test] Nothing -> ArgBareDoubleDash
  18245. 1442.62 s [opt-env-conf-test] Just ne -> ArgDashed True ne
  18246. 1442.62 s [opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
  18247. 1442.62 s [opt-env-conf-test] - Nothing -> ArgBareDash
  18248. 1442.62 s [opt-env-conf-test] Just ne -> ArgDashed False ne
  18249. 1442.62 s [opt-env-conf-test] s -> ArgPlain s
  18250. 1442.62 s [opt-env-conf-test]
  18251. 1442.62 s [opt-env-conf-test] renderArg :: Arg -> String
  18252. 1442.62 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
  18253. 1442.62 s [opt-env-conf-test] @@ -396,10 +396,9 @@
  18254. 1442.62 s [opt-env-conf-test] instance Validity Dashed
  18255. 1442.62 s [opt-env-conf-test]
  18256. 1442.62 s [opt-env-conf-test] instance IsString Dashed where
  18257. 1442.62 s [opt-env-conf-test] fromString s = case fromString s of
  18258. 1442.62 s [opt-env-conf-test] - ArgDashed True cs -> DashedLong cs
  18259. 1442.62 s [opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
  18260. 1442.62 s [opt-env-conf-test] _ -> error "Invalid dashed"
  18261. 1442.62 s [opt-env-conf-test]
  18262. 1442.62 s [opt-env-conf-test] renderDashed :: Dashed -> String
  18263. 1442.62 s [opt-env-conf-test] renderDashed = \case
  18264. 1442.62 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:80:17-34
  18265. 1442.62 s [opt-env-conf-test] @@ -77,9 +77,8 @@
  18266. 1442.62 s [opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
  18267. 1442.62 s [opt-env-conf-test] Nothing -> ArgBareDoubleDash
  18268. 1442.62 s [opt-env-conf-test] Just ne -> ArgDashed True ne
  18269. 1442.62 s [opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
  18270. 1442.62 s [opt-env-conf-test] Nothing -> ArgBareDash
  18271. 1442.62 s [opt-env-conf-test] - Just ne -> ArgDashed False ne
  18272. 1442.62 s [opt-env-conf-test] s -> ArgPlain s
  18273. 1442.62 s [opt-env-conf-test]
  18274. 1442.62 s [opt-env-conf-test] renderArg :: Arg -> String
  18275. 1442.62 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
  18276. 1442.62 s [opt-env-conf-test] @@ -396,10 +396,9 @@
  18277. 1442.62 s [opt-env-conf-test] instance Validity Dashed
  18278. 1442.62 s [opt-env-conf-test]
  18279. 1442.62 s [opt-env-conf-test] instance IsString Dashed where
  18280. 1442.62 s [opt-env-conf-test] fromString s = case fromString s of
  18281. 1442.62 s [opt-env-conf-test] ArgDashed True cs -> DashedLong cs
  18282. 1442.62 s [opt-env-conf-test] - ArgDashed False (c :| []) -> DashedShort c
  18283. 1442.62 s [opt-env-conf-test] _ -> error "Invalid dashed"
  18284. 1442.62 s [opt-env-conf-test]
  18285. 1442.62 s [opt-env-conf-test] renderDashed :: Dashed -> String
  18286. 1442.62 s [opt-env-conf-test] renderDashed = \case
  18287. 1442.62 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
  18288. 1442.62 s [opt-env-conf-test] @@ -396,10 +396,9 @@
  18289. 1442.63 s [opt-env-conf-test] instance Validity Dashed
  18290. 1442.63 s [opt-env-conf-test]
  18291. 1442.63 s [opt-env-conf-test] instance IsString Dashed where
  18292. 1442.63 s [opt-env-conf-test] fromString s = case fromString s of
  18293. 1442.63 s [opt-env-conf-test] ArgDashed True cs -> DashedLong cs
  18294. 1442.63 s [opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
  18295. 1442.63 s [opt-env-conf-test] - _ -> error "Invalid dashed"
  18296. 1442.63 s [opt-env-conf-test]
  18297. 1442.63 s [opt-env-conf-test] renderDashed :: Dashed -> String
  18298. 1442.63 s [opt-env-conf-test] renderDashed = \case
  18299. 1442.63 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:65:103-111
  18300. 1442.63 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  18301. 1442.63 s [opt-env-conf-test] mconcat
  18302. 1442.63 s [opt-env-conf-test] [ genericValidate arg,
  18303. 1442.63 s [opt-env-conf-test] case arg of
  18304. 1442.63 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18305. 1442.63 s [opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ True
  18306. 1442.63 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18307. 1450.76 s [opt-env-conf-test] ('-' : _) -> False
  18308. 1450.76 s [opt-env-conf-test] _ -> True
  18309. 1450.76 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:65:103-111
  18310. 1450.78 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  18311. 1450.78 s [opt-env-conf-test] mconcat
  18312. 1450.78 s [opt-env-conf-test] [ genericValidate arg,
  18313. 1450.79 s [opt-env-conf-test] case arg of
  18314. 1450.79 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18315. 1450.79 s [opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ False
  18316. 1450.79 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18317. 1450.79 s [opt-env-conf-test] ('-' : _) -> False
  18318. 1450.79 s [opt-env-conf-test] _ -> True
  18319. 1450.79 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:65:103-111
  18320. 1450.79 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  18321. 1450.79 s [opt-env-conf-test] mconcat
  18322. 1450.79 s [opt-env-conf-test] [ genericValidate arg,
  18323. 1450.79 s [opt-env-conf-test] case arg of
  18324. 1450.79 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18325. 1450.79 s [opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ not c /= '-'
  18326. 1450.79 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18327. 1450.79 s [opt-env-conf-test] ('-' : _) -> False
  18328. 1450.79 s [opt-env-conf-test] _ -> True
  18329. 1450.79 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:67:26-31
  18330. 1450.79 s [opt-env-conf-test] @@ -64,7 +64,7 @@
  18331. 1450.79 s [opt-env-conf-test] case arg of
  18332. 1450.79 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18333. 1450.79 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18334. 1450.79 s [opt-env-conf-test] - ('-' : _) -> False
  18335. 1450.79 s [opt-env-conf-test] + ('-' : _) -> True
  18336. 1450.80 s [opt-env-conf-test] _ -> True
  18337. 1450.80 s [opt-env-conf-test] _ -> valid
  18338. 1450.80 s [opt-env-conf-test] ]
  18339. 1450.80 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:68:18-22
  18340. 1450.80 s [opt-env-conf-test] @@ -65,7 +65,7 @@
  18341. 1450.80 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18342. 1450.80 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18343. 1450.80 s [opt-env-conf-test] ('-' : _) -> False
  18344. 1450.80 s [opt-env-conf-test] - _ -> True
  18345. 1450.80 s [opt-env-conf-test] + _ -> False
  18346. 1450.80 s [opt-env-conf-test] _ -> valid
  18347. 1450.80 s [opt-env-conf-test] ]
  18348. 1450.80 s [opt-env-conf-test]
  18349. 1450.80 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:66:64-22
  18350. 1450.80 s [opt-env-conf-test] @@ -63,9 +63,9 @@
  18351. 1450.80 s [opt-env-conf-test] [ genericValidate arg,
  18352. 1450.80 s [opt-env-conf-test] case arg of
  18353. 1450.80 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18354. 1450.80 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  18355. 1450.80 s [opt-env-conf-test] + ArgPlain s -> declare "does not start with a dash" $ True-> declare "does not start with a dash" $ case s of
  18356. 1450.80 s [opt-env-conf-test] ('-' : _) -> False
  18357. 1450.80 s [opt-env-conf-test] _ -> True
  18358. 1450.80 s [opt-env-conf-test] _ -> valid
  18359. 1450.80 s [opt-env-conf-test] ]
  18360. 1450.80 s [opt-env-conf-test]
  18361. 1450.80 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:66:64-22
  18362. 1450.80 s [opt-env-conf-test] @@ -63,9 +63,9 @@
  18363. 1450.80 s [opt-env-conf-test] [ genericValidate arg,
  18364. 1450.80 s [opt-env-conf-test] case arg of
  18365. 1450.80 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18366. 1450.80 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  18367. 1450.80 s [opt-env-conf-test] + ArgPlain s -> declare "does not start with a dash" $ False-> declare "does not start with a dash" $ case s of
  18368. 1450.80 s [opt-env-conf-test] ('-' : _) -> False
  18369. 1450.80 s [opt-env-conf-test] _ -> True
  18370. 1450.80 s [opt-env-conf-test] _ -> valid
  18371. 1450.80 s [opt-env-conf-test] ]
  18372. 1450.80 s [opt-env-conf-test]
  18373. 1450.80 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:66:64-22
  18374. 1450.80 s [opt-env-conf-test] @@ -63,9 +63,8 @@
  18375. 1450.80 s [opt-env-conf-test] [ genericValidate arg,
  18376. 1450.80 s [opt-env-conf-test] case arg of
  18377. 1450.80 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18378. 1450.80 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18379. 1450.80 s [opt-env-conf-test] ('-' : _) -> False
  18380. 1450.80 s [opt-env-conf-test] - _ -> True
  18381. 1450.80 s [opt-env-conf-test] _ -> valid
  18382. 1450.80 s [opt-env-conf-test] ]
  18383. 1450.80 s [opt-env-conf-test]
  18384. 1450.80 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:66:64-22
  18385. 1450.80 s [opt-env-conf-test] @@ -63,9 +63,8 @@
  18386. 1450.80 s [opt-env-conf-test] [ genericValidate arg,
  18387. 1450.80 s [opt-env-conf-test] case arg of
  18388. 1450.80 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18389. 1450.80 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18390. 1450.81 s [opt-env-conf-test] - ('-' : _) -> False
  18391. 1450.81 s [opt-env-conf-test] _ -> True
  18392. 1450.81 s [opt-env-conf-test] _ -> valid
  18393. 1450.81 s [opt-env-conf-test] ]
  18394. 1450.81 s [opt-env-conf-test]
  18395. 1450.81 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
  18396. 1450.81 s [opt-env-conf-test] @@ -61,12 +61,9 @@
  18397. 1450.81 s [opt-env-conf-test] validate arg =
  18398. 1450.81 s [opt-env-conf-test] mconcat
  18399. 1450.81 s [opt-env-conf-test] [ genericValidate arg,
  18400. 1450.81 s [opt-env-conf-test] case arg of
  18401. 1450.81 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18402. 1450.81 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  18403. 1450.81 s [opt-env-conf-test] - ('-' : _) -> False
  18404. 1450.81 s [opt-env-conf-test] - _ -> True
  18405. 1450.81 s [opt-env-conf-test] _ -> valid
  18406. 1450.81 s [opt-env-conf-test] ]
  18407. 1450.81 s [opt-env-conf-test]
  18408. 1450.81 s [opt-env-conf-test] instance IsString Arg where
  18409. 1450.81 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
  18410. 1450.81 s [opt-env-conf-test] @@ -61,12 +61,11 @@
  18411. 1450.81 s [opt-env-conf-test] validate arg =
  18412. 1450.81 s [opt-env-conf-test] mconcat
  18413. 1450.81 s [opt-env-conf-test] [ genericValidate arg,
  18414. 1450.81 s [opt-env-conf-test] case arg of
  18415. 1450.81 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18416. 1450.81 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18417. 1450.81 s [opt-env-conf-test] ('-' : _) -> False
  18418. 1450.81 s [opt-env-conf-test] _ -> True
  18419. 1450.81 s [opt-env-conf-test] - _ -> valid
  18420. 1450.81 s [opt-env-conf-test] ]
  18421. 1450.81 s [opt-env-conf-test]
  18422. 1450.81 s [opt-env-conf-test] instance IsString Arg where
  18423. 1450.81 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:63:7-8
  18424. 1450.81 s [opt-env-conf-test] @@ -60,14 +60,7 @@
  18425. 1450.81 s [opt-env-conf-test] instance Validity Arg where
  18426. 1450.81 s [opt-env-conf-test] validate arg =
  18427. 1450.81 s [opt-env-conf-test] mconcat
  18428. 1450.81 s [opt-env-conf-test] - [ genericValidate arg,
  18429. 1450.81 s [opt-env-conf-test] - case arg of
  18430. 1450.81 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18431. 1450.81 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  18432. 1450.81 s [opt-env-conf-test] - ('-' : _) -> False
  18433. 1450.81 s [opt-env-conf-test] - _ -> True
  18434. 1450.81 s [opt-env-conf-test] - _ -> valid
  18435. 1450.81 s [opt-env-conf-test] ]
  18436. 1450.81 s [opt-env-conf-test]
  18437. 1450.81 s [opt-env-conf-test] instance IsString Arg where
  18438. 1450.81 s [opt-env-conf-test] fromString = parseArg
  18439. 1450.81 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
  18440. 1450.81 s [opt-env-conf-test] @@ -61,12 +61,11 @@
  18441. 1450.81 s [opt-env-conf-test] validate arg =
  18442. 1450.81 s [opt-env-conf-test] mconcat
  18443. 1450.81 s [opt-env-conf-test] [ genericValidate arg,
  18444. 1450.81 s [opt-env-conf-test] case arg of
  18445. 1450.81 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18446. 1450.81 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18447. 1450.81 s [opt-env-conf-test] ('-' : _) -> False
  18448. 1450.81 s [opt-env-conf-test] _ -> True
  18449. 1450.81 s [opt-env-conf-test] _ -> valid
  18450. 1450.81 s [opt-env-conf-test] ]
  18451. 1450.81 s [opt-env-conf-test]
  18452. 1450.81 s [opt-env-conf-test] instance IsString Arg where
  18453. 1450.81 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
  18454. 1450.81 s [opt-env-conf-test] @@ -142,7 +142,4 @@
  18455. 1450.81 s [opt-env-conf-test]
  18456. 1450.81 s [opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
  18457. 1450.81 s [opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
  18458. 1450.81 s [opt-env-conf-test] - [ commandChunk commandDocArgument,
  18459. 1450.81 s [opt-env-conf-test] - ": ",
  18460. 1450.81 s [opt-env-conf-test] - helpChunk commandDocHelp
  18461. 1450.81 s [opt-env-conf-test] ]
  18462. 1450.81 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
  18463. 1450.81 s [opt-env-conf-test] @@ -142,7 +142,6 @@
  18464. 1450.81 s [opt-env-conf-test]
  18465. 1450.81 s [opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
  18466. 1450.81 s [opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
  18467. 1450.81 s [opt-env-conf-test] - [ commandChunk commandDocArgument,
  18468. 1450.81 s [opt-env-conf-test] ": ",
  18469. 1450.81 s [opt-env-conf-test] helpChunk commandDocHelp
  18470. 1450.81 s [opt-env-conf-test] ]
  18471. 1450.81 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
  18472. 1450.81 s [opt-env-conf-test] @@ -142,7 +142,6 @@
  18473. 1450.81 s [opt-env-conf-test]
  18474. 1450.81 s [opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
  18475. 1450.81 s [opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
  18476. 1450.81 s [opt-env-conf-test] [ commandChunk commandDocArgument,
  18477. 1450.81 s [opt-env-conf-test] ": ",
  18478. 1450.81 s [opt-env-conf-test] - helpChunk commandDocHelp
  18479. 1450.81 s [opt-env-conf-test] ]
  18480. 1450.81 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:89:11-12
  18481. 1450.81 s [opt-env-conf-test] @@ -86,9 +86,7 @@
  18482. 1450.81 s [opt-env-conf-test] ParseErrorEmptySetting ->
  18483. 1450.81 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  18484. 1450.81 s [opt-env-conf-test] ParseErrorNoReaders ->
  18485. 1450.81 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  18486. 1450.81 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  18487. 1450.81 s [opt-env-conf-test] ]
  18488. 1450.81 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  18489. 1450.81 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  18490. 1450.81 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  18491. 1450.81 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:89:11-12
  18492. 1450.82 s [opt-env-conf-test] @@ -86,9 +86,8 @@
  18493. 1450.82 s [opt-env-conf-test] ParseErrorEmptySetting ->
  18494. 1450.82 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  18495. 1450.82 s [opt-env-conf-test] ParseErrorNoReaders ->
  18496. 1450.82 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  18497. 1450.82 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  18498. 1450.82 s [opt-env-conf-test] ]
  18499. 1450.82 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  18500. 1450.82 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  18501. 1450.82 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  18502. 1450.82 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:93:11-53
  18503. 1450.82 s [opt-env-conf-test] @@ -90,7 +90,6 @@
  18504. 1450.82 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  18505. 1450.82 s [opt-env-conf-test] ]
  18506. 1450.82 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  18507. 1454.98 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  18508. 1454.99 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  18509. 1454.99 s [opt-env-conf-test] [ "Missing argument: "
  18510. 1454.99 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  18511. 1454.99 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:93:11-53
  18512. 1454.99 s [opt-env-conf-test] @@ -90,7 +90,6 @@
  18513. 1454.99 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  18514. 1454.99 s [opt-env-conf-test] ]
  18515. 1454.99 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  18516. 1454.99 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  18517. 1454.99 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  18518. 1454.99 s [opt-env-conf-test] [ "Missing argument: "
  18519. 1454.99 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  18520. 1454.99 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:13-80
  18521. 1454.99 s [opt-env-conf-test] @@ -124,7 +124,6 @@
  18522. 1454.99 s [opt-env-conf-test] ["Missing command, available commands:"]
  18523. 1454.99 s [opt-env-conf-test] : availableCommandsLines cs
  18524. 1454.99 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18525. 1454.99 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18526. 1454.99 s [opt-env-conf-test] [fore blue "available commands:"]
  18527. 1454.99 s [opt-env-conf-test] ]
  18528. 1454.99 s [opt-env-conf-test] ++ availableCommandsLines cs
  18529. 1454.99 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:13-80
  18530. 1454.99 s [opt-env-conf-test] @@ -124,7 +124,6 @@
  18531. 1454.99 s [opt-env-conf-test] ["Missing command, available commands:"]
  18532. 1454.99 s [opt-env-conf-test] : availableCommandsLines cs
  18533. 1454.99 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18534. 1454.99 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18535. 1454.99 s [opt-env-conf-test] [fore blue "available commands:"]
  18536. 1454.99 s [opt-env-conf-test] ]
  18537. 1454.99 s [opt-env-conf-test] ++ availableCommandsLines cs
  18538. 1454.99 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:11-12
  18539. 1454.99 s [opt-env-conf-test] @@ -124,9 +124,8 @@
  18540. 1454.99 s [opt-env-conf-test] ["Missing command, available commands:"]
  18541. 1454.99 s [opt-env-conf-test] : availableCommandsLines cs
  18542. 1454.99 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18543. 1454.99 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18544. 1454.99 s [opt-env-conf-test] [fore blue "available commands:"]
  18545. 1455.00 s [opt-env-conf-test] ]
  18546. 1455.00 s [opt-env-conf-test] ++ availableCommandsLines cs
  18547. 1455.00 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18548. 1455.00 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  18549. 1455.00 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:11-12
  18550. 1455.00 s [opt-env-conf-test] @@ -124,9 +124,7 @@
  18551. 1455.00 s [opt-env-conf-test] ["Missing command, available commands:"]
  18552. 1455.00 s [opt-env-conf-test] : availableCommandsLines cs
  18553. 1455.00 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18554. 1455.00 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18555. 1455.00 s [opt-env-conf-test] - [fore blue "available commands:"]
  18556. 1455.00 s [opt-env-conf-test] ]
  18557. 1455.00 s [opt-env-conf-test] ++ availableCommandsLines cs
  18558. 1455.00 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18559. 1455.00 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  18560. 1455.00 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:132:11-12
  18561. 1455.00 s [opt-env-conf-test] @@ -129,9 +129,7 @@
  18562. 1455.00 s [opt-env-conf-test] ]
  18563. 1455.00 s [opt-env-conf-test] ++ availableCommandsLines cs
  18564. 1455.00 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18565. 1455.00 s [opt-env-conf-test] - [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  18566. 1455.00 s [opt-env-conf-test] - ["The following settings have been parsed:"]
  18567. 1455.00 s [opt-env-conf-test] ]
  18568. 1455.00 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  18569. 1455.00 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  18570. 1455.00 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  18571. 1455.00 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:132:11-12
  18572. 1455.00 s [opt-env-conf-test] @@ -129,9 +129,8 @@
  18573. 1455.00 s [opt-env-conf-test] ]
  18574. 1455.00 s [opt-env-conf-test] ++ availableCommandsLines cs
  18575. 1455.00 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18576. 1455.00 s [opt-env-conf-test] - [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  18577. 1455.00 s [opt-env-conf-test] ["The following settings have been parsed:"]
  18578. 1455.00 s [opt-env-conf-test] ]
  18579. 1455.00 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  18580. 1455.00 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  18581. 1455.00 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  18582. 1455.00 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  18583. 1455.00 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  18584. 1455.00 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  18585. 1455.00 s [opt-env-conf-test] renderError ParseError {..} =
  18586. 1455.00 s [opt-env-conf-test] concat
  18587. 1455.00 s [opt-env-conf-test] [ case parseErrorMessage of
  18588. 1455.00 s [opt-env-conf-test] - ParseErrorEmpty ->
  18589. 1455.00 s [opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
  18590. 1455.00 s [opt-env-conf-test] ParseErrorEmptySetting ->
  18591. 1455.00 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  18592. 1455.00 s [opt-env-conf-test] ParseErrorNoReaders ->
  18593. 1455.00 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  18594. 1455.00 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  18595. 1455.00 s [opt-env-conf-test] ]
  18596. 1455.00 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  18597. 1455.00 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  18598. 1455.00 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  18599. 1455.00 s [opt-env-conf-test] [ "Missing argument: "
  18600. 1455.00 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  18601. 1455.00 s [opt-env-conf-test] ]
  18602. 1455.00 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  18603. 1455.00 s [opt-env-conf-test] ["Failed to read argument: "]
  18604. 1455.00 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18605. 1455.00 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18606. 1455.00 s [opt-env-conf-test] ParseErrorMissingOption o ->
  18607. 1455.00 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18608. 1455.00 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  18609. 1455.00 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18610. 1455.00 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  18611. 1455.00 s [opt-env-conf-test] ["Failed to read option: "]
  18612. 1455.00 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18613. 1455.01 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18614. 1455.01 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  18615. 1455.01 s [opt-env-conf-test] ["Missing env var: "]
  18616. 1455.01 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18617. 1455.01 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  18618. 1455.01 s [opt-env-conf-test] ["Failed to read env var: "]
  18619. 1455.01 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18620. 1455.01 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18621. 1455.01 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  18622. 1455.01 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  18623. 1455.01 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  18624. 1455.19 s [opt-env-conf-test] ["Failed to parse configuration: "]
  18625. 1455.19 s [opt-env-conf-test] : maybe [] renderConfDoc md
  18626. 1455.19 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  18627. 1455.19 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  18628. 1455.19 s [opt-env-conf-test] ["Missing command, available commands:"]
  18629. 1455.19 s [opt-env-conf-test] : availableCommandsLines cs
  18630. 1455.19 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18631. 1455.19 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18632. 1455.19 s [opt-env-conf-test] [fore blue "available commands:"]
  18633. 1455.20 s [opt-env-conf-test] ]
  18634. 1455.20 s [opt-env-conf-test] ++ availableCommandsLines cs
  18635. 1455.20 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18636. 1455.20 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  18637. 1455.20 s [opt-env-conf-test] ["The following settings have been parsed:"]
  18638. 1455.20 s [opt-env-conf-test] ]
  18639. 1455.20 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  18640. 1455.20 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  18641. 1455.20 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  18642. 1455.20 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  18643. 1455.20 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  18644. 1455.20 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  18645. 1455.20 s [opt-env-conf-test] ]
  18646. 1455.20 s [opt-env-conf-test]
  18647. 1455.20 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  18648. 1455.20 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  18649. 1455.20 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  18650. 1455.20 s [opt-env-conf-test] renderError ParseError {..} =
  18651. 1455.20 s [opt-env-conf-test] concat
  18652. 1455.20 s [opt-env-conf-test] [ case parseErrorMessage of
  18653. 1455.20 s [opt-env-conf-test] ParseErrorEmpty ->
  18654. 1455.20 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  18655. 1455.20 s [opt-env-conf-test] - ParseErrorEmptySetting ->
  18656. 1455.20 s [opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
  18657. 1455.20 s [opt-env-conf-test] ParseErrorNoReaders ->
  18658. 1455.20 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  18659. 1455.20 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  18660. 1455.20 s [opt-env-conf-test] ]
  18661. 1455.20 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  18662. 1455.20 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  18663. 1455.20 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  18664. 1455.20 s [opt-env-conf-test] [ "Missing argument: "
  18665. 1455.20 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  18666. 1455.20 s [opt-env-conf-test] ]
  18667. 1455.20 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  18668. 1455.20 s [opt-env-conf-test] ["Failed to read argument: "]
  18669. 1455.20 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18670. 1455.20 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18671. 1455.20 s [opt-env-conf-test] ParseErrorMissingOption o ->
  18672. 1455.20 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18673. 1455.20 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  18674. 1455.20 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18675. 1455.20 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  18676. 1455.20 s [opt-env-conf-test] ["Failed to read option: "]
  18677. 1455.20 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18678. 1455.20 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18679. 1455.20 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  18680. 1455.20 s [opt-env-conf-test] ["Missing env var: "]
  18681. 1455.20 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18682. 1455.20 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  18683. 1455.20 s [opt-env-conf-test] ["Failed to read env var: "]
  18684. 1455.20 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18685. 1455.20 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18686. 1455.20 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  18687. 1455.20 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  18688. 1455.20 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  18689. 1456.49 s [opt-env-conf-test] ["Failed to parse configuration: "]
  18690. 1456.49 s [opt-env-conf-test] : maybe [] renderConfDoc md
  18691. 1456.56 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  18692. 1456.56 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  18693. 1456.56 s [opt-env-conf-test] ["Missing command, available commands:"]
  18694. 1456.56 s [opt-env-conf-test] : availableCommandsLines cs
  18695. 1456.56 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18696. 1456.56 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18697. 1456.56 s [opt-env-conf-test] [fore blue "available commands:"]
  18698. 1456.56 s [opt-env-conf-test] ]
  18699. 1456.56 s [opt-env-conf-test] ++ availableCommandsLines cs
  18700. 1456.56 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18701. 1456.56 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  18702. 1456.56 s [opt-env-conf-test] ["The following settings have been parsed:"]
  18703. 1456.56 s [opt-env-conf-test] ]
  18704. 1456.56 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  18705. 1456.56 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  18706. 1456.56 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  18707. 1456.57 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  18708. 1456.57 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  18709. 1456.57 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  18710. 1456.57 s [opt-env-conf-test] ]
  18711. 1456.57 s [opt-env-conf-test]
  18712. 1456.57 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  18713. 1456.57 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  18714. 1456.57 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  18715. 1456.57 s [opt-env-conf-test] renderError ParseError {..} =
  18716. 1456.57 s [opt-env-conf-test] concat
  18717. 1456.57 s [opt-env-conf-test] [ case parseErrorMessage of
  18718. 1456.57 s [opt-env-conf-test] ParseErrorEmpty ->
  18719. 1456.57 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  18720. 1456.57 s [opt-env-conf-test] ParseErrorEmptySetting ->
  18721. 1456.57 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  18722. 1456.57 s [opt-env-conf-test] - ParseErrorNoReaders ->
  18723. 1456.57 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  18724. 1456.57 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  18725. 1456.57 s [opt-env-conf-test] - ]
  18726. 1456.57 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  18727. 1456.57 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  18728. 1456.57 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  18729. 1456.57 s [opt-env-conf-test] [ "Missing argument: "
  18730. 1456.57 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  18731. 1456.57 s [opt-env-conf-test] ]
  18732. 1456.57 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  18733. 1456.57 s [opt-env-conf-test] ["Failed to read argument: "]
  18734. 1456.57 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18735. 1456.57 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18736. 1456.57 s [opt-env-conf-test] ParseErrorMissingOption o ->
  18737. 1456.57 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18738. 1456.57 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  18739. 1456.57 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18740. 1456.57 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  18741. 1456.57 s [opt-env-conf-test] ["Failed to read option: "]
  18742. 1456.57 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18743. 1456.57 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18744. 1456.57 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  18745. 1456.57 s [opt-env-conf-test] ["Missing env var: "]
  18746. 1456.57 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18747. 1456.57 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  18748. 1456.57 s [opt-env-conf-test] ["Failed to read env var: "]
  18749. 1456.57 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18750. 1456.57 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18751. 1456.57 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  18752. 1456.57 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  18753. 1456.57 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  18754. 1457.39 s [opt-env-conf-test] ["Failed to parse configuration: "]
  18755. 1457.39 s [opt-env-conf-test] : maybe [] renderConfDoc md
  18756. 1457.39 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  18757. 1457.39 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  18758. 1457.39 s [opt-env-conf-test] ["Missing command, available commands:"]
  18759. 1457.39 s [opt-env-conf-test] : availableCommandsLines cs
  18760. 1457.39 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18761. 1457.39 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18762. 1457.40 s [opt-env-conf-test] [fore blue "available commands:"]
  18763. 1457.40 s [opt-env-conf-test] ]
  18764. 1457.40 s [opt-env-conf-test] ++ availableCommandsLines cs
  18765. 1457.40 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18766. 1457.40 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  18767. 1457.40 s [opt-env-conf-test] ["The following settings have been parsed:"]
  18768. 1457.40 s [opt-env-conf-test] ]
  18769. 1457.40 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  18770. 1457.40 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  18771. 1457.40 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  18772. 1457.40 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  18773. 1457.40 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  18774. 1457.40 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  18775. 1457.40 s [opt-env-conf-test] ]
  18776. 1457.40 s [opt-env-conf-test]
  18777. 1457.40 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:63:7-8
  18778. 1457.40 s [opt-env-conf-test] @@ -60,14 +60,13 @@
  18779. 1457.40 s [opt-env-conf-test] instance Validity Arg where
  18780. 1457.40 s [opt-env-conf-test] validate arg =
  18781. 1457.40 s [opt-env-conf-test] mconcat
  18782. 1457.40 s [opt-env-conf-test] - [ genericValidate arg,
  18783. 1457.40 s [opt-env-conf-test] case arg of
  18784. 1457.40 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18785. 1457.40 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18786. 1457.40 s [opt-env-conf-test] ('-' : _) -> False
  18787. 1457.40 s [opt-env-conf-test] _ -> True
  18788. 1457.40 s [opt-env-conf-test] _ -> valid
  18789. 1457.40 s [opt-env-conf-test] ]
  18790. 1457.40 s [opt-env-conf-test]
  18791. 1457.40 s [opt-env-conf-test] instance IsString Arg where
  18792. 1457.40 s [opt-env-conf-test] fromString = parseArg
  18793. 1457.40 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  18794. 1457.40 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  18795. 1457.40 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  18796. 1457.40 s [opt-env-conf-test] renderError ParseError {..} =
  18797. 1457.40 s [opt-env-conf-test] concat
  18798. 1457.41 s [opt-env-conf-test] [ case parseErrorMessage of
  18799. 1457.41 s [opt-env-conf-test] ParseErrorEmpty ->
  18800. 1457.41 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  18801. 1457.41 s [opt-env-conf-test] ParseErrorEmptySetting ->
  18802. 1457.41 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  18803. 1457.41 s [opt-env-conf-test] ParseErrorNoReaders ->
  18804. 1457.41 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  18805. 1457.41 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  18806. 1457.41 s [opt-env-conf-test] ]
  18807. 1457.41 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  18808. 1457.41 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  18809. 1457.41 s [opt-env-conf-test] - ParseErrorMissingArgument o ->
  18810. 1457.41 s [opt-env-conf-test] - [ "Missing argument: "
  18811. 1457.41 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
  18812. 1457.41 s [opt-env-conf-test] - ]
  18813. 1457.41 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  18814. 1457.41 s [opt-env-conf-test] ["Failed to read argument: "]
  18815. 1457.41 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18816. 1457.41 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18817. 1457.41 s [opt-env-conf-test] ParseErrorMissingOption o ->
  18818. 1457.41 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18819. 1457.41 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  18820. 1457.41 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18821. 1457.41 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  18822. 1457.41 s [opt-env-conf-test] ["Failed to read option: "]
  18823. 1457.41 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18824. 1457.41 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18825. 1457.41 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  18826. 1457.41 s [opt-env-conf-test] ["Missing env var: "]
  18827. 1457.41 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18828. 1457.41 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  18829. 1457.41 s [opt-env-conf-test] ["Failed to read env var: "]
  18830. 1457.41 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18831. 1457.41 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18832. 1457.41 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  18833. 1457.42 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  18834. 1457.42 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  18835. 1458.09 s [opt-env-conf-test] ["Failed to parse configuration: "]
  18836. 1458.09 s [opt-env-conf-test] : maybe [] renderConfDoc md
  18837. 1458.09 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  18838. 1458.09 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  18839. 1458.09 s [opt-env-conf-test] ["Missing command, available commands:"]
  18840. 1458.09 s [opt-env-conf-test] : availableCommandsLines cs
  18841. 1458.09 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18842. 1458.09 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18843. 1458.09 s [opt-env-conf-test] [fore blue "available commands:"]
  18844. 1458.09 s [opt-env-conf-test] ]
  18845. 1458.09 s [opt-env-conf-test] ++ availableCommandsLines cs
  18846. 1458.09 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18847. 1458.09 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  18848. 1458.09 s [opt-env-conf-test] ["The following settings have been parsed:"]
  18849. 1458.09 s [opt-env-conf-test] ]
  18850. 1458.09 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  18851. 1458.09 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  18852. 1458.10 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  18853. 1458.10 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  18854. 1458.10 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  18855. 1458.10 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  18856. 1458.10 s [opt-env-conf-test] ]
  18857. 1458.10 s [opt-env-conf-test]
  18858. 1458.10 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  18859. 1458.10 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  18860. 1458.10 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  18861. 1458.10 s [opt-env-conf-test] renderError ParseError {..} =
  18862. 1458.10 s [opt-env-conf-test] concat
  18863. 1458.10 s [opt-env-conf-test] [ case parseErrorMessage of
  18864. 1458.10 s [opt-env-conf-test] ParseErrorEmpty ->
  18865. 1458.10 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  18866. 1458.10 s [opt-env-conf-test] ParseErrorEmptySetting ->
  18867. 1458.10 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  18868. 1458.10 s [opt-env-conf-test] ParseErrorNoReaders ->
  18869. 1458.10 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  18870. 1458.10 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  18871. 1458.10 s [opt-env-conf-test] ]
  18872. 1458.10 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  18873. 1458.10 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  18874. 1458.10 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  18875. 1458.10 s [opt-env-conf-test] [ "Missing argument: "
  18876. 1458.10 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  18877. 1458.10 s [opt-env-conf-test] ]
  18878. 1458.10 s [opt-env-conf-test] - ParseErrorArgumentRead md errs ->
  18879. 1458.10 s [opt-env-conf-test] - ["Failed to read argument: "]
  18880. 1458.10 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  18881. 1458.10 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18882. 1458.10 s [opt-env-conf-test] ParseErrorMissingOption o ->
  18883. 1458.10 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18884. 1458.10 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  18885. 1458.10 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18886. 1458.10 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  18887. 1458.10 s [opt-env-conf-test] ["Failed to read option: "]
  18888. 1458.10 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18889. 1458.11 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18890. 1458.11 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  18891. 1458.11 s [opt-env-conf-test] ["Missing env var: "]
  18892. 1458.11 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18893. 1458.11 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  18894. 1458.11 s [opt-env-conf-test] ["Failed to read env var: "]
  18895. 1458.11 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18896. 1458.11 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18897. 1458.11 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  18898. 1458.11 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  18899. 1458.11 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  18900. 1461.01 s [opt-env-conf-test] ["Failed to parse configuration: "]
  18901. 1461.01 s [opt-env-conf-test] : maybe [] renderConfDoc md
  18902. 1461.01 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  18903. 1461.01 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  18904. 1461.01 s [opt-env-conf-test] ["Missing command, available commands:"]
  18905. 1461.01 s [opt-env-conf-test] : availableCommandsLines cs
  18906. 1461.01 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18907. 1461.01 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18908. 1461.01 s [opt-env-conf-test] [fore blue "available commands:"]
  18909. 1461.01 s [opt-env-conf-test] ]
  18910. 1461.01 s [opt-env-conf-test] ++ availableCommandsLines cs
  18911. 1461.01 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18912. 1461.01 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  18913. 1461.01 s [opt-env-conf-test] ["The following settings have been parsed:"]
  18914. 1461.01 s [opt-env-conf-test] ]
  18915. 1461.01 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  18916. 1461.01 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  18917. 1461.01 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  18918. 1461.01 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  18919. 1461.01 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  18920. 1461.01 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  18921. 1461.01 s [opt-env-conf-test] ]
  18922. 1461.01 s [opt-env-conf-test]
  18923. 1461.01 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  18924. 1461.01 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  18925. 1461.01 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  18926. 1461.01 s [opt-env-conf-test] renderError ParseError {..} =
  18927. 1461.01 s [opt-env-conf-test] concat
  18928. 1461.01 s [opt-env-conf-test] [ case parseErrorMessage of
  18929. 1461.01 s [opt-env-conf-test] ParseErrorEmpty ->
  18930. 1461.01 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  18931. 1461.02 s [opt-env-conf-test] ParseErrorEmptySetting ->
  18932. 1461.02 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  18933. 1461.02 s [opt-env-conf-test] ParseErrorNoReaders ->
  18934. 1461.02 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  18935. 1461.02 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  18936. 1461.02 s [opt-env-conf-test] ]
  18937. 1461.02 s [opt-env-conf-test] - ParseErrorCheckFailed _ err ->
  18938. 1461.02 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  18939. 1461.02 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  18940. 1461.02 s [opt-env-conf-test] [ "Missing argument: "
  18941. 1461.02 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  18942. 1461.02 s [opt-env-conf-test] ]
  18943. 1461.02 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  18944. 1461.02 s [opt-env-conf-test] ["Failed to read argument: "]
  18945. 1461.02 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18946. 1461.02 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18947. 1461.02 s [opt-env-conf-test] ParseErrorMissingOption o ->
  18948. 1461.02 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18949. 1461.02 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  18950. 1461.02 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18951. 1461.02 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  18952. 1461.02 s [opt-env-conf-test] ["Failed to read option: "]
  18953. 1461.02 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18954. 1461.02 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18955. 1461.02 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  18956. 1461.02 s [opt-env-conf-test] ["Missing env var: "]
  18957. 1461.02 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18958. 1461.02 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  18959. 1461.02 s [opt-env-conf-test] ["Failed to read env var: "]
  18960. 1461.02 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18961. 1461.02 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18962. 1461.02 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  18963. 1461.02 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  18964. 1461.02 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  18965. 1461.08 s [opt-env-conf-test] ["Failed to parse configuration: "]
  18966. 1461.08 s [opt-env-conf-test] : maybe [] renderConfDoc md
  18967. 1461.09 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  18968. 1461.09 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  18969. 1461.09 s [opt-env-conf-test] ["Missing command, available commands:"]
  18970. 1461.09 s [opt-env-conf-test] : availableCommandsLines cs
  18971. 1461.09 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18972. 1461.09 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18973. 1461.09 s [opt-env-conf-test] [fore blue "available commands:"]
  18974. 1461.09 s [opt-env-conf-test] ]
  18975. 1461.09 s [opt-env-conf-test] ++ availableCommandsLines cs
  18976. 1461.09 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18977. 1461.09 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  18978. 1461.09 s [opt-env-conf-test] ["The following settings have been parsed:"]
  18979. 1461.09 s [opt-env-conf-test] ]
  18980. 1461.09 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  18981. 1461.09 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  18982. 1461.09 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  18983. 1461.09 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  18984. 1461.09 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  18985. 1461.09 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  18986. 1461.09 s [opt-env-conf-test] ]
  18987. 1461.09 s [opt-env-conf-test]
  18988. 1461.09 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  18989. 1461.09 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  18990. 1461.09 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  18991. 1461.09 s [opt-env-conf-test] renderError ParseError {..} =
  18992. 1461.09 s [opt-env-conf-test] concat
  18993. 1461.09 s [opt-env-conf-test] [ case parseErrorMessage of
  18994. 1461.09 s [opt-env-conf-test] ParseErrorEmpty ->
  18995. 1461.09 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  18996. 1461.10 s [opt-env-conf-test] ParseErrorEmptySetting ->
  18997. 1461.10 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  18998. 1461.10 s [opt-env-conf-test] ParseErrorNoReaders ->
  18999. 1461.10 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19000. 1461.10 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19001. 1461.10 s [opt-env-conf-test] ]
  19002. 1461.10 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19003. 1461.10 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19004. 1461.10 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19005. 1461.10 s [opt-env-conf-test] [ "Missing argument: "
  19006. 1461.10 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19007. 1461.10 s [opt-env-conf-test] ]
  19008. 1461.10 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19009. 1461.10 s [opt-env-conf-test] ["Failed to read argument: "]
  19010. 1461.10 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19011. 1461.10 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19012. 1461.10 s [opt-env-conf-test] - ParseErrorMissingOption o ->
  19013. 1461.10 s [opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19014. 1461.10 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19015. 1461.10 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19016. 1461.10 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19017. 1461.10 s [opt-env-conf-test] ["Failed to read option: "]
  19018. 1461.10 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19019. 1461.10 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19020. 1461.10 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19021. 1461.10 s [opt-env-conf-test] ["Missing env var: "]
  19022. 1461.10 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19023. 1461.10 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19024. 1461.10 s [opt-env-conf-test] ["Failed to read env var: "]
  19025. 1461.10 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19026. 1461.10 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19027. 1461.10 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19028. 1461.10 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19029. 1461.10 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19030. 1462.51 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19031. 1462.51 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19032. 1462.59 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19033. 1462.59 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19034. 1462.59 s [opt-env-conf-test] ["Missing command, available commands:"]
  19035. 1462.59 s [opt-env-conf-test] : availableCommandsLines cs
  19036. 1462.59 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19037. 1462.59 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19038. 1462.59 s [opt-env-conf-test] [fore blue "available commands:"]
  19039. 1462.59 s [opt-env-conf-test] ]
  19040. 1462.59 s [opt-env-conf-test] ++ availableCommandsLines cs
  19041. 1462.59 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19042. 1462.59 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  19043. 1462.59 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19044. 1462.59 s [opt-env-conf-test] ]
  19045. 1462.59 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19046. 1462.59 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19047. 1462.59 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19048. 1462.59 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19049. 1462.60 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19050. 1462.60 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19051. 1462.60 s [opt-env-conf-test] ]
  19052. 1462.60 s [opt-env-conf-test]
  19053. 1462.60 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:143:11-26
  19054. 1462.60 s [opt-env-conf-test] @@ -140,72 +140,71 @@
  19055. 1462.60 s [opt-env-conf-test] (firstArg : afters) ->
  19056. 1462.60 s [opt-env-conf-test] let befores = argsBefore as
  19057. 1462.60 s [opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
  19058. 1462.60 s [opt-env-conf-test] in case firstArg of
  19059. 1462.60 s [opt-env-conf-test] -- Skip any dead argument
  19060. 1462.60 s [opt-env-conf-test] - Dead -> consumeArgument consumed
  19061. 1462.60 s [opt-env-conf-test] Live a -> case a of
  19062. 1462.60 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  19063. 1462.60 s [opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
  19064. 1462.60 s [opt-env-conf-test] -- A single dash is always an argument
  19065. 1462.60 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  19066. 1462.60 s [opt-env-conf-test] -- Bare double-dash
  19067. 1462.60 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  19068. 1462.60 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  19069. 1462.60 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  19070. 1462.60 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  19071. 1462.60 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  19072. 1462.60 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  19073. 1462.60 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  19074. 1462.60 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  19075. 1462.60 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  19076. 1462.60 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  19077. 1462.60 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  19078. 1462.60 s [opt-env-conf-test] -- pop the args as they come.
  19079. 1462.60 s [opt-env-conf-test] _ ->
  19080. 1462.60 s [opt-env-conf-test] let go = \case
  19081. 1462.60 s [opt-env-conf-test] [] -> Nothing
  19082. 1462.60 s [opt-env-conf-test] (Dead : rest) -> go rest
  19083. 1462.60 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  19084. 1462.60 s [opt-env-conf-test] in case go afters of
  19085. 1462.60 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  19086. 1462.60 s [opt-env-conf-test] Just (firstLive, rest) ->
  19087. 1462.60 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  19088. 1462.60 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  19089. 1465.02 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  19090. 1465.02 s [opt-env-conf-test] -- arguments.
  19091. 1465.02 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  19092. 1465.02 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  19093. 1465.02 s [opt-env-conf-test] )
  19094. 1465.02 s [opt-env-conf-test] ]
  19095. 1465.02 s [opt-env-conf-test] ArgDashed {} ->
  19096. 1465.02 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  19097. 1465.02 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  19098. 1465.02 s [opt-env-conf-test] -- * The dashed is an argument
  19099. 1465.02 s [opt-env-conf-test] -- TODO we need to continue looking too
  19100. 1465.03 s [opt-env-conf-test] let switchCase =
  19101. 1465.03 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  19102. 1465.03 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  19103. 1465.03 s [opt-env-conf-test] ]
  19104. 1465.03 s [opt-env-conf-test] in case afters of
  19105. 1465.03 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  19106. 1465.03 s [opt-env-conf-test] [] -> switchCase
  19107. 1465.03 s [opt-env-conf-test] (Dead : _) -> switchCase
  19108. 1465.03 s [opt-env-conf-test] (Live a' : rest) ->
  19109. 1465.03 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  19110. 1465.03 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  19111. 1465.03 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  19112. 1465.03 s [opt-env-conf-test] -- * The dashed is an argument
  19113. 1465.03 s [opt-env-conf-test] ( case a' of
  19114. 1465.03 s [opt-env-conf-test] ArgDashed {} ->
  19115. 1465.03 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  19116. 1465.03 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  19117. 1465.03 s [opt-env-conf-test] ]
  19118. 1465.03 s [opt-env-conf-test] _ ->
  19119. 1465.03 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  19120. 1465.03 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  19121. 1465.03 s [opt-env-conf-test] (Just (renderArg a), consumed)
  19122. 1465.03 s [opt-env-conf-test] ]
  19123. 1465.03 s [opt-env-conf-test] )
  19124. 1465.03 s [opt-env-conf-test]
  19125. 1465.03 s [opt-env-conf-test] -- | Consume an option.
  19126. 1465.03 s [opt-env-conf-test] --
  19127. 1465.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:240:55-61
  19128. 1465.03 s [opt-env-conf-test] @@ -237,7 +237,7 @@
  19129. 1465.03 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  19130. 1465.03 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  19131. 1465.03 s [opt-env-conf-test] ArgDashed isLong cs ->
  19132. 1465.03 s [opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
  19133. 1465.04 s [opt-env-conf-test] + case consumeDashedShorthandOption dasheds True cs of
  19134. 1465.04 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  19135. 1465.04 s [opt-env-conf-test] Nothing ->
  19136. 1465.04 s [opt-env-conf-test] case rest of
  19137. 1465.04 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:225:7-27
  19138. 1465.04 s [opt-env-conf-test] @@ -222,9 +222,8 @@
  19139. 1465.04 s [opt-env-conf-test] Just (val, newBefores) -> Just (val, as {argsBefore = newBefores})
  19140. 1465.04 s [opt-env-conf-test] Nothing ->
  19141. 1465.04 s [opt-env-conf-test] -- TODO option value on the border
  19142. 1465.04 s [opt-env-conf-test] case go (argsAfter as) of
  19143. 1465.04 s [opt-env-conf-test] Just (val, newAfters) -> Just (val, as {argsAfter = newAfters})
  19144. 1465.04 s [opt-env-conf-test] - Nothing -> Nothing
  19145. 1465.04 s [opt-env-conf-test] where
  19146. 1465.04 s [opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
  19147. 1465.04 s [opt-env-conf-test] go = \case
  19148. 1465.04 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:225:7-27
  19149. 1465.04 s [opt-env-conf-test] @@ -222,9 +222,8 @@
  19150. 1465.04 s [opt-env-conf-test] Just (val, newBefores) -> Just (val, as {argsBefore = newBefores})
  19151. 1465.04 s [opt-env-conf-test] Nothing ->
  19152. 1465.04 s [opt-env-conf-test] -- TODO option value on the border
  19153. 1465.04 s [opt-env-conf-test] case go (argsAfter as) of
  19154. 1465.04 s [opt-env-conf-test] - Just (val, newAfters) -> Just (val, as {argsAfter = newAfters})
  19155. 1465.04 s [opt-env-conf-test] Nothing -> Nothing
  19156. 1465.04 s [opt-env-conf-test] where
  19157. 1465.04 s [opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
  19158. 1465.04 s [opt-env-conf-test] go = \case
  19159. 1465.04 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19160. 1465.04 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  19161. 1465.04 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19162. 1465.04 s [opt-env-conf-test] renderError ParseError {..} =
  19163. 1465.04 s [opt-env-conf-test] concat
  19164. 1465.05 s [opt-env-conf-test] [ case parseErrorMessage of
  19165. 1465.05 s [opt-env-conf-test] ParseErrorEmpty ->
  19166. 1465.05 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19167. 1465.05 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19168. 1465.05 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19169. 1465.05 s [opt-env-conf-test] ParseErrorNoReaders ->
  19170. 1465.05 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19171. 1465.05 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19172. 1465.05 s [opt-env-conf-test] ]
  19173. 1465.05 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19174. 1465.05 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19175. 1465.05 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19176. 1465.05 s [opt-env-conf-test] [ "Missing argument: "
  19177. 1465.05 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19178. 1465.05 s [opt-env-conf-test] ]
  19179. 1465.05 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19180. 1465.05 s [opt-env-conf-test] ["Failed to read argument: "]
  19181. 1465.05 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19182. 1465.05 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19183. 1465.05 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19184. 1465.05 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19185. 1465.05 s [opt-env-conf-test] - ParseErrorMissingSwitch o ->
  19186. 1465.05 s [opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19187. 1465.05 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19188. 1465.05 s [opt-env-conf-test] ["Failed to read option: "]
  19189. 1465.05 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19190. 1465.06 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19191. 1465.06 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19192. 1465.06 s [opt-env-conf-test] ["Missing env var: "]
  19193. 1465.06 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19194. 1465.06 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19195. 1465.06 s [opt-env-conf-test] ["Failed to read env var: "]
  19196. 1465.06 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19197. 1465.06 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19198. 1465.06 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19199. 1465.06 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19200. 1465.06 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19201. 1465.06 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19202. 1465.06 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19203. 1465.06 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19204. 1465.06 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19205. 1465.06 s [opt-env-conf-test] ["Missing command, available commands:"]
  19206. 1465.06 s [opt-env-conf-test] : availableCommandsLines cs
  19207. 1465.06 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19208. 1465.06 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19209. 1465.06 s [opt-env-conf-test] [fore blue "available commands:"]
  19210. 1465.06 s [opt-env-conf-test] ]
  19211. 1465.06 s [opt-env-conf-test] ++ availableCommandsLines cs
  19212. 1465.06 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19213. 1465.06 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  19214. 1465.06 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19215. 1465.06 s [opt-env-conf-test] ]
  19216. 1465.06 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19217. 1465.06 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19218. 1465.06 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19219. 1465.06 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19220. 1465.06 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19221. 1465.06 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19222. 1465.06 s [opt-env-conf-test] ]
  19223. 1465.06 s [opt-env-conf-test]
  19224. 1465.06 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:138:23-26
  19225. 1465.06 s [opt-env-conf-test] @@ -135,77 +135,76 @@
  19226. 1465.06 s [opt-env-conf-test] Nothing -> r
  19227. 1465.06 s [opt-env-conf-test] Just _ -> t : addConsumeNothing rest
  19228. 1465.06 s [opt-env-conf-test]
  19229. 1465.06 s [opt-env-conf-test] addConsumeNothing $ case argsAfter as of
  19230. 1465.06 s [opt-env-conf-test] - [] -> []
  19231. 1465.06 s [opt-env-conf-test] (firstArg : afters) ->
  19232. 1465.06 s [opt-env-conf-test] let befores = argsBefore as
  19233. 1465.07 s [opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
  19234. 1465.07 s [opt-env-conf-test] in case firstArg of
  19235. 1465.07 s [opt-env-conf-test] -- Skip any dead argument
  19236. 1465.07 s [opt-env-conf-test] Dead -> consumeArgument consumed
  19237. 1465.07 s [opt-env-conf-test] Live a -> case a of
  19238. 1465.07 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  19239. 1465.07 s [opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
  19240. 1465.07 s [opt-env-conf-test] -- A single dash is always an argument
  19241. 1465.07 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  19242. 1465.07 s [opt-env-conf-test] -- Bare double-dash
  19243. 1465.07 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  19244. 1465.07 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  19245. 1465.07 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  19246. 1465.07 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  19247. 1465.07 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  19248. 1465.07 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  19249. 1465.07 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  19250. 1465.07 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  19251. 1465.07 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  19252. 1465.07 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  19253. 1465.07 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  19254. 1465.07 s [opt-env-conf-test] -- pop the args as they come.
  19255. 1465.07 s [opt-env-conf-test] _ ->
  19256. 1465.07 s [opt-env-conf-test] let go = \case
  19257. 1465.07 s [opt-env-conf-test] [] -> Nothing
  19258. 1465.07 s [opt-env-conf-test] (Dead : rest) -> go rest
  19259. 1465.07 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  19260. 1465.07 s [opt-env-conf-test] in case go afters of
  19261. 1465.07 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  19262. 1465.07 s [opt-env-conf-test] Just (firstLive, rest) ->
  19263. 1465.07 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  19264. 1465.07 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  19265. 1465.07 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  19266. 1465.07 s [opt-env-conf-test] -- arguments.
  19267. 1465.08 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  19268. 1465.08 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  19269. 1465.08 s [opt-env-conf-test] )
  19270. 1465.08 s [opt-env-conf-test] ]
  19271. 1465.08 s [opt-env-conf-test] ArgDashed {} ->
  19272. 1465.08 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  19273. 1465.08 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  19274. 1465.08 s [opt-env-conf-test] -- * The dashed is an argument
  19275. 1465.08 s [opt-env-conf-test] -- TODO we need to continue looking too
  19276. 1465.08 s [opt-env-conf-test] let switchCase =
  19277. 1465.08 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  19278. 1465.08 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  19279. 1465.08 s [opt-env-conf-test] ]
  19280. 1465.08 s [opt-env-conf-test] in case afters of
  19281. 1465.08 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  19282. 1465.08 s [opt-env-conf-test] [] -> switchCase
  19283. 1465.08 s [opt-env-conf-test] (Dead : _) -> switchCase
  19284. 1465.08 s [opt-env-conf-test] (Live a' : rest) ->
  19285. 1465.08 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  19286. 1465.08 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  19287. 1465.08 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  19288. 1465.08 s [opt-env-conf-test] -- * The dashed is an argument
  19289. 1465.08 s [opt-env-conf-test] ( case a' of
  19290. 1465.08 s [opt-env-conf-test] ArgDashed {} ->
  19291. 1465.08 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  19292. 1465.08 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  19293. 1465.08 s [opt-env-conf-test] ]
  19294. 1465.08 s [opt-env-conf-test] _ ->
  19295. 1465.08 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  19296. 1465.08 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  19297. 1465.66 s [opt-env-conf-test] (Just (renderArg a), consumed)
  19298. 1465.66 s [opt-env-conf-test] ]
  19299. 1465.66 s [opt-env-conf-test] )
  19300. 1465.66 s [opt-env-conf-test]
  19301. 1465.66 s [opt-env-conf-test] -- | Consume an option.
  19302. 1465.66 s [opt-env-conf-test] --
  19303. 1465.66 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
  19304. 1465.66 s [opt-env-conf-test] @@ -143,69 +143,41 @@
  19305. 1465.66 s [opt-env-conf-test] in case firstArg of
  19306. 1465.66 s [opt-env-conf-test] -- Skip any dead argument
  19307. 1465.66 s [opt-env-conf-test] Dead -> consumeArgument consumed
  19308. 1465.66 s [opt-env-conf-test] Live a -> case a of
  19309. 1465.66 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  19310. 1465.66 s [opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
  19311. 1465.66 s [opt-env-conf-test] -- A single dash is always an argument
  19312. 1465.66 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  19313. 1465.66 s [opt-env-conf-test] -- Bare double-dash
  19314. 1465.66 s [opt-env-conf-test] - ArgBareDoubleDash -> case afters of
  19315. 1465.66 s [opt-env-conf-test] - -- If it's the last argument, consume it as an argument
  19316. 1465.66 s [opt-env-conf-test] - [] -> [(Just "--", consumed)]
  19317. 1465.66 s [opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
  19318. 1465.66 s [opt-env-conf-test] - -- means we've been parsing bare args and are now done.
  19319. 1465.66 s [opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
  19320. 1465.66 s [opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  19321. 1465.66 s [opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
  19322. 1465.66 s [opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
  19323. 1465.66 s [opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
  19324. 1465.66 s [opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
  19325. 1465.66 s [opt-env-conf-test] - -- pop the args as they come.
  19326. 1465.67 s [opt-env-conf-test] - _ ->
  19327. 1465.67 s [opt-env-conf-test] - let go = \case
  19328. 1465.67 s [opt-env-conf-test] - [] -> Nothing
  19329. 1465.67 s [opt-env-conf-test] - (Dead : rest) -> go rest
  19330. 1465.67 s [opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
  19331. 1465.67 s [opt-env-conf-test] - in case go afters of
  19332. 1465.67 s [opt-env-conf-test] - Nothing -> [(Nothing, as)]
  19333. 1465.67 s [opt-env-conf-test] - Just (firstLive, rest) ->
  19334. 1465.67 s [opt-env-conf-test] - -- We need to leave the dead argument there so that
  19335. 1465.67 s [opt-env-conf-test] - -- we don't consume the double-dash as an argument
  19336. 1465.67 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19337. 1465.67 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  19338. 1465.67 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19339. 1465.67 s [opt-env-conf-test] renderError ParseError {..} =
  19340. 1465.67 s [opt-env-conf-test] concat
  19341. 1465.67 s [opt-env-conf-test] [ case parseErrorMessage of
  19342. 1465.67 s [opt-env-conf-test] ParseErrorEmpty ->
  19343. 1465.67 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19344. 1465.67 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19345. 1465.67 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19346. 1465.67 s [opt-env-conf-test] ParseErrorNoReaders ->
  19347. 1465.67 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19348. 1465.67 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19349. 1465.67 s [opt-env-conf-test] ]
  19350. 1465.67 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19351. 1465.67 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19352. 1465.67 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19353. 1465.67 s [opt-env-conf-test] [ "Missing argument: "
  19354. 1465.67 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19355. 1465.67 s [opt-env-conf-test] ]
  19356. 1465.67 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19357. 1465.67 s [opt-env-conf-test] ["Failed to read argument: "]
  19358. 1465.67 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19359. 1465.67 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19360. 1465.67 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19361. 1465.67 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19362. 1465.67 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19363. 1465.67 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19364. 1465.67 s [opt-env-conf-test] - ParseErrorOptionRead md errs ->
  19365. 1465.67 s [opt-env-conf-test] - ["Failed to read option: "]
  19366. 1465.67 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  19367. 1465.67 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19368. 1465.67 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19369. 1465.67 s [opt-env-conf-test] ["Missing env var: "]
  19370. 1465.67 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19371. 1465.67 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19372. 1465.67 s [opt-env-conf-test] ["Failed to read env var: "]
  19373. 1465.67 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19374. 1465.67 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19375. 1465.67 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19376. 1465.67 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19377. 1465.67 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19378. 1465.68 s [opt-env-conf-test] ["Failed to- -- after consuming all the arguments after it as bare
  19379. 1465.68 s [opt-env-conf-test] - -- arguments.
  19380. 1465.68 s [opt-env-conf-test] - [ ( Just $ renderArg firstLive,
  19381. 1465.68 s [opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
  19382. 1465.68 s [opt-env-conf-test] - )
  19383. 1465.68 s [opt-env-conf-test] - ]
  19384. 1465.68 s [opt-env-conf-test] ArgDashed {} ->
  19385. 1465.68 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  19386. 1465.68 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  19387. 1465.68 s [opt-env-conf-test] -- * The dashed is an argument
  19388. 1465.68 s [opt-env-conf-test] -- TODO we need to continue looking too
  19389. 1465.68 s [opt-env-conf-test] let switchCase =
  19390. 1465.68 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  19391. 1465.68 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  19392. 1465.68 s [opt-env-conf-test] ]
  19393. 1465.68 s [opt-env-conf-test] in case afters of
  19394. 1465.68 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  19395. 1465.68 s [opt-env-conf-test] [] -> switchCase
  19396. 1465.68 s [opt-env-conf-test] (Dead : _) -> switchCase
  19397. 1465.68 s [opt-env-conf-test] (Live a' : rest) ->
  19398. 1465.68 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  19399. 1465.68 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  19400. 1465.68 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  19401. 1465.68 s [opt-env-conf-test] -- * The dashed is an argument
  19402. 1465.68 s [opt-env-conf-test] ( case a' of
  19403. 1465.68 s [opt-env-conf-test] ArgDashed {} ->
  19404. 1465.68 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  19405. 1465.68 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  19406. 1465.68 s [opt-env-conf-test] ]
  19407. 1465.68 s [opt-env-conf-test] _ ->
  19408. 1465.68 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  19409. 1465.68 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  19410. 1465.68 s [opt-env-conf-test] (Just (renderArg a), consumed)
  19411. 1465.71 s [opt-env-conf-test] parse configuration: "]
  19412. 1465.71 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19413. 1465.71 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19414. 1465.71 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19415. 1465.71 s [opt-env-conf-test] ["Missing command, available commands:"]
  19416. 1465.71 s [opt-env-conf-test] : availableCommandsLines cs
  19417. 1465.71 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19418. 1465.71 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19419. 1465.71 s [opt-env-conf-test] [fore blue "available commands:"]
  19420. 1465.71 s [opt-env-conf-test] ]
  19421. 1465.71 s [opt-env-conf-test] ++ availableCommandsLines cs
  19422. 1465.71 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19423. 1465.71 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  19424. 1465.71 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19425. 1465.71 s [opt-env-conf-test] ]
  19426. 1465.71 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19427. 1465.71 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19428. 1465.71 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19429. 1465.71 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19430. 1465.71 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19431. 1465.71 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19432. 1465.71 s [opt-env-conf-test] ]
  19433. 1465.71 s [opt-env-conf-test]
  19434. 1465.71 s [opt-env-conf-test] ]
  19435. 1465.71 s [opt-env-conf-test] )
  19436. 1465.72 s [opt-env-conf-test]
  19437. 1465.72 s [opt-env-conf-test] -- | Consume an option.
  19438. 1465.72 s [opt-env-conf-test] --
  19439. 1465.72 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19440. 1465.72 s [opt-env-conf-test] @@ -80,63 +80,60 @@
  19441. 1465.72 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19442. 1465.72 s [opt-env-conf-test] renderError ParseError {..} =
  19443. 1465.72 s [opt-env-conf-test] concat
  19444. 1465.72 s [opt-env-conf-test] [ case parseErrorMessage of
  19445. 1465.72 s [opt-env-conf-test] ParseErrorEmpty ->
  19446. 1465.72 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19447. 1465.72 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19448. 1465.72 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19449. 1465.72 s [opt-env-conf-test] ParseErrorNoReaders ->
  19450. 1465.72 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19451. 1465.72 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19452. 1465.72 s [opt-env-conf-test] ]
  19453. 1465.72 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19454. 1465.72 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19455. 1465.72 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19456. 1465.72 s [opt-env-conf-test] [ "Missing argument: "
  19457. 1465.72 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19458. 1465.72 s [opt-env-conf-test] ]
  19459. 1465.72 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19460. 1465.72 s [opt-env-conf-test] ["Failed to read argument: "]
  19461. 1465.72 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19462. 1465.72 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19463. 1465.72 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19464. 1465.72 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19465. 1465.72 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19466. 1465.72 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19467. 1465.72 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19468. 1465.72 s [opt-env-conf-test] ["Failed to read option: "]
  19469. 1465.72 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19470. 1465.72 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19471. 1465.72 s [opt-env-conf-test] - ParseErrorMissingEnvVar md ->
  19472. 1465.72 s [opt-env-conf-test] - ["Missing env var: "]
  19473. 1465.72 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  19474. 1465.72 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19475. 1465.72 s [opt-env-conf-test] ["Failed to read env var: "]
  19476. 1465.72 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19477. 1465.72 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19478. 1465.72 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19479. 1465.72 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19480. 1465.72 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19481. 1465.80 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19482. 1465.80 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19483. 1465.80 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19484. 1465.80 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19485. 1465.80 s [opt-env-conf-test] ["Missing command, available commands:"]
  19486. 1465.80 s [opt-env-conf-test] : availableCommandsLines cs
  19487. 1465.80 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19488. 1465.80 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19489. 1465.80 s [opt-env-conf-test] [fore blue "available commands:"]
  19490. 1465.80 s [opt-env-conf-test] ]
  19491. 1465.80 s [opt-env-conf-test] ++ availableCommandsLines cs
  19492. 1465.80 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19493. 1465.80 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  19494. 1465.80 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19495. 1465.80 s [opt-env-conf-test] ]
  19496. 1465.80 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19497. 1465.80 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19498. 1465.80 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19499. 1465.80 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19500. 1465.80 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19501. 1465.80 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19502. 1465.81 s [opt-env-conf-test] ]
  19503. 1465.81 s [opt-env-conf-test]
  19504. 1465.81 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19505. 1465.81 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  19506. 1465.81 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19507. 1465.81 s [opt-env-conf-test] renderError ParseError {..} =
  19508. 1465.81 s [opt-env-conf-test] concat
  19509. 1465.81 s [opt-env-conf-test] [ case parseErrorMessage of
  19510. 1465.81 s [opt-env-conf-test] ParseErrorEmpty ->
  19511. 1465.81 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19512. 1465.81 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19513. 1465.81 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19514. 1465.81 s [opt-env-conf-test] ParseErrorNoReaders ->
  19515. 1465.81 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19516. 1465.81 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19517. 1465.81 s [opt-env-conf-test] ]
  19518. 1465.81 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19519. 1465.81 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19520. 1465.81 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19521. 1465.81 s [opt-env-conf-test] [ "Missing argument: "
  19522. 1465.81 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19523. 1465.81 s [opt-env-conf-test] ]
  19524. 1465.81 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19525. 1465.81 s [opt-env-conf-test] ["Failed to read argument: "]
  19526. 1465.81 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19527. 1465.81 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19528. 1465.81 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19529. 1465.81 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19530. 1465.81 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19531. 1465.81 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19532. 1465.81 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19533. 1465.81 s [opt-env-conf-test] ["Failed to read option: "]
  19534. 1465.82 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19535. 1465.82 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19536. 1465.82 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19537. 1465.82 s [opt-env-conf-test] ["Missing env var: "]
  19538. 1465.82 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19539. 1465.82 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19540. 1465.82 s [opt-env-conf-test] ["Failed to read env var: "]
  19541. 1465.82 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19542. 1465.82 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19543. 1465.82 s [opt-env-conf-test] - ParseErrorMissingConfVal md ->
  19544. 1465.82 s [opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
  19545. 1465.82 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19546. 1465.87 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19547. 1465.87 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19548. 1465.88 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19549. 1465.88 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19550. 1465.88 s [opt-env-conf-test] ["Missing command, available commands:"]
  19551. 1465.88 s [opt-env-conf-test] : availableCommandsLines cs
  19552. 1465.88 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19553. 1465.88 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19554. 1465.88 s [opt-env-conf-test] [fore blue "available commands:"]
  19555. 1465.88 s [opt-env-conf-test] ]
  19556. 1465.88 s [opt-env-conf-test] ++ availableCommandsLines cs
  19557. 1465.88 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19558. 1465.88 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  19559. 1465.88 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19560. 1465.88 s [opt-env-conf-test] ]
  19561. 1465.88 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19562. 1465.88 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19563. 1465.88 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19564. 1465.88 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19565. 1465.88 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19566. 1465.88 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19567. 1465.88 s [opt-env-conf-test] ]
  19568. 1465.88 s [opt-env-conf-test]
  19569. 1465.88 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19570. 1465.88 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  19571. 1465.89 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19572. 1465.89 s [opt-env-conf-test] renderError ParseError {..} =
  19573. 1465.89 s [opt-env-conf-test] concat
  19574. 1465.89 s [opt-env-conf-test] [ case parseErrorMessage of
  19575. 1465.89 s [opt-env-conf-test] ParseErrorEmpty ->
  19576. 1465.89 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19577. 1465.89 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19578. 1465.89 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19579. 1465.89 s [opt-env-conf-test] ParseErrorNoReaders ->
  19580. 1465.89 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19581. 1465.89 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19582. 1465.89 s [opt-env-conf-test] ]
  19583. 1465.89 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19584. 1465.89 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19585. 1465.89 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19586. 1465.89 s [opt-env-conf-test] [ "Missing argument: "
  19587. 1465.89 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19588. 1465.89 s [opt-env-conf-test] ]
  19589. 1465.89 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19590. 1465.89 s [opt-env-conf-test] ["Failed to read argument: "]
  19591. 1465.89 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19592. 1465.89 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19593. 1465.89 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19594. 1465.89 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19595. 1465.89 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19596. 1465.89 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19597. 1465.89 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19598. 1465.89 s [opt-env-conf-test] ["Failed to read option: "]
  19599. 1465.89 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19600. 1465.89 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19601. 1465.89 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19602. 1465.89 s [opt-env-conf-test] ["Missing env var: "]
  19603. 1465.89 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  19604. 1465.89 s [opt-env-conf-test] - ParseErrorEnvRead md errs ->
  19605. 1465.89 s [opt-env-conf-test] - ["Failed to read env var: "]
  19606. 1465.89 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19607. 1465.89 s [opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19608. 1465.89 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19609. 1465.89 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19610. 1465.89 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19611. 1466.12 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19612. 1466.12 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19613. 1466.13 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19614. 1466.13 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19615. 1466.13 s [opt-env-conf-test] ["Missing command, available commands:"]
  19616. 1466.13 s [opt-env-conf-test] : availableCommandsLines cs
  19617. 1466.13 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19618. 1466.13 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19619. 1466.13 s [opt-env-conf-test] [fore blue "available commands:"]
  19620. 1466.13 s [opt-env-conf-test] ]
  19621. 1466.13 s [opt-env-conf-test] ++ availableCommandsLines cs
  19622. 1466.13 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19623. 1466.13 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  19624. 1466.13 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19625. 1466.13 s [opt-env-conf-test] ]
  19626. 1466.13 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19627. 1466.13 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19628. 1466.13 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19629. 1466.13 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19630. 1466.13 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19631. 1466.13 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19632. 1466.13 s [opt-env-conf-test] ]
  19633. 1466.13 s [opt-env-conf-test]
  19634. 1466.13 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
  19635. 1466.13 s [opt-env-conf-test] @@ -143,69 +143,68 @@
  19636. 1466.13 s [opt-env-conf-test] in case firstArg of
  19637. 1466.13 s [opt-env-conf-test] -- Skip any dead argument
  19638. 1466.13 s [opt-env-conf-test] Dead -> consumeArgument consumed
  19639. 1466.13 s [opt-env-conf-test] Live a -> case a of
  19640. 1466.13 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  19641. 1466.13 s [opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
  19642. 1466.13 s [opt-env-conf-test] -- A single dash is always an argument
  19643. 1466.14 s [opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
  19644. 1466.14 s [opt-env-conf-test] -- Bare double-dash
  19645. 1466.14 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  19646. 1466.14 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  19647. 1466.14 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  19648. 1466.14 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  19649. 1466.14 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  19650. 1466.14 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  19651. 1466.14 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  19652. 1466.14 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  19653. 1466.14 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  19654. 1466.14 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  19655. 1466.14 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  19656. 1466.14 s [opt-env-conf-test] -- pop the args as they come.
  19657. 1466.14 s [opt-env-conf-test] _ ->
  19658. 1466.14 s [opt-env-conf-test] let go = \case
  19659. 1466.14 s [opt-env-conf-test] [] -> Nothing
  19660. 1466.14 s [opt-env-conf-test] (Dead : rest) -> go rest
  19661. 1466.14 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  19662. 1466.14 s [opt-env-conf-test] in case go afters of
  19663. 1466.14 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  19664. 1466.14 s [opt-env-conf-test] Just (firstLive, rest) ->
  19665. 1466.14 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  19666. 1466.14 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  19667. 1466.14 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  19668. 1466.14 s [opt-env-conf-test] -- arguments.
  19669. 1466.34 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  19670. 1466.34 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  19671. 1466.34 s [opt-env-conf-test] )
  19672. 1466.34 s [opt-env-conf-test] ]
  19673. 1466.34 s [opt-env-conf-test] ArgDashed {} ->
  19674. 1466.34 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  19675. 1466.34 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  19676. 1466.34 s [opt-env-conf-test] -- * The dashed is an argument
  19677. 1466.34 s [opt-env-conf-test] -- TODO we need to continue looking too
  19678. 1466.34 s [opt-env-conf-test] let switchCase =
  19679. 1466.34 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  19680. 1466.34 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  19681. 1466.34 s [opt-env-conf-test] ]
  19682. 1466.34 s [opt-env-conf-test] in case afters of
  19683. 1466.34 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  19684. 1466.34 s [opt-env-conf-test] [] -> switchCase
  19685. 1466.34 s [opt-env-conf-test] (Dead : _) -> switchCase
  19686. 1466.34 s [opt-env-conf-test] (Live a' : rest) ->
  19687. 1466.34 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  19688. 1466.34 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  19689. 1466.35 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  19690. 1466.35 s [opt-env-conf-test] -- * The dashed is an argument
  19691. 1466.35 s [opt-env-conf-test] ( case a' of
  19692. 1466.35 s [opt-env-conf-test] ArgDashed {} ->
  19693. 1466.35 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  19694. 1466.35 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  19695. 1466.35 s [opt-env-conf-test] ]
  19696. 1466.35 s [opt-env-conf-test] _ ->
  19697. 1466.35 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  19698. 1466.35 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  19699. 1466.35 s [opt-env-conf-test] (Just (renderArg a), consumed)
  19700. 1466.35 s [opt-env-conf-test] ]
  19701. 1466.35 s [opt-env-conf-test] )
  19702. 1466.35 s [opt-env-conf-test]
  19703. 1466.35 s [opt-env-conf-test] -- | Consume an option.
  19704. 1466.35 s [opt-env-conf-test] --
  19705. 1466.35 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19706. 1466.35 s [opt-env-conf-test] @@ -80,63 +80,60 @@
  19707. 1466.35 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19708. 1466.35 s [opt-env-conf-test] renderError ParseError {..} =
  19709. 1466.35 s [opt-env-conf-test] concat
  19710. 1466.35 s [opt-env-conf-test] [ case parseErrorMessage of
  19711. 1466.35 s [opt-env-conf-test] ParseErrorEmpty ->
  19712. 1466.35 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19713. 1466.35 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19714. 1466.35 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19715. 1466.35 s [opt-env-conf-test] ParseErrorNoReaders ->
  19716. 1466.35 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19717. 1466.35 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19718. 1466.35 s [opt-env-conf-test] ]
  19719. 1466.35 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19720. 1466.35 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19721. 1466.35 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19722. 1466.35 s [opt-env-conf-test] [ "Missing argument: "
  19723. 1466.35 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19724. 1466.35 s [opt-env-conf-test] ]
  19725. 1466.35 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19726. 1466.35 s [opt-env-conf-test] ["Failed to read argument: "]
  19727. 1466.35 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19728. 1466.35 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19729. 1466.36 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19730. 1466.36 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19731. 1466.36 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19732. 1466.36 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19733. 1466.36 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19734. 1466.36 s [opt-env-conf-test] ["Failed to read option: "]
  19735. 1466.36 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19736. 1466.36 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19737. 1466.36 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19738. 1466.36 s [opt-env-conf-test] ["Missing env var: "]
  19739. 1466.36 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19740. 1466.36 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19741. 1466.36 s [opt-env-conf-test] ["Failed to read env var: "]
  19742. 1466.36 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19743. 1466.36 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19744. 1466.36 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19745. 1466.36 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19746. 1466.36 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19747. 1466.36 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19748. 1466.50 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19749. 1466.50 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19750. 1466.50 s [opt-env-conf-test] - ParseErrorMissingCommand cs ->
  19751. 1466.50 s [opt-env-conf-test] - ["Missing command, available commands:"]
  19752. 1466.50 s [opt-env-conf-test] - : availableCommandsLines cs
  19753. 1466.50 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19754. 1466.50 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19755. 1466.50 s [opt-env-conf-test] [fore blue "available commands:"]
  19756. 1466.50 s [opt-env-conf-test] ]
  19757. 1466.50 s [opt-env-conf-test] ++ availableCommandsLines cs
  19758. 1466.50 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19759. 1466.50 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  19760. 1466.50 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19761. 1466.50 s [opt-env-conf-test] ]
  19762. 1466.50 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19763. 1466.51 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19764. 1466.51 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19765. 1466.51 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19766. 1466.51 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19767. 1466.51 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19768. 1466.51 s [opt-env-conf-test] ]
  19769. 1466.51 s [opt-env-conf-test]
  19770. 1466.51 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19771. 1466.51 s [opt-env-conf-test] @@ -80,63 +80,58 @@
  19772. 1466.51 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19773. 1466.51 s [opt-env-conf-test] renderError ParseError {..} =
  19774. 1466.51 s [opt-env-conf-test] concat
  19775. 1466.51 s [opt-env-conf-test] [ case parseErrorMessage of
  19776. 1466.51 s [opt-env-conf-test] ParseErrorEmpty ->
  19777. 1466.51 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19778. 1466.51 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19779. 1466.51 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19780. 1466.51 s [opt-env-conf-test] ParseErrorNoReaders ->
  19781. 1466.51 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19782. 1466.51 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19783. 1466.51 s [opt-env-conf-test] ]
  19784. 1466.51 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19785. 1466.51 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19786. 1466.51 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19787. 1466.51 s [opt-env-conf-test] [ "Missing argument: "
  19788. 1466.51 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19789. 1466.51 s [opt-env-conf-test] ]
  19790. 1466.51 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19791. 1466.51 s [opt-env-conf-test] ["Failed to read argument: "]
  19792. 1466.51 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19793. 1466.51 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19794. 1466.51 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19795. 1466.51 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19796. 1466.51 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19797. 1466.52 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19798. 1466.52 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19799. 1466.52 s [opt-env-conf-test] ["Failed to read option: "]
  19800. 1466.52 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19801. 1466.52 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19802. 1466.52 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19803. 1466.52 s [opt-env-conf-test] ["Missing env var: "]
  19804. 1466.52 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19805. 1466.52 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19806. 1466.52 s [opt-env-conf-test] ["Failed to read env var: "]
  19807. 1466.52 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19808. 1466.52 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19809. 1466.52 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19810. 1466.52 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19811. 1466.52 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19812. 1466.52 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19813. 1466.79 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19814. 1466.79 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19815. 1466.79 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19816. 1466.79 s [opt-env-conf-test] ["Missing command, available commands:"]
  19817. 1466.79 s [opt-env-conf-test] : availableCommandsLines cs
  19818. 1466.79 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
  19819. 1466.79 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19820. 1466.79 s [opt-env-conf-test] - [fore blue "available commands:"]
  19821. 1466.79 s [opt-env-conf-test] - ]
  19822. 1466.79 s [opt-env-conf-test] - ++ availableCommandsLines cs
  19823. 1466.79 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19824. 1466.79 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  19825. 1466.79 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19826. 1466.79 s [opt-env-conf-test] ]
  19827. 1466.79 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19828. 1466.79 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19829. 1466.79 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19830. 1466.80 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19831. 1466.80 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19832. 1466.80 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19833. 1466.80 s [opt-env-conf-test] ]
  19834. 1466.80 s [opt-env-conf-test]
  19835. 1466.80 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
  19836. 1466.80 s [opt-env-conf-test] @@ -143,69 +143,40 @@
  19837. 1466.80 s [opt-env-conf-test] in case firstArg of
  19838. 1466.80 s [opt-env-conf-test] -- Skip any dead argument
  19839. 1466.80 s [opt-env-conf-test] Dead -> consumeArgument consumed
  19840. 1466.80 s [opt-env-conf-test] Live a -> case a of
  19841. 1466.80 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  19842. 1466.80 s [opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
  19843. 1466.80 s [opt-env-conf-test] -- A single dash is always an argument
  19844. 1466.80 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  19845. 1466.80 s [opt-env-conf-test] -- Bare double-dash
  19846. 1466.80 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  19847. 1466.80 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  19848. 1466.80 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  19849. 1466.80 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  19850. 1466.80 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  19851. 1466.80 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  19852. 1466.80 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  19853. 1466.80 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  19854. 1466.80 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  19855. 1466.80 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  19856. 1466.80 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  19857. 1466.80 s [opt-env-conf-test] -- pop the args as they come.
  19858. 1466.80 s [opt-env-conf-test] _ ->
  19859. 1466.80 s [opt-env-conf-test] let go = \case
  19860. 1466.80 s [opt-env-conf-test] [] -> Nothing
  19861. 1466.80 s [opt-env-conf-test] (Dead : rest) -> go rest
  19862. 1466.80 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  19863. 1466.80 s [opt-env-conf-test] in case go afters of
  19864. 1466.80 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  19865. 1466.80 s [opt-env-conf-test] Just (firstLive, rest) ->
  19866. 1466.80 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  19867. 1466.80 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  19868. 1466.80 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  19869. 1466.81 s [opt-env-conf-test] -- arguments.
  19870. 1466.81 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  19871. 1466.81 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  19872. 1466.81 s [opt-env-conf-test] )
  19873. 1466.81 s [opt-env-conf-test] ]
  19874. 1466.81 s [opt-env-conf-test] - ArgDashed {} ->
  19875. 1466.81 s [opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
  19876. 1466.81 s [opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
  19877. 1466.81 s [opt-env-conf-test] - -- * The dashed is an argument
  19878. 1466.81 s [opt-env-conf-test] - -- TODO we need to continue looking too
  19879. 1466.81 s [opt-env-conf-test] - let switchCase =
  19880. 1466.81 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
  19881. 1466.81 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  19882. 1466.81 s [opt-env-conf-test] - ]
  19883. 1466.81 s [opt-env-conf-test] - in case afters of
  19884. 1466.81 s [opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
  19885. 1466.81 s [opt-env-conf-test] - [] -> switchCase
  19886. 1466.81 s [opt-env-conf-test] - (Dead : _) -> switchCase
  19887. 1466.81 s [opt-env-conf-test] - (Live a' : rest) ->
  19888. 1466.81 s [opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
  19889. 1466.81 s [opt-env-conf-test] - -- * The dashed is an option and the live is the value
  19890. 1466.81 s [opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
  19891. 1466.81 s [opt-env-conf-test] - -- * The dashed is an argument
  19892. 1466.81 s [opt-env-conf-test] - ( case a' of
  19893. 1466.81 s [opt-env-conf-test] - ArgDashed {} ->
  19894. 1466.81 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
  19895. 1466.81 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  19896. 1466.81 s [opt-env-conf-test] - ]
  19897. 1466.81 s [opt-env-conf-test] - _ ->
  19898. 1466.81 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  19899. 1466.81 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  19900. 1466.81 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  19901. 1466.98 s [opt-env-conf-test] - ]
  19902. 1466.98 s [opt-env-conf-test] - )
  19903. 1466.98 s [opt-env-conf-test]
  19904. 1466.98 s [opt-env-conf-test] -- | Consume an option.
  19905. 1466.98 s [opt-env-conf-test] --
  19906. 1466.98 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19907. 1466.98 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  19908. 1466.98 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19909. 1466.98 s [opt-env-conf-test] renderError ParseError {..} =
  19910. 1466.98 s [opt-env-conf-test] concat
  19911. 1466.98 s [opt-env-conf-test] [ case parseErrorMessage of
  19912. 1466.98 s [opt-env-conf-test] ParseErrorEmpty ->
  19913. 1466.98 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19914. 1466.98 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19915. 1466.98 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19916. 1466.98 s [opt-env-conf-test] ParseErrorNoReaders ->
  19917. 1466.98 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19918. 1466.99 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19919. 1466.99 s [opt-env-conf-test] ]
  19920. 1466.99 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19921. 1466.99 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19922. 1466.99 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19923. 1466.99 s [opt-env-conf-test] [ "Missing argument: "
  19924. 1466.99 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19925. 1466.99 s [opt-env-conf-test] ]
  19926. 1466.99 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19927. 1466.99 s [opt-env-conf-test] ["Failed to read argument: "]
  19928. 1466.99 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19929. 1466.99 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19930. 1466.99 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19931. 1466.99 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19932. 1466.99 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19933. 1466.99 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19934. 1466.99 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19935. 1466.99 s [opt-env-conf-test] ["Failed to read option: "]
  19936. 1466.99 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19937. 1466.99 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19938. 1466.99 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19939. 1466.99 s [opt-env-conf-test] ["Missing env var: "]
  19940. 1466.99 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19941. 1466.99 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19942. 1466.99 s [opt-env-conf-test] ["Failed to read env var: "]
  19943. 1466.99 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19944. 1466.99 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19945. 1466.99 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19946. 1466.99 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19947. 1466.99 s [opt-env-conf-test] - ParseErrorConfigRead md s ->
  19948. 1467.62 s [opt-env-conf-test] - ["Failed to parse configuration: "]
  19949. 1467.74 s [opt-env-conf-test] - : maybe [] renderConfDoc md
  19950. 1467.74 s [opt-env-conf-test] - ++ [[chunk $ T.pack s]]
  19951. 1467.74 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19952. 1467.74 s [opt-env-conf-test] ["Missing command, available commands:"]
  19953. 1467.74 s [opt-env-conf-test] : availableCommandsLines cs
  19954. 1467.74 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19955. 1467.74 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19956. 1467.74 s [opt-env-conf-test] [fore blue "available commands:"]
  19957. 1467.74 s [opt-env-conf-test] ]
  19958. 1467.74 s [opt-env-conf-test] ++ availableCommandsLines cs
  19959. 1467.74 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19960. 1467.74 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  19961. 1467.74 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19962. 1467.74 s [opt-env-conf-test] ]
  19963. 1467.74 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19964. 1467.74 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19965. 1467.74 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19966. 1467.74 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19967. 1467.74 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19968. 1467.74 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19969. 1467.74 s [opt-env-conf-test] ]
  19970. 1467.74 s [opt-env-conf-test]
  19971. 1467.74 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19972. 1467.74 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  19973. 1467.74 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19974. 1467.74 s [opt-env-conf-test] renderError ParseError {..} =
  19975. 1467.74 s [opt-env-conf-test] concat
  19976. 1467.74 s [opt-env-conf-test] [ case parseErrorMessage of
  19977. 1467.75 s [opt-env-conf-test] ParseErrorEmpty ->
  19978. 1467.75 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19979. 1467.75 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19980. 1467.75 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19981. 1467.75 s [opt-env-conf-test] ParseErrorNoReaders ->
  19982. 1467.75 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19983. 1467.75 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19984. 1467.75 s [opt-env-conf-test] ]
  19985. 1467.75 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19986. 1467.75 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19987. 1467.75 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19988. 1467.75 s [opt-env-conf-test] [ "Missing argument: "
  19989. 1467.75 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19990. 1467.75 s [opt-env-conf-test] ]
  19991. 1467.75 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19992. 1467.75 s [opt-env-conf-test] ["Failed to read argument: "]
  19993. 1467.75 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19994. 1467.75 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19995. 1467.75 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19996. 1467.75 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19997. 1467.75 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19998. 1467.75 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19999. 1467.75 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20000. 1467.75 s [opt-env-conf-test] ["Failed to read option: "]
  20001. 1467.75 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20002. 1467.75 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20003. 1467.75 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20004. 1467.75 s [opt-env-conf-test] ["Missing env var: "]
  20005. 1467.75 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20006. 1467.75 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20007. 1467.75 s [opt-env-conf-test] ["Failed to read env var: "]
  20008. 1467.75 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20009. 1467.75 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20010. 1467.75 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20011. 1467.75 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20012. 1467.75 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20013. 1467.75 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20014. 1468.31 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20015. 1468.31 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20016. 1468.31 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20017. 1468.31 s [opt-env-conf-test] ["Missing command, available commands:"]
  20018. 1468.31 s [opt-env-conf-test] : availableCommandsLines cs
  20019. 1468.31 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20020. 1468.31 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20021. 1468.31 s [opt-env-conf-test] [fore blue "available commands:"]
  20022. 1468.31 s [opt-env-conf-test] ]
  20023. 1468.31 s [opt-env-conf-test] ++ availableCommandsLines cs
  20024. 1468.31 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20025. 1468.31 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  20026. 1468.31 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20027. 1468.31 s [opt-env-conf-test] ]
  20028. 1468.31 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20029. 1468.31 s [opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
  20030. 1468.31 s [opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20031. 1468.31 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  20032. 1468.31 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20033. 1468.32 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20034. 1468.32 s [opt-env-conf-test] ]
  20035. 1468.32 s [opt-env-conf-test]
  20036. 1468.32 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20037. 1468.32 s [opt-env-conf-test] @@ -80,63 +80,58 @@
  20038. 1468.32 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20039. 1468.32 s [opt-env-conf-test] renderError ParseError {..} =
  20040. 1468.32 s [opt-env-conf-test] concat
  20041. 1468.32 s [opt-env-conf-test] [ case parseErrorMessage of
  20042. 1468.32 s [opt-env-conf-test] ParseErrorEmpty ->
  20043. 1468.32 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20044. 1468.32 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20045. 1468.32 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20046. 1468.32 s [opt-env-conf-test] ParseErrorNoReaders ->
  20047. 1468.32 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20048. 1468.32 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20049. 1468.32 s [opt-env-conf-test] ]
  20050. 1468.32 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20051. 1468.32 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20052. 1468.32 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20053. 1468.32 s [opt-env-conf-test] [ "Missing argument: "
  20054. 1468.32 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20055. 1468.32 s [opt-env-conf-test] ]
  20056. 1468.32 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20057. 1468.32 s [opt-env-conf-test] ["Failed to read argument: "]
  20058. 1468.32 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20059. 1468.32 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20060. 1468.32 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20061. 1468.32 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20062. 1468.32 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  20063. 1468.32 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20064. 1468.32 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20065. 1468.32 s [opt-env-conf-test] ["Failed to read option: "]
  20066. 1468.32 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20067. 1468.32 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20068. 1468.32 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20069. 1468.32 s [opt-env-conf-test] ["Missing env var: "]
  20070. 1468.32 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20071. 1468.32 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20072. 1468.32 s [opt-env-conf-test] ["Failed to read env var: "]
  20073. 1468.32 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20074. 1468.32 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20075. 1468.32 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20076. 1468.32 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20077. 1468.32 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20078. 1468.32 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20079. 1470.99 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20080. 1470.99 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20081. 1470.99 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20082. 1470.99 s [opt-env-conf-test] ["Missing command, available commands:"]
  20083. 1470.99 s [opt-env-conf-test] : availableCommandsLines cs
  20084. 1470.99 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20085. 1470.99 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20086. 1470.99 s [opt-env-conf-test] [fore blue "available commands:"]
  20087. 1470.99 s [opt-env-conf-test] ]
  20088. 1470.99 s [opt-env-conf-test] ++ availableCommandsLines cs
  20089. 1470.99 s [opt-env-conf-test] - ParseErrorAllOrNothing locs ->
  20090. 1471.00 s [opt-env-conf-test] - [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  20091. 1471.00 s [opt-env-conf-test] - ["The following settings have been parsed:"]
  20092. 1471.00 s [opt-env-conf-test] - ]
  20093. 1471.00 s [opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
  20094. 1471.00 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20095. 1471.00 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20096. 1471.00 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  20097. 1471.00 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20098. 1471.00 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20099. 1471.00 s [opt-env-conf-test] ]
  20100. 1471.00 s [opt-env-conf-test]
  20101. 1471.00 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:372:27-31
  20102. 1471.00 s [opt-env-conf-test] @@ -369,7 +369,7 @@
  20103. 1471.00 s [opt-env-conf-test] pure $
  20104. 1471.00 s [opt-env-conf-test] Just $
  20105. 1471.00 s [opt-env-conf-test] maybe
  20106. 1471.00 s [opt-env-conf-test] - (c :| [], True)
  20107. 1471.00 s [opt-env-conf-test] + (c :| [], False)
  20108. 1471.00 s [opt-env-conf-test] (first (c NE.<|))
  20109. 1471.00 s [opt-env-conf-test] new
  20110. 1471.00 s [opt-env-conf-test]
  20111. 1471.00 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:352:6-12
  20112. 1471.00 s [opt-env-conf-test] @@ -349,7 +349,7 @@
  20113. 1471.00 s [opt-env-conf-test] NonEmpty Char ->
  20114. 1471.00 s [opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
  20115. 1471.00 s [opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
  20116. 1471.00 s [opt-env-conf-test] - if isLong
  20117. 1471.00 s [opt-env-conf-test] + if True
  20118. 1471.00 s [opt-env-conf-test] then
  20119. 1471.00 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  20120. 1471.00 s [opt-env-conf-test] then Just Nothing
  20121. 1471.00 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
  20122. 1471.00 s [opt-env-conf-test] @@ -143,69 +143,68 @@
  20123. 1471.00 s [opt-env-conf-test] in case firstArg of
  20124. 1471.00 s [opt-env-conf-test] -- Skip any dead argument
  20125. 1471.00 s [opt-env-conf-test] Dead -> consumeArgument consumed
  20126. 1471.00 s [opt-env-conf-test] Live a -> case a of
  20127. 1471.00 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  20128. 1471.00 s [opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
  20129. 1471.00 s [opt-env-conf-test] -- A single dash is always an argument
  20130. 1471.00 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  20131. 1471.00 s [opt-env-conf-test] -- Bare double-dash
  20132. 1471.00 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  20133. 1471.00 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  20134. 1471.00 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  20135. 1471.00 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  20136. 1471.00 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  20137. 1471.00 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  20138. 1471.00 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  20139. 1471.00 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  20140. 1471.00 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  20141. 1471.00 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  20142. 1471.00 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  20143. 1471.00 s [opt-env-conf-test] -- pop the args as they come.
  20144. 1471.01 s [opt-env-conf-test] _ ->
  20145. 1471.01 s [opt-env-conf-test] let go = \case
  20146. 1471.01 s [opt-env-conf-test] [] -> Nothing
  20147. 1471.01 s [opt-env-conf-test] (Dead : rest) -> go rest
  20148. 1471.01 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  20149. 1471.01 s [opt-env-conf-test] in case go afters of
  20150. 1471.01 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  20151. 1471.01 s [opt-env-conf-test] Just (firstLive, rest) ->
  20152. 1471.01 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  20153. 1471.01 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  20154. 1471.01 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  20155. 1471.01 s [opt-env-conf-test] -- arguments.
  20156. 1479.90 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  20157. 1479.92 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  20158. 1479.92 s [opt-env-conf-test] )
  20159. 1479.92 s [opt-env-conf-test] ]
  20160. 1479.92 s [opt-env-conf-test] ArgDashed {} ->
  20161. 1479.92 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  20162. 1479.92 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  20163. 1479.92 s [opt-env-conf-test] -- * The dashed is an argument
  20164. 1479.92 s [opt-env-conf-test] -- TODO we need to continue looking too
  20165. 1479.92 s [opt-env-conf-test] let switchCase =
  20166. 1479.92 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  20167. 1479.92 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  20168. 1479.92 s [opt-env-conf-test] ]
  20169. 1479.92 s [opt-env-conf-test] in case afters of
  20170. 1479.92 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  20171. 1479.92 s [opt-env-conf-test] [] -> switchCase
  20172. 1479.92 s [opt-env-conf-test] (Dead : _) -> switchCase
  20173. 1479.92 s [opt-env-conf-test] (Live a' : rest) ->
  20174. 1479.92 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  20175. 1479.92 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  20176. 1479.92 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  20177. 1479.92 s [opt-env-conf-test] -- * The dashed is an argument
  20178. 1479.93 s [opt-env-conf-test] ( case a' of
  20179. 1479.93 s [opt-env-conf-test] ArgDashed {} ->
  20180. 1479.93 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  20181. 1479.93 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  20182. 1479.93 s [opt-env-conf-test] ]
  20183. 1479.93 s [opt-env-conf-test] _ ->
  20184. 1479.93 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  20185. 1479.93 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  20186. 1479.93 s [opt-env-conf-test] (Just (renderArg a), consumed)
  20187. 1479.93 s [opt-env-conf-test] ]
  20188. 1479.93 s [opt-env-conf-test] )
  20189. 1479.93 s [opt-env-conf-test]
  20190. 1479.93 s [opt-env-conf-test] -- | Consume an option.
  20191. 1479.93 s [opt-env-conf-test] --
  20192. 1479.93 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:334:65-71
  20193. 1479.93 s [opt-env-conf-test] @@ -331,7 +331,7 @@
  20194. 1479.93 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  20195. 1479.93 s [opt-env-conf-test] (Live o : rest) -> case o of
  20196. 1479.93 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  20197. 1479.93 s [opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  20198. 1479.93 s [opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds False cs of
  20199. 1479.93 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  20200. 1479.93 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  20201. 1479.93 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  20202. 1479.93 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:365:34-43
  20203. 1479.93 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  20204. 1479.93 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  20205. 1479.93 s [opt-env-conf-test] go (c :| rest) =
  20206. 1479.93 s [opt-env-conf-test] if c `elem` cs
  20207. 1479.93 s [opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  20208. 1479.93 s [opt-env-conf-test] + then Just $ (\ne -> (ne, False)) <$> NE.nonEmpty rest
  20209. 1479.93 s [opt-env-conf-test] else do
  20210. 1479.93 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  20211. 1479.93 s [opt-env-conf-test] new <- go rest'
  20212. 1479.93 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:365:34-43
  20213. 1479.93 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  20214. 1479.93 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  20215. 1479.93 s [opt-env-conf-test] go (c :| rest) =
  20216. 1479.94 s [opt-env-conf-test] if c `elem` cs
  20217. 1479.94 s [opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  20218. 1479.94 s [opt-env-conf-test] + then Just $ (\ne -> (ne, not null rest)) <$> NE.nonEmpty rest
  20219. 1479.94 s [opt-env-conf-test] else do
  20220. 1479.94 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  20221. 1479.94 s [opt-env-conf-test] new <- go rest'
  20222. 1479.94 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:145:21-69
  20223. 1479.94 s [opt-env-conf-test] @@ -142,7 +142,7 @@
  20224. 1479.94 s [opt-env-conf-test] where
  20225. 1479.94 s [opt-env-conf-test] matchesExtension cr
  20226. 1479.94 s [opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
  20227. 1479.94 s [opt-env-conf-test] - | otherwise = any (`isSuffixOf` completionResultValue cr) exts
  20228. 1479.94 s [opt-env-conf-test] + | otherwise = False
  20229. 1479.94 s [opt-env-conf-test]
  20230. 1479.94 s [opt-env-conf-test] directoryPath :: Completer
  20231. 1479.94 s [opt-env-conf-test] directoryPath = Completer $ \fp' -> do
  20232. 1479.94 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:66:64-22
  20233. 1479.94 s [opt-env-conf-test] @@ -63,9 +63,9 @@
  20234. 1479.94 s [opt-env-conf-test] [ genericValidate arg,
  20235. 1479.94 s [opt-env-conf-test] case arg of
  20236. 1479.94 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20237. 1479.94 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  20238. 1479.94 s [opt-env-conf-test] + ArgPlain s -> declare "does not start with a dash" $ not case s of
  20239. 1479.94 s [opt-env-conf-test] ('-' : _) -> False
  20240. 1479.94 s [opt-env-conf-test] _ -> True
  20241. 1479.94 s [opt-env-conf-test] _ -> valid
  20242. 1479.94 s [opt-env-conf-test] ]
  20243. 1479.94 s [opt-env-conf-test]
  20244. 1479.94 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
  20245. 1479.94 s [opt-env-conf-test] @@ -93,33 +93,25 @@
  20246. 1479.94 s [opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
  20247. 1479.94 s [opt-env-conf-test] )
  20248. 1479.94 s [opt-env-conf-test]
  20249. 1479.95 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  20250. 1479.95 s [opt-env-conf-test] Nothing ->
  20251. 1479.95 s [opt-env-conf-test] if fp == "."
  20252. 1479.95 s [opt-env-conf-test] then do
  20253. 1479.95 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  20254. 1479.95 s [opt-env-conf-test] pure
  20255. 1479.95 s [opt-env-conf-test] ( map fromRelDir ds,
  20256. 1479.95 s [opt-env-conf-test] map fromRelFile fs
  20257. 1479.95 s [opt-env-conf-test] )
  20258. 1479.95 s [opt-env-conf-test] else pure ([], [])
  20259. 1479.95 s [opt-env-conf-test] - Just (Abs af) -> do
  20260. 1479.95 s [opt-env-conf-test] - let dir = parent af
  20261. 1479.95 s [opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
  20262. 1479.95 s [opt-env-conf-test] - (ds, fs) <- listDirForgiving dir
  20263. 1479.95 s [opt-env-conf-test] - pure
  20264. 1479.95 s [opt-env-conf-test] - ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
  20265. 1479.95 s [opt-env-conf-test] - map (fromAbsFile . (dir </>)) $ filterHidden fs
  20266. 1479.95 s [opt-env-conf-test] - )
  20267. 1479.95 s [opt-env-conf-test] Just (Rel rf) -> do
  20268. 1479.95 s [opt-env-conf-test] let dir = parent rf
  20269. 1479.95 s [opt-env-conf-test] let ad = baseDir </> dir
  20270. 1479.95 s [opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  20271. 1479.95 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  20272. 1479.95 s [opt-env-conf-test] pure
  20273. 1479.95 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  20274. 1479.95 s [opt-env-conf-test] map (fromRelFile . (dir </>)) $ filterHidden fs
  20275. 1479.95 s [opt-env-conf-test] )
  20276. 1479.95 s [opt-env-conf-test]
  20277. 1479.95 s [opt-env-conf-test] pure $
  20278. 1479.95 s [opt-env-conf-test] concat
  20279. 1479.95 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:144:9-50
  20280. 1479.95 s [opt-env-conf-test] @@ -141,7 +141,7 @@
  20281. 1479.95 s [opt-env-conf-test] pure $ filter matchesExtension results
  20282. 1479.95 s [opt-env-conf-test] where
  20283. 1479.95 s [opt-env-conf-test] matchesExtension cr
  20284. 1479.95 s [opt-env-conf-test] - | "/" `isSuffixOf` completionResultValue cr = True
  20285. 1479.95 s [opt-env-conf-test] + | not "/" `isSuffixOf` completionResultValue cr = True
  20286. 1479.95 s [opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
  20287. 1479.95 s [opt-env-conf-test]
  20288. 1479.95 s [opt-env-conf-test] directoryPath :: Completer
  20289. 1479.95 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
  20290. 1479.95 s [opt-env-conf-test] @@ -93,33 +93,24 @@
  20291. 1479.95 s [opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
  20292. 1479.95 s [opt-env-conf-test] )
  20293. 1479.95 s [opt-env-conf-test]
  20294. 1479.95 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  20295. 1479.95 s [opt-env-conf-test] Nothing ->
  20296. 1479.96 s [opt-env-conf-test] if fp == "."
  20297. 1479.96 s [opt-env-conf-test] then do
  20298. 1479.96 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  20299. 1479.96 s [opt-env-conf-test] pure
  20300. 1479.96 s [opt-env-conf-test] ( map fromRelDir ds,
  20301. 1479.96 s [opt-env-conf-test] map fromRelFile fs
  20302. 1479.96 s [opt-env-conf-test] )
  20303. 1479.96 s [opt-env-conf-test] else pure ([], [])
  20304. 1479.96 s [opt-env-conf-test] Just (Abs af) -> do
  20305. 1479.96 s [opt-env-conf-test] let dir = parent af
  20306. 1479.96 s [opt-env-conf-test] let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
  20307. 1479.96 s [opt-env-conf-test] (ds, fs) <- listDirForgiving dir
  20308. 1479.96 s [opt-env-conf-test] pure
  20309. 1479.96 s [opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
  20310. 1479.96 s [opt-env-conf-test] map (fromAbsFile . (dir </>)) $ filterHidden fs
  20311. 1479.96 s [opt-env-conf-test] )
  20312. 1479.96 s [opt-env-conf-test] - Just (Rel rf) -> do
  20313. 1479.96 s [opt-env-conf-test] - let dir = parent rf
  20314. 1479.96 s [opt-env-conf-test] - let ad = baseDir </> dir
  20315. 1479.96 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  20316. 1479.96 s [opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
  20317. 1479.96 s [opt-env-conf-test] - pure
  20318. 1479.96 s [opt-env-conf-test] - ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  20319. 1479.96 s [opt-env-conf-test] - map (fromRelFile . (dir </>)) $ filterHidden fs
  20320. 1479.96 s [opt-env-conf-test] - )
  20321. 1479.96 s [opt-env-conf-test]
  20322. 1479.96 s [opt-env-conf-test] pure $
  20323. 1479.96 s [opt-env-conf-test] concat
  20324. 1479.96 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:22-24
  20325. 1479.96 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  20326. 1479.96 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  20327. 1479.96 s [opt-env-conf-test] c1 <- go p1
  20328. 1479.96 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  20329. 1479.96 s [opt-env-conf-test] - pure $ c1 || c2
  20330. 1479.96 s [opt-env-conf-test] + pure $ c1 || not c2
  20331. 1479.96 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  20332. 1479.96 s [opt-env-conf-test] case settingHelp of
  20333. 1479.96 s [opt-env-conf-test] Nothing ->
  20334. 1479.96 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:365:34-43
  20335. 1479.96 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  20336. 1479.96 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  20337. 1479.96 s [opt-env-conf-test] go (c :| rest) =
  20338. 1479.96 s [opt-env-conf-test] if c `elem` cs
  20339. 1479.96 s [opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  20340. 1479.96 s [opt-env-conf-test] + then Just $ (\ne -> (ne, True)) <$> NE.nonEmpty rest
  20341. 1479.96 s [opt-env-conf-test] else do
  20342. 1479.96 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  20343. 1479.96 s [opt-env-conf-test] new <- go rest'
  20344. 1479.96 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:143:11-26
  20345. 1479.96 s [opt-env-conf-test] @@ -140,72 +140,9 @@
  20346. 1479.96 s [opt-env-conf-test] (firstArg : afters) ->
  20347. 1479.96 s [opt-env-conf-test] let befores = argsBefore as
  20348. 1479.96 s [opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
  20349. 1479.96 s [opt-env-conf-test] in case firstArg of
  20350. 1479.96 s [opt-env-conf-test] -- Skip any dead argument
  20351. 1479.96 s [opt-env-conf-test] Dead -> consumeArgument consumed
  20352. 1479.96 s [opt-env-conf-test] - Live a -> case a of
  20353. 1479.96 s [opt-env-conf-test] - -- Plain argument: that's the only option, consume it.
  20354. 1479.96 s [opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
  20355. 1479.96 s [opt-env-conf-test] - -- A single dash is always an argument
  20356. 1479.97 s [opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
  20357. 1479.97 s [opt-env-conf-test] - -- Bare double-dash
  20358. 1479.97 s [opt-env-conf-test] - ArgBareDoubleDash -> case afters of
  20359. 1479.97 s [opt-env-conf-test] - -- If it's the last argument, consume it as an argument
  20360. 1479.97 s [opt-env-conf-test] - [] -> [(Just "--", consumed)]
  20361. 1479.97 s [opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
  20362. 1479.97 s [opt-env-conf-test] - -- means we've been parsing bare args and are now done.
  20363. 1479.97 s [opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
  20364. 1479.97 s [opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  20365. 1479.97 s [opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
  20366. 1479.97 s [opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
  20367. 1479.97 s [opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
  20368. 1479.97 s [opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
  20369. 1479.97 s [opt-env-conf-test] - -- pop the args as they come.
  20370. 1479.97 s [opt-env-conf-test] - _ ->
  20371. 1479.97 s [opt-env-conf-test] - let go = \case
  20372. 1479.97 s [opt-env-conf-test] - [] -> Nothing
  20373. 1479.97 s [opt-env-conf-test] - (Dead : rest) -> go rest
  20374. 1479.97 s [opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
  20375. 1479.97 s [opt-env-conf-test] - in case go afters of
  20376. 1479.97 s [opt-env-conf-test] - Nothing -> [(Nothing, as)]
  20377. 1479.97 s [opt-env-conf-test] - Just (firstLive, rest) ->
  20378. 1479.97 s [opt-env-conf-test] - -- We need to leave the dead argument there so that
  20379. 1479.97 s [opt-env-conf-test] - -- we don't consume the double-dash as an argument
  20380. 1479.97 s [opt-env-conf-test] - -- after consuming all the arguments after it as bare
  20381. 1479.98 s [opt-env-conf-test] - -- arguments.
  20382. 1479.98 s [opt-env-conf-test] - [ ( Just $ renderArg firstLive,
  20383. 1479.98 s [opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
  20384. 1479.98 s [opt-env-conf-test] - )
  20385. 1479.98 s [opt-env-conf-test] - ]
  20386. 1479.98 s [opt-env-conf-test] - ArgDashed {} ->
  20387. 1479.98 s [opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
  20388. 1479.98 s [opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
  20389. 1479.98 s [opt-env-conf-test] - -- * The dashed is an argument
  20390. 1479.98 s [opt-env-conf-test] - -- TODO we need to continue looking too
  20391. 1479.98 s [opt-env-conf-test] - let switchCase =
  20392. 1479.98 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
  20393. 1479.98 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  20394. 1479.98 s [opt-env-conf-test] - ]
  20395. 1479.98 s [opt-env-conf-test] - in case afters of
  20396. 1479.98 s [opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
  20397. 1479.98 s [opt-env-conf-test] - [] -> switchCase
  20398. 1479.98 s [opt-env-conf-test] - (Dead : _) -> switchCase
  20399. 1479.98 s [opt-env-conf-test] - (Live a' : rest) ->
  20400. 1479.98 s [opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
  20401. 1479.98 s [opt-env-conf-test] - -- * The dashed is an option and the live is the value
  20402. 1479.98 s [opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
  20403. 1479.98 s [opt-env-conf-test] - -- * The dashed is an argument
  20404. 1479.98 s [opt-env-conf-test] - ( case a' of
  20405. 1479.98 s [opt-env-conf-test] - ArgDashed {} ->
  20406. 1479.99 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
  20407. 1482.56 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  20408. 1482.56 s [opt-env-conf-test] - ]
  20409. 1482.56 s [opt-env-conf-test] - _ ->
  20410. 1482.56 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  20411. 1482.56 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  20412. 1482.56 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  20413. 1482.56 s [opt-env-conf-test] - ]
  20414. 1482.56 s [opt-env-conf-test] - )
  20415. 1482.56 s [opt-env-conf-test]
  20416. 1482.57 s [opt-env-conf-test] -- | Consume an option.
  20417. 1482.57 s [opt-env-conf-test] --
  20418. 1482.57 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:64:31-36
  20419. 1482.57 s [opt-env-conf-test] @@ -61,7 +61,7 @@
  20420. 1482.57 s [opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
  20421. 1482.57 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20422. 1482.57 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20423. 1482.57 s [opt-env-conf-test] - ParseErrorConfigRead _ _ -> False
  20424. 1482.57 s [opt-env-conf-test] + ParseErrorConfigRead _ _ -> True
  20425. 1482.57 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  20426. 1482.57 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20427. 1482.57 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20428. 1482.57 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:40-47
  20429. 1482.57 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  20430. 1482.57 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20431. 1482.57 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20432. 1482.57 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20433. 1482.57 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  20434. 1482.57 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ True
  20435. 1482.57 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20436. 1482.57 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20437. 1482.57 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20438. 1482.57 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:61:32-36
  20439. 1482.57 s [opt-env-conf-test] @@ -58,7 +58,7 @@
  20440. 1482.57 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  20441. 1482.57 s [opt-env-conf-test] ParseErrorOptionRead _ _ -> False
  20442. 1482.57 s [opt-env-conf-test] ParseErrorMissingOption _ -> True
  20443. 1482.57 s [opt-env-conf-test] - ParseErrorMissingEnvVar _ -> True
  20444. 1482.57 s [opt-env-conf-test] + ParseErrorMissingEnvVar _ -> False
  20445. 1482.57 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20446. 1482.57 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20447. 1482.57 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20448. 1482.58 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:40-47
  20449. 1482.58 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  20450. 1482.58 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20451. 1482.58 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20452. 1482.58 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20453. 1482.58 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  20454. 1482.58 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ False
  20455. 1482.58 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20456. 1482.58 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20457. 1482.58 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20458. 1482.58 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:63:33-37
  20459. 1482.58 s [opt-env-conf-test] @@ -60,7 +60,7 @@
  20460. 1482.58 s [opt-env-conf-test] ParseErrorMissingOption _ -> True
  20461. 1482.58 s [opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
  20462. 1482.58 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20463. 1482.58 s [opt-env-conf-test] - ParseErrorMissingConfVal _ -> True
  20464. 1482.58 s [opt-env-conf-test] + ParseErrorMissingConfVal _ -> False
  20465. 1482.58 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20466. 1482.58 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  20467. 1482.58 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20468. 1482.58 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:34-47
  20469. 1482.58 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  20470. 1482.58 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20471. 1482.58 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20472. 1482.58 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20473. 1482.58 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  20474. 1482.58 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> False
  20475. 1482.58 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20476. 1482.58 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20477. 1482.58 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20478. 1482.58 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:65:34-47
  20479. 1482.58 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  20480. 1482.58 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20481. 1482.58 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20482. 1482.58 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20483. 1482.58 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  20484. 1482.58 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> not not $ null cs
  20485. 1482.58 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20486. 1482.58 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20487. 1482.58 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20488. 1482.58 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:60:32-36
  20489. 1482.58 s [opt-env-conf-test] @@ -57,7 +57,7 @@
  20490. 1482.58 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  20491. 1482.58 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  20492. 1482.58 s [opt-env-conf-test] ParseErrorOptionRead _ _ -> False
  20493. 1482.58 s [opt-env-conf-test] - ParseErrorMissingOption _ -> True
  20494. 1482.58 s [opt-env-conf-test] + ParseErrorMissingOption _ -> False
  20495. 1482.58 s [opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
  20496. 1482.58 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20497. 1482.59 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20498. 1482.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:62:28-33
  20499. 1482.59 s [opt-env-conf-test] @@ -59,7 +59,7 @@
  20500. 1482.59 s [opt-env-conf-test] ParseErrorOptionRead _ _ -> False
  20501. 1482.59 s [opt-env-conf-test] ParseErrorMissingOption _ -> True
  20502. 1482.59 s [opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
  20503. 1482.59 s [opt-env-conf-test] - ParseErrorEnvRead _ _ -> False
  20504. 1482.59 s [opt-env-conf-test] + ParseErrorEnvRead _ _ -> True
  20505. 1482.59 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20506. 1482.59 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20507. 1482.59 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  20508. 1482.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:67:31-36
  20509. 1482.59 s [opt-env-conf-test] @@ -64,7 +64,7 @@
  20510. 1482.59 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20511. 1482.59 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  20512. 1482.59 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20513. 1482.59 s [opt-env-conf-test] - ParseErrorAllOrNothing _ -> False
  20514. 1482.59 s [opt-env-conf-test] + ParseErrorAllOrNothing _ -> True
  20515. 1482.59 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20516. 1482.59 s [opt-env-conf-test] ParseErrorMissingCapability _ -> False
  20517. 1482.59 s [opt-env-conf-test]
  20518. 1482.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:57:33-38
  20519. 1482.59 s [opt-env-conf-test] @@ -54,7 +54,7 @@
  20520. 1482.59 s [opt-env-conf-test] ParseErrorNoReaders -> False
  20521. 1482.59 s [opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
  20522. 1482.59 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  20523. 1482.59 s [opt-env-conf-test] - ParseErrorArgumentRead _ _ -> False
  20524. 1482.59 s [opt-env-conf-test] + ParseErrorArgumentRead _ _ -> True
  20525. 1482.59 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  20526. 1482.59 s [opt-env-conf-test] ParseErrorOptionRead _ _ -> False
  20527. 1482.59 s [opt-env-conf-test] ParseErrorMissingOption _ -> True
  20528. 1482.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:68:31-36
  20529. 1482.59 s [opt-env-conf-test] @@ -65,7 +65,7 @@
  20530. 1482.59 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  20531. 1482.59 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20532. 1482.59 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20533. 1482.59 s [opt-env-conf-test] - ParseErrorUnrecognised _ -> False
  20534. 1482.59 s [opt-env-conf-test] + ParseErrorUnrecognised _ -> True
  20535. 1482.59 s [opt-env-conf-test] ParseErrorMissingCapability _ -> False
  20536. 1482.59 s [opt-env-conf-test]
  20537. 1482.59 s [opt-env-conf-test] eraseErrorSrcLocs :: (Functor f) => f ParseError -> f ParseError
  20538. 1482.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:66:40-45
  20539. 1482.59 s [opt-env-conf-test] @@ -63,7 +63,7 @@
  20540. 1482.59 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20541. 1482.59 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20542. 1482.59 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  20543. 1482.59 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand _ _ -> False
  20544. 1482.59 s [opt-env-conf-test] + ParseErrorUnrecognisedCommand _ _ -> True
  20545. 1482.59 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20546. 1482.59 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20547. 1482.59 s [opt-env-conf-test] ParseErrorMissingCapability _ -> False
  20548. 1482.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:59:31-36
  20549. 1482.59 s [opt-env-conf-test] @@ -56,7 +56,7 @@
  20550. 1482.59 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  20551. 1482.59 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  20552. 1482.59 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  20553. 1482.60 s [opt-env-conf-test] - ParseErrorOptionRead _ _ -> False
  20554. 1482.60 s [opt-env-conf-test] + ParseErrorOptionRead _ _ -> True
  20555. 1482.60 s [opt-env-conf-test] ParseErrorMissingOption _ -> True
  20556. 1482.60 s [opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
  20557. 1482.60 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20558. 1482.60 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:58:32-36
  20559. 1482.60 s [opt-env-conf-test] @@ -55,7 +55,7 @@
  20560. 1482.60 s [opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
  20561. 1482.60 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  20562. 1482.60 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  20563. 1482.60 s [opt-env-conf-test] - ParseErrorMissingSwitch _ -> True
  20564. 1482.60 s [opt-env-conf-test] + ParseErrorMissingSwitch _ -> False
  20565. 1482.60 s [opt-env-conf-test] ParseErrorOptionRead _ _ -> False
  20566. 1482.60 s [opt-env-conf-test] ParseErrorMissingOption _ -> True
  20567. 1482.60 s [opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
  20568. 1482.60 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:69:36-41
  20569. 1482.60 s [opt-env-conf-test] @@ -66,7 +66,7 @@
  20570. 1482.60 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20571. 1482.60 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20572. 1482.60 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20573. 1482.60 s [opt-env-conf-test] - ParseErrorMissingCapability _ -> False
  20574. 1482.60 s [opt-env-conf-test] + ParseErrorMissingCapability _ -> True
  20575. 1482.60 s [opt-env-conf-test]
  20576. 1482.60 s [opt-env-conf-test] eraseErrorSrcLocs :: (Functor f) => f ParseError -> f ParseError
  20577. 1482.60 s [opt-env-conf-test] eraseErrorSrcLocs = fmap eraseErrorSrcLoc
  20578. 1482.60 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:55:41-51
  20579. 1482.60 s [opt-env-conf-test] @@ -52,7 +52,7 @@
  20580. 1482.60 s [opt-env-conf-test] ParseErrorEmpty -> True
  20581. 1482.60 s [opt-env-conf-test] ParseErrorEmptySetting -> False
  20582. 1482.60 s [opt-env-conf-test] ParseErrorNoReaders -> False
  20583. 1482.60 s [opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> forgivable
  20584. 1482.60 s [opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> True
  20585. 1482.60 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  20586. 1482.60 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  20587. 1482.60 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  20588. 1482.60 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:34-47
  20589. 1482.60 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  20590. 1482.60 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20591. 1482.60 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20592. 1482.60 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20593. 1482.60 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  20594. 1482.60 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> True
  20595. 1482.60 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20596. 1482.60 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20597. 1482.60 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20598. 1482.60 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:55:41-51
  20599. 1482.60 s [opt-env-conf-test] @@ -52,7 +52,7 @@
  20600. 1482.60 s [opt-env-conf-test] ParseErrorEmpty -> True
  20601. 1482.60 s [opt-env-conf-test] ParseErrorEmptySetting -> False
  20602. 1482.60 s [opt-env-conf-test] ParseErrorNoReaders -> False
  20603. 1482.60 s [opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> forgivable
  20604. 1483.13 s [opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> not forgivable
  20605. 1483.13 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  20606. 1483.13 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  20607. 1483.13 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  20608. 1483.14 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:53:29-34
  20609. 1483.14 s [opt-env-conf-test] @@ -50,7 +50,7 @@
  20610. 1483.14 s [opt-env-conf-test] errorMessageIsForgivable :: ParseErrorMessage -> Bool
  20611. 1483.14 s [opt-env-conf-test] errorMessageIsForgivable = \case
  20612. 1483.14 s [opt-env-conf-test] ParseErrorEmpty -> True
  20613. 1483.14 s [opt-env-conf-test] - ParseErrorEmptySetting -> False
  20614. 1483.14 s [opt-env-conf-test] + ParseErrorEmptySetting -> True
  20615. 1483.14 s [opt-env-conf-test] ParseErrorNoReaders -> False
  20616. 1483.14 s [opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
  20617. 1483.14 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  20618. 1483.14 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:52:22-26
  20619. 1483.14 s [opt-env-conf-test] @@ -49,7 +49,7 @@
  20620. 1483.14 s [opt-env-conf-test]
  20621. 1483.14 s [opt-env-conf-test] errorMessageIsForgivable :: ParseErrorMessage -> Bool
  20622. 1483.14 s [opt-env-conf-test] errorMessageIsForgivable = \case
  20623. 1483.14 s [opt-env-conf-test] - ParseErrorEmpty -> True
  20624. 1483.14 s [opt-env-conf-test] + ParseErrorEmpty -> False
  20625. 1483.14 s [opt-env-conf-test] ParseErrorEmptySetting -> False
  20626. 1483.14 s [opt-env-conf-test] ParseErrorNoReaders -> False
  20627. 1483.14 s [opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
  20628. 1483.15 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20629. 1483.15 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  20630. 1483.15 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20631. 1483.15 s [opt-env-conf-test] renderError ParseError {..} =
  20632. 1483.15 s [opt-env-conf-test] concat
  20633. 1483.15 s [opt-env-conf-test] [ case parseErrorMessage of
  20634. 1483.15 s [opt-env-conf-test] ParseErrorEmpty ->
  20635. 1483.15 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20636. 1483.15 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20637. 1483.15 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20638. 1483.15 s [opt-env-conf-test] ParseErrorNoReaders ->
  20639. 1483.15 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20640. 1483.15 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20641. 1483.15 s [opt-env-conf-test] ]
  20642. 1483.15 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20643. 1483.15 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20644. 1483.15 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20645. 1483.15 s [opt-env-conf-test] [ "Missing argument: "
  20646. 1483.15 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20647. 1483.15 s [opt-env-conf-test] ]
  20648. 1483.15 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20649. 1483.15 s [opt-env-conf-test] ["Failed to read argument: "]
  20650. 1483.15 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20651. 1483.15 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20652. 1483.15 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20653. 1483.15 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20654. 1483.16 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  20655. 1483.16 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20656. 1483.16 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20657. 1483.16 s [opt-env-conf-test] ["Failed to read option: "]
  20658. 1483.16 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20659. 1483.16 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20660. 1483.16 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20661. 1483.16 s [opt-env-conf-test] ["Missing env var: "]
  20662. 1483.16 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20663. 1483.16 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20664. 1483.16 s [opt-env-conf-test] ["Failed to read env var: "]
  20665. 1483.16 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20666. 1483.16 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20667. 1483.16 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20668. 1483.16 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20669. 1483.16 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20670. 1483.16 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20671. 1483.81 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20672. 1483.81 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20673. 1483.81 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20674. 1483.81 s [opt-env-conf-test] ["Missing command, available commands:"]
  20675. 1483.81 s [opt-env-conf-test] : availableCommandsLines cs
  20676. 1483.81 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20677. 1483.81 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20678. 1483.81 s [opt-env-conf-test] [fore blue "available commands:"]
  20679. 1483.81 s [opt-env-conf-test] ]
  20680. 1483.81 s [opt-env-conf-test] ++ availableCommandsLines cs
  20681. 1483.81 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20682. 1483.81 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  20683. 1483.81 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20684. 1483.81 s [opt-env-conf-test] ]
  20685. 1483.81 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20686. 1483.81 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20687. 1483.81 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20688. 1483.81 s [opt-env-conf-test] - ParseErrorMissingCapability cap ->
  20689. 1483.81 s [opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20690. 1483.81 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20691. 1483.81 s [opt-env-conf-test] ]
  20692. 1483.81 s [opt-env-conf-test]
  20693. 1483.81 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:56:34-38
  20694. 1483.81 s [opt-env-conf-test] @@ -53,7 +53,7 @@
  20695. 1483.81 s [opt-env-conf-test] ParseErrorEmptySetting -> False
  20696. 1483.81 s [opt-env-conf-test] ParseErrorNoReaders -> False
  20697. 1483.81 s [opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
  20698. 1483.81 s [opt-env-conf-test] - ParseErrorMissingArgument _ -> True
  20699. 1483.81 s [opt-env-conf-test] + ParseErrorMissingArgument _ -> False
  20700. 1483.81 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  20701. 1483.81 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  20702. 1483.81 s [opt-env-conf-test] ParseErrorOptionRead _ _ -> False
  20703. 1483.81 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:54:26-31
  20704. 1483.82 s [opt-env-conf-test] @@ -51,7 +51,7 @@
  20705. 1483.82 s [opt-env-conf-test] errorMessageIsForgivable = \case
  20706. 1483.82 s [opt-env-conf-test] ParseErrorEmpty -> True
  20707. 1483.82 s [opt-env-conf-test] ParseErrorEmptySetting -> False
  20708. 1483.82 s [opt-env-conf-test] - ParseErrorNoReaders -> False
  20709. 1483.82 s [opt-env-conf-test] + ParseErrorNoReaders -> True
  20710. 1483.82 s [opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
  20711. 1483.82 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  20712. 1483.82 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  20713. 1483.82 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:83:5-6
  20714. 1483.82 s [opt-env-conf-test] @@ -80,65 +80,8 @@
  20715. 1483.82 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20716. 1483.82 s [opt-env-conf-test] renderError ParseError {..} =
  20717. 1483.82 s [opt-env-conf-test] concat
  20718. 1483.82 s [opt-env-conf-test] - [ case parseErrorMessage of
  20719. 1483.82 s [opt-env-conf-test] - ParseErrorEmpty ->
  20720. 1483.82 s [opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20721. 1483.82 s [opt-env-conf-test] - ParseErrorEmptySetting ->
  20722. 1483.82 s [opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
  20723. 1483.82 s [opt-env-conf-test] - ParseErrorNoReaders ->
  20724. 1483.82 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  20725. 1483.82 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  20726. 1483.82 s [opt-env-conf-test] - ]
  20727. 1483.82 s [opt-env-conf-test] - ParseErrorCheckFailed _ err ->
  20728. 1483.82 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  20729. 1483.82 s [opt-env-conf-test] - ParseErrorMissingArgument o ->
  20730. 1483.82 s [opt-env-conf-test] - [ "Missing argument: "
  20731. 1483.82 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
  20732. 1483.82 s [opt-env-conf-test] - ]
  20733. 1483.82 s [opt-env-conf-test] - ParseErrorArgumentRead md errs ->
  20734. 1483.82 s [opt-env-conf-test] - ["Failed to read argument: "]
  20735. 1483.82 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  20736. 1483.82 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20737. 1483.82 s [opt-env-conf-test] - ParseErrorMissingOption o ->
  20738. 1483.82 s [opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20739. 1483.82 s [opt-env-conf-test] - ParseErrorMissingSwitch o ->
  20740. 1483.82 s [opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20741. 1483.82 s [opt-env-conf-test] - ParseErrorOptionRead md errs ->
  20742. 1483.82 s [opt-env-conf-test] - ["Failed to read option: "]
  20743. 1483.82 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  20744. 1483.82 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20745. 1483.82 s [opt-env-conf-test] - ParseErrorMissingEnvVar md ->
  20746. 1483.82 s [opt-env-conf-test] - ["Missing env var: "]
  20747. 1483.82 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  20748. 1483.82 s [opt-env-conf-test] - ParseErrorEnvRead md errs ->
  20749. 1483.82 s [opt-env-conf-test] - ["Failed to read env var: "]
  20750. 1483.82 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  20751. 1483.82 s [opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20752. 1483.82 s [opt-env-conf-test] - ParseErrorMissingConfVal md ->
  20753. 1483.82 s [opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
  20754. 1483.82 s [opt-env-conf-test] - ParseErrorConfigRead md s ->
  20755. 1483.82 s [opt-env-conf-test] - ["Failed to parse configuration: "]
  20756. 1483.82 s [opt-env-conf-test] - : maybe [] renderConfDoc md
  20757. 1483.82 s [opt-env-conf-test] - ++ [[chunk $ T.pack s]]
  20758. 1483.82 s [opt-env-conf-test] - ParseErrorMissingCommand cs ->
  20759. 1483.82 s [opt-env-conf-test] - ["Missing command, available commands:"]
  20760. 1483.82 s [opt-env-conf-test] - : availableCommandsLines cs
  20761. 1483.82 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
  20762. 1483.82 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20763. 1483.82 s [opt-env-conf-test] - [fore blue "available commands:"]
  20764. 1483.82 s [opt-env-conf-test] - ]
  20765. 1483.82 s [opt-env-conf-test] - ++ availableCommandsLines cs
  20766. 1483.82 s [opt-env-conf-test] - ParseErrorAllOrNothing locs ->
  20767. 1483.82 s [opt-env-conf-test] - [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  20768. 1483.82 s [opt-env-conf-test] - ["The following settings have been parsed:"]
  20769. 1483.82 s [opt-env-conf-test] - ]
  20770. 1483.82 s [opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
  20771. 1483.82 s [opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
  20772. 1483.82 s [opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20773. 1483.82 s [opt-env-conf-test] - ParseErrorMissingCapability cap ->
  20774. 1483.82 s [opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20775. 1483.82 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20776. 1483.82 s [opt-env-conf-test] ]
  20777. 1483.82 s [opt-env-conf-test]
  20778. 1483.82 s [opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
  20779. 1483.82 s [opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
  20780. 1483.82 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:83:5-6
  20781. 1483.82 s [opt-env-conf-test] @@ -80,65 +80,7 @@
  20782. 1483.82 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20783. 1483.82 s [opt-env-conf-test] renderError ParseError {..} =
  20784. 1483.82 s [opt-env-conf-test] concat
  20785. 1483.82 s [opt-env-conf-test] - [ case parseErrorMessage of
  20786. 1483.82 s [opt-env-conf-test] - ParseErrorEmpty ->
  20787. 1483.82 s [opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20788. 1483.82 s [opt-env-conf-test] - ParseErrorEmptySetting ->
  20789. 1483.83 s [opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
  20790. 1483.83 s [opt-env-conf-test] - ParseErrorNoReaders ->
  20791. 1483.83 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  20792. 1483.83 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  20793. 1483.83 s [opt-env-conf-test] - ]
  20794. 1483.83 s [opt-env-conf-test] - ParseErrorCheckFailed _ err ->
  20795. 1483.83 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  20796. 1483.83 s [opt-env-conf-test] - ParseErrorMissingArgument o ->
  20797. 1483.83 s [opt-env-conf-test] - [ "Missing argument: "
  20798. 1483.83 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
  20799. 1483.83 s [opt-env-conf-test] - ]
  20800. 1483.83 s [opt-env-conf-test] - ParseErrorArgumentRead md errs ->
  20801. 1483.83 s [opt-env-conf-test] - ["Failed to read argument: "]
  20802. 1483.83 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  20803. 1483.83 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20804. 1483.83 s [opt-env-conf-test] - ParseErrorMissingOption o ->
  20805. 1483.83 s [opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20806. 1483.83 s [opt-env-conf-test] - ParseErrorMissingSwitch o ->
  20807. 1483.83 s [opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20808. 1483.83 s [opt-env-conf-test] - ParseErrorOptionRead md errs ->
  20809. 1483.83 s [opt-env-conf-test] - ["Failed to read option: "]
  20810. 1483.83 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  20811. 1483.83 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20812. 1483.83 s [opt-env-conf-test] - ParseErrorMissingEnvVar md ->
  20813. 1483.83 s [opt-env-conf-test] - ["Missing env var: "]
  20814. 1483.83 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  20815. 1483.83 s [opt-env-conf-test] - ParseErrorEnvRead md errs ->
  20816. 1483.83 s [opt-env-conf-test] - ["Failed to read env var: "]
  20817. 1483.83 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  20818. 1496.46 s [opt-env-conf-test] - Killed: 1132
  20819. 1496.46 s [opt-env-conf-test] Survived: 268
  20820. 1496.48 s [opt-env-conf-test] Uncovered: 350
  20821. 1496.48 s [opt-env-conf-test]
  20822. 1496.48 s [opt-env-conf-test] Surviving mutations:
  20823. 1496.48 s [opt-env-conf-test]
  20824. 1496.49 s [opt-env-conf-test] BoolLit at src/OptEnvConf/Error.hs:66:40-45
  20825. 1496.49 s [opt-env-conf-test] @@ -63,7 +63,7 @@
  20826. 1496.49 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20827. 1496.49 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20828. 1496.49 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  20829. 1496.49 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand _ _ -> False
  20830. 1496.49 s [opt-env-conf-test] + ParseErrorUnrecognisedCommand _ _ -> True
  20831. 1496.49 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20832. 1496.49 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20833. 1496.49 s [opt-env-conf-test] ParseErrorMissingCapability _ -> False
  20834. 1496.49 s [opt-env-conf-test]
  20835. 1496.49 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Error.hs:65:34-47
  20836. 1496.49 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  20837. 1496.49 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20838. 1496.49 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20839. 1496.49 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20840. 1496.49 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  20841. 1496.49 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> True
  20842. 1496.49 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20843. 1496.49 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20844. 1496.49 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20845. 1496.49 s [opt-env-conf-test]
  20846. 1496.50 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Error.hs:65:40-47
  20847. 1496.50 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  20848. 1496.50 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20849. 1496.50 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20850. 1496.50 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20851. 1496.50 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  20852. 1496.50 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ False
  20853. 1496.50 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20854. 1496.50 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20855. 1496.50 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20856. 1496.50 s [opt-env-conf-test]
  20857. 1496.50 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20858. 1496.50 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  20859. 1496.50 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20860. 1496.50 s [opt-env-conf-test] renderError ParseError {..} =
  20861. 1496.50 s [opt-env-conf-test] concat
  20862. 1496.50 s [opt-env-conf-test] [ case parseErrorMessage of
  20863. 1496.50 s [opt-env-conf-test] ParseErrorEmpty ->
  20864. 1496.50 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20865. 1496.50 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20866. 1496.51 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20867. 1496.51 s [opt-env-conf-test] ParseErrorNoReaders ->
  20868. 1496.51 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20869. 1496.51 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20870. 1496.51 s [opt-env-conf-test] ]
  20871. 1496.51 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20872. 1496.51 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20873. 1496.51 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20874. 1496.51 s [opt-env-conf-test] [ "Missing argument: "
  20875. 1496.51 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20876. 1496.51 s [opt-env-conf-test] ]
  20877. 1496.51 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20878. 1496.51 s [opt-env-conf-test] ["Failed to read argument: "]
  20879. 1496.51 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20880. 1496.51 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20881. 1496.51 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20882. 1496.51 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20883. 1496.51 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  20884. 1496.51 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20885. 1496.51 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20886. 1496.51 s [opt-env-conf-test] ["Failed to read option: "]
  20887. 1496.51 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20888. 1496.51 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20889. 1496.51 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20890. 1496.51 s [opt-env-conf-test] ["Missing env var: "]
  20891. 1496.51 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20892. 1496.51 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20893. 1496.51 s [opt-env-conf-test] ["Failed to read env var: "]
  20894. 1496.51 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20895. 1496.51 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20896. 1496.51 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20897. 1496.51 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20898. 1496.51 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20899. 1496.51 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20900. 1496.51 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20901. 1496.51 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20902. 1496.51 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20903. 1496.51 s [opt-env-conf-test] ["Missing command, available commands:"]
  20904. 1496.51 s [opt-env-conf-test] : availableCommandsLines cs
  20905. 1496.51 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20906. 1496.52 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20907. 1496.52 s [opt-env-conf-test] [fore blue "available commands:"]
  20908. 1496.52 s [opt-env-conf-test] ]
  20909. 1496.52 s [opt-env-conf-test] ++ availableCommandsLines cs
  20910. 1496.52 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20911. 1496.52 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  20912. 1496.52 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20913. 1496.52 s [opt-env-conf-test] ]
  20914. 1496.52 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20915. 1496.52 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20916. 1496.52 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20917. 1496.52 s [opt-env-conf-test] - ParseErrorMissingCapability cap ->
  20918. 1496.52 s [opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20919. 1496.52 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20920. 1496.52 s [opt-env-conf-test] ]
  20921. 1496.52 s [opt-env-conf-test]
  20922. 1496.52 s [opt-env-conf-test]
  20923. 1496.52 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20924. 1496.52 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  20925. 1496.52 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20926. 1496.52 s [opt-env-conf-test] renderError ParseError {..} =
  20927. 1496.52 s [opt-env-conf-test] concat
  20928. 1496.52 s [opt-env-conf-test] [ case parseErrorMessage of
  20929. 1496.52 s [opt-env-conf-test] ParseErrorEmpty ->
  20930. 1496.52 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20931. 1496.52 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20932. 1496.52 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20933. 1496.52 s [opt-env-conf-test] ParseErrorNoReaders ->
  20934. 1496.52 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20935. 1496.52 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20936. 1496.52 s [opt-env-conf-test] ]
  20937. 1496.52 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20938. 1496.52 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20939. 1496.52 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20940. 1496.52 s [opt-env-conf-test] [ "Missing argument: "
  20941. 1496.52 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20942. 1496.52 s [opt-env-conf-test] ]
  20943. 1496.52 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20944. 1496.52 s [opt-env-conf-test] ["Failed to read argument: "]
  20945. 1496.53 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20946. 1496.53 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20947. 1496.53 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20948. 1496.53 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20949. 1496.53 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  20950. 1496.53 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20951. 1496.53 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20952. 1496.53 s [opt-env-conf-test] ["Failed to read option: "]
  20953. 1496.53 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20954. 1496.53 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20955. 1496.53 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20956. 1496.53 s [opt-env-conf-test] ["Missing env var: "]
  20957. 1496.53 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20958. 1496.53 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20959. 1496.53 s [opt-env-conf-test] ["Failed to read env var: "]
  20960. 1496.53 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20961. 1496.53 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20962. 1496.53 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20963. 1496.53 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20964. 1496.53 s [opt-env-conf-test] - ParseErrorConfigRead md s ->
  20965. 1496.53 s [opt-env-conf-test] - ["Failed to parse configuration: "]
  20966. 1496.53 s [opt-env-conf-test] - : maybe [] renderConfDoc md
  20967. 1496.53 s [opt-env-conf-test] - ++ [[chunk $ T.pack s]]
  20968. 1496.53 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20969. 1496.53 s [opt-env-conf-test] ["Missing command, available commands:"]
  20970. 1496.53 s [opt-env-conf-test] : availableCommandsLines cs
  20971. 1496.53 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20972. 1496.53 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20973. 1496.53 s [opt-env-conf-test] [fore blue "available commands:"]
  20974. 1496.53 s [opt-env-conf-test] ]
  20975. 1496.53 s [opt-env-conf-test] ++ availableCommandsLines cs
  20976. 1496.53 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20977. 1496.53 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  20978. 1496.53 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20979. 1496.53 s [opt-env-conf-test] ]
  20980. 1496.53 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20981. 1496.53 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20982. 1496.53 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20983. 1496.53 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  20984. 1496.53 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20985. 1496.53 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20986. 1496.53 s [opt-env-conf-test] ]
  20987. 1496.53 s [opt-env-conf-test]
  20988. 1496.54 s [opt-env-conf-test]
  20989. 1496.54 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20990. 1496.54 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  20991. 1496.54 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20992. 1496.54 s [opt-env-conf-test] renderError ParseError {..} =
  20993. 1496.54 s [opt-env-conf-test] concat
  20994. 1496.54 s [opt-env-conf-test] [ case parseErrorMessage of
  20995. 1496.54 s [opt-env-conf-test] ParseErrorEmpty ->
  20996. 1496.54 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20997. 1496.54 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20998. 1496.54 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20999. 1496.54 s [opt-env-conf-test] ParseErrorNoReaders ->
  21000. 1496.54 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  21001. 1496.54 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  21002. 1496.54 s [opt-env-conf-test] ]
  21003. 1496.54 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  21004. 1496.54 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  21005. 1496.54 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  21006. 1496.54 s [opt-env-conf-test] [ "Missing argument: "
  21007. 1496.54 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  21008. 1496.54 s [opt-env-conf-test] ]
  21009. 1496.54 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  21010. 1496.54 s [opt-env-conf-test] ["Failed to read argument: "]
  21011. 1496.54 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  21012. 1496.54 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  21013. 1496.54 s [opt-env-conf-test] ParseErrorMissingOption o ->
  21014. 1496.54 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  21015. 1496.54 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  21016. 1496.54 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  21017. 1496.54 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  21018. 1496.54 s [opt-env-conf-test] ["Failed to read option: "]
  21019. 1496.54 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  21020. 1496.54 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  21021. 1496.54 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  21022. 1496.54 s [opt-env-conf-test] ["Missing env var: "]
  21023. 1496.54 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  21024. 1496.54 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  21025. 1496.54 s [opt-env-conf-test] ["Failed to read env var: "]
  21026. 1496.54 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  21027. 1496.54 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  21028. 1496.54 s [opt-env-conf-test] - ParseErrorMissingConfVal md ->
  21029. 1496.54 s [opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
  21030. 1496.54 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  21031. 1496.54 s [opt-env-conf-test] ["Failed to parse configuration: "]
  21032. 1496.54 s [opt-env-conf-test] : maybe [] renderConfDoc md
  21033. 1496.54 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  21034. 1496.54 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  21035. 1496.54 s [opt-env-conf-test] ["Missing command, available commands:"]
  21036. 1496.54 s [opt-env-conf-test] : availableCommandsLines cs
  21037. 1496.55 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  21038. 1496.55 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  21039. 1496.55 s [opt-env-conf-test] [fore blue "available commands:"]
  21040. 1496.55 s [opt-env-conf-test] ]
  21041. 1496.55 s [opt-env-conf-test] ++ availableCommandsLines cs
  21042. 1496.55 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  21043. 1496.55 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  21044. 1496.55 s [opt-env-conf-test] ["The following settings have been parsed:"]
  21045. 1496.55 s [opt-env-conf-test] ]
  21046. 1496.55 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  21047. 1496.55 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  21048. 1496.55 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  21049. 1496.55 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  21050. 1496.55 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  21051. 1496.55 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  21052. 1496.55 s [opt-env-conf-test] ]
  21053. 1496.55 s [opt-env-conf-test]
  21054. 1496.55 s [opt-env-conf-test]
  21055. 1496.55 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  21056. 1496.55 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  21057. 1496.55 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  21058. 1496.55 s [opt-env-conf-test] renderError ParseError {..} =
  21059. 1496.55 s [opt-env-conf-test] concat
  21060. 1496.55 s [opt-env-conf-test] [ case parseErrorMessage of
  21061. 1496.55 s [opt-env-conf-test] ParseErrorEmpty ->
  21062. 1496.55 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  21063. 1496.55 s [opt-env-conf-test] ParseErrorEmptySetting ->
  21064. 1496.55 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  21065. 1496.55 s [opt-env-conf-test] ParseErrorNoReaders ->
  21066. 1496.55 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  21067. 1496.55 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  21068. 1496.55 s [opt-env-conf-test] ]
  21069. 1496.55 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  21070. 1496.55 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  21071. 1496.55 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  21072. 1496.55 s [opt-env-conf-test] [ "Missing argument: "
  21073. 1496.55 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  21074. 1496.55 s [opt-env-conf-test] ]
  21075. 1496.55 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  21076. 1496.55 s [opt-env-conf-test] ["Failed to read argument: "]
  21077. 1496.55 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  21078. 1496.55 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  21079. 1496.55 s [opt-env-conf-test] ParseErrorMissingOption o ->
  21080. 1496.55 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  21081. 1496.55 s [opt-env-conf-test] - ParseErrorMissingSwitch o ->
  21082. 1496.55 s [opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  21083. 1496.55 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  21084. 1496.55 s [opt-env-conf-test] ["Failed to read option: "]
  21085. 1496.56 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  21086. 1496.56 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  21087. 1496.56 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  21088. 1496.56 s [opt-env-conf-test] ["Missing env var: "]
  21089. 1496.56 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  21090. 1496.56 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  21091. 1496.56 s [opt-env-conf-test] ["Failed to read env var: "]
  21092. 1496.56 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  21093. 1496.56 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  21094. 1496.56 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  21095. 1496.56 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  21096. 1496.56 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  21097. 1496.56 s [opt-env-conf-test] ["Failed to parse configuration: "]
  21098. 1496.56 s [opt-env-conf-test] : maybe [] renderConfDoc md
  21099. 1496.56 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  21100. 1496.56 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  21101. 1496.56 s [opt-env-conf-test] ["Missing command, available commands:"]
  21102. 1496.56 s [opt-env-conf-test] : availableCommandsLines cs
  21103. 1496.56 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  21104. 1496.56 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  21105. 1496.56 s [opt-env-conf-test] [fore blue "available commands:"]
  21106. 1496.56 s [opt-env-conf-test] ]
  21107. 1496.56 s [opt-env-conf-test] ++ availableCommandsLines cs
  21108. 1496.56 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  21109. 1496.56 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  21110. 1496.56 s [opt-env-conf-test] ["The following settings have been parsed:"]
  21111. 1496.56 s [opt-env-conf-test] ]
  21112. 1496.56 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  21113. 1496.56 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  21114. 1496.56 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  21115. 1496.56 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  21116. 1496.56 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  21117. 1496.56 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  21118. 1496.56 s [opt-env-conf-test] ]
  21119. 1496.56 s [opt-env-conf-test]
  21120. 1496.56 s [opt-env-conf-test]
  21121. 1496.56 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  21122. 1496.56 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  21123. 1496.56 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  21124. 1496.56 s [opt-env-conf-test] renderError ParseError {..} =
  21125. 1496.56 s [opt-env-conf-test] concat
  21126. 1496.56 s [opt-env-conf-test] [ case parseErrorMessage of
  21127. 1496.56 s [opt-env-conf-test] ParseErrorEmpty ->
  21128. 1496.56 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  21129. 1496.56 s [opt-env-conf-test] ParseErrorEmptySetting ->
  21130. 1496.56 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  21131. 1496.56 s [opt-env-conf-test] - ParseErrorNoReaders ->
  21132. 1496.56 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  21133. 1496.56 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  21134. 1496.56 s [opt-env-conf-test] - ]
  21135. 1496.56 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  21136. 1496.56 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  21137. 1496.56 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  21138. 1496.56 s [opt-env-conf-test] [ "Missing argument: "
  21139. 1496.56 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  21140. 1496.56 s [opt-env-conf-test] ]
  21141. 1496.56 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  21142. 1496.57 s [opt-env-conf-test] ["Failed to read argument: "]
  21143. 1496.57 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  21144. 1496.57 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  21145. 1496.57 s [opt-env-conf-test] ParseErrorMissingOption o ->
  21146. 1496.57 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  21147. 1496.57 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  21148. 1496.57 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  21149. 1496.57 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  21150. 1496.57 s [opt-env-conf-test] ["Failed to read option: "]
  21151. 1496.57 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  21152. 1496.57 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  21153. 1496.57 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  21154. 1496.57 s [opt-env-conf-test] ["Missing env var: "]
  21155. 1496.57 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  21156. 1496.57 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  21157. 1496.57 s [opt-env-conf-test] ["Failed to read env var: "]
  21158. 1496.57 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  21159. 1496.57 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  21160. 1496.57 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  21161. 1496.57 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  21162. 1496.57 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  21163. 1496.57 s [opt-env-conf-test] ["Failed to parse configuration: "]
  21164. 1496.57 s [opt-env-conf-test] : maybe [] renderConfDoc md
  21165. 1496.57 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  21166. 1496.57 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  21167. 1496.57 s [opt-env-conf-test] ["Missing command, available commands:"]
  21168. 1496.57 s [opt-env-conf-test] : availableCommandsLines cs
  21169. 1496.57 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  21170. 1496.57 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  21171. 1496.57 s [opt-env-conf-test] [fore blue "available commands:"]
  21172. 1496.57 s [opt-env-conf-test] ]
  21173. 1496.57 s [opt-env-conf-test] ++ availableCommandsLines cs
  21174. 1496.57 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  21175. 1496.57 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  21176. 1496.57 s [opt-env-conf-test] ["The following settings have been parsed:"]
  21177. 1496.57 s [opt-env-conf-test] ]
  21178. 1496.57 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  21179. 1496.57 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  21180. 1496.57 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  21181. 1496.57 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  21182. 1496.57 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  21183. 1496.57 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  21184. 1496.57 s [opt-env-conf-test] ]
  21185. 1496.57 s [opt-env-conf-test]
  21186. 1496.57 s [opt-env-conf-test]
  21187. 1496.57 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  21188. 1496.57 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  21189. 1496.57 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  21190. 1496.57 s [opt-env-conf-test] renderError ParseError {..} =
  21191. 1496.57 s [opt-env-conf-test] concat
  21192. 1496.57 s [opt-env-conf-test] [ case parseErrorMessage of
  21193. 1496.57 s [opt-env-conf-test] ParseErrorEmpty ->
  21194. 1496.57 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  21195. 1496.57 s [opt-env-conf-test] - ParseErrorEmptySetting ->
  21196. 1496.57 s [opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
  21197. 1496.57 s [opt-env-conf-test] ParseErrorNoReaders ->
  21198. 1496.57 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  21199. 1496.57 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  21200. 1496.57 s [opt-env-conf-test] ]
  21201. 1496.57 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  21202. 1496.57 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  21203. 1496.57 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  21204. 1496.57 s [opt-env-conf-test] [ "Missing argument: "
  21205. 1496.57 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  21206. 1496.57 s [opt-env-conf-test] ]
  21207. 1496.57 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  21208. 1496.57 s [opt-env-conf-test] ["Failed to read argument: "]
  21209. 1496.57 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  21210. 1496.57 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  21211. 1496.57 s [opt-env-conf-test] ParseErrorMissingOption o ->
  21212. 1496.58 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  21213. 1496.58 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  21214. 1496.58 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  21215. 1496.58 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  21216. 1496.58 s [opt-env-conf-test] ["Failed to read option: "]
  21217. 1496.58 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  21218. 1496.58 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  21219. 1496.58 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  21220. 1496.58 s [opt-env-conf-test] ["Missing env var: "]
  21221. 1496.58 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  21222. 1496.58 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  21223. 1496.58 s [opt-env-conf-test] ["Failed to read env var: "]
  21224. 1496.58 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  21225. 1496.58 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  21226. 1496.58 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  21227. 1496.58 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  21228. 1496.58 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  21229. 1496.58 s [opt-env-conf-test] ["Failed to parse configuration: "]
  21230. 1496.58 s [opt-env-conf-test] : maybe [] renderConfDoc md
  21231. 1496.58 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  21232. 1496.58 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  21233. 1496.58 s [opt-env-conf-test] ["Missing command, available commands:"]
  21234. 1496.58 s [opt-env-conf-test] : availableCommandsLines cs
  21235. 1496.58 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  21236. 1496.58 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  21237. 1496.58 s [opt-env-conf-test] [fore blue "available commands:"]
  21238. 1496.58 s [opt-env-conf-test] ]
  21239. 1496.58 s [opt-env-conf-test] ++ availableCommandsLines cs
  21240. 1496.58 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  21241. 1496.58 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  21242. 1496.58 s [opt-env-conf-test] ["The following settings have been parsed:"]
  21243. 1496.58 s [opt-env-conf-test] ]
  21244. 1496.58 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  21245. 1496.58 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  21246. 1496.58 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  21247. 1496.58 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  21248. 1496.58 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  21249. 1496.58 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  21250. 1496.58 s [opt-env-conf-test] ]
  21251. 1496.58 s [opt-env-conf-test]
  21252. 1496.58 s [opt-env-conf-test]
  21253. 1496.58 s [opt-env-conf-test] ListLit at src/OptEnvConf/Args.hs:63:7-8
  21254. 1496.58 s [opt-env-conf-test] @@ -60,14 +60,13 @@
  21255. 1496.58 s [opt-env-conf-test] instance Validity Arg where
  21256. 1496.58 s [opt-env-conf-test] validate arg =
  21257. 1496.58 s [opt-env-conf-test] mconcat
  21258. 1496.58 s [opt-env-conf-test] - [ genericValidate arg,
  21259. 1496.58 s [opt-env-conf-test] case arg of
  21260. 1496.58 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  21261. 1496.58 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  21262. 1496.58 s [opt-env-conf-test] ('-' : _) -> False
  21263. 1496.58 s [opt-env-conf-test] _ -> True
  21264. 1496.58 s [opt-env-conf-test] _ -> valid
  21265. 1496.58 s [opt-env-conf-test] ]
  21266. 1496.58 s [opt-env-conf-test]
  21267. 1496.58 s [opt-env-conf-test] instance IsString Arg where
  21268. 1496.58 s [opt-env-conf-test] fromString = parseArg
  21269. 1496.58 s [opt-env-conf-test]
  21270. 1496.58 s [opt-env-conf-test] ListLit at src/OptEnvConf/Args.hs:63:7-8
  21271. 1496.58 s [opt-env-conf-test] @@ -60,14 +60,7 @@
  21272. 1496.58 s [opt-env-conf-test] instance Validity Arg where
  21273. 1496.58 s [opt-env-conf-test] validate arg =
  21274. 1496.58 s [opt-env-conf-test] mconcat
  21275. 1496.58 s [opt-env-conf-test] - [ genericValidate arg,
  21276. 1496.58 s [opt-env-conf-test] - case arg of
  21277. 1496.58 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  21278. 1496.58 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  21279. 1496.58 s [opt-env-conf-test] - ('-' : _) -> False
  21280. 1496.58 s [opt-env-conf-test] - _ -> True
  21281. 1496.58 s [opt-env-conf-test] - _ -> valid
  21282. 1496.58 s [opt-env-conf-test] ]
  21283. 1496.58 s [opt-env-conf-test]
  21284. 1496.58 s [opt-env-conf-test] instance IsString Arg where
  21285. 1496.58 s [opt-env-conf-test] fromString = parseArg
  21286. 1496.59 s [opt-env-conf-test]
  21287. 1496.59 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:64:9-21
  21288. 1496.59 s [opt-env-conf-test] @@ -61,12 +61,9 @@
  21289. 1496.59 s [opt-env-conf-test] validate arg =
  21290. 1496.59 s [opt-env-conf-test] mconcat
  21291. 1496.59 s [opt-env-conf-test] [ genericValidate arg,
  21292. 1496.59 s [opt-env-conf-test] case arg of
  21293. 1496.59 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  21294. 1496.59 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  21295. 1496.59 s [opt-env-conf-test] - ('-' : _) -> False
  21296. 1496.59 s [opt-env-conf-test] - _ -> True
  21297. 1496.59 s [opt-env-conf-test] _ -> valid
  21298. 1496.59 s [opt-env-conf-test] ]
  21299. 1496.59 s [opt-env-conf-test]
  21300. 1496.59 s [opt-env-conf-test] instance IsString Arg where
  21301. 1496.59 s [opt-env-conf-test]
  21302. 1496.59 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:64:9-21
  21303. 1496.59 s [opt-env-conf-test] @@ -61,12 +61,11 @@
  21304. 1496.59 s [opt-env-conf-test] validate arg =
  21305. 1496.59 s [opt-env-conf-test] mconcat
  21306. 1496.59 s [opt-env-conf-test] [ genericValidate arg,
  21307. 1496.59 s [opt-env-conf-test] case arg of
  21308. 1496.59 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  21309. 1496.59 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  21310. 1496.59 s [opt-env-conf-test] ('-' : _) -> False
  21311. 1496.59 s [opt-env-conf-test] _ -> True
  21312. 1496.59 s [opt-env-conf-test] _ -> valid
  21313. 1496.59 s [opt-env-conf-test] ]
  21314. 1496.59 s [opt-env-conf-test]
  21315. 1496.59 s [opt-env-conf-test] instance IsString Arg where
  21316. 1496.59 s [opt-env-conf-test]
  21317. 1496.59 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:66:64-22
  21318. 1496.59 s [opt-env-conf-test] @@ -63,9 +63,8 @@
  21319. 1496.59 s [opt-env-conf-test] [ genericValidate arg,
  21320. 1496.59 s [opt-env-conf-test] case arg of
  21321. 1496.59 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  21322. 1496.59 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  21323. 1496.59 s [opt-env-conf-test] - ('-' : _) -> False
  21324. 1496.59 s [opt-env-conf-test] _ -> True
  21325. 1496.59 s [opt-env-conf-test] _ -> valid
  21326. 1496.59 s [opt-env-conf-test] ]
  21327. 1496.59 s [opt-env-conf-test]
  21328. 1496.59 s [opt-env-conf-test]
  21329. 1496.59 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:66:64-22
  21330. 1496.59 s [opt-env-conf-test] @@ -63,9 +63,9 @@
  21331. 1496.59 s [opt-env-conf-test] [ genericValidate arg,
  21332. 1496.59 s [opt-env-conf-test] case arg of
  21333. 1496.59 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  21334. 1496.59 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  21335. 1496.59 s [opt-env-conf-test] + ArgPlain s -> declare "does not start with a dash" $ True-> declare "does not start with a dash" $ case s of
  21336. 1496.59 s [opt-env-conf-test] ('-' : _) -> False
  21337. 1496.59 s [opt-env-conf-test] _ -> True
  21338. 1496.59 s [opt-env-conf-test] _ -> valid
  21339. 1496.59 s [opt-env-conf-test] ]
  21340. 1496.59 s [opt-env-conf-test]
  21341. 1496.59 s [opt-env-conf-test]
  21342. 1496.59 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:65:103-111
  21343. 1496.60 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  21344. 1496.60 s [opt-env-conf-test] mconcat
  21345. 1496.60 s [opt-env-conf-test] [ genericValidate arg,
  21346. 1496.60 s [opt-env-conf-test] case arg of
  21347. 1496.60 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  21348. 1496.60 s [opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ True
  21349. 1496.60 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  21350. 1496.60 s [opt-env-conf-test] ('-' : _) -> False
  21351. 1496.60 s [opt-env-conf-test] _ -> True
  21352. 1496.60 s [opt-env-conf-test]
  21353. 1496.60 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:399:18-32
  21354. 1496.60 s [opt-env-conf-test] @@ -396,10 +396,9 @@
  21355. 1496.60 s [opt-env-conf-test] instance Validity Dashed
  21356. 1496.60 s [opt-env-conf-test]
  21357. 1496.60 s [opt-env-conf-test] instance IsString Dashed where
  21358. 1496.60 s [opt-env-conf-test] fromString s = case fromString s of
  21359. 1496.60 s [opt-env-conf-test] ArgDashed True cs -> DashedLong cs
  21360. 1496.60 s [opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
  21361. 1496.60 s [opt-env-conf-test] - _ -> error "Invalid dashed"
  21362. 1496.60 s [opt-env-conf-test]
  21363. 1496.60 s [opt-env-conf-test] renderDashed :: Dashed -> String
  21364. 1496.60 s [opt-env-conf-test] renderDashed = \case
  21365. 1496.60 s [opt-env-conf-test]
  21366. 1496.60 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:248:77-83
  21367. 1496.60 s [opt-env-conf-test] @@ -245,7 +245,7 @@
  21368. 1496.60 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  21369. 1496.60 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  21370. 1496.60 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  21371. 1496.60 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  21372. 1496.60 s [opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed False cs') : Dead : rest')
  21373. 1496.60 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  21374. 1496.60 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  21375. 1496.60 s [opt-env-conf-test]
  21376. 1496.60 s [opt-env-conf-test]
  21377. 1496.60 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:152:36-28
  21378. 1496.60 s [opt-env-conf-test] @@ -149,34 +149,33 @@
  21379. 1496.60 s [opt-env-conf-test] -- A single dash is always an argument
  21380. 1496.60 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  21381. 1496.60 s [opt-env-conf-test] -- Bare double-dash
  21382. 1496.60 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  21383. 1496.60 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  21384. 1496.60 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  21385. 1496.60 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  21386. 1496.60 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  21387. 1496.60 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  21388. 1496.60 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  21389. 1496.60 s [opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
  21390. 1496.60 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  21391. 1496.60 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  21392. 1496.60 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  21393. 1496.60 s [opt-env-conf-test] -- pop the args as they come.
  21394. 1496.60 s [opt-env-conf-test] _ ->
  21395. 1496.60 s [opt-env-conf-test] let go = \case
  21396. 1496.60 s [opt-env-conf-test] [] -> Nothing
  21397. 1496.60 s [opt-env-conf-test] (Dead : rest) -> go rest
  21398. 1496.60 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  21399. 1496.60 s [opt-env-conf-test] in case go afters of
  21400. 1496.61 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  21401. 1496.61 s [opt-env-conf-test] Just (firstLive, rest) ->
  21402. 1496.61 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  21403. 1496.61 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  21404. 1496.61 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  21405. 1496.61 s [opt-env-conf-test] -- arguments.
  21406. 1496.61 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  21407. 1496.61 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  21408. 1496.61 s [opt-env-conf-test] )
  21409. 1496.61 s [opt-env-conf-test] ]
  21410. 1496.61 s [opt-env-conf-test] ArgDashed {} ->
  21411. 1496.61 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  21412. 1496.61 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  21413. 1496.61 s [opt-env-conf-test]
  21414. 1496.61 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:169:23-28
  21415. 1496.61 s [opt-env-conf-test] @@ -166,17 +166,16 @@
  21416. 1496.61 s [opt-env-conf-test] [] -> Nothing
  21417. 1496.61 s [opt-env-conf-test] (Dead : rest) -> go rest
  21418. 1496.61 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  21419. 1496.61 s [opt-env-conf-test] in case go afters of
  21420. 1496.61 s [opt-env-conf-test] - Nothing -> [(Nothing, as)]
  21421. 1496.61 s [opt-env-conf-test] Just (firstLive, rest) ->
  21422. 1496.61 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  21423. 1496.61 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  21424. 1496.61 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  21425. 1496.61 s [opt-env-conf-test] -- arguments.
  21426. 1496.61 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  21427. 1496.61 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  21428. 1496.61 s [opt-env-conf-test] )
  21429. 1496.61 s [opt-env-conf-test] ]
  21430. 1496.61 s [opt-env-conf-test] ArgDashed {} ->
  21431. 1496.61 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  21432. 1496.61 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  21433. 1496.61 s [opt-env-conf-test]
  21434. 1496.61 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:339:40-46
  21435. 1496.61 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  21436. 1496.61 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  21437. 1496.61 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  21438. 1496.61 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  21439. 1496.61 s [opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
  21440. 1496.61 s [opt-env-conf-test] + in Just $ Live (ArgDashed False cs') : rest'
  21441. 1496.61 s [opt-env-conf-test] _ -> do
  21442. 1496.61 s [opt-env-conf-test] os <- go rest
  21443. 1496.61 s [opt-env-conf-test] pure $ Live o : os
  21444. 1496.61 s [opt-env-conf-test]
  21445. 1496.61 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:365:34-43
  21446. 1496.61 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  21447. 1496.61 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  21448. 1496.61 s [opt-env-conf-test] go (c :| rest) =
  21449. 1496.61 s [opt-env-conf-test] if c `elem` cs
  21450. 1496.61 s [opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  21451. 1496.61 s [opt-env-conf-test] + then Just $ (\ne -> (ne, False)) <$> NE.nonEmpty rest
  21452. 1496.61 s [opt-env-conf-test] else do
  21453. 1496.61 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  21454. 1496.61 s [opt-env-conf-test] new <- go rest'
  21455. 1496.61 s [opt-env-conf-test]
  21456. 1496.61 s [opt-env-conf-test] Negate at src/OptEnvConf/Completer.hs:117:31-43
  21457. 1496.61 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  21458. 1496.61 s [opt-env-conf-test] Just (Rel rf) -> do
  21459. 1496.61 s [opt-env-conf-test] let dir = parent rf
  21460. 1496.61 s [opt-env-conf-test] let ad = baseDir </> dir
  21461. 1496.61 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21462. 1496.61 s [opt-env-conf-test] + let filterHidden = if not hiddenRel rf then id else filter (not . hiddenRel)
  21463. 1496.61 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  21464. 1496.61 s [opt-env-conf-test] pure
  21465. 1496.61 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  21466. 1496.61 s [opt-env-conf-test]
  21467. 1496.61 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:117:31-43
  21468. 1496.61 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  21469. 1496.61 s [opt-env-conf-test] Just (Rel rf) -> do
  21470. 1496.61 s [opt-env-conf-test] let dir = parent rf
  21471. 1496.61 s [opt-env-conf-test] let ad = baseDir </> dir
  21472. 1496.62 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21473. 1496.62 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  21474. 1496.62 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  21475. 1496.62 s [opt-env-conf-test] pure
  21476. 1496.62 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  21477. 1496.62 s [opt-env-conf-test]
  21478. 1496.62 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:117:31-43
  21479. 1496.62 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  21480. 1496.62 s [opt-env-conf-test] Just (Rel rf) -> do
  21481. 1496.62 s [opt-env-conf-test] let dir = parent rf
  21482. 1496.62 s [opt-env-conf-test] let ad = baseDir </> dir
  21483. 1496.62 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21484. 1496.62 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  21485. 1496.62 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  21486. 1496.62 s [opt-env-conf-test] pure
  21487. 1496.62 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  21488. 1496.62 s [opt-env-conf-test]
  21489. 1496.62 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
  21490. 1496.62 s [opt-env-conf-test] @@ -168,24 +168,19 @@
  21491. 1496.62 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21492. 1496.62 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  21493. 1496.62 s [opt-env-conf-test]
  21494. 1496.62 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  21495. 1496.62 s [opt-env-conf-test] Nothing -> pure []
  21496. 1496.62 s [opt-env-conf-test] - Just (Abs af) -> do
  21497. 1496.62 s [opt-env-conf-test] - let dir = parent af
  21498. 1496.62 s [opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  21499. 1496.62 s [opt-env-conf-test] - (ds, _) <- listDirForgiving dir
  21500. 1496.62 s [opt-env-conf-test] - pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  21501. 1496.62 s [opt-env-conf-test] Just (Rel rf) ->
  21502. 1496.62 s [opt-env-conf-test] if fp == "."
  21503. 1496.62 s [opt-env-conf-test] then do
  21504. 1496.62 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  21505. 1496.62 s [opt-env-conf-test] pure (map fromRelDir ds)
  21506. 1496.62 s [opt-env-conf-test] else do
  21507. 1496.62 s [opt-env-conf-test] let dir = parent rf
  21508. 1496.62 s [opt-env-conf-test] let ad = baseDir </> dir
  21509. 1496.62 s [opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21510. 1496.62 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21511. 1496.62 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  21512. 1496.62 s [opt-env-conf-test]
  21513. 1496.62 s [opt-env-conf-test] pure $
  21514. 1496.62 s [opt-env-conf-test] concat
  21515. 1496.62 s [opt-env-conf-test]
  21516. 1496.62 s [opt-env-conf-test] Negate at src/OptEnvConf/Completer.hs:186:35-47
  21517. 1496.62 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  21518. 1496.62 s [opt-env-conf-test] else do
  21519. 1496.62 s [opt-env-conf-test] let dir = parent rf
  21520. 1496.62 s [opt-env-conf-test] let ad = baseDir </> dir
  21521. 1496.62 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21522. 1496.63 s [opt-env-conf-test] + let filterHidden = if not hiddenRel rf then id else filter (not . hiddenRel)
  21523. 1496.63 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21524. 1496.63 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  21525. 1496.63 s [opt-env-conf-test]
  21526. 1496.63 s [opt-env-conf-test]
  21527. 1496.63 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:186:35-47
  21528. 1496.63 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  21529. 1496.63 s [opt-env-conf-test] else do
  21530. 1496.63 s [opt-env-conf-test] let dir = parent rf
  21531. 1496.63 s [opt-env-conf-test] let ad = baseDir </> dir
  21532. 1496.63 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21533. 1496.63 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  21534. 1496.63 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21535. 1496.63 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  21536. 1496.63 s [opt-env-conf-test]
  21537. 1496.63 s [opt-env-conf-test]
  21538. 1496.63 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:186:35-47
  21539. 1496.63 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  21540. 1496.63 s [opt-env-conf-test] else do
  21541. 1496.63 s [opt-env-conf-test] let dir = parent rf
  21542. 1496.63 s [opt-env-conf-test] let ad = baseDir </> dir
  21543. 1496.63 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21544. 1496.63 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  21545. 1496.63 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21546. 1496.63 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  21547. 1496.63 s [opt-env-conf-test]
  21548. 1496.63 s [opt-env-conf-test]
  21549. 1496.63 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:179:12-21
  21550. 1496.63 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  21551. 1496.63 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  21552. 1496.63 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  21553. 1496.63 s [opt-env-conf-test] Just (Rel rf) ->
  21554. 1496.63 s [opt-env-conf-test] - if fp == "."
  21555. 1496.63 s [opt-env-conf-test] + if False
  21556. 1496.63 s [opt-env-conf-test] then do
  21557. 1496.63 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  21558. 1496.63 s [opt-env-conf-test] pure (map fromRelDir ds)
  21559. 1496.63 s [opt-env-conf-test]
  21560. 1496.63 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
  21561. 1496.63 s [opt-env-conf-test] @@ -154,19 +154,16 @@
  21562. 1496.63 s [opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
  21563. 1496.63 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  21564. 1496.63 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  21565. 1496.63 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  21566. 1496.63 s [opt-env-conf-test] Nothing -> case fp of
  21567. 1496.63 s [opt-env-conf-test] [] -> do
  21568. 1496.63 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  21569. 1496.63 s [opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
  21570. 1496.63 s [opt-env-conf-test] _ -> pure []
  21571. 1496.63 s [opt-env-conf-test] - Just (Abs ad) -> do
  21572. 1496.63 s [opt-env-conf-test] - (ds, _) <- listDirForgiving ad
  21573. 1496.63 s [opt-env-conf-test] - pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  21574. 1496.63 s [opt-env-conf-test] Just (Rel rd) -> do
  21575. 1496.63 s [opt-env-conf-test] let ad = baseDir </> rd
  21576. 1496.63 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21577. 1496.63 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  21578. 1496.63 s [opt-env-conf-test]
  21579. 1496.63 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  21580. 1496.63 s [opt-env-conf-test] Nothing -> pure []
  21581. 1496.63 s [opt-env-conf-test]
  21582. 1496.63 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
  21583. 1496.63 s [opt-env-conf-test] @@ -155,11 +155,10 @@
  21584. 1496.63 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  21585. 1496.64 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  21586. 1496.64 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  21587. 1496.64 s [opt-env-conf-test] Nothing -> case fp of
  21588. 1496.64 s [opt-env-conf-test] [] -> do
  21589. 1496.64 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  21590. 1496.64 s [opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
  21591. 1496.64 s [opt-env-conf-test] - _ -> pure []
  21592. 1496.64 s [opt-env-conf-test] Just (Abs ad) -> do
  21593. 1496.64 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21594. 1496.64 s [opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  21595. 1496.64 s [opt-env-conf-test]
  21596. 1496.64 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:69:28-91
  21597. 1496.64 s [opt-env-conf-test] @@ -66,10 +66,9 @@
  21598. 1496.64 s [opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  21599. 1496.64 s [opt-env-conf-test]
  21600. 1496.64 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  21601. 1496.64 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  21602. 1496.64 s [opt-env-conf-test] [] -> []
  21603. 1496.64 s [opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  21604. 1496.64 s [opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  21605. 1496.64 s [opt-env-conf-test]
  21606. 1496.64 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  21607. 1496.64 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  21608. 1496.64 s [opt-env-conf-test]
  21609. 1496.64 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:69:28-91
  21610. 1496.64 s [opt-env-conf-test] @@ -66,10 +66,9 @@
  21611. 1496.64 s [opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  21612. 1496.64 s [opt-env-conf-test]
  21613. 1496.64 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  21614. 1496.64 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  21615. 1496.64 s [opt-env-conf-test] - [] -> []
  21616. 1496.64 s [opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  21617. 1496.64 s [opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  21618. 1496.64 s [opt-env-conf-test]
  21619. 1496.64 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  21620. 1496.64 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  21621. 1496.64 s [opt-env-conf-test]
  21622. 1496.64 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:87:27-50
  21623. 1496.64 s [opt-env-conf-test] @@ -84,9 +84,8 @@
  21624. 1496.64 s [opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
  21625. 1496.64 s [opt-env-conf-test]
  21626. 1496.64 s [opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
  21627. 1496.64 s [opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
  21628. 1496.64 s [opt-env-conf-test] - [] -> []
  21629. 1496.64 s [opt-env-conf-test] cs -> intersperse ", " (map capabilityChunk cs)
  21630. 1496.65 s [opt-env-conf-test]
  21631. 1496.65 s [opt-env-conf-test] capabilityChunk :: Capability -> Chunk
  21632. 1496.65 s [opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
  21633. 1496.65 s [opt-env-conf-test]
  21634. 1496.65 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
  21635. 1496.65 s [opt-env-conf-test] @@ -85,10 +85,9 @@
  21636. 1496.65 s [opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  21637. 1496.65 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  21638. 1496.65 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  21639. 1496.65 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  21640. 1496.65 s [opt-env-conf-test] (Nothing, _) -> o2
  21641. 1496.65 s [opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = Just ot1}
  21642. 1496.65 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  21643. 1496.65 s [opt-env-conf-test]
  21644. 1496.65 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  21645. 1496.65 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  21646. 1496.65 s [opt-env-conf-test]
  21647. 1496.65 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
  21648. 1496.65 s [opt-env-conf-test] @@ -85,10 +85,9 @@
  21649. 1496.65 s [opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  21650. 1496.65 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  21651. 1496.65 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  21652. 1496.65 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  21653. 1496.65 s [opt-env-conf-test] - (Nothing, _) -> o2
  21654. 1496.65 s [opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
  21655. 1496.65 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  21656. 1496.65 s [opt-env-conf-test]
  21657. 1496.65 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  21658. 1496.65 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  21659. 1496.65 s [opt-env-conf-test]
  21660. 1496.65 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
  21661. 1496.65 s [opt-env-conf-test] @@ -91,8 +91,7 @@
  21662. 1496.65 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  21663. 1496.65 s [opt-env-conf-test]
  21664. 1496.65 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  21665. 1496.65 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  21666. 1496.65 s [opt-env-conf-test] - (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
  21667. 1496.65 s [opt-env-conf-test] _ -> OptionTypeOneOf [ot1, ot2]
  21668. 1496.65 s [opt-env-conf-test] goCommand :: Command a -> Map Text Option
  21669. 1496.65 s [opt-env-conf-test] goCommand = go . commandParser
  21670. 1496.65 s [opt-env-conf-test]
  21671. 1496.65 s [opt-env-conf-test] ListLit at src/OptEnvConf/Nix.hs:96:28-38
  21672. 1496.65 s [opt-env-conf-test] @@ -93,6 +93,5 @@
  21673. 1496.65 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  21674. 1496.65 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  21675. 1496.65 s [opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
  21676. 1496.65 s [opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
  21677. 1496.65 s [opt-env-conf-test] goCommand :: Command a -> Map Text Option
  21678. 1496.65 s [opt-env-conf-test] goCommand = go . commandParser
  21679. 1496.65 s [opt-env-conf-test]
  21680. 1496.65 s [opt-env-conf-test] ListLit at src/OptEnvConf/Lint.hs:340:13-14
  21681. 1496.65 s [opt-env-conf-test] @@ -337,7 +337,6 @@
  21682. 1496.65 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21683. 1496.66 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21684. 1496.66 s [opt-env-conf-test] and
  21685. 1496.66 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21686. 1496.66 s [opt-env-conf-test] null settingEnvVars,
  21687. 1496.66 s [opt-env-conf-test] - null settingConfigVals
  21688. 1496.66 s [opt-env-conf-test] ]
  21689. 1496.66 s [opt-env-conf-test]
  21690. 1496.66 s [opt-env-conf-test] ListLit at src/OptEnvConf/Lint.hs:340:13-14
  21691. 1496.66 s [opt-env-conf-test] @@ -337,7 +337,6 @@
  21692. 1496.66 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21693. 1496.66 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21694. 1496.66 s [opt-env-conf-test] and
  21695. 1496.66 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21696. 1496.66 s [opt-env-conf-test] null settingEnvVars,
  21697. 1496.66 s [opt-env-conf-test] null settingConfigVals
  21698. 1496.66 s [opt-env-conf-test] ]
  21699. 1496.66 s [opt-env-conf-test]
  21700. 1496.66 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:342:15-37
  21701. 1496.66 s [opt-env-conf-test] @@ -339,5 +339,5 @@
  21702. 1496.66 s [opt-env-conf-test] and
  21703. 1496.66 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21704. 1496.66 s [opt-env-conf-test] null settingEnvVars,
  21705. 1496.66 s [opt-env-conf-test] - null settingConfigVals
  21706. 1496.66 s [opt-env-conf-test] + True
  21707. 1496.66 s [opt-env-conf-test] ]
  21708. 1496.66 s [opt-env-conf-test]
  21709. 1496.66 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:341:15-34
  21710. 1496.66 s [opt-env-conf-test] @@ -338,6 +338,6 @@
  21711. 1496.66 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21712. 1496.66 s [opt-env-conf-test] and
  21713. 1496.66 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21714. 1496.66 s [opt-env-conf-test] - null settingEnvVars,
  21715. 1496.66 s [opt-env-conf-test] + True,
  21716. 1496.66 s [opt-env-conf-test] null settingConfigVals
  21717. 1496.66 s [opt-env-conf-test] ]
  21718. 1496.66 s [opt-env-conf-test]
  21719. 1496.66 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:15-82
  21720. 1496.66 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21721. 1496.66 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21722. 1496.66 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21723. 1496.66 s [opt-env-conf-test] and
  21724. 1496.66 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21725. 1496.66 s [opt-env-conf-test] + [ True,
  21726. 1496.66 s [opt-env-conf-test] null settingEnvVars,
  21727. 1496.66 s [opt-env-conf-test] null settingConfigVals
  21728. 1496.66 s [opt-env-conf-test] ]
  21729. 1496.66 s [opt-env-conf-test]
  21730. 1496.66 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-82
  21731. 1496.66 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21732. 1496.66 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21733. 1496.66 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21734. 1496.66 s [opt-env-conf-test] and
  21735. 1496.66 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21736. 1496.66 s [opt-env-conf-test] + [ settingTryArgument || True,
  21737. 1496.66 s [opt-env-conf-test] null settingEnvVars,
  21738. 1496.66 s [opt-env-conf-test] null settingConfigVals
  21739. 1496.66 s [opt-env-conf-test] ]
  21740. 1496.66 s [opt-env-conf-test]
  21741. 1496.66 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:57-82
  21742. 1496.66 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21743. 1496.66 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21744. 1496.66 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21745. 1496.66 s [opt-env-conf-test] and
  21746. 1496.66 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21747. 1496.66 s [opt-env-conf-test] + [ settingTryArgument || settingTryOption || True,
  21748. 1496.66 s [opt-env-conf-test] null settingEnvVars,
  21749. 1496.66 s [opt-env-conf-test] null settingConfigVals
  21750. 1496.66 s [opt-env-conf-test] ]
  21751. 1496.66 s [opt-env-conf-test]
  21752. 1496.66 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:340:37-53
  21753. 1496.66 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21754. 1496.66 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21755. 1496.66 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21756. 1496.66 s [opt-env-conf-test] and
  21757. 1496.66 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21758. 1496.67 s [opt-env-conf-test] + [ settingTryArgument || not settingTryOption || isJust settingSwitchValue,
  21759. 1496.67 s [opt-env-conf-test] null settingEnvVars,
  21760. 1496.67 s [opt-env-conf-test] null settingConfigVals
  21761. 1496.67 s [opt-env-conf-test] ]
  21762. 1496.67 s [opt-env-conf-test]
  21763. 1496.67 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-53
  21764. 1496.67 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21765. 1496.67 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21766. 1496.67 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21767. 1496.67 s [opt-env-conf-test] and
  21768. 1496.67 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21769. 1496.67 s [opt-env-conf-test] + [ settingTryArgument || False || isJust settingSwitchValue,
  21770. 1496.67 s [opt-env-conf-test] null settingEnvVars,
  21771. 1496.67 s [opt-env-conf-test] null settingConfigVals
  21772. 1496.67 s [opt-env-conf-test] ]
  21773. 1496.67 s [opt-env-conf-test]
  21774. 1496.67 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-53
  21775. 1496.67 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21776. 1496.67 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21777. 1496.67 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21778. 1496.67 s [opt-env-conf-test] and
  21779. 1496.67 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21780. 1496.67 s [opt-env-conf-test] + [ settingTryArgument || True || isJust settingSwitchValue,
  21781. 1496.67 s [opt-env-conf-test] null settingEnvVars,
  21782. 1496.67 s [opt-env-conf-test] null settingConfigVals
  21783. 1496.67 s [opt-env-conf-test] ]
  21784. 1496.67 s [opt-env-conf-test]
  21785. 1496.67 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:15-33
  21786. 1496.67 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21787. 1496.67 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21788. 1496.67 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21789. 1496.67 s [opt-env-conf-test] and
  21790. 1496.67 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21791. 1496.67 s [opt-env-conf-test] + [ True || settingTryOption || isJust settingSwitchValue,
  21792. 1496.67 s [opt-env-conf-test] null settingEnvVars,
  21793. 1496.67 s [opt-env-conf-test] null settingConfigVals
  21794. 1496.67 s [opt-env-conf-test] ]
  21795. 1496.67 s [opt-env-conf-test]
  21796. 1496.67 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:16-24
  21797. 1496.67 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21798. 1496.67 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21799. 1496.67 s [opt-env-conf-test] c1 <- go p1
  21800. 1496.67 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21801. 1496.67 s [opt-env-conf-test] - pure $ c1 || c2
  21802. 1496.67 s [opt-env-conf-test] + pure $ not c1 || c2
  21803. 1496.67 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21804. 1496.67 s [opt-env-conf-test] case settingHelp of
  21805. 1496.67 s [opt-env-conf-test] Nothing ->
  21806. 1496.67 s [opt-env-conf-test]
  21807. 1496.67 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-24
  21808. 1496.67 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21809. 1496.67 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21810. 1496.67 s [opt-env-conf-test] c1 <- go p1
  21811. 1496.67 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21812. 1496.67 s [opt-env-conf-test] - pure $ c1 || c2
  21813. 1496.67 s [opt-env-conf-test] + pure $ False
  21814. 1496.67 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21815. 1496.67 s [opt-env-conf-test] case settingHelp of
  21816. 1496.67 s [opt-env-conf-test] Nothing ->
  21817. 1496.67 s [opt-env-conf-test]
  21818. 1496.67 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-24
  21819. 1496.67 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21820. 1496.67 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21821. 1496.67 s [opt-env-conf-test] c1 <- go p1
  21822. 1496.67 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21823. 1496.67 s [opt-env-conf-test] - pure $ c1 || c2
  21824. 1496.67 s [opt-env-conf-test] + pure $ True
  21825. 1496.67 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21826. 1496.67 s [opt-env-conf-test] case settingHelp of
  21827. 1496.67 s [opt-env-conf-test] Nothing ->
  21828. 1496.67 s [opt-env-conf-test]
  21829. 1496.67 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:22-24
  21830. 1496.67 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21831. 1496.67 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21832. 1496.67 s [opt-env-conf-test] c1 <- go p1
  21833. 1496.67 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21834. 1496.67 s [opt-env-conf-test] - pure $ c1 || c2
  21835. 1496.67 s [opt-env-conf-test] + pure $ c1 || not c2
  21836. 1496.67 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21837. 1496.67 s [opt-env-conf-test] case settingHelp of
  21838. 1496.67 s [opt-env-conf-test] Nothing ->
  21839. 1496.67 s [opt-env-conf-test]
  21840. 1496.67 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:22-24
  21841. 1496.67 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21842. 1496.67 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21843. 1496.67 s [opt-env-conf-test] c1 <- go p1
  21844. 1496.67 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21845. 1496.67 s [opt-env-conf-test] - pure $ c1 || c2
  21846. 1496.67 s [opt-env-conf-test] + pure $ c1 || False
  21847. 1496.67 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21848. 1496.67 s [opt-env-conf-test] case settingHelp of
  21849. 1496.67 s [opt-env-conf-test] Nothing ->
  21850. 1496.67 s [opt-env-conf-test]
  21851. 1496.67 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:22-24
  21852. 1496.67 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21853. 1496.67 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21854. 1496.67 s [opt-env-conf-test] c1 <- go p1
  21855. 1496.67 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21856. 1496.67 s [opt-env-conf-test] - pure $ c1 || c2
  21857. 1496.67 s [opt-env-conf-test] + pure $ c1 || True
  21858. 1496.67 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21859. 1496.67 s [opt-env-conf-test] case settingHelp of
  21860. 1496.67 s [opt-env-conf-test] Nothing ->
  21861. 1496.67 s [opt-env-conf-test]
  21862. 1496.67 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:16-18
  21863. 1496.67 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21864. 1496.67 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21865. 1496.67 s [opt-env-conf-test] c1 <- go p1
  21866. 1496.67 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21867. 1496.68 s [opt-env-conf-test] - pure $ c1 || c2
  21868. 1496.68 s [opt-env-conf-test] + pure $ not c1 || c2
  21869. 1496.68 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21870. 1496.68 s [opt-env-conf-test] case settingHelp of
  21871. 1496.68 s [opt-env-conf-test] Nothing ->
  21872. 1496.68 s [opt-env-conf-test]
  21873. 1496.68 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-18
  21874. 1496.68 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21875. 1496.68 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21876. 1496.68 s [opt-env-conf-test] c1 <- go p1
  21877. 1496.68 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21878. 1496.68 s [opt-env-conf-test] - pure $ c1 || c2
  21879. 1496.68 s [opt-env-conf-test] + pure $ False || c2
  21880. 1496.68 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21881. 1496.68 s [opt-env-conf-test] case settingHelp of
  21882. 1496.68 s [opt-env-conf-test] Nothing ->
  21883. 1496.68 s [opt-env-conf-test]
  21884. 1496.68 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-18
  21885. 1496.68 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21886. 1496.68 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21887. 1496.68 s [opt-env-conf-test] c1 <- go p1
  21888. 1496.68 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21889. 1496.68 s [opt-env-conf-test] - pure $ c1 || c2
  21890. 1496.68 s [opt-env-conf-test] + pure $ True || c2
  21891. 1496.68 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21892. 1496.68 s [opt-env-conf-test] case settingHelp of
  21893. 1496.68 s [opt-env-conf-test] Nothing ->
  21894. 1496.68 s [opt-env-conf-test]
  21895. 1496.68 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:14-24
  21896. 1496.68 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21897. 1496.68 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21898. 1496.68 s [opt-env-conf-test] c1 <- go p1
  21899. 1496.68 s [opt-env-conf-test] c2 <- go p2
  21900. 1496.68 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21901. 1496.68 s [opt-env-conf-test] + pure not (c1 && c2) -- TODO: is this right?
  21902. 1496.68 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21903. 1496.68 s [opt-env-conf-test] ParserMany mLoc p -> do
  21904. 1496.68 s [opt-env-conf-test] c <- go p
  21905. 1496.68 s [opt-env-conf-test]
  21906. 1496.68 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:14-24
  21907. 1496.68 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21908. 1496.68 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21909. 1496.68 s [opt-env-conf-test] c1 <- go p1
  21910. 1496.68 s [opt-env-conf-test] c2 <- go p2
  21911. 1496.68 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21912. 1496.68 s [opt-env-conf-test] + pure False -- TODO: is this right?
  21913. 1496.68 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21914. 1496.68 s [opt-env-conf-test] ParserMany mLoc p -> do
  21915. 1496.68 s [opt-env-conf-test] c <- go p
  21916. 1496.68 s [opt-env-conf-test]
  21917. 1496.68 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:14-24
  21918. 1496.68 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21919. 1496.68 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21920. 1496.68 s [opt-env-conf-test] c1 <- go p1
  21921. 1496.68 s [opt-env-conf-test] c2 <- go p2
  21922. 1496.68 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21923. 1496.68 s [opt-env-conf-test] + pure True -- TODO: is this right?
  21924. 1496.68 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21925. 1496.68 s [opt-env-conf-test] ParserMany mLoc p -> do
  21926. 1496.68 s [opt-env-conf-test] c <- go p
  21927. 1496.68 s [opt-env-conf-test]
  21928. 1496.68 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:15-23
  21929. 1496.68 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21930. 1496.68 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21931. 1496.68 s [opt-env-conf-test] c1 <- go p1
  21932. 1496.68 s [opt-env-conf-test] c2 <- go p2
  21933. 1496.68 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21934. 1496.68 s [opt-env-conf-test] + pure (not c1 && c2) -- TODO: is this right?
  21935. 1496.68 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21936. 1496.68 s [opt-env-conf-test] ParserMany mLoc p -> do
  21937. 1496.68 s [opt-env-conf-test] c <- go p
  21938. 1496.68 s [opt-env-conf-test]
  21939. 1496.68 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-23
  21940. 1496.68 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21941. 1496.68 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21942. 1496.68 s [opt-env-conf-test] c1 <- go p1
  21943. 1496.68 s [opt-env-conf-test] c2 <- go p2
  21944. 1496.68 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21945. 1496.68 s [opt-env-conf-test] + pure (False) -- TODO: is this right?
  21946. 1496.68 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21947. 1496.68 s [opt-env-conf-test] ParserMany mLoc p -> do
  21948. 1496.68 s [opt-env-conf-test] c <- go p
  21949. 1496.68 s [opt-env-conf-test]
  21950. 1496.68 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-23
  21951. 1496.68 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21952. 1496.68 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21953. 1496.68 s [opt-env-conf-test] c1 <- go p1
  21954. 1496.68 s [opt-env-conf-test] c2 <- go p2
  21955. 1496.68 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21956. 1496.68 s [opt-env-conf-test] + pure (True) -- TODO: is this right?
  21957. 1496.69 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21958. 1496.69 s [opt-env-conf-test] ParserMany mLoc p -> do
  21959. 1496.69 s [opt-env-conf-test] c <- go p
  21960. 1496.69 s [opt-env-conf-test]
  21961. 1496.69 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:21-23
  21962. 1496.69 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21963. 1496.69 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21964. 1496.69 s [opt-env-conf-test] c1 <- go p1
  21965. 1496.69 s [opt-env-conf-test] c2 <- go p2
  21966. 1496.69 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21967. 1496.69 s [opt-env-conf-test] + pure (c1 && not c2) -- TODO: is this right?
  21968. 1496.69 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21969. 1496.69 s [opt-env-conf-test] ParserMany mLoc p -> do
  21970. 1496.69 s [opt-env-conf-test] c <- go p
  21971. 1496.69 s [opt-env-conf-test]
  21972. 1496.69 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:21-23
  21973. 1496.69 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21974. 1496.69 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21975. 1496.69 s [opt-env-conf-test] c1 <- go p1
  21976. 1496.69 s [opt-env-conf-test] c2 <- go p2
  21977. 1496.69 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21978. 1496.69 s [opt-env-conf-test] + pure (c1 && False) -- TODO: is this right?
  21979. 1496.69 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21980. 1496.69 s [opt-env-conf-test] ParserMany mLoc p -> do
  21981. 1496.69 s [opt-env-conf-test] c <- go p
  21982. 1496.69 s [opt-env-conf-test]
  21983. 1496.69 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:21-23
  21984. 1496.69 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21985. 1496.69 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21986. 1496.69 s [opt-env-conf-test] c1 <- go p1
  21987. 1496.69 s [opt-env-conf-test] c2 <- go p2
  21988. 1496.69 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21989. 1496.69 s [opt-env-conf-test] + pure (c1 && True) -- TODO: is this right?
  21990. 1496.69 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21991. 1496.69 s [opt-env-conf-test] ParserMany mLoc p -> do
  21992. 1496.69 s [opt-env-conf-test] c <- go p
  21993. 1496.69 s [opt-env-conf-test]
  21994. 1496.69 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:15-17
  21995. 1496.69 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21996. 1496.69 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21997. 1496.69 s [opt-env-conf-test] c1 <- go p1
  21998. 1496.69 s [opt-env-conf-test] c2 <- go p2
  21999. 1496.69 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  22000. 1496.69 s [opt-env-conf-test] + pure (not c1 && c2) -- TODO: is this right?
  22001. 1496.69 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  22002. 1496.69 s [opt-env-conf-test] ParserMany mLoc p -> do
  22003. 1496.69 s [opt-env-conf-test] c <- go p
  22004. 1496.69 s [opt-env-conf-test]
  22005. 1496.69 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-17
  22006. 1496.69 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  22007. 1496.69 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  22008. 1496.69 s [opt-env-conf-test] c1 <- go p1
  22009. 1496.69 s [opt-env-conf-test] c2 <- go p2
  22010. 1496.69 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  22011. 1496.69 s [opt-env-conf-test] + pure (False && c2) -- TODO: is this right?
  22012. 1496.69 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  22013. 1496.69 s [opt-env-conf-test] ParserMany mLoc p -> do
  22014. 1496.69 s [opt-env-conf-test] c <- go p
  22015. 1496.69 s [opt-env-conf-test]
  22016. 1496.69 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-17
  22017. 1496.69 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  22018. 1496.69 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  22019. 1496.69 s [opt-env-conf-test] c1 <- go p1
  22020. 1496.69 s [opt-env-conf-test] c2 <- go p2
  22021. 1496.69 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  22022. 1496.69 s [opt-env-conf-test] + pure (True && c2) -- TODO: is this right?
  22023. 1496.69 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  22024. 1496.69 s [opt-env-conf-test] ParserMany mLoc p -> do
  22025. 1496.69 s [opt-env-conf-test] c <- go p
  22026. 1496.69 s [opt-env-conf-test]
  22027. 1496.69 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:14-24
  22028. 1496.69 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  22029. 1496.69 s [opt-env-conf-test] ParserAp p1 p2 -> do
  22030. 1496.69 s [opt-env-conf-test] c1 <- go p1
  22031. 1496.69 s [opt-env-conf-test] c2 <- go p2
  22032. 1496.69 s [opt-env-conf-test] - pure (c1 || c2)
  22033. 1496.69 s [opt-env-conf-test] + pure not (c1 || c2)
  22034. 1496.69 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  22035. 1496.69 s [opt-env-conf-test] c1 <- go p1
  22036. 1496.69 s [opt-env-conf-test] c2 <- go p2
  22037. 1496.69 s [opt-env-conf-test]
  22038. 1496.69 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:14-24
  22039. 1496.69 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  22040. 1496.69 s [opt-env-conf-test] ParserAp p1 p2 -> do
  22041. 1496.69 s [opt-env-conf-test] c1 <- go p1
  22042. 1496.69 s [opt-env-conf-test] c2 <- go p2
  22043. 1496.69 s [opt-env-conf-test] - pure (c1 || c2)
  22044. 1496.69 s [opt-env-conf-test] + pure False
  22045. 1496.69 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  22046. 1496.69 s [opt-env-conf-test] c1 <- go p1
  22047. 1496.69 s [opt-env-conf-test] c2 <- go p2
  22048. 1496.69 s [opt-env-conf-test]
  22049. 1496.69 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:14-24
  22050. 1496.69 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  22051. 1496.69 s [opt-env-conf-test] ParserAp p1 p2 -> do
  22052. 1496.69 s [opt-env-conf-test] c1 <- go p1
  22053. 1496.69 s [opt-env-conf-test] c2 <- go p2
  22054. 1496.69 s [opt-env-conf-test] - pure (c1 || c2)
  22055. 1496.69 s [opt-env-conf-test] + pure True
  22056. 1496.69 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  22057. 1496.70 s [opt-env-conf-test] c1 <- go p1
  22058. 1496.70 s [opt-env-conf-test] c2 <- go p2
  22059. 1496.70 s [opt-env-conf-test]
  22060. 1496.70 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:15-23
  22061. 1496.70 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  22062. 1496.70 s [opt-env-conf-test] ParserAp p1 p2 -> do
  22063. 1496.70 s [opt-env-conf-test] c1 <- go p1
  22064. 1496.70 s [opt-env-conf-test] c2 <- go p2
  22065. 1496.70 s [opt-env-conf-test] - pure (c1 || c2)
  22066. 1496.70 s [opt-env-conf-test] + pure (not c1 || c2)
  22067. 1496.70 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  22068. 1496.70 s [opt-env-conf-test] c1 <- go p1
  22069. 1496.70 s [opt-env-conf-test] c2 <- go p2
  22070. 1496.70 s [opt-env-conf-test]
  22071. 1496.70 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-23
  22072. 1496.70 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  22073. 1496.70 s [opt-env-conf-test] ParserAp p1 p2 -> do
  22074. 1496.70 s [opt-env-conf-test] c1 <- go p1
  22075. 1496.70 s [opt-env-conf-test] c2 <- go p2
  22076. 1496.70 s [opt-env-conf-test] - pure (c1 || c2)
  22077. 1496.70 s [opt-env-conf-test] + pure (False)
  22078. 1496.70 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  22079. 1496.70 s [opt-env-conf-test] c1 <- go p1
  22080. 1496.70 s [opt-env-conf-test] c2 <- go p2
  22081. 1496.70 s [opt-env-conf-test]
  22082. 1496.70 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-23
  22083. 1496.70 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  22084. 1496.70 s [opt-env-conf-test] ParserAp p1 p2 -> do
  22085. 1496.70 s [opt-env-conf-test] c1 <- go p1
  22086. 1496.70 s [opt-env-conf-test] c2 <- go p2
  22087. 1496.70 s [opt-env-conf-test] - pure (c1 || c2)
  22088. 1496.70 s [opt-env-conf-test] + pure (True)
  22089. 1496.70 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  22090. 1496.70 s [opt-env-conf-test] c1 <- go p1
  22091. 1496.70 s [opt-env-conf-test] c2 <- go p2
  22092. 1496.70 s [opt-env-conf-test]
  22093. 1496.70 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:21-23
  22094. 1496.70 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  22095. 1496.70 s [opt-env-conf-test] ParserAp p1 p2 -> do
  22096. 1496.70 s [opt-env-conf-test] c1 <- go p1
  22097. 1496.70 s [opt-env-conf-test] c2 <- go p2
  22098. 1496.70 s [opt-env-conf-test] - pure (c1 || c2)
  22099. 1496.70 s [opt-env-conf-test] + pure (c1 || not c2)
  22100. 1496.70 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  22101. 1496.70 s [opt-env-conf-test] c1 <- go p1
  22102. 1496.70 s [opt-env-conf-test] c2 <- go p2
  22103. 1496.70 s [opt-env-conf-test]
  22104. 1496.70 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:21-23
  22105. 1496.70 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  22106. 1496.70 s [opt-env-conf-test] ParserAp p1 p2 -> do
  22107. 1496.70 s [opt-env-conf-test] c1 <- go p1
  22108. 1496.70 s [opt-env-conf-test] c2 <- go p2
  22109. 1496.70 s [opt-env-conf-test] - pure (c1 || c2)
  22110. 1496.70 s [opt-env-conf-test] + pure (c1 || False)
  22111. 1496.70 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  22112. 1496.70 s [opt-env-conf-test] c1 <- go p1
  22113. 1496.70 s [opt-env-conf-test] c2 <- go p2
  22114. 1496.70 s [opt-env-conf-test]
  22115. 1496.70 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:21-23
  22116. 1496.70 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  22117. 1496.70 s [opt-env-conf-test] ParserAp p1 p2 -> do
  22118. 1496.70 s [opt-env-conf-test] c1 <- go p1
  22119. 1496.70 s [opt-env-conf-test] c2 <- go p2
  22120. 1496.70 s [opt-env-conf-test] - pure (c1 || c2)
  22121. 1496.70 s [opt-env-conf-test] + pure (c1 || True)
  22122. 1496.70 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  22123. 1496.70 s [opt-env-conf-test] c1 <- go p1
  22124. 1496.70 s [opt-env-conf-test] c2 <- go p2
  22125. 1496.70 s [opt-env-conf-test]
  22126. 1496.70 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:15-17
  22127. 1496.70 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  22128. 1496.70 s [opt-env-conf-test] ParserAp p1 p2 -> do
  22129. 1496.70 s [opt-env-conf-test] c1 <- go p1
  22130. 1496.70 s [opt-env-conf-test] c2 <- go p2
  22131. 1496.70 s [opt-env-conf-test] - pure (c1 || c2)
  22132. 1496.70 s [opt-env-conf-test] + pure (not c1 || c2)
  22133. 1496.70 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  22134. 1496.70 s [opt-env-conf-test] c1 <- go p1
  22135. 1496.70 s [opt-env-conf-test] c2 <- go p2
  22136. 1496.70 s [opt-env-conf-test]
  22137. 1496.70 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-17
  22138. 1496.70 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  22139. 1496.70 s [opt-env-conf-test] ParserAp p1 p2 -> do
  22140. 1496.70 s [opt-env-conf-test] c1 <- go p1
  22141. 1496.70 s [opt-env-conf-test] c2 <- go p2
  22142. 1496.70 s [opt-env-conf-test] - pure (c1 || c2)
  22143. 1496.70 s [opt-env-conf-test] + pure (False || c2)
  22144. 1496.70 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  22145. 1496.70 s [opt-env-conf-test] c1 <- go p1
  22146. 1496.70 s [opt-env-conf-test] c2 <- go p2
  22147. 1496.70 s [opt-env-conf-test]
  22148. 1496.70 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-17
  22149. 1496.70 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  22150. 1496.70 s [opt-env-conf-test] ParserAp p1 p2 -> do
  22151. 1496.70 s [opt-env-conf-test] c1 <- go p1
  22152. 1496.70 s [opt-env-conf-test] c2 <- go p2
  22153. 1496.70 s [opt-env-conf-test] - pure (c1 || c2)
  22154. 1496.70 s [opt-env-conf-test] + pure (True || c2)
  22155. 1496.70 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  22156. 1496.70 s [opt-env-conf-test] c1 <- go p1
  22157. 1496.70 s [opt-env-conf-test] c2 <- go p2
  22158. 1496.70 s [opt-env-conf-test]
  22159. 1496.70 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
  22160. 1496.70 s [opt-env-conf-test] @@ -239,10 +239,9 @@
  22161. 1496.70 s [opt-env-conf-test]
  22162. 1496.70 s [opt-env-conf-test] instance Applicative Parser where
  22163. 1496.70 s [opt-env-conf-test] pure = ParserPure
  22164. 1496.70 s [opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
  22165. 1496.70 s [opt-env-conf-test] -- Homomorphism law for applicative
  22166. 1496.70 s [opt-env-conf-test] - (ParserPure f, ParserPure a) -> ParserPure (f a)
  22167. 1496.70 s [opt-env-conf-test] _ -> ParserAp p1 p2
  22168. 1496.70 s [opt-env-conf-test]
  22169. 1496.70 s [opt-env-conf-test] instance Selective Parser where
  22170. 1496.70 s [opt-env-conf-test] select = ParserSelect
  22171. 1496.70 s [opt-env-conf-test]
  22172. 1496.70 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  22173. 1496.70 s [opt-env-conf-test] @@ -264,32 +264,31 @@
  22174. 1496.70 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  22175. 1496.70 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  22176. 1496.70 s [opt-env-conf-test] ParserSetting _ _ -> False
  22177. 1496.70 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  22178. 1496.70 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  22179. 1496.70 s [opt-env-conf-test] (True, False) -> p2
  22180. 1496.70 s [opt-env-conf-test] - (False, True) -> p1
  22181. 1496.70 s [opt-env-conf-test] (False, False) ->
  22182. 1496.70 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  22183. 1496.70 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  22184. 1496.71 s [opt-env-conf-test] -- alts to always be right-leaning
  22185. 1496.71 s [opt-env-conf-test] --
  22186. 1496.71 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  22187. 1496.71 s [opt-env-conf-test] -- p
  22188. 1496.71 s [opt-env-conf-test] -- / \
  22189. 1496.71 s [opt-env-conf-test] -- p1 p2
  22190. 1496.71 s [opt-env-conf-test] -- / \
  22191. 1496.71 s [opt-env-conf-test] -- p3 p4
  22192. 1496.71 s [opt-env-conf-test] --
  22193. 1496.71 s [opt-env-conf-test] -- We need to rearrange it to
  22194. 1496.71 s [opt-env-conf-test] -- p
  22195. 1496.71 s [opt-env-conf-test] -- / \
  22196. 1496.71 s [opt-env-conf-test] -- p1 ++ p3 p4
  22197. 1496.71 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  22198. 1496.71 s [opt-env-conf-test] go (go p1' p3') p4'
  22199. 1496.71 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  22200. 1496.71 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  22201. 1496.71 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  22202. 1496.71 s [opt-env-conf-test] in go p1 p2
  22203. 1496.71 s [opt-env-conf-test] many = ParserMany Nothing
  22204. 1496.71 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  22205. 1496.71 s [opt-env-conf-test]
  22206. 1496.71 s [opt-env-conf-test]
  22207. 1496.71 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  22208. 1496.71 s [opt-env-conf-test] @@ -264,32 +264,31 @@
  22209. 1496.71 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  22210. 1496.71 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  22211. 1496.71 s [opt-env-conf-test] ParserSetting _ _ -> False
  22212. 1496.71 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  22213. 1496.71 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  22214. 1496.71 s [opt-env-conf-test] - (True, False) -> p2
  22215. 1496.71 s [opt-env-conf-test] (False, True) -> p1
  22216. 1496.71 s [opt-env-conf-test] (False, False) ->
  22217. 1496.71 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  22218. 1496.71 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  22219. 1496.71 s [opt-env-conf-test] -- alts to always be right-leaning
  22220. 1496.71 s [opt-env-conf-test] --
  22221. 1496.71 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  22222. 1496.71 s [opt-env-conf-test] -- p
  22223. 1496.71 s [opt-env-conf-test] -- / \
  22224. 1496.71 s [opt-env-conf-test] -- p1 p2
  22225. 1496.71 s [opt-env-conf-test] -- / \
  22226. 1496.71 s [opt-env-conf-test] -- p3 p4
  22227. 1496.71 s [opt-env-conf-test] --
  22228. 1496.71 s [opt-env-conf-test] -- We need to rearrange it to
  22229. 1496.71 s [opt-env-conf-test] -- p
  22230. 1496.71 s [opt-env-conf-test] -- / \
  22231. 1496.71 s [opt-env-conf-test] -- p1 ++ p3 p4
  22232. 1496.71 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  22233. 1496.71 s [opt-env-conf-test] go (go p1' p3') p4'
  22234. 1496.71 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  22235. 1496.71 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  22236. 1496.71 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  22237. 1496.71 s [opt-env-conf-test] in go p1 p2
  22238. 1496.71 s [opt-env-conf-test] many = ParserMany Nothing
  22239. 1496.71 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  22240. 1496.71 s [opt-env-conf-test]
  22241. 1496.71 s [opt-env-conf-test]
  22242. 1496.71 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  22243. 1496.71 s [opt-env-conf-test] @@ -264,32 +264,31 @@
  22244. 1496.71 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  22245. 1496.71 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  22246. 1496.71 s [opt-env-conf-test] ParserSetting _ _ -> False
  22247. 1496.71 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  22248. 1496.71 s [opt-env-conf-test] - (True, True) -> ParserEmpty Nothing
  22249. 1496.71 s [opt-env-conf-test] (True, False) -> p2
  22250. 1496.71 s [opt-env-conf-test] (False, True) -> p1
  22251. 1496.71 s [opt-env-conf-test] (False, False) ->
  22252. 1496.71 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  22253. 1496.71 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  22254. 1496.71 s [opt-env-conf-test] -- alts to always be right-leaning
  22255. 1496.71 s [opt-env-conf-test] --
  22256. 1496.71 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  22257. 1496.71 s [opt-env-conf-test] -- p
  22258. 1496.71 s [opt-env-conf-test] -- / \
  22259. 1496.71 s [opt-env-conf-test] -- p1 p2
  22260. 1496.72 s [opt-env-conf-test] -- / \
  22261. 1496.72 s [opt-env-conf-test] -- p3 p4
  22262. 1496.72 s [opt-env-conf-test] --
  22263. 1496.72 s [opt-env-conf-test] -- We need to rearrange it to
  22264. 1496.72 s [opt-env-conf-test] -- p
  22265. 1496.72 s [opt-env-conf-test] -- / \
  22266. 1496.72 s [opt-env-conf-test] -- p1 ++ p3 p4
  22267. 1496.72 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  22268. 1496.72 s [opt-env-conf-test] go (go p1' p3') p4'
  22269. 1496.72 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  22270. 1496.72 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  22271. 1496.72 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  22272. 1496.72 s [opt-env-conf-test] in go p1 p2
  22273. 1496.72 s [opt-env-conf-test] many = ParserMany Nothing
  22274. 1496.72 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  22275. 1496.72 s [opt-env-conf-test]
  22276. 1496.72 s [opt-env-conf-test]
  22277. 1496.72 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
  22278. 1496.72 s [opt-env-conf-test] @@ -269,26 +269,24 @@
  22279. 1496.72 s [opt-env-conf-test] (True, False) -> p2
  22280. 1496.72 s [opt-env-conf-test] (False, True) -> p1
  22281. 1496.72 s [opt-env-conf-test] (False, False) ->
  22282. 1496.72 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  22283. 1496.72 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  22284. 1496.72 s [opt-env-conf-test] -- alts to always be right-leaning
  22285. 1496.72 s [opt-env-conf-test] --
  22286. 1496.72 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  22287. 1496.72 s [opt-env-conf-test] -- p
  22288. 1496.72 s [opt-env-conf-test] -- / \
  22289. 1496.72 s [opt-env-conf-test] -- p1 p2
  22290. 1496.72 s [opt-env-conf-test] -- / \
  22291. 1496.72 s [opt-env-conf-test] -- p3 p4
  22292. 1496.72 s [opt-env-conf-test] --
  22293. 1496.72 s [opt-env-conf-test] -- We need to rearrange it to
  22294. 1496.72 s [opt-env-conf-test] -- p
  22295. 1496.72 s [opt-env-conf-test] -- / \
  22296. 1496.72 s [opt-env-conf-test] -- p1 ++ p3 p4
  22297. 1496.72 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  22298. 1496.72 s [opt-env-conf-test] go (go p1' p3') p4'
  22299. 1496.72 s [opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  22300. 1496.72 s [opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  22301. 1496.72 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  22302. 1496.72 s [opt-env-conf-test] in go p1 p2
  22303. 1496.72 s [opt-env-conf-test] many = ParserMany Nothing
  22304. 1496.72 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  22305. 1496.72 s [opt-env-conf-test]
  22306. 1496.72 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
  22307. 1496.72 s [opt-env-conf-test] @@ -269,26 +269,24 @@
  22308. 1496.72 s [opt-env-conf-test] (True, False) -> p2
  22309. 1496.72 s [opt-env-conf-test] (False, True) -> p1
  22310. 1496.72 s [opt-env-conf-test] (False, False) ->
  22311. 1496.72 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  22312. 1496.72 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  22313. 1496.72 s [opt-env-conf-test] -- alts to always be right-leaning
  22314. 1496.72 s [opt-env-conf-test] --
  22315. 1496.72 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  22316. 1496.72 s [opt-env-conf-test] -- p
  22317. 1496.72 s [opt-env-conf-test] -- / \
  22318. 1496.72 s [opt-env-conf-test] -- p1 p2
  22319. 1496.72 s [opt-env-conf-test] -- / \
  22320. 1496.72 s [opt-env-conf-test] -- p3 p4
  22321. 1496.72 s [opt-env-conf-test] --
  22322. 1496.72 s [opt-env-conf-test] -- We need to rearrange it to
  22323. 1496.72 s [opt-env-conf-test] -- p
  22324. 1496.72 s [opt-env-conf-test] -- / \
  22325. 1496.72 s [opt-env-conf-test] -- p1 ++ p3 p4
  22326. 1496.72 s [opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
  22327. 1496.72 s [opt-env-conf-test] - go (go p1' p3') p4'
  22328. 1496.72 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  22329. 1496.72 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  22330. 1496.72 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  22331. 1496.72 s [opt-env-conf-test] in go p1 p2
  22332. 1496.72 s [opt-env-conf-test] many = ParserMany Nothing
  22333. 1496.72 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  22334. 1496.72 s [opt-env-conf-test]
  22335. 1496.72 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:267:27-37
  22336. 1496.72 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  22337. 1496.72 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  22338. 1496.72 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  22339. 1496.72 s [opt-env-conf-test] ParserSetting _ _ -> False
  22340. 1496.72 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  22341. 1496.72 s [opt-env-conf-test] + in case (isEmpty p1, False) of
  22342. 1496.72 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  22343. 1496.72 s [opt-env-conf-test] (True, False) -> p2
  22344. 1496.72 s [opt-env-conf-test] (False, True) -> p1
  22345. 1496.72 s [opt-env-conf-test]
  22346. 1496.72 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:267:15-25
  22347. 1496.72 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  22348. 1496.72 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  22349. 1496.72 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  22350. 1496.72 s [opt-env-conf-test] ParserSetting _ _ -> False
  22351. 1496.72 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  22352. 1496.72 s [opt-env-conf-test] + in case (False, isEmpty p2) of
  22353. 1496.72 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  22354. 1496.72 s [opt-env-conf-test] (True, False) -> p2
  22355. 1496.72 s [opt-env-conf-test] (False, True) -> p1
  22356. 1496.72 s [opt-env-conf-test]
  22357. 1496.72 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:264:36-43
  22358. 1496.72 s [opt-env-conf-test] @@ -261,7 +261,7 @@
  22359. 1496.72 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  22360. 1496.72 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  22361. 1496.72 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  22362. 1496.72 s [opt-env-conf-test] - ParserCommands _ _ cs -> null cs
  22363. 1496.72 s [opt-env-conf-test] + ParserCommands _ _ cs -> False
  22364. 1496.72 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  22365. 1496.72 s [opt-env-conf-test] ParserSetting _ _ -> False
  22366. 1496.72 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  22367. 1496.72 s [opt-env-conf-test]
  22368. 1496.73 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:263:36-45
  22369. 1496.73 s [opt-env-conf-test] @@ -260,7 +260,7 @@
  22370. 1496.73 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  22371. 1496.73 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  22372. 1496.73 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  22373. 1496.73 s [opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
  22374. 1496.73 s [opt-env-conf-test] + ParserCheck _ _ _ _ p -> False
  22375. 1496.73 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  22376. 1496.73 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  22377. 1496.73 s [opt-env-conf-test] ParserSetting _ _ -> False
  22378. 1496.73 s [opt-env-conf-test]
  22379. 1496.73 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:262:37-46
  22380. 1496.73 s [opt-env-conf-test] @@ -259,7 +259,7 @@
  22381. 1496.73 s [opt-env-conf-test] ParserAlt _ _ -> False
  22382. 1496.73 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  22383. 1496.73 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  22384. 1496.73 s [opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
  22385. 1496.73 s [opt-env-conf-test] + ParserAllOrNothing _ p -> False
  22386. 1496.73 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  22387. 1496.73 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  22388. 1496.73 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  22389. 1496.73 s [opt-env-conf-test]
  22390. 1496.73 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:260:29-38
  22391. 1496.73 s [opt-env-conf-test] @@ -257,7 +257,7 @@
  22392. 1496.73 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22393. 1496.73 s [opt-env-conf-test] ParserEmpty _ -> True
  22394. 1496.73 s [opt-env-conf-test] ParserAlt _ _ -> False
  22395. 1496.73 s [opt-env-conf-test] - ParserMany _ p -> isEmpty p
  22396. 1496.73 s [opt-env-conf-test] + ParserMany _ p -> False
  22397. 1496.73 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  22398. 1496.73 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  22399. 1496.73 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  22400. 1496.73 s [opt-env-conf-test]
  22401. 1496.73 s [opt-env-conf-test] BoolLit at src/OptEnvConf/Parser.hs:258:28-32
  22402. 1496.73 s [opt-env-conf-test] @@ -255,7 +255,7 @@
  22403. 1496.73 s [opt-env-conf-test] ParserPure _ -> False
  22404. 1496.73 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  22405. 1496.73 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22406. 1496.73 s [opt-env-conf-test] - ParserEmpty _ -> True
  22407. 1496.73 s [opt-env-conf-test] + ParserEmpty _ -> False
  22408. 1496.73 s [opt-env-conf-test] ParserAlt _ _ -> False
  22409. 1496.73 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  22410. 1496.73 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  22411. 1496.73 s [opt-env-conf-test]
  22412. 1496.73 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-53
  22413. 1496.73 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22414. 1496.73 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22415. 1496.73 s [opt-env-conf-test] isEmpty = \case
  22416. 1496.73 s [opt-env-conf-test] ParserPure _ -> False
  22417. 1496.73 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22418. 1496.73 s [opt-env-conf-test] + ParserAp pf pa -> False
  22419. 1496.73 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22420. 1496.73 s [opt-env-conf-test] ParserEmpty _ -> True
  22421. 1496.73 s [opt-env-conf-test] ParserAlt _ _ -> False
  22422. 1496.73 s [opt-env-conf-test]
  22423. 1496.73 s [opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:256:43-53
  22424. 1496.73 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22425. 1496.73 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22426. 1496.73 s [opt-env-conf-test] isEmpty = \case
  22427. 1496.73 s [opt-env-conf-test] ParserPure _ -> False
  22428. 1496.73 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22429. 1496.73 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && not isEmpty pa
  22430. 1496.73 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22431. 1496.73 s [opt-env-conf-test] ParserEmpty _ -> True
  22432. 1496.73 s [opt-env-conf-test] ParserAlt _ _ -> False
  22433. 1496.73 s [opt-env-conf-test]
  22434. 1496.73 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:43-53
  22435. 1496.73 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22436. 1496.73 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22437. 1496.73 s [opt-env-conf-test] isEmpty = \case
  22438. 1496.73 s [opt-env-conf-test] ParserPure _ -> False
  22439. 1496.73 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22440. 1496.73 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && False
  22441. 1496.73 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22442. 1496.73 s [opt-env-conf-test] ParserEmpty _ -> True
  22443. 1496.73 s [opt-env-conf-test] ParserAlt _ _ -> False
  22444. 1496.73 s [opt-env-conf-test]
  22445. 1496.73 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:43-53
  22446. 1496.73 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22447. 1496.73 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22448. 1496.73 s [opt-env-conf-test] isEmpty = \case
  22449. 1496.73 s [opt-env-conf-test] ParserPure _ -> False
  22450. 1496.73 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22451. 1496.73 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && True
  22452. 1496.73 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22453. 1496.73 s [opt-env-conf-test] ParserEmpty _ -> True
  22454. 1496.73 s [opt-env-conf-test] ParserAlt _ _ -> False
  22455. 1496.73 s [opt-env-conf-test]
  22456. 1496.73 s [opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:256:29-39
  22457. 1496.73 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22458. 1496.73 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22459. 1496.73 s [opt-env-conf-test] isEmpty = \case
  22460. 1496.73 s [opt-env-conf-test] ParserPure _ -> False
  22461. 1496.73 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22462. 1496.74 s [opt-env-conf-test] + ParserAp pf pa -> not isEmpty pf && isEmpty pa
  22463. 1496.74 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22464. 1496.74 s [opt-env-conf-test] ParserEmpty _ -> True
  22465. 1496.74 s [opt-env-conf-test] ParserAlt _ _ -> False
  22466. 1496.74 s [opt-env-conf-test]
  22467. 1496.74 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-39
  22468. 1496.74 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22469. 1496.74 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22470. 1496.74 s [opt-env-conf-test] isEmpty = \case
  22471. 1496.74 s [opt-env-conf-test] ParserPure _ -> False
  22472. 1496.74 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22473. 1496.74 s [opt-env-conf-test] + ParserAp pf pa -> False && isEmpty pa
  22474. 1496.74 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22475. 1496.74 s [opt-env-conf-test] ParserEmpty _ -> True
  22476. 1496.74 s [opt-env-conf-test] ParserAlt _ _ -> False
  22477. 1496.74 s [opt-env-conf-test]
  22478. 1496.74 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-39
  22479. 1496.74 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22480. 1496.74 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22481. 1496.74 s [opt-env-conf-test] isEmpty = \case
  22482. 1496.74 s [opt-env-conf-test] ParserPure _ -> False
  22483. 1496.74 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22484. 1496.74 s [opt-env-conf-test] + ParserAp pf pa -> True && isEmpty pa
  22485. 1496.74 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22486. 1496.74 s [opt-env-conf-test] ParserEmpty _ -> True
  22487. 1496.74 s [opt-env-conf-test] ParserAlt _ _ -> False
  22488. 1496.74 s [opt-env-conf-test]
  22489. 1496.74 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:297:39-40
  22490. 1496.74 s [opt-env-conf-test] @@ -294,7 +294,7 @@
  22491. 1496.74 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  22492. 1496.74 s [opt-env-conf-test]
  22493. 1496.74 s [opt-env-conf-test] showParserABit :: Parser a -> String
  22494. 1496.74 s [opt-env-conf-test] -showParserABit = flip (showParserPrec 0) ""
  22495. 1496.74 s [opt-env-conf-test] +showParserABit = flip (showParserPrec 1) ""
  22496. 1496.74 s [opt-env-conf-test]
  22497. 1496.74 s [opt-env-conf-test] showParserPrec :: Int -> Parser a -> ShowS
  22498. 1496.74 s [opt-env-conf-test] showParserPrec = go
  22499. 1496.74 s [opt-env-conf-test]
  22500. 1496.74 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:373:19-27
  22501. 1496.74 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  22502. 1496.74 s [opt-env-conf-test] . showString " "
  22503. 1496.74 s [opt-env-conf-test] . go 11 p2
  22504. 1496.74 s [opt-env-conf-test] ParserSetting mLoc p ->
  22505. 1496.74 s [opt-env-conf-test] - showParen (d > 10) $
  22506. 1496.74 s [opt-env-conf-test] + showParen True $
  22507. 1496.74 s [opt-env-conf-test] showString "Setting "
  22508. 1496.74 s [opt-env-conf-test] . showsPrec 11 mLoc
  22509. 1496.74 s [opt-env-conf-test] . showString " "
  22510. 1496.74 s [opt-env-conf-test]
  22511. 1496.74 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:373:20-26
  22512. 1496.74 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  22513. 1496.74 s [opt-env-conf-test] . showString " "
  22514. 1496.74 s [opt-env-conf-test] . go 11 p2
  22515. 1496.74 s [opt-env-conf-test] ParserSetting mLoc p ->
  22516. 1496.74 s [opt-env-conf-test] - showParen (d > 10) $
  22517. 1496.74 s [opt-env-conf-test] + showParen (True) $
  22518. 1496.74 s [opt-env-conf-test] showString "Setting "
  22519. 1496.74 s [opt-env-conf-test] . showsPrec 11 mLoc
  22520. 1496.74 s [opt-env-conf-test] . showString " "
  22521. 1496.74 s [opt-env-conf-test]
  22522. 1496.74 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
  22523. 1496.74 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  22524. 1496.74 s [opt-env-conf-test] . showString " "
  22525. 1496.74 s [opt-env-conf-test] . go 11 p2
  22526. 1496.74 s [opt-env-conf-test] ParserSetting mLoc p ->
  22527. 1496.74 s [opt-env-conf-test] - showParen (d > 10) $
  22528. 1496.74 s [opt-env-conf-test] + showParen (d > -10) $
  22529. 1496.74 s [opt-env-conf-test] showString "Setting "
  22530. 1496.74 s [opt-env-conf-test] . showsPrec 11 mLoc
  22531. 1496.74 s [opt-env-conf-test] . showString " "
  22532. 1496.74 s [opt-env-conf-test]
  22533. 1496.74 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
  22534. 1496.74 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  22535. 1496.74 s [opt-env-conf-test] . showString " "
  22536. 1496.74 s [opt-env-conf-test] . go 11 p2
  22537. 1496.74 s [opt-env-conf-test] ParserSetting mLoc p ->
  22538. 1496.74 s [opt-env-conf-test] - showParen (d > 10) $
  22539. 1496.74 s [opt-env-conf-test] + showParen (d > 1) $
  22540. 1496.74 s [opt-env-conf-test] showString "Setting "
  22541. 1496.74 s [opt-env-conf-test] . showsPrec 11 mLoc
  22542. 1496.74 s [opt-env-conf-test] . showString " "
  22543. 1496.74 s [opt-env-conf-test]
  22544. 1496.74 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
  22545. 1496.74 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  22546. 1496.74 s [opt-env-conf-test] . showString " "
  22547. 1496.74 s [opt-env-conf-test] . go 11 p2
  22548. 1496.74 s [opt-env-conf-test] ParserSetting mLoc p ->
  22549. 1496.74 s [opt-env-conf-test] - showParen (d > 10) $
  22550. 1496.74 s [opt-env-conf-test] + showParen (d > 0) $
  22551. 1496.74 s [opt-env-conf-test] showString "Setting "
  22552. 1496.74 s [opt-env-conf-test] . showsPrec 11 mLoc
  22553. 1496.74 s [opt-env-conf-test] . showString " "
  22554. 1496.74 s [opt-env-conf-test]
  22555. 1496.74 s [opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:365:19-27
  22556. 1496.74 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22557. 1496.74 s [opt-env-conf-test] showCommandABit
  22558. 1496.74 s [opt-env-conf-test] cs
  22559. 1496.74 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22560. 1496.74 s [opt-env-conf-test] - showParen (d > 10) $
  22561. 1496.74 s [opt-env-conf-test] + showParen not (d > 10) $
  22562. 1496.74 s [opt-env-conf-test] showString "WithConfig _ "
  22563. 1496.74 s [opt-env-conf-test] . showsPrec 11 mLoc
  22564. 1496.74 s [opt-env-conf-test] . showString " "
  22565. 1496.75 s [opt-env-conf-test]
  22566. 1496.75 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:19-27
  22567. 1496.75 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22568. 1496.75 s [opt-env-conf-test] showCommandABit
  22569. 1496.75 s [opt-env-conf-test] cs
  22570. 1496.75 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22571. 1496.75 s [opt-env-conf-test] - showParen (d > 10) $
  22572. 1496.75 s [opt-env-conf-test] + showParen False $
  22573. 1496.75 s [opt-env-conf-test] showString "WithConfig _ "
  22574. 1496.75 s [opt-env-conf-test] . showsPrec 11 mLoc
  22575. 1496.75 s [opt-env-conf-test] . showString " "
  22576. 1496.75 s [opt-env-conf-test]
  22577. 1496.75 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:19-27
  22578. 1496.75 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22579. 1496.75 s [opt-env-conf-test] showCommandABit
  22580. 1496.75 s [opt-env-conf-test] cs
  22581. 1496.75 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22582. 1496.75 s [opt-env-conf-test] - showParen (d > 10) $
  22583. 1496.75 s [opt-env-conf-test] + showParen True $
  22584. 1496.75 s [opt-env-conf-test] showString "WithConfig _ "
  22585. 1496.75 s [opt-env-conf-test] . showsPrec 11 mLoc
  22586. 1496.75 s [opt-env-conf-test] . showString " "
  22587. 1496.75 s [opt-env-conf-test]
  22588. 1496.75 s [opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:365:20-26
  22589. 1496.75 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22590. 1496.75 s [opt-env-conf-test] showCommandABit
  22591. 1496.75 s [opt-env-conf-test] cs
  22592. 1496.75 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22593. 1496.75 s [opt-env-conf-test] - showParen (d > 10) $
  22594. 1496.75 s [opt-env-conf-test] + showParen (not d > 10) $
  22595. 1496.75 s [opt-env-conf-test] showString "WithConfig _ "
  22596. 1496.75 s [opt-env-conf-test] . showsPrec 11 mLoc
  22597. 1496.75 s [opt-env-conf-test] . showString " "
  22598. 1496.75 s [opt-env-conf-test]
  22599. 1496.75 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:20-26
  22600. 1496.75 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22601. 1496.75 s [opt-env-conf-test] showCommandABit
  22602. 1496.75 s [opt-env-conf-test] cs
  22603. 1496.75 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22604. 1496.75 s [opt-env-conf-test] - showParen (d > 10) $
  22605. 1496.75 s [opt-env-conf-test] + showParen (False) $
  22606. 1496.75 s [opt-env-conf-test] showString "WithConfig _ "
  22607. 1496.75 s [opt-env-conf-test] . showsPrec 11 mLoc
  22608. 1496.75 s [opt-env-conf-test] . showString " "
  22609. 1496.75 s [opt-env-conf-test]
  22610. 1496.75 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:20-26
  22611. 1496.75 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22612. 1496.75 s [opt-env-conf-test] showCommandABit
  22613. 1496.75 s [opt-env-conf-test] cs
  22614. 1496.75 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22615. 1496.75 s [opt-env-conf-test] - showParen (d > 10) $
  22616. 1496.75 s [opt-env-conf-test] + showParen (True) $
  22617. 1496.75 s [opt-env-conf-test] showString "WithConfig _ "
  22618. 1496.75 s [opt-env-conf-test] . showsPrec 11 mLoc
  22619. 1496.75 s [opt-env-conf-test] . showString " "
  22620. 1496.75 s [opt-env-conf-test]
  22621. 1496.75 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
  22622. 1496.75 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22623. 1496.75 s [opt-env-conf-test] showCommandABit
  22624. 1496.75 s [opt-env-conf-test] cs
  22625. 1496.75 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22626. 1496.75 s [opt-env-conf-test] - showParen (d > 10) $
  22627. 1496.75 s [opt-env-conf-test] + showParen (d > -10) $
  22628. 1496.75 s [opt-env-conf-test] showString "WithConfig _ "
  22629. 1496.75 s [opt-env-conf-test] . showsPrec 11 mLoc
  22630. 1496.75 s [opt-env-conf-test] . showString " "
  22631. 1496.75 s [opt-env-conf-test]
  22632. 1496.75 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
  22633. 1496.75 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22634. 1496.75 s [opt-env-conf-test] showCommandABit
  22635. 1496.75 s [opt-env-conf-test] cs
  22636. 1496.75 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22637. 1496.75 s [opt-env-conf-test] - showParen (d > 10) $
  22638. 1496.75 s [opt-env-conf-test] + showParen (d > 1) $
  22639. 1496.75 s [opt-env-conf-test] showString "WithConfig _ "
  22640. 1496.75 s [opt-env-conf-test] . showsPrec 11 mLoc
  22641. 1496.75 s [opt-env-conf-test] . showString " "
  22642. 1496.75 s [opt-env-conf-test]
  22643. 1496.75 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
  22644. 1496.75 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22645. 1496.75 s [opt-env-conf-test] showCommandABit
  22646. 1496.75 s [opt-env-conf-test] cs
  22647. 1496.75 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22648. 1496.75 s [opt-env-conf-test] - showParen (d > 10) $
  22649. 1496.75 s [opt-env-conf-test] + showParen (d > 0) $
  22650. 1496.75 s [opt-env-conf-test] showString "WithConfig _ "
  22651. 1496.76 s [opt-env-conf-test] . showsPrec 11 mLoc
  22652. 1496.76 s [opt-env-conf-test] . showString " "
  22653. 1496.76 s [opt-env-conf-test]
  22654. 1496.76 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:355:19-27
  22655. 1496.76 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  22656. 1496.76 s [opt-env-conf-test] . showString " _ "
  22657. 1496.76 s [opt-env-conf-test] . go 11 p
  22658. 1496.76 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  22659. 1496.76 s [opt-env-conf-test] - showParen (d > 10) $
  22660. 1496.76 s [opt-env-conf-test] + showParen True $
  22661. 1496.76 s [opt-env-conf-test] showString "Commands "
  22662. 1496.76 s [opt-env-conf-test] . showsPrec 11 mLoc
  22663. 1496.76 s [opt-env-conf-test] . showString " "
  22664. 1496.76 s [opt-env-conf-test]
  22665. 1496.76 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:355:20-26
  22666. 1496.76 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  22667. 1496.76 s [opt-env-conf-test] . showString " _ "
  22668. 1496.76 s [opt-env-conf-test] . go 11 p
  22669. 1496.76 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  22670. 1496.76 s [opt-env-conf-test] - showParen (d > 10) $
  22671. 1496.76 s [opt-env-conf-test] + showParen (True) $
  22672. 1496.76 s [opt-env-conf-test] showString "Commands "
  22673. 1496.76 s [opt-env-conf-test] . showsPrec 11 mLoc
  22674. 1496.76 s [opt-env-conf-test] . showString " "
  22675. 1496.76 s [opt-env-conf-test]
  22676. 1496.76 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
  22677. 1496.76 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  22678. 1496.76 s [opt-env-conf-test] . showString " _ "
  22679. 1496.76 s [opt-env-conf-test] . go 11 p
  22680. 1496.76 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  22681. 1496.76 s [opt-env-conf-test] - showParen (d > 10) $
  22682. 1496.76 s [opt-env-conf-test] + showParen (d > -10) $
  22683. 1496.76 s [opt-env-conf-test] showString "Commands "
  22684. 1496.76 s [opt-env-conf-test] . showsPrec 11 mLoc
  22685. 1496.76 s [opt-env-conf-test] . showString " "
  22686. 1496.76 s [opt-env-conf-test]
  22687. 1496.76 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
  22688. 1496.76 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  22689. 1496.76 s [opt-env-conf-test] . showString " _ "
  22690. 1496.76 s [opt-env-conf-test] . go 11 p
  22691. 1496.76 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  22692. 1496.76 s [opt-env-conf-test] - showParen (d > 10) $
  22693. 1496.76 s [opt-env-conf-test] + showParen (d > 1) $
  22694. 1496.76 s [opt-env-conf-test] showString "Commands "
  22695. 1496.76 s [opt-env-conf-test] . showsPrec 11 mLoc
  22696. 1496.76 s [opt-env-conf-test] . showString " "
  22697. 1496.76 s [opt-env-conf-test]
  22698. 1496.76 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
  22699. 1496.76 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  22700. 1496.76 s [opt-env-conf-test] . showString " _ "
  22701. 1496.76 s [opt-env-conf-test] . go 11 p
  22702. 1496.76 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  22703. 1496.76 s [opt-env-conf-test] - showParen (d > 10) $
  22704. 1496.76 s [opt-env-conf-test] + showParen (d > 0) $
  22705. 1496.76 s [opt-env-conf-test] showString "Commands "
  22706. 1496.76 s [opt-env-conf-test] . showsPrec 11 mLoc
  22707. 1496.76 s [opt-env-conf-test] . showString " "
  22708. 1496.76 s [opt-env-conf-test]
  22709. 1496.76 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:345:19-27
  22710. 1496.76 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  22711. 1496.76 s [opt-env-conf-test] . showString " "
  22712. 1496.76 s [opt-env-conf-test] . go 11 p
  22713. 1496.76 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  22714. 1496.76 s [opt-env-conf-test] - showParen (d > 10) $
  22715. 1496.76 s [opt-env-conf-test] + showParen True $
  22716. 1496.76 s [opt-env-conf-test] showString "Check "
  22717. 1496.76 s [opt-env-conf-test] . showsPrec 11 mLoc
  22718. 1496.76 s [opt-env-conf-test] . showString " "
  22719. 1496.76 s [opt-env-conf-test]
  22720. 1496.76 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:345:20-26
  22721. 1496.76 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  22722. 1496.76 s [opt-env-conf-test] . showString " "
  22723. 1496.76 s [opt-env-conf-test] . go 11 p
  22724. 1496.76 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  22725. 1496.76 s [opt-env-conf-test] - showParen (d > 10) $
  22726. 1496.76 s [opt-env-conf-test] + showParen (True) $
  22727. 1496.76 s [opt-env-conf-test] showString "Check "
  22728. 1496.76 s [opt-env-conf-test] . showsPrec 11 mLoc
  22729. 1496.76 s [opt-env-conf-test] . showString " "
  22730. 1496.76 s [opt-env-conf-test]
  22731. 1496.76 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
  22732. 1496.76 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  22733. 1496.76 s [opt-env-conf-test] . showString " "
  22734. 1496.76 s [opt-env-conf-test] . go 11 p
  22735. 1496.76 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  22736. 1496.76 s [opt-env-conf-test] - showParen (d > 10) $
  22737. 1496.76 s [opt-env-conf-test] + showParen (d > -10) $
  22738. 1496.76 s [opt-env-conf-test] showString "Check "
  22739. 1496.76 s [opt-env-conf-test] . showsPrec 11 mLoc
  22740. 1496.76 s [opt-env-conf-test] . showString " "
  22741. 1496.76 s [opt-env-conf-test]
  22742. 1496.76 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
  22743. 1496.76 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  22744. 1496.76 s [opt-env-conf-test] . showString " "
  22745. 1496.76 s [opt-env-conf-test] . go 11 p
  22746. 1496.76 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  22747. 1496.76 s [opt-env-conf-test] - showParen (d > 10) $
  22748. 1496.76 s [opt-env-conf-test] + showParen (d > 1) $
  22749. 1496.76 s [opt-env-conf-test] showString "Check "
  22750. 1496.76 s [opt-env-conf-test] . showsPrec 11 mLoc
  22751. 1496.76 s [opt-env-conf-test] . showString " "
  22752. 1496.76 s [opt-env-conf-test]
  22753. 1496.76 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
  22754. 1496.76 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  22755. 1496.76 s [opt-env-conf-test] . showString " "
  22756. 1496.76 s [opt-env-conf-test] . go 11 p
  22757. 1496.76 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  22758. 1496.76 s [opt-env-conf-test] - showParen (d > 10) $
  22759. 1496.76 s [opt-env-conf-test] + showParen (d > 0) $
  22760. 1496.76 s [opt-env-conf-test] showString "Check "
  22761. 1496.76 s [opt-env-conf-test] . showsPrec 11 mLoc
  22762. 1496.76 s [opt-env-conf-test] . showString " "
  22763. 1496.76 s [opt-env-conf-test]
  22764. 1496.76 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:333:19-27
  22765. 1496.76 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  22766. 1496.76 s [opt-env-conf-test] . showString " "
  22767. 1496.76 s [opt-env-conf-test] . go 11 p
  22768. 1496.76 s [opt-env-conf-test] ParserSome mLoc p ->
  22769. 1496.76 s [opt-env-conf-test] - showParen (d > 10) $
  22770. 1496.76 s [opt-env-conf-test] + showParen True $
  22771. 1496.77 s [opt-env-conf-test] showString "Some "
  22772. 1496.77 s [opt-env-conf-test] . showsPrec 11 mLoc
  22773. 1496.77 s [opt-env-conf-test] . showString " "
  22774. 1496.77 s [opt-env-conf-test]
  22775. 1496.77 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:333:20-26
  22776. 1496.77 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  22777. 1496.77 s [opt-env-conf-test] . showString " "
  22778. 1496.77 s [opt-env-conf-test] . go 11 p
  22779. 1496.77 s [opt-env-conf-test] ParserSome mLoc p ->
  22780. 1496.77 s [opt-env-conf-test] - showParen (d > 10) $
  22781. 1496.77 s [opt-env-conf-test] + showParen (True) $
  22782. 1496.77 s [opt-env-conf-test] showString "Some "
  22783. 1496.77 s [opt-env-conf-test] . showsPrec 11 mLoc
  22784. 1496.77 s [opt-env-conf-test] . showString " "
  22785. 1496.77 s [opt-env-conf-test]
  22786. 1496.77 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
  22787. 1496.77 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  22788. 1496.77 s [opt-env-conf-test] . showString " "
  22789. 1496.77 s [opt-env-conf-test] . go 11 p
  22790. 1496.77 s [opt-env-conf-test] ParserSome mLoc p ->
  22791. 1496.77 s [opt-env-conf-test] - showParen (d > 10) $
  22792. 1496.77 s [opt-env-conf-test] + showParen (d > -10) $
  22793. 1496.77 s [opt-env-conf-test] showString "Some "
  22794. 1496.77 s [opt-env-conf-test] . showsPrec 11 mLoc
  22795. 1496.77 s [opt-env-conf-test] . showString " "
  22796. 1496.77 s [opt-env-conf-test]
  22797. 1496.77 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
  22798. 1496.77 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  22799. 1496.77 s [opt-env-conf-test] . showString " "
  22800. 1496.77 s [opt-env-conf-test] . go 11 p
  22801. 1496.77 s [opt-env-conf-test] ParserSome mLoc p ->
  22802. 1496.77 s [opt-env-conf-test] - showParen (d > 10) $
  22803. 1496.77 s [opt-env-conf-test] + showParen (d > 1) $
  22804. 1496.77 s [opt-env-conf-test] showString "Some "
  22805. 1496.77 s [opt-env-conf-test] . showsPrec 11 mLoc
  22806. 1496.77 s [opt-env-conf-test] . showString " "
  22807. 1496.77 s [opt-env-conf-test]
  22808. 1496.77 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
  22809. 1496.77 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  22810. 1496.77 s [opt-env-conf-test] . showString " "
  22811. 1496.77 s [opt-env-conf-test] . go 11 p
  22812. 1496.77 s [opt-env-conf-test] ParserSome mLoc p ->
  22813. 1496.77 s [opt-env-conf-test] - showParen (d > 10) $
  22814. 1496.77 s [opt-env-conf-test] + showParen (d > 0) $
  22815. 1496.77 s [opt-env-conf-test] showString "Some "
  22816. 1496.77 s [opt-env-conf-test] . showsPrec 11 mLoc
  22817. 1496.77 s [opt-env-conf-test] . showString " "
  22818. 1496.77 s [opt-env-conf-test]
  22819. 1496.77 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:327:19-27
  22820. 1496.77 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  22821. 1496.77 s [opt-env-conf-test] . showString " "
  22822. 1496.77 s [opt-env-conf-test] . go 11 p2
  22823. 1496.77 s [opt-env-conf-test] ParserMany mLoc p ->
  22824. 1496.77 s [opt-env-conf-test] - showParen (d > 10) $
  22825. 1496.77 s [opt-env-conf-test] + showParen True $
  22826. 1496.77 s [opt-env-conf-test] showString "Many "
  22827. 1496.77 s [opt-env-conf-test] . showsPrec 11 mLoc
  22828. 1496.77 s [opt-env-conf-test] . showString " "
  22829. 1496.77 s [opt-env-conf-test]
  22830. 1496.77 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:327:20-26
  22831. 1496.77 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  22832. 1496.77 s [opt-env-conf-test] . showString " "
  22833. 1496.77 s [opt-env-conf-test] . go 11 p2
  22834. 1496.77 s [opt-env-conf-test] ParserMany mLoc p ->
  22835. 1496.77 s [opt-env-conf-test] - showParen (d > 10) $
  22836. 1496.77 s [opt-env-conf-test] + showParen (True) $
  22837. 1496.77 s [opt-env-conf-test] showString "Many "
  22838. 1496.77 s [opt-env-conf-test] . showsPrec 11 mLoc
  22839. 1496.77 s [opt-env-conf-test] . showString " "
  22840. 1496.77 s [opt-env-conf-test]
  22841. 1496.77 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
  22842. 1496.77 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  22843. 1496.77 s [opt-env-conf-test] . showString " "
  22844. 1496.77 s [opt-env-conf-test] . go 11 p2
  22845. 1496.77 s [opt-env-conf-test] ParserMany mLoc p ->
  22846. 1496.77 s [opt-env-conf-test] - showParen (d > 10) $
  22847. 1496.77 s [opt-env-conf-test] + showParen (d > -10) $
  22848. 1496.77 s [opt-env-conf-test] showString "Many "
  22849. 1496.77 s [opt-env-conf-test] . showsPrec 11 mLoc
  22850. 1496.77 s [opt-env-conf-test] . showString " "
  22851. 1496.77 s [opt-env-conf-test]
  22852. 1496.77 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
  22853. 1496.77 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  22854. 1496.77 s [opt-env-conf-test] . showString " "
  22855. 1496.77 s [opt-env-conf-test] . go 11 p2
  22856. 1496.77 s [opt-env-conf-test] ParserMany mLoc p ->
  22857. 1496.77 s [opt-env-conf-test] - showParen (d > 10) $
  22858. 1496.77 s [opt-env-conf-test] + showParen (d > 1) $
  22859. 1496.77 s [opt-env-conf-test] showString "Many "
  22860. 1496.77 s [opt-env-conf-test] . showsPrec 11 mLoc
  22861. 1496.78 s [opt-env-conf-test] . showString " "
  22862. 1496.78 s [opt-env-conf-test]
  22863. 1496.78 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
  22864. 1496.78 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  22865. 1496.78 s [opt-env-conf-test] . showString " "
  22866. 1496.78 s [opt-env-conf-test] . go 11 p2
  22867. 1496.78 s [opt-env-conf-test] ParserMany mLoc p ->
  22868. 1496.78 s [opt-env-conf-test] - showParen (d > 10) $
  22869. 1496.78 s [opt-env-conf-test] + showParen (d > 0) $
  22870. 1496.78 s [opt-env-conf-test] showString "Many "
  22871. 1496.78 s [opt-env-conf-test] . showsPrec 11 mLoc
  22872. 1496.78 s [opt-env-conf-test] . showString " "
  22873. 1496.78 s [opt-env-conf-test]
  22874. 1496.78 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:321:19-27
  22875. 1496.78 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  22876. 1496.78 s [opt-env-conf-test] showString "Empty "
  22877. 1496.78 s [opt-env-conf-test] . showsPrec 11 mLoc
  22878. 1496.78 s [opt-env-conf-test] ParserAlt p1 p2 ->
  22879. 1496.78 s [opt-env-conf-test] - showParen (d > 10) $
  22880. 1496.78 s [opt-env-conf-test] + showParen True $
  22881. 1496.78 s [opt-env-conf-test] showString "Alt "
  22882. 1496.78 s [opt-env-conf-test] . go 11 p1
  22883. 1496.78 s [opt-env-conf-test] . showString " "
  22884. 1496.78 s [opt-env-conf-test]
  22885. 1496.78 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:321:20-26
  22886. 1496.78 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  22887. 1496.78 s [opt-env-conf-test] showString "Empty "
  22888. 1496.78 s [opt-env-conf-test] . showsPrec 11 mLoc
  22889. 1496.78 s [opt-env-conf-test] ParserAlt p1 p2 ->
  22890. 1496.78 s [opt-env-conf-test] - showParen (d > 10) $
  22891. 1496.78 s [opt-env-conf-test] + showParen (True) $
  22892. 1496.78 s [opt-env-conf-test] showString "Alt "
  22893. 1496.78 s [opt-env-conf-test] . go 11 p1
  22894. 1496.78 s [opt-env-conf-test] . showString " "
  22895. 1496.78 s [opt-env-conf-test]
  22896. 1496.78 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
  22897. 1496.78 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  22898. 1496.78 s [opt-env-conf-test] showString "Empty "
  22899. 1496.78 s [opt-env-conf-test] . showsPrec 11 mLoc
  22900. 1496.78 s [opt-env-conf-test] ParserAlt p1 p2 ->
  22901. 1496.78 s [opt-env-conf-test] - showParen (d > 10) $
  22902. 1496.78 s [opt-env-conf-test] + showParen (d > -10) $
  22903. 1496.78 s [opt-env-conf-test] showString "Alt "
  22904. 1496.78 s [opt-env-conf-test] . go 11 p1
  22905. 1496.78 s [opt-env-conf-test] . showString " "
  22906. 1496.78 s [opt-env-conf-test]
  22907. 1496.78 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
  22908. 1496.78 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  22909. 1496.78 s [opt-env-conf-test] showString "Empty "
  22910. 1496.78 s [opt-env-conf-test] . showsPrec 11 mLoc
  22911. 1496.78 s [opt-env-conf-test] ParserAlt p1 p2 ->
  22912. 1496.78 s [opt-env-conf-test] - showParen (d > 10) $
  22913. 1496.78 s [opt-env-conf-test] + showParen (d > 1) $
  22914. 1496.78 s [opt-env-conf-test] showString "Alt "
  22915. 1496.78 s [opt-env-conf-test] . go 11 p1
  22916. 1496.78 s [opt-env-conf-test] . showString " "
  22917. 1496.78 s [opt-env-conf-test]
  22918. 1496.78 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
  22919. 1496.78 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  22920. 1496.78 s [opt-env-conf-test] showString "Empty "
  22921. 1496.78 s [opt-env-conf-test] . showsPrec 11 mLoc
  22922. 1496.78 s [opt-env-conf-test] ParserAlt p1 p2 ->
  22923. 1496.78 s [opt-env-conf-test] - showParen (d > 10) $
  22924. 1496.78 s [opt-env-conf-test] + showParen (d > 0) $
  22925. 1496.78 s [opt-env-conf-test] showString "Alt "
  22926. 1496.78 s [opt-env-conf-test] . go 11 p1
  22927. 1496.78 s [opt-env-conf-test] . showString " "
  22928. 1496.78 s [opt-env-conf-test]
  22929. 1496.78 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:306:19-27
  22930. 1496.78 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  22931. 1496.78 s [opt-env-conf-test] go d = \case
  22932. 1496.78 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22933. 1496.78 s [opt-env-conf-test] ParserAp pf pa ->
  22934. 1496.78 s [opt-env-conf-test] - showParen (d > 10) $
  22935. 1496.78 s [opt-env-conf-test] + showParen True $
  22936. 1496.78 s [opt-env-conf-test] showString "Ap "
  22937. 1496.78 s [opt-env-conf-test] . go 11 pf
  22938. 1496.78 s [opt-env-conf-test] . showString " "
  22939. 1496.78 s [opt-env-conf-test]
  22940. 1496.78 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:306:20-26
  22941. 1496.78 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  22942. 1496.78 s [opt-env-conf-test] go d = \case
  22943. 1496.78 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22944. 1496.78 s [opt-env-conf-test] ParserAp pf pa ->
  22945. 1496.78 s [opt-env-conf-test] - showParen (d > 10) $
  22946. 1496.78 s [opt-env-conf-test] + showParen (True) $
  22947. 1496.78 s [opt-env-conf-test] showString "Ap "
  22948. 1496.78 s [opt-env-conf-test] . go 11 pf
  22949. 1496.78 s [opt-env-conf-test] . showString " "
  22950. 1496.78 s [opt-env-conf-test]
  22951. 1496.78 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
  22952. 1496.78 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  22953. 1496.78 s [opt-env-conf-test] go d = \case
  22954. 1496.78 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22955. 1496.78 s [opt-env-conf-test] ParserAp pf pa ->
  22956. 1496.78 s [opt-env-conf-test] - showParen (d > 10) $
  22957. 1496.78 s [opt-env-conf-test] + showParen (d > -10) $
  22958. 1496.78 s [opt-env-conf-test] showString "Ap "
  22959. 1496.78 s [opt-env-conf-test] . go 11 pf
  22960. 1496.79 s [opt-env-conf-test] . showString " "
  22961. 1496.79 s [opt-env-conf-test]
  22962. 1496.79 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
  22963. 1496.79 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  22964. 1496.79 s [opt-env-conf-test] go d = \case
  22965. 1496.79 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22966. 1496.79 s [opt-env-conf-test] ParserAp pf pa ->
  22967. 1496.79 s [opt-env-conf-test] - showParen (d > 10) $
  22968. 1496.79 s [opt-env-conf-test] + showParen (d > 1) $
  22969. 1496.79 s [opt-env-conf-test] showString "Ap "
  22970. 1496.79 s [opt-env-conf-test] . go 11 pf
  22971. 1496.79 s [opt-env-conf-test] . showString " "
  22972. 1496.79 s [opt-env-conf-test]
  22973. 1496.79 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
  22974. 1496.79 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  22975. 1496.79 s [opt-env-conf-test] go d = \case
  22976. 1496.79 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22977. 1496.79 s [opt-env-conf-test] ParserAp pf pa ->
  22978. 1496.79 s [opt-env-conf-test] - showParen (d > 10) $
  22979. 1496.79 s [opt-env-conf-test] + showParen (d > 0) $
  22980. 1496.79 s [opt-env-conf-test] showString "Ap "
  22981. 1496.79 s [opt-env-conf-test] . go 11 pf
  22982. 1496.79 s [opt-env-conf-test] . showString " "
  22983. 1496.79 s [opt-env-conf-test]
  22984. 1496.79 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:304:33-41
  22985. 1496.79 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  22986. 1496.79 s [opt-env-conf-test] where
  22987. 1496.79 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  22988. 1496.79 s [opt-env-conf-test] go d = \case
  22989. 1496.79 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22990. 1496.79 s [opt-env-conf-test] + ParserPure _ -> showParen True $ showString "Pure _"
  22991. 1496.79 s [opt-env-conf-test] ParserAp pf pa ->
  22992. 1496.79 s [opt-env-conf-test] showParen (d > 10) $
  22993. 1496.79 s [opt-env-conf-test] showString "Ap "
  22994. 1496.79 s [opt-env-conf-test]
  22995. 1496.79 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:304:34-40
  22996. 1496.79 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  22997. 1496.79 s [opt-env-conf-test] where
  22998. 1496.79 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  22999. 1496.79 s [opt-env-conf-test] go d = \case
  23000. 1496.79 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  23001. 1496.79 s [opt-env-conf-test] + ParserPure _ -> showParen (True) $ showString "Pure _"
  23002. 1496.79 s [opt-env-conf-test] ParserAp pf pa ->
  23003. 1496.79 s [opt-env-conf-test] showParen (d > 10) $
  23004. 1496.79 s [opt-env-conf-test] showString "Ap "
  23005. 1496.79 s [opt-env-conf-test]
  23006. 1496.79 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
  23007. 1496.79 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  23008. 1496.79 s [opt-env-conf-test] where
  23009. 1496.79 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  23010. 1496.79 s [opt-env-conf-test] go d = \case
  23011. 1496.79 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  23012. 1496.79 s [opt-env-conf-test] + ParserPure _ -> showParen (d > -10) $ showString "Pure _"
  23013. 1496.79 s [opt-env-conf-test] ParserAp pf pa ->
  23014. 1496.79 s [opt-env-conf-test] showParen (d > 10) $
  23015. 1496.79 s [opt-env-conf-test] showString "Ap "
  23016. 1496.79 s [opt-env-conf-test]
  23017. 1496.79 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
  23018. 1496.79 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  23019. 1496.79 s [opt-env-conf-test] where
  23020. 1496.79 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  23021. 1496.79 s [opt-env-conf-test] go d = \case
  23022. 1496.79 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  23023. 1496.79 s [opt-env-conf-test] + ParserPure _ -> showParen (d > 1) $ showString "Pure _"
  23024. 1496.79 s [opt-env-conf-test] ParserAp pf pa ->
  23025. 1496.79 s [opt-env-conf-test] showParen (d > 10) $
  23026. 1496.79 s [opt-env-conf-test] showString "Ap "
  23027. 1496.79 s [opt-env-conf-test]
  23028. 1496.79 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
  23029. 1496.79 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  23030. 1496.79 s [opt-env-conf-test] where
  23031. 1496.79 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  23032. 1496.79 s [opt-env-conf-test] go d = \case
  23033. 1496.79 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  23034. 1496.79 s [opt-env-conf-test] + ParserPure _ -> showParen (d > 0) $ showString "Pure _"
  23035. 1496.79 s [opt-env-conf-test] ParserAp pf pa ->
  23036. 1496.79 s [opt-env-conf-test] showParen (d > 10) $
  23037. 1496.79 s [opt-env-conf-test] showString "Ap "
  23038. 1496.79 s [opt-env-conf-test]
  23039. 1496.79 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  23040. 1496.79 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  23041. 1496.79 s [opt-env-conf-test] where
  23042. 1496.79 s [opt-env-conf-test] go p =
  23043. 1496.79 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  23044. 1496.79 s [opt-env-conf-test] in case p of
  23045. 1496.79 s [opt-env-conf-test] ParserPure a -> ParserPure a
  23046. 1496.79 s [opt-env-conf-test] ParserAp {} -> p'
  23047. 1496.79 s [opt-env-conf-test] ParserSelect {} -> p'
  23048. 1496.79 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  23049. 1496.79 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23050. 1496.79 s [opt-env-conf-test] ParserMany {} -> p'
  23051. 1496.79 s [opt-env-conf-test] ParserSome {} -> p'
  23052. 1496.79 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  23053. 1496.79 s [opt-env-conf-test] ParserCheck {} -> p'
  23054. 1496.79 s [opt-env-conf-test] ParserCommands {} -> p'
  23055. 1496.79 s [opt-env-conf-test] - ParserWithConfig {} -> p'
  23056. 1496.79 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23057. 1496.79 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23058. 1496.79 s [opt-env-conf-test] Just _ -> p
  23059. 1496.79 s [opt-env-conf-test]
  23060. 1496.79 s [opt-env-conf-test] -- | Try a list of parsers in order
  23061. 1496.79 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23062. 1496.79 s [opt-env-conf-test]
  23063. 1496.79 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  23064. 1496.79 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  23065. 1496.79 s [opt-env-conf-test] where
  23066. 1496.79 s [opt-env-conf-test] go p =
  23067. 1496.79 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  23068. 1496.79 s [opt-env-conf-test] in case p of
  23069. 1496.79 s [opt-env-conf-test] ParserPure a -> ParserPure a
  23070. 1496.79 s [opt-env-conf-test] ParserAp {} -> p'
  23071. 1496.79 s [opt-env-conf-test] ParserSelect {} -> p'
  23072. 1496.79 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  23073. 1496.79 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23074. 1496.80 s [opt-env-conf-test] ParserMany {} -> p'
  23075. 1496.80 s [opt-env-conf-test] ParserSome {} -> p'
  23076. 1496.80 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  23077. 1496.80 s [opt-env-conf-test] ParserCheck {} -> p'
  23078. 1496.80 s [opt-env-conf-test] - ParserCommands {} -> p'
  23079. 1496.80 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23080. 1496.80 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23081. 1496.80 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23082. 1496.80 s [opt-env-conf-test] Just _ -> p
  23083. 1496.80 s [opt-env-conf-test]
  23084. 1496.80 s [opt-env-conf-test] -- | Try a list of parsers in order
  23085. 1496.80 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23086. 1496.80 s [opt-env-conf-test]
  23087. 1496.80 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  23088. 1496.80 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  23089. 1496.80 s [opt-env-conf-test] where
  23090. 1496.80 s [opt-env-conf-test] go p =
  23091. 1496.80 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  23092. 1496.80 s [opt-env-conf-test] in case p of
  23093. 1496.80 s [opt-env-conf-test] ParserPure a -> ParserPure a
  23094. 1496.80 s [opt-env-conf-test] ParserAp {} -> p'
  23095. 1496.80 s [opt-env-conf-test] ParserSelect {} -> p'
  23096. 1496.80 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  23097. 1496.80 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23098. 1496.80 s [opt-env-conf-test] ParserMany {} -> p'
  23099. 1496.80 s [opt-env-conf-test] ParserSome {} -> p'
  23100. 1496.80 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  23101. 1496.80 s [opt-env-conf-test] - ParserCheck {} -> p'
  23102. 1496.80 s [opt-env-conf-test] ParserCommands {} -> p'
  23103. 1496.80 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23104. 1496.80 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23105. 1496.80 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23106. 1496.80 s [opt-env-conf-test] Just _ -> p
  23107. 1496.80 s [opt-env-conf-test]
  23108. 1496.80 s [opt-env-conf-test] -- | Try a list of parsers in order
  23109. 1496.80 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23110. 1496.80 s [opt-env-conf-test]
  23111. 1496.80 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  23112. 1496.80 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  23113. 1496.80 s [opt-env-conf-test] where
  23114. 1496.80 s [opt-env-conf-test] go p =
  23115. 1496.80 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  23116. 1496.80 s [opt-env-conf-test] in case p of
  23117. 1496.80 s [opt-env-conf-test] ParserPure a -> ParserPure a
  23118. 1496.80 s [opt-env-conf-test] ParserAp {} -> p'
  23119. 1496.80 s [opt-env-conf-test] ParserSelect {} -> p'
  23120. 1496.80 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  23121. 1496.80 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23122. 1496.80 s [opt-env-conf-test] ParserMany {} -> p'
  23123. 1496.80 s [opt-env-conf-test] ParserSome {} -> p'
  23124. 1496.80 s [opt-env-conf-test] - ParserAllOrNothing {} -> p'
  23125. 1496.80 s [opt-env-conf-test] ParserCheck {} -> p'
  23126. 1496.80 s [opt-env-conf-test] ParserCommands {} -> p'
  23127. 1496.80 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23128. 1496.80 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23129. 1496.80 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23130. 1496.80 s [opt-env-conf-test] Just _ -> p
  23131. 1496.80 s [opt-env-conf-test]
  23132. 1496.80 s [opt-env-conf-test] -- | Try a list of parsers in order
  23133. 1496.80 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23134. 1496.80 s [opt-env-conf-test]
  23135. 1496.80 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  23136. 1496.80 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  23137. 1496.80 s [opt-env-conf-test] where
  23138. 1496.80 s [opt-env-conf-test] go p =
  23139. 1496.80 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  23140. 1496.80 s [opt-env-conf-test] in case p of
  23141. 1496.80 s [opt-env-conf-test] ParserPure a -> ParserPure a
  23142. 1496.80 s [opt-env-conf-test] ParserAp {} -> p'
  23143. 1496.80 s [opt-env-conf-test] ParserSelect {} -> p'
  23144. 1496.80 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  23145. 1496.80 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23146. 1496.80 s [opt-env-conf-test] ParserMany {} -> p'
  23147. 1496.80 s [opt-env-conf-test] - ParserSome {} -> p'
  23148. 1496.80 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  23149. 1496.80 s [opt-env-conf-test] ParserCheck {} -> p'
  23150. 1496.80 s [opt-env-conf-test] ParserCommands {} -> p'
  23151. 1496.80 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23152. 1496.80 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23153. 1496.80 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23154. 1496.80 s [opt-env-conf-test] Just _ -> p
  23155. 1496.80 s [opt-env-conf-test]
  23156. 1496.80 s [opt-env-conf-test] -- | Try a list of parsers in order
  23157. 1496.80 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23158. 1496.80 s [opt-env-conf-test]
  23159. 1496.80 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  23160. 1496.80 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  23161. 1496.80 s [opt-env-conf-test] where
  23162. 1496.80 s [opt-env-conf-test] go p =
  23163. 1496.80 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  23164. 1496.80 s [opt-env-conf-test] in case p of
  23165. 1496.80 s [opt-env-conf-test] ParserPure a -> ParserPure a
  23166. 1496.80 s [opt-env-conf-test] ParserAp {} -> p'
  23167. 1496.80 s [opt-env-conf-test] ParserSelect {} -> p'
  23168. 1496.80 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  23169. 1496.80 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23170. 1496.80 s [opt-env-conf-test] - ParserMany {} -> p'
  23171. 1496.80 s [opt-env-conf-test] ParserSome {} -> p'
  23172. 1496.80 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  23173. 1496.80 s [opt-env-conf-test] ParserCheck {} -> p'
  23174. 1496.80 s [opt-env-conf-test] ParserCommands {} -> p'
  23175. 1496.80 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23176. 1496.80 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23177. 1496.80 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23178. 1496.80 s [opt-env-conf-test] Just _ -> p
  23179. 1496.80 s [opt-env-conf-test]
  23180. 1496.80 s [opt-env-conf-test] -- | Try a list of parsers in order
  23181. 1496.81 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23182. 1496.81 s [opt-env-conf-test]
  23183. 1496.81 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  23184. 1496.81 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  23185. 1496.81 s [opt-env-conf-test] where
  23186. 1496.81 s [opt-env-conf-test] go p =
  23187. 1496.81 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  23188. 1496.81 s [opt-env-conf-test] in case p of
  23189. 1496.81 s [opt-env-conf-test] ParserPure a -> ParserPure a
  23190. 1496.81 s [opt-env-conf-test] ParserAp {} -> p'
  23191. 1496.81 s [opt-env-conf-test] ParserSelect {} -> p'
  23192. 1496.81 s [opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
  23193. 1496.81 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23194. 1496.81 s [opt-env-conf-test] ParserMany {} -> p'
  23195. 1496.81 s [opt-env-conf-test] ParserSome {} -> p'
  23196. 1496.81 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  23197. 1496.81 s [opt-env-conf-test] ParserCheck {} -> p'
  23198. 1496.81 s [opt-env-conf-test] ParserCommands {} -> p'
  23199. 1496.81 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23200. 1496.81 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23201. 1496.81 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23202. 1496.81 s [opt-env-conf-test] Just _ -> p
  23203. 1496.81 s [opt-env-conf-test]
  23204. 1496.81 s [opt-env-conf-test] -- | Try a list of parsers in order
  23205. 1496.81 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23206. 1496.81 s [opt-env-conf-test]
  23207. 1496.81 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  23208. 1496.81 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  23209. 1496.81 s [opt-env-conf-test] where
  23210. 1496.81 s [opt-env-conf-test] go p =
  23211. 1496.81 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  23212. 1496.81 s [opt-env-conf-test] in case p of
  23213. 1496.81 s [opt-env-conf-test] ParserPure a -> ParserPure a
  23214. 1496.81 s [opt-env-conf-test] ParserAp {} -> p'
  23215. 1496.81 s [opt-env-conf-test] - ParserSelect {} -> p'
  23216. 1496.81 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  23217. 1496.81 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23218. 1496.81 s [opt-env-conf-test] ParserMany {} -> p'
  23219. 1496.81 s [opt-env-conf-test] ParserSome {} -> p'
  23220. 1496.81 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  23221. 1496.81 s [opt-env-conf-test] ParserCheck {} -> p'
  23222. 1496.81 s [opt-env-conf-test] ParserCommands {} -> p'
  23223. 1496.81 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23224. 1496.81 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23225. 1496.81 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23226. 1496.81 s [opt-env-conf-test] Just _ -> p
  23227. 1496.81 s [opt-env-conf-test]
  23228. 1496.81 s [opt-env-conf-test] -- | Try a list of parsers in order
  23229. 1496.81 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23230. 1496.81 s [opt-env-conf-test]
  23231. 1496.81 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  23232. 1496.81 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  23233. 1496.81 s [opt-env-conf-test] where
  23234. 1496.81 s [opt-env-conf-test] go p =
  23235. 1496.81 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  23236. 1496.81 s [opt-env-conf-test] in case p of
  23237. 1496.81 s [opt-env-conf-test] ParserPure a -> ParserPure a
  23238. 1496.81 s [opt-env-conf-test] - ParserAp {} -> p'
  23239. 1496.81 s [opt-env-conf-test] ParserSelect {} -> p'
  23240. 1496.81 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  23241. 1496.81 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23242. 1496.81 s [opt-env-conf-test] ParserMany {} -> p'
  23243. 1496.81 s [opt-env-conf-test] ParserSome {} -> p'
  23244. 1496.81 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  23245. 1496.81 s [opt-env-conf-test] ParserCheck {} -> p'
  23246. 1496.81 s [opt-env-conf-test] ParserCommands {} -> p'
  23247. 1496.81 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23248. 1496.81 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23249. 1496.81 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23250. 1496.81 s [opt-env-conf-test] Just _ -> p
  23251. 1496.81 s [opt-env-conf-test]
  23252. 1496.81 s [opt-env-conf-test] -- | Try a list of parsers in order
  23253. 1496.81 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23254. 1496.81 s [opt-env-conf-test]
  23255. 1496.81 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  23256. 1496.81 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  23257. 1496.81 s [opt-env-conf-test] where
  23258. 1496.81 s [opt-env-conf-test] go p =
  23259. 1496.81 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  23260. 1496.81 s [opt-env-conf-test] in case p of
  23261. 1496.81 s [opt-env-conf-test] - ParserPure a -> ParserPure a
  23262. 1496.81 s [opt-env-conf-test] ParserAp {} -> p'
  23263. 1496.81 s [opt-env-conf-test] ParserSelect {} -> p'
  23264. 1496.81 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  23265. 1496.81 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23266. 1496.81 s [opt-env-conf-test] ParserMany {} -> p'
  23267. 1496.81 s [opt-env-conf-test] ParserSome {} -> p'
  23268. 1496.81 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  23269. 1496.81 s [opt-env-conf-test] ParserCheck {} -> p'
  23270. 1496.81 s [opt-env-conf-test] ParserCommands {} -> p'
  23271. 1496.81 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23272. 1496.81 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23273. 1496.81 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23274. 1496.81 s [opt-env-conf-test] Just _ -> p
  23275. 1496.81 s [opt-env-conf-test]
  23276. 1496.81 s [opt-env-conf-test] -- | Try a list of parsers in order
  23277. 1496.81 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23278. 1496.81 s [opt-env-conf-test]
  23279. 1496.81 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
  23280. 1496.81 s [opt-env-conf-test] @@ -559,9 +559,8 @@
  23281. 1496.81 s [opt-env-conf-test] ParserCheck {} -> p'
  23282. 1496.81 s [opt-env-conf-test] ParserCommands {} -> p'
  23283. 1496.81 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23284. 1496.81 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23285. 1496.81 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23286. 1496.81 s [opt-env-conf-test] - Just _ -> p
  23287. 1496.81 s [opt-env-conf-test]
  23288. 1496.81 s [opt-env-conf-test] -- | Try a list of parsers in order
  23289. 1496.81 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23290. 1496.81 s [opt-env-conf-test]
  23291. 1496.81 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
  23292. 1496.81 s [opt-env-conf-test] @@ -599,9 +599,8 @@
  23293. 1496.81 s [opt-env-conf-test] checkMapMaybe func p =
  23294. 1496.81 s [opt-env-conf-test] withFrozenCallStack $
  23295. 1496.81 s [opt-env-conf-test] checkMapEither
  23296. 1496.81 s [opt-env-conf-test] ( \a -> case func a of
  23297. 1496.81 s [opt-env-conf-test] Nothing -> Left "checkMapMaybe failed without a helpful error message"
  23298. 1496.81 s [opt-env-conf-test] - Just b -> Right b
  23299. 1496.81 s [opt-env-conf-test] )
  23300. 1496.82 s [opt-env-conf-test] p
  23301. 1496.82 s [opt-env-conf-test]
  23302. 1496.82 s [opt-env-conf-test]
  23303. 1496.82 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completion.hs:453:24-40
  23304. 1496.82 s [opt-env-conf-test] @@ -450,7 +450,7 @@
  23305. 1496.82 s [opt-env-conf-test] put as'
  23306. 1496.82 s [opt-env-conf-test] pure $ Just []
  23307. 1496.82 s [opt-env-conf-test] else do
  23308. 1496.82 s [opt-env-conf-test] - if settingTryOption
  23309. 1496.82 s [opt-env-conf-test] + if True
  23310. 1496.82 s [opt-env-conf-test] then do
  23311. 1496.82 s [opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
  23312. 1496.82 s [opt-env-conf-test] case Args.consumeOption settingDasheds as of
  23313. 1496.82 s [opt-env-conf-test]
  23314. 1496.82 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
  23315. 1496.82 s [opt-env-conf-test] @@ -432,11 +432,10 @@
  23316. 1496.82 s [opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
  23317. 1496.82 s [opt-env-conf-test] -- fallback matched. In both cases, offer the
  23318. 1496.82 s [opt-env-conf-test] -- completer if we are at the end.
  23319. 1496.82 s [opt-env-conf-test] case possibilities of
  23320. 1496.82 s [opt-env-conf-test] - [] -> completeWithCompleterAtEnd
  23321. 1496.82 s [opt-env-conf-test] (_, as') : _ -> do
  23322. 1496.82 s [opt-env-conf-test] put as'
  23323. 1496.82 s [opt-env-conf-test] completeWithCompleterAtEnd
  23324. 1496.82 s [opt-env-conf-test] else
  23325. 1496.82 s [opt-env-conf-test] if isJust settingSwitchValue
  23326. 1496.82 s [opt-env-conf-test] then do
  23327. 1496.82 s [opt-env-conf-test]
  23328. 1496.82 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23329. 1496.82 s [opt-env-conf-test] @@ -125,42 +125,41 @@
  23330. 1496.82 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23331. 1496.82 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23332. 1496.82 s [opt-env-conf-test] exitFailure
  23333. 1496.82 s [opt-env-conf-test] Right i -> case i of
  23334. 1496.82 s [opt-env-conf-test] ShowVersion -> do
  23335. 1496.82 s [opt-env-conf-test] progname <- getProgName
  23336. 1496.82 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23337. 1496.82 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23338. 1496.82 s [opt-env-conf-test] exitSuccess
  23339. 1496.82 s [opt-env-conf-test] RenderMan -> do
  23340. 1496.82 s [opt-env-conf-test] progname <- getProgName
  23341. 1496.82 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23342. 1496.82 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23343. 1496.82 s [opt-env-conf-test] exitSuccess
  23344. 1496.82 s [opt-env-conf-test] RenderDocumentation -> do
  23345. 1496.82 s [opt-env-conf-test] progname <- getProgName
  23346. 1496.82 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23347. 1496.82 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23348. 1496.82 s [opt-env-conf-test] exitSuccess
  23349. 1496.82 s [opt-env-conf-test] RenderNixosOptions -> do
  23350. 1496.82 s [opt-env-conf-test] progname <- getProgName
  23351. 1496.82 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23352. 1496.82 s [opt-env-conf-test] exitSuccess
  23353. 1496.82 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23354. 1496.82 s [opt-env-conf-test] progname <- getProgName
  23355. 1496.82 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23356. 1496.82 s [opt-env-conf-test] exitSuccess
  23357. 1496.82 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23358. 1496.82 s [opt-env-conf-test] progname <- getProgName
  23359. 1496.82 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23360. 1496.82 s [opt-env-conf-test] exitSuccess
  23361. 1496.82 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23362. 1496.82 s [opt-env-conf-test] progname <- getProgName
  23363. 1496.82 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23364. 1496.82 s [opt-env-conf-test] exitSuccess
  23365. 1496.82 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23366. 1496.82 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23367. 1496.82 s [opt-env-conf-test] exitSuccess
  23368. 1496.82 s [opt-env-conf-test] - ParsedNormally a -> pure a
  23369. 1496.82 s [opt-env-conf-test]
  23370. 1496.82 s [opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
  23371. 1496.82 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23372. 1496.82 s [opt-env-conf-test]
  23373. 1496.82 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23374. 1496.82 s [opt-env-conf-test] @@ -125,42 +125,39 @@
  23375. 1496.82 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23376. 1496.82 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23377. 1496.82 s [opt-env-conf-test] exitFailure
  23378. 1496.82 s [opt-env-conf-test] Right i -> case i of
  23379. 1496.82 s [opt-env-conf-test] ShowVersion -> do
  23380. 1496.82 s [opt-env-conf-test] progname <- getProgName
  23381. 1496.82 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23382. 1496.82 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23383. 1496.82 s [opt-env-conf-test] exitSuccess
  23384. 1496.82 s [opt-env-conf-test] RenderMan -> do
  23385. 1496.82 s [opt-env-conf-test] progname <- getProgName
  23386. 1496.82 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23387. 1496.82 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23388. 1496.82 s [opt-env-conf-test] exitSuccess
  23389. 1496.82 s [opt-env-conf-test] RenderDocumentation -> do
  23390. 1496.82 s [opt-env-conf-test] progname <- getProgName
  23391. 1496.82 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23392. 1496.82 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23393. 1496.82 s [opt-env-conf-test] exitSuccess
  23394. 1496.82 s [opt-env-conf-test] RenderNixosOptions -> do
  23395. 1496.82 s [opt-env-conf-test] progname <- getProgName
  23396. 1496.82 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23397. 1496.82 s [opt-env-conf-test] exitSuccess
  23398. 1496.82 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23399. 1496.82 s [opt-env-conf-test] progname <- getProgName
  23400. 1496.82 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23401. 1496.82 s [opt-env-conf-test] exitSuccess
  23402. 1496.82 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23403. 1496.82 s [opt-env-conf-test] progname <- getProgName
  23404. 1496.82 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23405. 1496.82 s [opt-env-conf-test] exitSuccess
  23406. 1496.82 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23407. 1496.82 s [opt-env-conf-test] progname <- getProgName
  23408. 1496.82 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23409. 1496.82 s [opt-env-conf-test] exitSuccess
  23410. 1496.82 s [opt-env-conf-test] - CompletionQuery enriched index ws -> do
  23411. 1496.82 s [opt-env-conf-test] - runCompletionQuery p' enriched index ws
  23412. 1496.82 s [opt-env-conf-test] - exitSuccess
  23413. 1496.82 s [opt-env-conf-test] ParsedNormally a -> pure a
  23414. 1496.82 s [opt-env-conf-test]
  23415. 1496.82 s [opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
  23416. 1496.82 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23417. 1496.82 s [opt-env-conf-test]
  23418. 1496.82 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23419. 1496.82 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  23420. 1496.82 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23421. 1496.82 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23422. 1496.82 s [opt-env-conf-test] exitFailure
  23423. 1496.82 s [opt-env-conf-test] Right i -> case i of
  23424. 1496.82 s [opt-env-conf-test] ShowVersion -> do
  23425. 1496.83 s [opt-env-conf-test] progname <- getProgName
  23426. 1496.83 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23427. 1496.83 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23428. 1496.83 s [opt-env-conf-test] exitSuccess
  23429. 1496.83 s [opt-env-conf-test] RenderMan -> do
  23430. 1496.83 s [opt-env-conf-test] progname <- getProgName
  23431. 1496.83 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23432. 1496.83 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23433. 1496.83 s [opt-env-conf-test] exitSuccess
  23434. 1496.83 s [opt-env-conf-test] RenderDocumentation -> do
  23435. 1496.83 s [opt-env-conf-test] progname <- getProgName
  23436. 1496.83 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23437. 1496.83 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23438. 1496.83 s [opt-env-conf-test] exitSuccess
  23439. 1496.83 s [opt-env-conf-test] RenderNixosOptions -> do
  23440. 1496.83 s [opt-env-conf-test] progname <- getProgName
  23441. 1496.83 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23442. 1496.83 s [opt-env-conf-test] exitSuccess
  23443. 1496.83 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23444. 1496.83 s [opt-env-conf-test] progname <- getProgName
  23445. 1496.83 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23446. 1496.83 s [opt-env-conf-test] exitSuccess
  23447. 1496.83 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23448. 1496.83 s [opt-env-conf-test] progname <- getProgName
  23449. 1496.83 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23450. 1496.83 s [opt-env-conf-test] - exitSuccess
  23451. 1496.83 s [opt-env-conf-test] - FishCompletionScript progPath -> do
  23452. 1496.83 s [opt-env-conf-test] - progname <- getProgName
  23453. 1496.83 s [opt-env-conf-test] - generateFishCompletionScript progPath progname
  23454. 1496.83 s [opt-env-conf-test] exitSuccess
  23455. 1496.83 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23456. 1496.83 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23457. 1496.83 s [opt-env-conf-test] exitSuccess
  23458. 1496.83 s [opt-env-conf-test] ParsedNormally a -> pure a
  23459. 1496.83 s [opt-env-conf-test]
  23460. 1496.83 s [opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
  23461. 1496.83 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23462. 1496.83 s [opt-env-conf-test]
  23463. 1496.83 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23464. 1496.83 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  23465. 1496.83 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23466. 1496.83 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23467. 1496.83 s [opt-env-conf-test] exitFailure
  23468. 1496.83 s [opt-env-conf-test] Right i -> case i of
  23469. 1496.83 s [opt-env-conf-test] ShowVersion -> do
  23470. 1496.83 s [opt-env-conf-test] progname <- getProgName
  23471. 1496.83 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23472. 1496.83 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23473. 1496.83 s [opt-env-conf-test] exitSuccess
  23474. 1496.83 s [opt-env-conf-test] RenderMan -> do
  23475. 1496.83 s [opt-env-conf-test] progname <- getProgName
  23476. 1496.83 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23477. 1496.83 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23478. 1496.83 s [opt-env-conf-test] exitSuccess
  23479. 1496.83 s [opt-env-conf-test] RenderDocumentation -> do
  23480. 1496.83 s [opt-env-conf-test] progname <- getProgName
  23481. 1496.83 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23482. 1496.83 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23483. 1496.83 s [opt-env-conf-test] exitSuccess
  23484. 1496.83 s [opt-env-conf-test] RenderNixosOptions -> do
  23485. 1496.83 s [opt-env-conf-test] progname <- getProgName
  23486. 1496.83 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23487. 1496.83 s [opt-env-conf-test] exitSuccess
  23488. 1496.84 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23489. 1496.84 s [opt-env-conf-test] progname <- getProgName
  23490. 1496.84 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23491. 1496.84 s [opt-env-conf-test] - exitSuccess
  23492. 1496.84 s [opt-env-conf-test] - ZshCompletionScript progPath -> do
  23493. 1496.84 s [opt-env-conf-test] - progname <- getProgName
  23494. 1496.84 s [opt-env-conf-test] - generateZshCompletionScript progPath progname
  23495. 1496.84 s [opt-env-conf-test] exitSuccess
  23496. 1496.84 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23497. 1496.84 s [opt-env-conf-test] progname <- getProgName
  23498. 1496.84 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23499. 1496.84 s [opt-env-conf-test] exitSuccess
  23500. 1496.84 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23501. 1496.84 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23502. 1496.84 s [opt-env-conf-test] exitSuccess
  23503. 1496.84 s [opt-env-conf-test] ParsedNormally a -> pure a
  23504. 1496.84 s [opt-env-conf-test]
  23505. 1496.84 s [opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
  23506. 1496.84 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23507. 1496.84 s [opt-env-conf-test]
  23508. 1496.84 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23509. 1496.84 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  23510. 1496.84 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23511. 1496.84 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23512. 1496.84 s [opt-env-conf-test] exitFailure
  23513. 1496.84 s [opt-env-conf-test] Right i -> case i of
  23514. 1496.84 s [opt-env-conf-test] ShowVersion -> do
  23515. 1496.84 s [opt-env-conf-test] progname <- getProgName
  23516. 1496.84 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23517. 1496.84 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23518. 1496.84 s [opt-env-conf-test] exitSuccess
  23519. 1496.84 s [opt-env-conf-test] RenderMan -> do
  23520. 1496.84 s [opt-env-conf-test] progname <- getProgName
  23521. 1496.84 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23522. 1496.84 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23523. 1496.84 s [opt-env-conf-test] exitSuccess
  23524. 1496.84 s [opt-env-conf-test] RenderDocumentation -> do
  23525. 1496.84 s [opt-env-conf-test] progname <- getProgName
  23526. 1496.84 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23527. 1496.84 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23528. 1496.84 s [opt-env-conf-test] exitSuccess
  23529. 1496.84 s [opt-env-conf-test] RenderNixosOptions -> do
  23530. 1496.84 s [opt-env-conf-test] progname <- getProgName
  23531. 1496.84 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23532. 1496.84 s [opt-env-conf-test] - exitSuccess
  23533. 1496.84 s [opt-env-conf-test] - BashCompletionScript progPath -> do
  23534. 1496.84 s [opt-env-conf-test] - progname <- getProgName
  23535. 1496.84 s [opt-env-conf-test] - generateBashCompletionScript progPath progname
  23536. 1496.84 s [opt-env-conf-test] exitSuccess
  23537. 1496.84 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23538. 1496.84 s [opt-env-conf-test] progname <- getProgName
  23539. 1496.84 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23540. 1496.84 s [opt-env-conf-test] exitSuccess
  23541. 1496.84 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23542. 1496.84 s [opt-env-conf-test] progname <- getProgName
  23543. 1496.84 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23544. 1496.84 s [opt-env-conf-test] exitSuccess
  23545. 1496.84 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23546. 1496.84 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23547. 1496.84 s [opt-env-conf-test] exitSuccess
  23548. 1496.84 s [opt-env-conf-test] ParsedNormally a -> pure a
  23549. 1496.84 s [opt-env-conf-test]
  23550. 1496.84 s [opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
  23551. 1496.84 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23552. 1496.84 s [opt-env-conf-test]
  23553. 1496.84 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23554. 1496.84 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  23555. 1496.84 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23556. 1496.84 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23557. 1496.84 s [opt-env-conf-test] exitFailure
  23558. 1496.84 s [opt-env-conf-test] Right i -> case i of
  23559. 1496.84 s [opt-env-conf-test] ShowVersion -> do
  23560. 1496.84 s [opt-env-conf-test] progname <- getProgName
  23561. 1496.84 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23562. 1496.84 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23563. 1496.84 s [opt-env-conf-test] exitSuccess
  23564. 1496.84 s [opt-env-conf-test] RenderMan -> do
  23565. 1496.84 s [opt-env-conf-test] progname <- getProgName
  23566. 1496.84 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23567. 1496.84 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23568. 1496.84 s [opt-env-conf-test] exitSuccess
  23569. 1496.84 s [opt-env-conf-test] RenderDocumentation -> do
  23570. 1496.84 s [opt-env-conf-test] progname <- getProgName
  23571. 1496.84 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23572. 1496.84 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23573. 1496.84 s [opt-env-conf-test] - exitSuccess
  23574. 1496.84 s [opt-env-conf-test] - RenderNixosOptions -> do
  23575. 1496.84 s [opt-env-conf-test] - progname <- getProgName
  23576. 1496.84 s [opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23577. 1496.84 s [opt-env-conf-test] exitSuccess
  23578. 1496.84 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23579. 1496.84 s [opt-env-conf-test] progname <- getProgName
  23580. 1496.84 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23581. 1496.84 s [opt-env-conf-test] exitSuccess
  23582. 1496.84 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23583. 1496.84 s [opt-env-conf-test] progname <- getProgName
  23584. 1496.84 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23585. 1496.84 s [opt-env-conf-test] exitSuccess
  23586. 1496.84 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23587. 1496.84 s [opt-env-conf-test] progname <- getProgName
  23588. 1496.84 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23589. 1496.84 s [opt-env-conf-test] exitSuccess
  23590. 1496.84 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23591. 1496.84 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23592. 1496.84 s [opt-env-conf-test] exitSuccess
  23593. 1496.84 s [opt-env-conf-test] ParsedNormally a -> pure a
  23594. 1496.85 s [opt-env-conf-test]
  23595. 1496.85 s [opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
  23596. 1496.85 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23597. 1496.85 s [opt-env-conf-test]
  23598. 1496.85 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23599. 1496.85 s [opt-env-conf-test] @@ -125,42 +125,37 @@
  23600. 1496.85 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23601. 1496.85 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23602. 1496.85 s [opt-env-conf-test] exitFailure
  23603. 1496.85 s [opt-env-conf-test] Right i -> case i of
  23604. 1496.85 s [opt-env-conf-test] ShowVersion -> do
  23605. 1496.85 s [opt-env-conf-test] progname <- getProgName
  23606. 1496.85 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23607. 1496.85 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23608. 1496.85 s [opt-env-conf-test] exitSuccess
  23609. 1496.85 s [opt-env-conf-test] RenderMan -> do
  23610. 1496.85 s [opt-env-conf-test] progname <- getProgName
  23611. 1496.85 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23612. 1496.85 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23613. 1496.85 s [opt-env-conf-test] exitSuccess
  23614. 1496.85 s [opt-env-conf-test] - RenderDocumentation -> do
  23615. 1496.85 s [opt-env-conf-test] - progname <- getProgName
  23616. 1496.85 s [opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
  23617. 1496.85 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23618. 1496.85 s [opt-env-conf-test] - exitSuccess
  23619. 1496.85 s [opt-env-conf-test] RenderNixosOptions -> do
  23620. 1496.85 s [opt-env-conf-test] progname <- getProgName
  23621. 1496.85 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23622. 1496.85 s [opt-env-conf-test] exitSuccess
  23623. 1496.85 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23624. 1496.85 s [opt-env-conf-test] progname <- getProgName
  23625. 1496.85 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23626. 1496.85 s [opt-env-conf-test] exitSuccess
  23627. 1496.85 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23628. 1496.85 s [opt-env-conf-test] progname <- getProgName
  23629. 1496.85 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23630. 1496.85 s [opt-env-conf-test] exitSuccess
  23631. 1496.85 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23632. 1496.85 s [opt-env-conf-test] progname <- getProgName
  23633. 1496.85 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23634. 1496.85 s [opt-env-conf-test] exitSuccess
  23635. 1496.85 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23636. 1496.85 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23637. 1496.85 s [opt-env-conf-test] exitSuccess
  23638. 1496.85 s [opt-env-conf-test] ParsedNormally a -> pure a
  23639. 1496.85 s [opt-env-conf-test]
  23640. 1496.85 s [opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
  23641. 1496.85 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23642. 1496.85 s [opt-env-conf-test]
  23643. 1496.85 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23644. 1496.85 s [opt-env-conf-test] @@ -125,42 +125,37 @@
  23645. 1496.85 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23646. 1496.85 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23647. 1496.85 s [opt-env-conf-test] exitFailure
  23648. 1496.85 s [opt-env-conf-test] Right i -> case i of
  23649. 1496.85 s [opt-env-conf-test] ShowVersion -> do
  23650. 1496.85 s [opt-env-conf-test] progname <- getProgName
  23651. 1496.85 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23652. 1496.85 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23653. 1496.85 s [opt-env-conf-test] exitSuccess
  23654. 1496.85 s [opt-env-conf-test] - RenderMan -> do
  23655. 1496.85 s [opt-env-conf-test] - progname <- getProgName
  23656. 1496.85 s [opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
  23657. 1496.85 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23658. 1496.85 s [opt-env-conf-test] - exitSuccess
  23659. 1496.85 s [opt-env-conf-test] RenderDocumentation -> do
  23660. 1496.85 s [opt-env-conf-test] progname <- getProgName
  23661. 1496.85 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23662. 1496.85 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23663. 1496.85 s [opt-env-conf-test] exitSuccess
  23664. 1496.85 s [opt-env-conf-test] RenderNixosOptions -> do
  23665. 1496.85 s [opt-env-conf-test] progname <- getProgName
  23666. 1496.85 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23667. 1496.85 s [opt-env-conf-test] exitSuccess
  23668. 1496.85 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23669. 1496.85 s [opt-env-conf-test] progname <- getProgName
  23670. 1496.85 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23671. 1496.85 s [opt-env-conf-test] exitSuccess
  23672. 1496.85 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23673. 1496.85 s [opt-env-conf-test] progname <- getProgName
  23674. 1496.85 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23675. 1496.85 s [opt-env-conf-test] exitSuccess
  23676. 1496.85 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23677. 1496.85 s [opt-env-conf-test] progname <- getProgName
  23678. 1496.85 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23679. 1496.85 s [opt-env-conf-test] exitSuccess
  23680. 1496.85 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23681. 1496.85 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23682. 1496.85 s [opt-env-conf-test] exitSuccess
  23683. 1496.85 s [opt-env-conf-test] ParsedNormally a -> pure a
  23684. 1496.85 s [opt-env-conf-test]
  23685. 1496.85 s [opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
  23686. 1496.85 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23687. 1496.85 s [opt-env-conf-test]
  23688. 1496.85 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:100:48-78
  23689. 1496.85 s [opt-env-conf-test] @@ -97,9 +97,8 @@
  23690. 1496.85 s [opt-env-conf-test] exitFailure
  23691. 1496.85 s [opt-env-conf-test] Right mCommandDoc -> do
  23692. 1496.85 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23693. 1496.85 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
  23694. 1496.85 s [opt-env-conf-test] Nothing -> renderHelpPage progname version progDesc docs
  23695. 1496.85 s [opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
  23696. 1496.85 s [opt-env-conf-test] exitSuccess
  23697. 1496.85 s [opt-env-conf-test] else do
  23698. 1496.85 s [opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
  23699. 1496.85 s [opt-env-conf-test]
  23700. 1496.85 s [opt-env-conf-test] Negate at src/OptEnvConf/Main.hs:83:12-21
  23701. 1496.85 s [opt-env-conf-test] @@ -80,7 +80,7 @@
  23702. 1496.85 s [opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
  23703. 1496.85 s [opt-env-conf-test]
  23704. 1496.85 s [opt-env-conf-test] mDebugMode <-
  23705. 1496.85 s [opt-env-conf-test] - if debugMode
  23706. 1496.85 s [opt-env-conf-test] + if not debugMode
  23707. 1496.85 s [opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
  23708. 1496.85 s [opt-env-conf-test] else pure Nothing
  23709. 1496.85 s [opt-env-conf-test]
  23710. 1496.85 s [opt-env-conf-test]
  23711. 1496.85 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:83:12-21
  23712. 1496.85 s [opt-env-conf-test] @@ -80,7 +80,7 @@
  23713. 1496.85 s [opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
  23714. 1496.85 s [opt-env-conf-test]
  23715. 1496.85 s [opt-env-conf-test] mDebugMode <-
  23716. 1496.86 s [opt-env-conf-test] - if debugMode
  23717. 1496.86 s [opt-env-conf-test] + if False
  23718. 1496.86 s [opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
  23719. 1496.86 s [opt-env-conf-test] else pure Nothing
  23720. 1496.86 s [opt-env-conf-test]
  23721. 1496.86 s [opt-env-conf-test]
  23722. 1496.86 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:83:12-21
  23723. 1496.86 s [opt-env-conf-test] @@ -80,7 +80,7 @@
  23724. 1496.86 s [opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
  23725. 1496.86 s [opt-env-conf-test]
  23726. 1496.86 s [opt-env-conf-test] mDebugMode <-
  23727. 1496.86 s [opt-env-conf-test] - if debugMode
  23728. 1496.86 s [opt-env-conf-test] + if True
  23729. 1496.86 s [opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
  23730. 1496.86 s [opt-env-conf-test] else pure Nothing
  23731. 1496.86 s [opt-env-conf-test]
  23732. 1496.86 s [opt-env-conf-test]
  23733. 1496.86 s [opt-env-conf-test] Negate at src/OptEnvConf/Main.hs:175:18-23
  23734. 1496.86 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  23735. 1496.86 s [opt-env-conf-test] | x == arg -> (True, xs)
  23736. 1496.86 s [opt-env-conf-test] | otherwise ->
  23737. 1496.86 s [opt-env-conf-test] let (found, rest) = go xs
  23738. 1496.86 s [opt-env-conf-test] - in (found, x : rest)
  23739. 1496.86 s [opt-env-conf-test] + in (not found, x : rest)
  23740. 1496.86 s [opt-env-conf-test]
  23741. 1496.86 s [opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
  23742. 1496.86 s [opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
  23743. 1496.86 s [opt-env-conf-test]
  23744. 1496.86 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:175:18-23
  23745. 1496.86 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  23746. 1496.86 s [opt-env-conf-test] | x == arg -> (True, xs)
  23747. 1496.86 s [opt-env-conf-test] | otherwise ->
  23748. 1496.86 s [opt-env-conf-test] let (found, rest) = go xs
  23749. 1496.86 s [opt-env-conf-test] - in (found, x : rest)
  23750. 1496.86 s [opt-env-conf-test] + in (False, x : rest)
  23751. 1496.86 s [opt-env-conf-test]
  23752. 1496.86 s [opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
  23753. 1496.86 s [opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
  23754. 1496.86 s [opt-env-conf-test]
  23755. 1496.86 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:199:13-44
  23756. 1496.86 s [opt-env-conf-test] @@ -196,13 +196,12 @@
  23757. 1496.86 s [opt-env-conf-test] [] -> (caps, [])
  23758. 1496.86 s [opt-env-conf-test] (x : xs) ->
  23759. 1496.86 s [opt-env-conf-test] let t = T.pack x
  23760. 1496.86 s [opt-env-conf-test] in case T.stripPrefix "--settings-capabilitieTesting mutation ConstBool at src/OptEnvConf/Error.hs:55:41-51
  23761. 1496.86 s [opt-env-conf-test] @@ -52,7 +52,7 @@
  23762. 1496.86 s [opt-env-conf-test] ParseErrorEmpty -> True
  23763. 1496.86 s [opt-env-conf-test] ParseErrorEmptySetting -> False
  23764. 1496.86 s [opt-env-conf-test] ParseErrorNoReaders -> False
  23765. 1496.86 s [opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> forgivable
  23766. 1496.86 s [opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> False
  23767. 1496.86 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  23768. 1496.86 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  23769. 1496.86 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  23770. 1496.86 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  23771. 1496.86 s [opt-env-conf-test] - ParseErrorMissingConfVal md ->
  23772. 1496.86 s [opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
  23773. 1496.86 s [opt-env-conf-test] - ParseErrorConfigRead md s ->
  23774. 1496.86 s [opt-env-conf-test] - ["Failed to parse configuration: "]
  23775. 1496.86 s [opt-env-conf-test] - : maybe [] renderConfDoc md
  23776. 1496.86 s [opt-env-conf-test] - ++ [[chunk $ T.pack s]]
  23777. 1496.86 s [opt-env-conf-test] - ParseErrorMissingCommand cs ->
  23778. 1496.86 s [opt-env-conf-test] - ["Missing command, available commands:"]
  23779. 1496.86 s [opt-env-conf-test] - : availableCommandsLines cs
  23780. 1496.86 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
  23781. 1496.86 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  23782. 1496.86 s [opt-env-conf-test] - [fore blue "available commands:"]
  23783. 1496.86 s [opt-env-conf-test] - ]
  23784. 1496.86 s [opt-env-conf-test] - ++ availableCommandsLines cs
  23785. 1496.86 s [opt-env-conf-test] - ParseErrorAllOrNothing locs ->
  23786. 1496.86 s [opt-env-conf-test] - [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  23787. 1496.86 s [opt-env-conf-test] - ["The following settings have been parsed:"]
  23788. 1496.86 s [opt-env-conf-test] - ]
  23789. 1496.86 s [opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
  23790. 1496.86 s [opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
  23791. 1496.86 s [opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  23792. 1496.86 s [opt-env-conf-test] - ParseErrorMissingCapability cap ->
  23793. 1496.86 s [opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
  23794. 1496.86 s [opt-env-conf-test] - maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  23795. 1496.86 s [opt-env-conf-test] ]
  23796. 1496.86 s [opt-env-conf-test]
  23797. 1496.86 s [opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
  23798. 1496.86 s [opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
  23799. 1496.86 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:65:40-47
  23800. 1496.86 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  23801. 1496.86 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  23802. 1496.86 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  23803. 1496.86 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  23804. 1496.86 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  23805. 1496.86 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ not null cs
  23806. 1496.86 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  23807. 1496.86 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  23808. 1496.86 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  23809. 1496.86 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:14-24
  23810. 1496.86 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  23811. 1496.86 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  23812. 1496.86 s [opt-env-conf-test] c1 <- go p1
  23813. 1496.86 s [opt-env-conf-test] c2 <- go p2
  23814. 1496.86 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  23815. 1496.86 s [opt-env-conf-test] + pure False -- TODO: is this right?
  23816. 1496.86 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  23817. 1496.86 s [opt-env-conf-test] ParserMany mLoc p -> do
  23818. 1496.87 s [opt-env-conf-test] c <- go p
  23819. 1496.87 s [opt-env-conf-test] s-disable-" t of
  23820. 1496.87 s [opt-env-conf-test] - Just capName -> go (disableCapability (Capability capName) caps) xs
  23821. 1496.87 s [opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
  23822. 1496.87 s [opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
  23823. 1496.87 s [opt-env-conf-test] Nothing ->
  23824. 1496.87 s [opt-env-conf-test] let (finalCaps, rest) = go caps xs
  23825. 1496.87 s [opt-env-conf-test] in (finalCaps, x : rest)
  23826. 1496.87 s [opt-env-conf-test]
  23827. 1496.87 s [opt-env-conf-test] -- Internal structure to help us do what the framework
  23828. 1496.87 s [opt-env-conf-test] -- is supposed to.
  23829. 1496.87 s [opt-env-conf-test]
  23830. 1496.87 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:201:26-44
  23831. 1496.87 s [opt-env-conf-test] @@ -198,11 +198,10 @@
  23832. 1496.87 s [opt-env-conf-test] let t = T.pack x
  23833. 1496.87 s [opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
  23834. 1496.87 s [opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
  23835. 1496.87 s [opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
  23836. 1496.87 s [opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
  23837. 1496.87 s [opt-env-conf-test] Nothing ->
  23838. 1496.87 s [opt-env-conf-test] let (finalCaps, rest) = go caps xs
  23839. 1496.87 s [opt-env-conf-test] in (finalCaps, x : rest)
  23840. 1496.87 s [opt-env-conf-test]
  23841. 1496.87 s [opt-env-conf-test] -- Internal structure to help us do what the framework
  23842. 1496.87 s [opt-env-conf-test] -- is supposed to.
  23843. 1496.87 s [opt-env-conf-test]
  23844. 1496.87 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:440:44-42
  23845. 1496.87 s [opt-env-conf-test] @@ -437,21 +437,20 @@
  23846. 1496.87 s [opt-env-conf-test] Just (a, _) -> do
  23847. 1496.87 s [opt-env-conf-test] debug ["set to default value"]
  23848. 1496.87 s [opt-env-conf-test] pure a -- Don't mark as parsed
  23849. 1496.87 s [opt-env-conf-test] Nothing -> do
  23850. 1496.87 s [opt-env-conf-test] let parseResultError e res = case res of
  23851. 1496.87 s [opt-env-conf-test] NotRun -> Nothing
  23852. 1496.87 s [opt-env-conf-test] NotFound -> Just e
  23853. 1496.87 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  23854. 1496.87 s [opt-env-conf-test] - debug ["not found"]
  23855. 1496.87 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  23856. 1496.87 s [opt-env-conf-test] NE.nonEmpty $
  23857. 1496.87 s [opt-env-conf-test] catMaybes
  23858. 1496.87 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  23859. 1496.87 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  23860. 1496.87 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  23861. 1496.87 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  23862. 1496.87 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  23863. 1496.87 s [opt-env-conf-test] ]
  23864. 1496.87 s [opt-env-conf-test]
  23865. 1496.87 s [opt-env-conf-test] withCapabilities ::
  23866. 1496.87 s [opt-env-conf-test] Maybe SrcLoc ->
  23867. 1496.87 s [opt-env-conf-test]
  23868. 1496.87 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:441:64-59
  23869. 1496.87 s [opt-env-conf-test] @@ -438,10 +438,9 @@
  23870. 1496.87 s [opt-env-conf-test] debug ["set to default value"]
  23871. 1496.87 s [opt-env-conf-test] pure a -- Don't mark as parsed
  23872. 1496.87 s [opt-env-conf-test] Nothing -> do
  23873. 1496.87 s [opt-env-conf-test] let parseResultError e res = case res of
  23874. 1496.87 s [opt-env-conf-test] NotRun -> Nothing
  23875. 1496.87 s [opt-env-conf-test] NotFound -> Just e
  23876. 1496.87 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  23877. 1496.87 s [opt-env-conf-test] debug ["not found"]
  23878. 1496.87 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  23879. 1496.87 s [opt-env-conf-test] NE.nonEmpty $
  23880. 1496.87 s [opt-env-conf-test]
  23881. 1496.87 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:396:41-64
  23882. 1496.87 s [opt-env-conf-test] @@ -393,30 +393,29 @@
  23883. 1496.87 s [opt-env-conf-test] case mO' of
  23884. 1496.87 s [opt-env-conf-test] Nothing -> pure Nothing
  23885. 1496.87 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  23886. 1496.87 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  23887. 1496.87 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  23888. 1496.87 s [opt-env-conf-test] Right mV -> case mV of
  23889. 1496.87 s [opt-env-conf-test] Nothing -> do
  23890. 1496.87 s [opt-env-conf-test] debug
  23891. 1496.87 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  23892. 1496.87 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  23893. 1496.87 s [opt-env-conf-test] ]
  23894. 1496.87 s [opt-env-conf-test] pure Nothing
  23895. 1496.87 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  23896. 1496.87 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  23897. 1496.87 s [opt-env-conf-test] Right mA -> case mA of
  23898. 1496.87 s [opt-env-conf-test] Nothing -> do
  23899. 1496.87 s [opt-env-conf-test] debug
  23900. 1496.87 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  23901. 1496.87 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  23902. 1496.87 s [opt-env-conf-test] ]
  23903. 1496.87 s [opt-env-conf-test] pure Nothing
  23904. 1496.87 s [opt-env-conf-test] Just a -> do
  23905. 1496.87 s [opt-env-conf-test] debug
  23906. 1496.87 s [opt-env-conf-test] [ "set based on config value: ",
  23907. 1496.87 s [opt-env-conf-test] chunk $ T.pack $ show v
  23908. 1496.87 s [opt-env-conf-test] ]
  23909. 1496.87 s [opt-env-conf-test] pure $ Just a
  23910. 1496.87 s [opt-env-conf-test] let toRes = \case
  23911. 1496.87 s [opt-env-conf-test] Nothing -> NotFound
  23912. 1496.87 s [opt-env-conf-test] Just a -> Found a
  23913. 1496.87 s [opt-env-conf-test]
  23914. 1496.87 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:405:55-64
  23915. 1496.87 s [opt-env-conf-test] @@ -402,21 +402,20 @@
  23916. 1496.87 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  23917. 1496.87 s [opt-env-conf-test] ]
  23918. 1496.87 s [opt-env-conf-test] pure Nothing
  23919. 1496.87 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  23920. 1496.87 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  23921. 1496.87 s [opt-env-conf-test] Right mA -> case mA of
  23922. 1496.87 s [opt-env-conf-test] Nothing -> do
  23923. 1496.87 s [opt-env-conf-test] debug
  23924. 1496.87 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  23925. 1496.87 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  23926. 1496.87 s [opt-env-conf-test] ]
  23927. 1496.87 s [opt-env-conf-test] pure Nothing
  23928. 1496.87 s [opt-env-conf-test] Just a -> do
  23929. 1496.87 s [opt-env-conf-test] debug
  23930. 1496.87 s [opt-env-conf-test] [ "set based on config value: ",
  23931. 1496.87 s [opt-env-conf-test] chunk $ T.pack $ show v
  23932. 1496.87 s [opt-env-conf-test] ]
  23933. 1496.87 s [opt-env-conf-test] pure $ Just a
  23934. 1496.87 s [opt-env-conf-test] let toRes = \case
  23935. 1496.88 s [opt-env-conf-test] Nothing -> NotFound
  23936. 1496.88 s [opt-env-conf-test] Just a -> Found a
  23937. 1496.88 s [opt-env-conf-test]
  23938. 1496.88 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:393:49-82
  23939. 1496.88 s [opt-env-conf-test] @@ -390,9 +390,8 @@
  23940. 1496.88 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  23941. 1496.88 s [opt-env-conf-test] Just neRest -> do
  23942. 1496.88 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  23943. 1496.88 s [opt-env-conf-test] case mO' of
  23944. 1496.88 s [opt-env-conf-test] - Nothing -> pure Nothing
  23945. 1496.88 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  23946. 1496.88 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  23947. 1496.88 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  23948. 1496.88 s [opt-env-conf-test] Right mV -> case mV of
  23949. 1496.88 s [opt-env-conf-test]
  23950. 1496.88 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:224:38-20
  23951. 1496.88 s [opt-env-conf-test] @@ -221,15 +221,14 @@
  23952. 1496.88 s [opt-env-conf-test] Just c -> do
  23953. 1496.88 s [opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
  23954. 1496.88 s [opt-env-conf-test] go $ commandParser c
  23955. 1496.88 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  23956. 1496.88 s [opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  23957. 1496.88 s [opt-env-conf-test] ppIndent $ do
  23958. 1496.88 s [opt-env-conf-test] debug ["loading config"]
  23959. 1496.88 s [opt-env-conf-test] mNewConfig <- ppIndent $ go pc
  23960. 1496.88 s [opt-env-conf-test] debug ["with loaded config"]
  23961. 1496.88 s [opt-env-conf-test] ppIndent $
  23962. 1496.88 s [opt-env-conf-test] local (\e -> e {ppEnvConf = mNewConfig}) $
  23963. 1496.88 s [opt-env-conf-test] go pa
  23964. 1496.88 s [opt-env-conf-test] ParserSetting mLoc set@Setting {..} -> do
  23965. 1496.88 s [opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
  23966. 1496.88 s [opt-env-conf-test] when (not (Set.null settingRequiredCapabilities)) $
  23967. 1496.88 s [opt-env-conf-test]
  23968. 1496.88 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:221:27-39
  23969. 1496.88 s [opt-env-conf-test] @@ -218,9 +218,8 @@
  23970. 1496.88 s [opt-env-conf-test] Just s -> do
  23971. 1496.88 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  23972. 1496.88 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
  23973. 1496.88 s [opt-env-conf-test] Just c -> do
  23974. 1496.88 s [opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
  23975. 1496.88 s [opt-env-conf-test] go $ commandParser c
  23976. 1496.88 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  23977. 1496.88 s [opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  23978. 1496.88 s [opt-env-conf-test] ppIndent $ do
  23979. 1496.88 s [opt-env-conf-test]
  23980. 1496.88 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:215:28-40
  23981. 1496.88 s [opt-env-conf-test] @@ -212,9 +212,8 @@
  23982. 1496.88 s [opt-env-conf-test] find ((== d) . commandArg) cs
  23983. 1496.88 s [opt-env-conf-test] case mDefaultCommand of
  23984. 1496.88 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
  23985. 1496.88 s [opt-env-conf-test] Just dc -> do
  23986. 1496.88 s [opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
  23987. 1496.88 s [opt-env-conf-test] go $ commandParser dc
  23988. 1496.88 s [opt-env-conf-test] Just s -> do
  23989. 1496.88 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  23990. 1496.88 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
  23991. 1496.88 s [opt-env-conf-test]
  23992. 1496.88 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:195:29-70
  23993. 1496.88 s [opt-env-conf-test] @@ -192,9 +192,8 @@
  23994. 1496.88 s [opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities $ do
  23995. 1496.88 s [opt-env-conf-test] errOrB <- liftIO $ f a
  23996. 1496.88 s [opt-env-conf-test] case errOrB of
  23997. 1496.88 s [opt-env-conf-test] Left err -> do
  23998. 1496.88 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  23999. 1496.88 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  24000. 1496.88 s [opt-env-conf-test] Right b -> do
  24001. 1496.88 s [opt-env-conf-test] debug ["succeeded"]
  24002. 1496.88 s [opt-env-conf-test] pure b
  24003. 1496.88 s [opt-env-conf-test]
  24004. 1496.88 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:197:56-66
  24005. 1496.88 s [opt-env-conf-test] @@ -194,7 +194,7 @@
  24006. 1496.88 s [opt-env-conf-test] case errOrB of
  24007. 1496.88 s [opt-env-conf-test] Left err -> do
  24008. 1496.88 s [opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  24009. 1496.88 s [opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed forgivable err
  24010. 1496.88 s [opt-env-conf-test] + ppError mLoc $ ParseErrorCheckFailed False err
  24011. 1496.88 s [opt-env-conf-test] Right b -> do
  24012. 1496.88 s [opt-env-conf-test] debug ["succeeded"]
  24013. 1496.88 s [opt-env-conf-test] pure b
  24014. 1496.88 s [opt-env-conf-test]
  24015. 1496.88 s [opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:196:25-83
  24016. 1496.88 s [opt-env-conf-test] @@ -193,7 +193,6 @@
  24017. 1496.88 s [opt-env-conf-test] errOrB <- liftIO $ f a
  24018. 1496.88 s [opt-env-conf-test] case errOrB of
  24019. 1496.88 s [opt-env-conf-test] Left err -> do
  24020. 1496.88 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  24021. 1496.88 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  24022. 1496.88 s [opt-env-conf-test] Right b -> do
  24023. 1496.88 s [opt-env-conf-test] debug ["succeeded"]
  24024. 1496.88 s [opt-env-conf-test]
  24025. 1496.88 s [opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:196:25-83
  24026. 1496.88 s [opt-env-conf-test] @@ -193,7 +193,6 @@
  24027. 1496.88 s [opt-env-conf-test] errOrB <- liftIO $ f a
  24028. 1496.88 s [opt-env-conf-test] case errOrB of
  24029. 1496.88 s [opt-env-conf-test] Left err -> do
  24030. 1496.88 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  24031. 1496.88 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  24032. 1496.88 s [opt-env-conf-test] Right b -> do
  24033. 1496.88 s [opt-env-conf-test] debug ["succeeded"]
  24034. 1496.88 s [opt-env-conf-test]
  24035. 1496.88 s [opt-env-conf-test] Negate at src/OptEnvConf/Run.hs:196:72-82
  24036. 1496.88 s [opt-env-conf-test] @@ -193,7 +193,7 @@
  24037. 1496.88 s [opt-env-conf-test] errOrB <- liftIO $ f a
  24038. 1496.88 s [opt-env-conf-test] case errOrB of
  24039. 1496.88 s [opt-env-conf-test] Left err -> do
  24040. 1496.88 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  24041. 1496.88 s [opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show not forgivable]
  24042. 1496.88 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  24043. 1496.88 s [opt-env-conf-test] Right b -> do
  24044. 1496.88 s [opt-env-conf-test] debug ["succeeded"]
  24045. 1496.88 s [opt-env-conf-test]
  24046. 1496.88 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:196:72-82
  24047. 1496.88 s [opt-env-conf-test] @@ -193,7 +193,7 @@
  24048. 1496.88 s [opt-env-conf-test] errOrB <- liftIO $ f a
  24049. 1496.89 s [opt-env-conf-test] case errOrB of
  24050. 1496.89 s [opt-env-conf-test] Left err -> do
  24051. 1496.89 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  24052. 1496.89 s [opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show True]
  24053. 1496.89 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  24054. 1496.89 s [opt-env-conf-test] Right b -> do
  24055. 1496.89 s [opt-env-conf-test] debug ["succeeded"]
  24056. 1496.89 s [opt-env-conf-test]
  24057. 1496.89 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:150:37-112
  24058. 1496.89 s [opt-env-conf-test] @@ -147,34 +147,33 @@
  24059. 1496.89 s [opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
  24060. 1496.89 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  24061. 1496.89 s [opt-env-conf-test] pure (a :| as)
  24062. 1496.89 s [opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
  24063. 1496.89 s [opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  24064. 1496.89 s [opt-env-conf-test] ppIndent $ do
  24065. 1496.89 s [opt-env-conf-test] e <- ask
  24066. 1496.89 s [opt-env-conf-test] s <- get
  24067. 1496.89 s [opt-env-conf-test] results <- liftIO $ runPP (go p') s e
  24068. 1496.89 s [opt-env-conf-test] (result, s') <- ppNonDetList results
  24069. 1496.89 s [opt-env-conf-test] put s'
  24070. 1496.89 s [opt-env-conf-test] case result of
  24071. 1496.89 s [opt-env-conf-test] Success a -> pure a
  24072. 1496.89 s [opt-env-conf-test] Failure errs -> do
  24073. 1496.89 s [opt-env-conf-test] if not $ all errorIsForgivable errs
  24074. 1496.89 s [opt-env-conf-test] then ppErrors' errs
  24075. 1496.89 s [opt-env-conf-test] else do
  24076. 1496.89 s [opt-env-conf-test] -- Settings available below
  24077. 1496.89 s [opt-env-conf-test] let settingsMap = parserSettingsMap p'
  24078. 1496.89 s [opt-env-conf-test] -- Settings that have been parsed
  24079. 1496.89 s [opt-env-conf-test] parsedMap <- gets ppStateParsedSettings
  24080. 1496.89 s [opt-env-conf-test] -- Settings that have been parsed below
  24081. 1496.89 s [opt-env-conf-test] let parsedSettingsMap = settingsMap `M.intersection` parsedMap
  24082. 1496.89 s [opt-env-conf-test] -- If any settings have been parsed below, and parsing still failed
  24083. 1496.89 s [opt-env-conf-test] -- (this is the case because we're in the failure branch)
  24084. 1496.89 s [opt-env-conf-test] -- with only forgivable errors
  24085. 1496.89 s [opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
  24086. 1496.89 s [opt-env-conf-test] -- then this should be an unforgivable error.
  24087. 1496.89 s [opt-env-conf-test] if null parsedSettingsMap
  24088. 1496.89 s [opt-env-conf-test] then ppErrors' errs
  24089. 1496.89 s [opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
  24090. 1496.89 s [opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
  24091. 1496.89 s [opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  24092. 1496.89 s [opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
  24093. 1496.89 s [opt-env-conf-test]
  24094. 1496.89 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:161:18-50
  24095. 1496.89 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  24096. 1496.89 s [opt-env-conf-test] case result of
  24097. 1496.89 s [opt-env-conf-test] Success a -> pure a
  24098. 1496.89 s [opt-env-conf-test] Failure errs -> do
  24099. 1496.89 s [opt-env-conf-test] - if not $ all errorIsForgivable errs
  24100. 1496.89 s [opt-env-conf-test] + if False
  24101. 1496.89 s [opt-env-conf-test] then ppErrors' errs
  24102. 1496.89 s [opt-env-conf-test] else do
  24103. 1496.89 s [opt-env-conf-test] -- Settings available below
  24104. 1496.89 s [opt-env-conf-test]
  24105. 1496.89 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:161:24-50
  24106. 1496.89 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  24107. 1496.89 s [opt-env-conf-test] case result of
  24108. 1496.89 s [opt-env-conf-test] Success a -> pure a
  24109. 1496.89 s [opt-env-conf-test] Failure errs -> do
  24110. 1496.89 s [opt-env-conf-test] - if not $ all errorIsForgivable errs
  24111. 1496.89 s [opt-env-conf-test] + if not $ True
  24112. 1496.89 s [opt-env-conf-test] then ppErrors' errs
  24113. 1496.89 s [opt-env-conf-test] else do
  24114. 1496.89 s [opt-env-conf-test] -- Settings available below
  24115. 1496.89 s [opt-env-conf-test]
  24116. 1496.89 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:143:29-25
  24117. 1496.89 s [opt-env-conf-test] @@ -140,13 +140,12 @@
  24118. 1496.89 s [opt-env-conf-test] Just a -> do
  24119. 1496.89 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  24120. 1496.89 s [opt-env-conf-test] pure (a : as)
  24121. 1496.89 s [opt-env-conf-test] ParserSome mLoc p' -> do
  24122. 1496.89 s [opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
  24123. 1496.89 s [opt-env-conf-test] ppIndent $ do
  24124. 1496.89 s [opt-env-conf-test] a <- go p'
  24125. 1496.89 s [opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
  24126. 1496.89 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  24127. 1496.89 s [opt-env-conf-test] pure (a :| as)
  24128. 1496.89 s [opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
  24129. 1496.89 s [opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  24130. 1496.89 s [opt-env-conf-test] ppIndent $ do
  24131. 1496.89 s [opt-env-conf-test]
  24132. 1496.89 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:134:29-28
  24133. 1496.89 s [opt-env-conf-test] @@ -131,15 +131,14 @@
  24134. 1496.89 s [opt-env-conf-test] Nothing -> do
  24135. 1496.89 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  24136. 1496.89 s [opt-env-conf-test] ppIndent $ go p2
  24137. 1496.89 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24138. 1496.89 s [opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24139. 1496.89 s [opt-env-conf-test] ppIndent $ do
  24140. 1496.89 s [opt-env-conf-test] eor <- tryPP $ go p'
  24141. 1496.89 s [opt-env-conf-test] case eor of
  24142. 1496.89 s [opt-env-conf-test] Nothing -> pure []
  24143. 1496.89 s [opt-env-conf-test] Just a -> do
  24144. 1496.89 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  24145. 1496.89 s [opt-env-conf-test] pure (a : as)
  24146. 1496.89 s [opt-env-conf-test] ParserSome mLoc p' -> do
  24147. 1496.89 s [opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
  24148. 1496.89 s [opt-env-conf-test] ppIndent $ do
  24149. 1496.89 s [opt-env-conf-test]
  24150. 1496.89 s [opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
  24151. 1496.89 s [opt-env-conf-test] @@ -132,7 +132,6 @@
  24152. 1496.89 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  24153. 1496.89 s [opt-env-conf-test] ppIndent $ go p2
  24154. 1496.89 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24155. 1496.89 s [opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24156. 1496.89 s [opt-env-conf-test] ppIndent $ do
  24157. 1496.89 s [opt-env-conf-test] eor <- tryPP $ go p'
  24158. 1496.89 s [opt-env-conf-test] case eor of
  24159. 1496.89 s [opt-env-conf-test]
  24160. 1496.89 s [opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
  24161. 1496.89 s [opt-env-conf-test] @@ -132,7 +132,6 @@
  24162. 1496.89 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  24163. 1496.89 s [opt-env-conf-test] ppIndent $ go p2
  24164. 1496.89 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24165. 1496.89 s [opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24166. 1496.89 s [opt-env-conf-test] ppIndent $ do
  24167. 1496.89 s [opt-env-conf-test] eor <- tryPP $ go p'
  24168. 1496.89 s [opt-env-conf-test] case eor of
  24169. 1496.89 s [opt-env-conf-test]
  24170. 1496.89 s [opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
  24171. 1496.89 s [opt-env-conf-test] @@ -132,7 +132,6 @@
  24172. 1496.89 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  24173. 1496.89 s [opt-env-conf-test] ppIndent $ go p2
  24174. 1496.89 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24175. 1496.89 s [opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24176. 1496.89 s [opt-env-conf-test] ppIndent $ do
  24177. 1496.89 s [opt-env-conf-test] eor <- tryPP $ go p'
  24178. 1496.89 s [opt-env-conf-test] case eor of
  24179. 1496.89 s [opt-env-conf-test]
  24180. 1496.89 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:122:26-31
  24181. 1496.89 s [opt-env-conf-test] @@ -119,18 +119,17 @@
  24182. 1496.89 s [opt-env-conf-test] ParserSelect fe ff -> do
  24183. 1496.89 s [opt-env-conf-test] debug [syntaxChunk "Select"]
  24184. 1496.89 s [opt-env-conf-test] ppIndent $ select (go fe) (go ff)
  24185. 1496.89 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  24186. 1496.89 s [opt-env-conf-test] - debug [syntaxChunk "Alt"]
  24187. 1496.89 s [opt-env-conf-test] ppIndent $ do
  24188. 1496.89 s [opt-env-conf-test] debug ["Trying left side."]
  24189. 1496.89 s [opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
  24190. 1496.89 s [opt-env-conf-test] case eor of
  24191. 1496.89 s [opt-env-conf-test] Just a -> do
  24192. 1496.89 s [opt-env-conf-test] debug ["Left side succeeded."]
  24193. 1496.89 s [opt-env-conf-test] pure a
  24194. 1496.89 s [opt-env-conf-test] Nothing -> do
  24195. 1496.89 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  24196. 1496.90 s [opt-env-conf-test] ppIndent $ go p2
  24197. 1496.90 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24198. 1496.90 s [opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24199. 1496.90 s [opt-env-conf-test] ppIndent $ do
  24200. 1496.90 s [opt-env-conf-test]
  24201. 1496.90 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:131:24-31
  24202. 1496.90 s [opt-env-conf-test] @@ -128,9 +128,8 @@
  24203. 1496.90 s [opt-env-conf-test] Just a -> do
  24204. 1496.90 s [opt-env-conf-test] debug ["Left side succeeded."]
  24205. 1496.90 s [opt-env-conf-test] pure a
  24206. 1496.90 s [opt-env-conf-test] Nothing -> do
  24207. 1496.90 s [opt-env-conf-test] - debug ["Left side failed, trying right side."]
  24208. 1496.90 s [opt-env-conf-test] ppIndent $ go p2
  24209. 1496.90 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24210. 1496.90 s [opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24211. 1496.90 s [opt-env-conf-test] ppIndent $ do
  24212. 1496.90 s [opt-env-conf-test]
  24213. 1496.90 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:119:29-42
  24214. 1496.90 s [opt-env-conf-test] @@ -116,9 +116,8 @@
  24215. 1496.90 s [opt-env-conf-test] ParserEmpty mLoc -> do
  24216. 1496.90 s [opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  24217. 1496.90 s [opt-env-conf-test] ppError mLoc ParseErrorEmpty
  24218. 1496.90 s [opt-env-conf-test] ParserSelect fe ff -> do
  24219. 1496.90 s [opt-env-conf-test] - debug [syntaxChunk "Select"]
  24220. 1496.90 s [opt-env-conf-test] ppIndent $ select (go fe) (go ff)
  24221. 1496.90 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  24222. 1496.90 s [opt-env-conf-test] debug [syntaxChunk "Alt"]
  24223. 1496.90 s [opt-env-conf-test] ppIndent $ do
  24224. 1496.90 s [opt-env-conf-test]
  24225. 1496.90 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:116:27-37
  24226. 1496.90 s [opt-env-conf-test] @@ -113,9 +113,8 @@
  24227. 1496.90 s [opt-env-conf-test] ParserAp ff fa -> do
  24228. 1496.90 s [opt-env-conf-test] debug [syntaxChunk "Ap"]
  24229. 1496.90 s [opt-env-conf-test] ppIndent $ go ff <*> go fa
  24230. 1496.90 s [opt-env-conf-test] ParserEmpty mLoc -> do
  24231. 1496.90 s [opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  24232. 1496.90 s [opt-env-conf-test] ppError mLoc ParseErrorEmpty
  24233. 1496.90 s [opt-env-conf-test] ParserSelect fe ff -> do
  24234. 1496.90 s [opt-env-conf-test] debug [syntaxChunk "Select"]
  24235. 1496.90 s [opt-env-conf-test] ppIndent $ select (go fe) (go ff)
  24236. 1496.90 s [opt-env-conf-test]
  24237. 1496.90 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:113:25-35
  24238. 1496.90 s [opt-env-conf-test] @@ -110,9 +110,8 @@
  24239. 1496.90 s [opt-env-conf-test] ParserPure a -> do
  24240. 1496.90 s [opt-env-conf-test] debug [syntaxChunk "pure value"]
  24241. 1496.90 s [opt-env-conf-test] pure a
  24242. 1496.90 s [opt-env-conf-test] ParserAp ff fa -> do
  24243. 1496.90 s [opt-env-conf-test] - debug [syntaxChunk "Ap"]
  24244. 1496.90 s [opt-env-conf-test] ppIndent $ go ff <*> go fa
  24245. 1496.90 s [opt-env-conf-test] ParserEmpty mLoc -> do
  24246. 1496.90 s [opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  24247. 1496.90 s [opt-env-conf-test] ppError mLoc ParseErrorEmpty
  24248. 1496.90 s [opt-env-conf-test]
  24249. 1496.90 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:84:3-26
  24250. 1496.90 s [opt-env-conf-test] @@ -81,27 +81,26 @@
  24251. 1496.90 s [opt-env-conf-test] Nothing -> pure result
  24252. 1496.90 s [opt-env-conf-test] Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
  24253. 1496.90 s [opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
  24254. 1496.90 s [opt-env-conf-test] case mTup of
  24255. 1496.90 s [opt-env-conf-test] - Nothing -> error "TODO figure out when this list can be empty"
  24256. 1496.90 s [opt-env-conf-test] Just ((errOrRes, _), nexts) -> case errOrRes of
  24257. 1496.90 s [opt-env-conf-test] Success a -> pure (Right a)
  24258. 1496.90 s [opt-env-conf-test] Failure firstErrors ->
  24259. 1496.90 s [opt-env-conf-test] let goNexts ns = do
  24260. 1496.90 s [opt-env-conf-test] -- TODO: Consider keeping around all errors?
  24261. 1496.90 s [opt-env-conf-test] mNext <- runNonDetTLazy ns
  24262. 1496.90 s [opt-env-conf-test] case mNext of
  24263. 1496.90 s [opt-env-conf-test] Nothing ->
  24264. 1496.90 s [opt-env-conf-test] pure $
  24265. 1496.90 s [opt-env-conf-test] Left $
  24266. 1496.90 s [opt-env-conf-test] -- Only show source locations in debug mode.
  24267. 1496.90 s [opt-env-conf-test] let f = case mDebugMode of
  24268. 1496.90 s [opt-env-conf-test] Nothing -> eraseErrorSrcLocs
  24269. 1496.90 s [opt-env-conf-test] Just _ -> id
  24270. 1496.90 s [opt-env-conf-test] in f firstErrors
  24271. 1496.90 s [opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
  24272. 1496.90 s [opt-env-conf-test] Success a -> pure (Right a)
  24273. 1496.90 s [opt-env-conf-test] Failure _ -> goNexts ns'
  24274. 1496.90 s [opt-env-conf-test] in goNexts nexts
  24275. 1496.90 s [opt-env-conf-test] where
  24276. 1496.90 s [opt-env-conf-test] go ::
  24277. 1496.90 s [opt-env-conf-test] Parser a ->
  24278. 1496.90 s [opt-env-conf-test]
  24279. 1496.90 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:464:22-66
  24280. 1496.90 s [opt-env-conf-test] @@ -461,11 +461,8 @@
  24281. 1496.90 s [opt-env-conf-test] PP a
  24282. 1496.90 s [opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities func =
  24283. 1496.90 s [opt-env-conf-test] case missingCapabilities capabilities requiredCapabilities of
  24284. 1496.90 s [opt-env-conf-test] Just missings -> do
  24285. 1496.90 s [opt-env-conf-test] - debug $
  24286. 1496.90 s [opt-env-conf-test] - "Missing capabilities: "
  24287. 1496.90 s [opt-env-conf-test] - : capabilitiesChunks (Set.fromList (NE.toList missings))
  24288. 1496.90 s [opt-env-conf-test] ppErrors mLoc $ NE.map ParseErrorMissingCapability missings
  24289. 1496.90 s [opt-env-conf-test] Nothing -> func
  24290. 1496.90 s [opt-env-conf-test]
  24291. 1496.90 s [opt-env-conf-test] data ParseResult a
  24292. 1496.90 s [opt-env-conf-test]
  24293. 1496.90 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:477:21-21
  24294. 1496.90 s [opt-env-conf-test] @@ -474,9 +474,8 @@
  24295. 1496.90 s [opt-env-conf-test] | Found a
  24296. 1496.90 s [opt-env-conf-test]
  24297. 1496.90 s [opt-env-conf-test] requireReaders :: [Reader a] -> PP (NonEmpty (Reader a))
  24298. 1496.90 s [opt-env-conf-test] requireReaders rs = case NE.nonEmpty rs of
  24299. 1496.90 s [opt-env-conf-test] - Nothing -> ppError Nothing ParseErrorNoReaders
  24300. 1496.90 s [opt-env-conf-test] Just ne -> pure ne
  24301. 1496.90 s [opt-env-conf-test]
  24302. 1496.90 s [opt-env-conf-test] -- Try the readers in order
  24303. 1496.90 s [opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
  24304. 1496.90 s [opt-env-conf-test]
  24305. 1496.90 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:568:44-43
  24306. 1496.90 s [opt-env-conf-test] @@ -565,12 +565,11 @@
  24307. 1496.90 s [opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
  24308. 1496.90 s [opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  24309. 1496.90 s [opt-env-conf-test] ppIndent $ go p'
  24310. 1496.90 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  24311. 1496.90 s [opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  24312. 1496.90 s [opt-env-conf-test] ppIndent $ do
  24313. 1496.90 s [opt-env-conf-test] mNewConfig <- go pc
  24314. 1496.90 s [opt-env-conf-test] mRes <- go pa
  24315. 1496.90 s [opt-env-conf-test] pure $ mRes <|> mNewConfig -- Reverse order
  24316. 1496.90 s [opt-env-conf-test] ParserSetting mLoc _ -> do
  24317. 1496.90 s [opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
  24318. 1496.90 s [opt-env-conf-test] pure Nothing
  24319. 1496.90 s [opt-env-conf-test]
  24320. 1496.90 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:565:42-31
  24321. 1496.90 s [opt-env-conf-test] @@ -562,9 +562,8 @@
  24322. 1496.90 s [opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
  24323. 1496.90 s [opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  24324. 1496.90 s [opt-env-conf-test] ppIndent $ go p'
  24325. 1496.90 s [opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
  24326. 1496.90 s [opt-env-conf-test] - debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  24327. 1496.90 s [opt-env-conf-test] ppIndent $ go p'
  24328. 1496.90 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  24329. 1496.90 s [opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  24330. 1496.90 s [opt-env-conf-test] ppIndent $ do
  24331. 1496.90 s [opt-env-conf-test]
  24332. 1496.90 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:562:43-31
  24333. 1496.90 s [opt-env-conf-test] @@ -559,9 +559,8 @@
  24334. 1496.90 s [opt-env-conf-test] ParserSome mLoc p' -> do
  24335. 1496.90 s [opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
  24336. 1496.90 s [opt-env-conf-test] ppIndent $ go p'
  24337. 1496.90 s [opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
  24338. 1496.90 s [opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  24339. 1496.90 s [opt-env-conf-test] ppIndent $ go p'
  24340. 1496.90 s [opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
  24341. 1496.90 s [opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  24342. 1496.90 s [opt-env-conf-test] ppIndent $ go p'
  24343. 1496.90 s [opt-env-conf-test]
  24344. 1496.90 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:544:32-37
  24345. 1496.91 s [opt-env-conf-test] @@ -541,18 +541,17 @@
  24346. 1496.91 s [opt-env-conf-test] ParserEmpty mLoc -> do
  24347. 1496.91 s [opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  24348. 1496.91 s [opt-env-conf-test] pure Nothing
  24349. 1496.91 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  24350. 1496.91 s [opt-env-conf-test] - debug [syntaxChunk "Alt"]
  24351. 1496.91 s [opt-env-conf-test] ppIndent $ do
  24352. 1496.91 s [opt-env-conf-test] debug ["Trying left side."]
  24353. 1496.91 s [opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
  24354. 1496.91 s [opt-env-conf-test] case eor of
  24355. 1496.91 s [opt-env-conf-test] Just a -> do
  24356. 1496.91 s [opt-env-conf-test] debug ["Left side succeeded."]
  24357. 1496.91 s [opt-env-conf-test] pure a
  24358. 1496.91 s [opt-env-conf-test] Nothing -> do
  24359. 1496.91 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  24360. 1496.91 s [opt-env-conf-test] ppIndent $ go p2
  24361. 1496.91 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24362. 1496.91 s [opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24363. 1496.91 s [opt-env-conf-test] ppIndent $ go p'
  24364. 1496.91 s [opt-env-conf-test]
  24365. 1496.91 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:549:17-37
  24366. 1496.91 s [opt-env-conf-test] @@ -546,13 +546,10 @@
  24367. 1496.91 s [opt-env-conf-test] ppIndent $ do
  24368. 1496.91 s [opt-env-conf-test] debug ["Trying left side."]
  24369. 1496.91 s [opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
  24370. 1496.91 s [opt-env-conf-test] case eor of
  24371. 1496.91 s [opt-env-conf-test] Just a -> do
  24372. 1496.91 s [opt-env-conf-test] debug ["Left side succeeded."]
  24373. 1496.91 s [opt-env-conf-test] pure a
  24374. 1496.91 s [opt-env-conf-test] - Nothing -> do
  24375. 1496.91 s [opt-env-conf-test] - debug ["Left side failed, trying right side."]
  24376. 1496.91 s [opt-env-conf-test] - ppIndent $ go p2
  24377. 1496.91 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24378. 1496.91 s [opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24379. 1496.91 s [opt-env-conf-test] ppIndent $ go p'
  24380. 1496.91 s [opt-env-conf-test]
  24381. 1496.91 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:529:31-33
  24382. 1496.91 s [opt-env-conf-test] @@ -526,12 +526,11 @@
  24383. 1496.91 s [opt-env-conf-test] ParserPure _ -> do
  24384. 1496.91 s [opt-env-conf-test] debug [syntaxChunk "pure value"]
  24385. 1496.91 s [opt-env-conf-test] pure Nothing
  24386. 1496.91 s [opt-env-conf-test] ParserAp ff fa -> do
  24387. 1496.91 s [opt-env-conf-test] - debug [syntaxChunk "Ap"]
  24388. 1496.91 s [opt-env-conf-test] ppIndent $ do
  24389. 1496.91 s [opt-env-conf-test] mf <- go ff
  24390. 1496.91 s [opt-env-conf-test] ma <- go fa
  24391. 1496.91 s [opt-env-conf-test] pure $ ma <|> mf -- Reverse order
  24392. 1496.91 s [opt-env-conf-test] ParserSelect fe ff -> do
  24393. 1496.91 s [opt-env-conf-test] debug [syntaxChunk "Select"]
  24394. 1496.91 s [opt-env-conf-test] ppIndent $ do
  24395. 1496.91 s [opt-env-conf-test]
  24396. 1496.91 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:514:3-35
  24397. 1496.91 s [opt-env-conf-test] @@ -511,11 +511,10 @@
  24398. 1496.91 s [opt-env-conf-test] ppEnvIndent = 0
  24399. 1496.91 s [opt-env-conf-test] }
  24400. 1496.91 s [opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
  24401. 1496.91 s [opt-env-conf-test] case mResOrNext of
  24402. 1496.91 s [opt-env-conf-test] - Nothing -> pure $ Right Nothing
  24403. 1496.91 s [opt-env-conf-test] Just ((result, _), _) -> pure $ case result of
  24404. 1496.91 s [opt-env-conf-test] Failure errs -> Left errs
  24405. 1496.91 s [opt-env-conf-test] Success mDocs -> Right mDocs
  24406. 1496.91 s [opt-env-conf-test] where
  24407. 1496.91 s [opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
  24408. 1496.91 s [opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
  24409. 1496.91 s [opt-env-conf-test]
  24410. 1496.91 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:516:37-35
  24411. 1496.91 s [opt-env-conf-test] @@ -513,9 +513,8 @@
  24412. 1496.91 s [opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
  24413. 1496.91 s [opt-env-conf-test] case mResOrNext of
  24414. 1496.91 s [opt-env-conf-test] Nothing -> pure $ Right Nothing
  24415. 1496.91 s [opt-env-conf-test] Just ((result, _), _) -> pure $ case result of
  24416. 1496.91 s [opt-env-conf-test] - Failure errs -> Left errs
  24417. 1496.91 s [opt-env-conf-test] Success mDocs -> Right mDocs
  24418. 1496.91 s [opt-env-conf-test] where
  24419. 1496.91 s [opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
  24420. 1496.91 s [opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
  24421. 1496.91 s [opt-env-conf-test]
  24422. 1496.91 s [opt-env-conf-test] IntLit at src/OptEnvConf/Run.hs:511:27-28
  24423. 1496.91 s [opt-env-conf-test] @@ -508,7 +508,7 @@
  24424. 1496.91 s [opt-env-conf-test] { ppEnvEnv = EnvMap.empty,
  24425. 1496.91 s [opt-env-conf-test] ppEnvConf = Nothing,
  24426. 1496.91 s [opt-env-conf-test] ppEnvDebug = mDebugMode,
  24427. 1496.91 s [opt-env-conf-test] - ppEnvIndent = 0
  24428. 1496.91 s [opt-env-conf-test] + ppEnvIndent = 1
  24429. 1496.91 s [opt-env-conf-test] }
  24430. 1496.91 s [opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
  24431. 1496.91 s [opt-env-conf-test] case mResOrNext of
  24432. 1496.91 s [opt-env-conf-test]
  24433. 1496.91 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Doc.hs:370:15-16
  24434. 1496.91 s [opt-env-conf-test] @@ -367,11 +367,10 @@
  24435. 1496.91 s [opt-env-conf-test] | not (null commandDocs)
  24436. 1496.91 s [opt-env-conf-test] ],
  24437. 1496.91 s [opt-env-conf-test] concat
  24438. 1496.91 s [opt-env-conf-test] [ [ headerChunks "Options",
  24439. 1496.91 s [opt-env-conf-test] renderLongOptDocs optDocs
  24440. 1496.91 s [opt-env-conf-test] ]
  24441. 1496.91 s [opt-env-conf-test] - | not (nullDocs optDocs)
  24442. 1496.91 s [opt-env-conf-test] ],
  24443. 1496.91 s [opt-env-conf-test] concat
  24444. 1496.91 s [opt-env-conf-test] [ [ headerChunks "Environment Variables",
  24445. 1496.91 s [opt-env-conf-test] renderEnvDocs envDocs
  24446. 1496.91 s [opt-env-conf-test]
  24447. 1496.91 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:373:17-39
  24448. 1496.91 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  24449. 1496.91 s [opt-env-conf-test] [ [ headerChunks "Options",
  24450. 1496.91 s [opt-env-conf-test] renderLongOptDocs optDocs
  24451. 1496.91 s [opt-env-conf-test] ]
  24452. 1496.91 s [opt-env-conf-test] - | not (nullDocs optDocs)
  24453. 1496.91 s [opt-env-conf-test] + | True
  24454. 1496.91 s [opt-env-conf-test] ],
  24455. 1496.91 s [opt-env-conf-test] concat
  24456. 1496.91 s [opt-env-conf-test] [ [ headerChunks "Environment Variables",
  24457. 1496.91 s [opt-env-conf-test]
  24458. 1496.91 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Doc.hs:329:15-16
  24459. 1496.91 s [opt-env-conf-test] @@ -326,11 +326,10 @@
  24460. 1496.91 s [opt-env-conf-test] | not (null commandDocs)
  24461. 1496.91 s [opt-env-conf-test] ],
  24462. 1496.91 s [opt-env-conf-test] concat
  24463. 1496.91 s [opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
  24464. 1496.91 s [opt-env-conf-test] renderLongOptDocs optDocs
  24465. 1496.91 s [opt-env-conf-test] ]
  24466. 1496.91 s [opt-env-conf-test] - | not (nullDocs optDocs)
  24467. 1496.91 s [opt-env-conf-test] ],
  24468. 1496.91 s [opt-env-conf-test] concat
  24469. 1496.91 s [opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
  24470. 1496.91 s [opt-env-conf-test] renderEnvDocs envDocs
  24471. 1496.91 s [opt-env-conf-test]
  24472. 1496.91 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:332:17-39
  24473. 1496.91 s [opt-env-conf-test] @@ -329,7 +329,7 @@
  24474. 1496.91 s [opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
  24475. 1496.91 s [opt-env-conf-test] renderLongOptDocs optDocs
  24476. 1496.91 s [opt-env-conf-test] ]
  24477. 1496.91 s [opt-env-conf-test] - | not (nullDocs optDocs)
  24478. 1496.91 s [opt-env-conf-test] + | True
  24479. 1496.91 s [opt-env-conf-test] ],
  24480. 1496.91 s [opt-env-conf-test] concat
  24481. 1496.91 s [opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
  24482. 1496.91 s [opt-env-conf-test]
  24483. 1496.91 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:568:9-20
  24484. 1496.91 s [opt-env-conf-test] @@ -565,21 +565,20 @@
  24485. 1496.91 s [opt-env-conf-test] [] -> []
  24486. 1496.91 s [opt-env-conf-test] [d] -> go isTopLevel d
  24487. 1496.91 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  24488. 1496.91 s [opt-env-conf-test] case setDocHelp d of
  24489. 1496.91 s [opt-env-conf-test] - Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
  24490. 1496.91 s [opt-env-conf-test] Just h ->
  24491. 1496.91 s [opt-env-conf-test] let (sds, rest) = goSameHelp h ds
  24492. 1496.91 s [opt-env-conf-test] in concat
  24493. 1496.91 s [opt-env-conf-test] [ concat
  24494. 1496.91 s [opt-env-conf-test] [ concat
  24495. 1496.92 s [opt-env-conf-test] [ indent $ renderSetDocHeader (Just h),
  24496. 1496.92 s [opt-env-conf-test] indent $ concatMap renderSetDocWithoutHeader $ d : sds,
  24497. 1496.92 s [opt-env-conf-test] [[]]
  24498. 1496.92 s [opt-env-conf-test] ]
  24499. 1496.92 s [opt-env-conf-test] | not isTopLevel
  24500. 1496.92 s [opt-env-conf-test] ],
  24501. 1496.92 s [opt-env-conf-test] goOr isTopLevel rest
  24502. 1496.92 s [opt-env-conf-test] ]
  24503. 1496.92 s [opt-env-conf-test] (d : ds) -> go isTopLevel d ++ goOr isTopLevel ds
  24504. 1496.92 s [opt-env-conf-test] goSameHelp :: Help -> [AnyDocs SetDoc] -> ([SetDoc], [AnyDocs SetDoc])
  24505. 1496.92 s [opt-env-conf-test] goSameHelp h = \case
  24506. 1496.92 s [opt-env-conf-test]
  24507. 1496.92 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:581:26-36
  24508. 1496.92 s [opt-env-conf-test] @@ -578,7 +578,7 @@
  24509. 1496.92 s [opt-env-conf-test] ]
  24510. 1496.92 s [opt-env-conf-test] | not isTopLevel
  24511. 1496.92 s [opt-env-conf-test] ],
  24512. 1496.92 s [opt-env-conf-test] - goOr isTopLevel rest
  24513. 1496.92 s [opt-env-conf-test] + goOr True rest
  24514. 1496.92 s [opt-env-conf-test] ]
  24515. 1496.92 s [opt-env-conf-test] (d : ds) -> go isTopLevel d ++ goOr isTopLevel ds
  24516. 1496.92 s [opt-env-conf-test] goSameHelp :: Help -> [AnyDocs SetDoc] -> ([SetDoc], [AnyDocs SetDoc])
  24517. 1496.92 s [opt-env-conf-test]
  24518. 1496.92 s [opt-env-conf-test] Negate at src/OptEnvConf/Doc.hs:566:17-27
  24519. 1496.92 s [opt-env-conf-test] @@ -563,7 +563,7 @@
  24520. 1496.92 s [opt-env-conf-test] goOr :: Bool -> [AnyDocs SetDoc] -> [[Chunk]]
  24521. 1496.92 s [opt-env-conf-test] goOr isTopLevel = \case
  24522. 1496.92 s [opt-env-conf-test] [] -> []
  24523. 1496.92 s [opt-env-conf-test] - [d] -> go isTopLevel d
  24524. 1496.92 s [opt-env-conf-test] + [d] -> go not isTopLevel d
  24525. 1496.92 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  24526. 1496.92 s [opt-env-conf-test] case setDocHelp d of
  24527. 1496.92 s [opt-env-conf-test] Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
  24528. 1496.92 s [opt-env-conf-test]
  24529. 1496.92 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:566:17-27
  24530. 1496.92 s [opt-env-conf-test] @@ -563,7 +563,7 @@
  24531. 1496.92 s [opt-env-conf-test] goOr :: Bool -> [AnyDocs SetDoc] -> [[Chunk]]
  24532. 1496.92 s [opt-env-conf-test] goOr isTopLevel = \case
  24533. 1496.92 s [opt-env-conf-test] [] -> []
  24534. 1496.92 s [opt-env-conf-test] - [d] -> go isTopLevel d
  24535. 1496.92 s [opt-env-conf-test] + [d] -> go True d
  24536. 1496.92 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  24537. 1496.92 s [opt-env-conf-test] case setDocHelp d of
  24538. 1496.92 s [opt-env-conf-test] Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
  24539. 1496.92 s [opt-env-conf-test]
  24540. 1496.92 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:588:12-34
  24541. 1496.92 s [opt-env-conf-test] @@ -585,7 +585,7 @@
  24542. 1496.92 s [opt-env-conf-test] goSameHelp h = \case
  24543. 1496.92 s [opt-env-conf-test] [] -> ([], [])
  24544. 1496.92 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  24545. 1496.92 s [opt-env-conf-test] - if setDocHelp d == Just h
  24546. 1496.92 s [opt-env-conf-test] + if True
  24547. 1496.92 s [opt-env-conf-test] then
  24548. 1496.92 s [opt-env-conf-test] let (sds, rest) = goSameHelp h ds
  24549. 1496.92 s [opt-env-conf-test] in (d : sds, rest)
  24550. 1496.92 s [opt-env-conf-test]
  24551. 1496.92 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:532:13-50
  24552. 1496.92 s [opt-env-conf-test] @@ -529,12 +529,11 @@
  24553. 1496.92 s [opt-env-conf-test] [] -> []
  24554. 1496.92 s [opt-env-conf-test] [d] -> [go' d]
  24555. 1496.92 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  24556. 1496.92 s [opt-env-conf-test] case setDocHelp d of
  24557. 1496.92 s [opt-env-conf-test] - Nothing -> go' (AnyDocsSingle d) : goOr' ds
  24558. 1496.92 s [opt-env-conf-test] Just h ->
  24559. 1496.92 s [opt-env-conf-test] let (sds, rest) = goSameHelp h ds
  24560. 1496.92 s [opt-env-conf-test] ne = d :| sds
  24561. 1496.92 s [opt-env-conf-test] in AnyDocsSingle ne : goOr' rest
  24562. 1496.92 s [opt-env-conf-test] (d : ds) -> go' d : goOr' ds
  24563. 1496.92 s [opt-env-conf-test]
  24564. 1496.92 s [opt-env-conf-test] renderCommandDocs :: AnyDocs (Maybe SetDoc) -> [Chunk]
  24565. 1496.92 s [opt-env-conf-test]
  24566. 1496.92 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:259:17-26
  24567. 1496.92 s [opt-env-conf-test] @@ -256,18 +256,16 @@
  24568. 1496.92 s [opt-env-conf-test] concat
  24569. 1496.92 s [opt-env-conf-test] [ concatMap
  24570. 1496.92 s [opt-env-conf-test] ( \(key, schema) ->
  24571. 1496.92 s [opt-env-conf-test] case jsonSchemaChunkLines schema of
  24572. 1496.92 s [opt-env-conf-test] - [line] ->
  24573. 1496.92 s [opt-env-conf-test] - [["config: ", confValChunk key, ": "] ++ line]
  24574. 1496.92 s [opt-env-conf-test] ls ->
  24575. 1496.92 s [opt-env-conf-test] ["config:"]
  24576. 1496.92 s [opt-env-conf-test] : indent
  24577. 1496.92 s [opt-env-conf-test] ( case ls of
  24578. 1496.92 s [opt-env-conf-test] [] -> [["TODO"]]
  24579. 1496.92 s [opt-env-conf-test] (l : ll) ->
  24580. 1496.92 s [opt-env-conf-test] ([confValChunk key, ": "] ++ l)
  24581. 1496.92 s [opt-env-conf-test] : indent ll
  24582. 1496.92 s [opt-env-conf-test] )
  24583. 1496.92 s [opt-env-conf-test] )
  24584. 1496.92 s [opt-env-conf-test] (NE.toList confs)
  24585. 1496.92 s [opt-env-conf-test] | confs <- maybeToList setDocConfKeys
  24586. 1496.92 s [opt-env-conf-test]
  24587. 1496.92 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:265:27-44
  24588. 1496.92 s [opt-env-conf-test] @@ -262,11 +262,10 @@
  24589. 1496.92 s [opt-env-conf-test] ls ->
  24590. 1496.92 s [opt-env-conf-test] ["config:"]
  24591. 1496.92 s [opt-env-conf-test] : indent
  24592. 1496.92 s [opt-env-conf-test] ( case ls of
  24593. 1496.92 s [opt-env-conf-test] - [] -> [["TODO"]]
  24594. 1496.92 s [opt-env-conf-test] (l : ll) ->
  24595. 1496.92 s [opt-env-conf-test] ([confValChunk key, ": "] ++ l)
  24596. 1496.92 s [opt-env-conf-test] : indent ll
  24597. 1496.92 s [opt-env-conf-test] )
  24598. 1496.92 s [opt-env-conf-test] )
  24599. 1496.92 s [opt-env-conf-test] (NE.toList confs)
  24600. 1496.92 s [opt-env-conf-test]
  24601. 1496.92 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:661:30-18
  24602. 1496.92 s [opt-env-conf-test] @@ -658,29 +658,28 @@
  24603. 1496.92 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24604. 1496.92 s [opt-env-conf-test] [] -> Nothing
  24605. 1496.92 s [opt-env-conf-test] cs -> Just $ bracketise $ unwordsChunks $ intersperse [orChunk] cs
  24606. 1496.92 s [opt-env-conf-test] AnyDocsSingle mOd -> case mOd of
  24607. 1496.92 s [opt-env-conf-test] - Nothing -> Nothing
  24608. 1496.92 s [opt-env-conf-test] Just OptDoc {..} ->
  24609. 1496.92 s [opt-env-conf-test] Just
  24610. 1496.92 s [opt-env-conf-test] $ ( if isJust optDocDefault
  24611. 1496.92 s [opt-env-conf-test] then bracketise
  24612. 1496.92 s [opt-env-conf-test] else id
  24613. 1496.92 s [opt-env-conf-test] )
  24614. 1496.92 s [opt-env-conf-test] $ unwordsChunks
  24615. 1496.92 s [opt-env-conf-test] $ concat
  24616. 1496.92 s [opt-env-conf-test] [ [ [mMetavarChunk optDocMetavar]
  24617. 1496.92 s [opt-env-conf-test] | optDocTryArgument
  24618. 1496.92 s [opt-env-conf-test] ],
  24619. 1496.92 s [opt-env-conf-test] [ concat $ maybeToList $ dashedChunks optDocDasheds
  24620. 1496.92 s [opt-env-conf-test] | optDocTrySwitch
  24621. 1496.93 s [opt-env-conf-test] ],
  24622. 1496.93 s [opt-env-conf-test] [ concat
  24623. 1496.93 s [opt-env-conf-test] [ concat $ maybeToList $ dashedChunks optDocDasheds,
  24624. 1496.93 s [opt-env-conf-test] [" ", mMetavarChunk optDocMetavar]
  24625. 1496.93 s [opt-env-conf-test] ]
  24626. 1496.93 s [opt-env-conf-test] | optDocTryOption
  24627. 1496.93 s [opt-env-conf-test] ]
  24628. 1496.93 s [opt-env-conf-test] ]
  24629. 1496.93 s [opt-env-conf-test]
  24630. 1496.93 s [opt-env-conf-test] orChunk :: Chunk
  24631. 1496.93 s [opt-env-conf-test] orChunk = fore cyan "|"
  24632. 1496.93 s [opt-env-conf-test]
  24633. 1496.93 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:653:11-77
  24634. 1496.93 s [opt-env-conf-test] @@ -650,10 +650,9 @@
  24635. 1496.93 s [opt-env-conf-test] Nothing -> Just ["COMMAND"]
  24636. 1496.93 s [opt-env-conf-test] Just _ -> Just ["[COMMAND]"]
  24637. 1496.93 s [opt-env-conf-test] AnyDocsAnd ds ->
  24638. 1496.93 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24639. 1496.93 s [opt-env-conf-test] [] -> Nothing
  24640. 1496.93 s [opt-env-conf-test] - [c] -> Just c
  24641. 1496.93 s [opt-env-conf-test] cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
  24642. 1496.93 s [opt-env-conf-test] AnyDocsOr ds ->
  24643. 1496.93 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24644. 1496.93 s [opt-env-conf-test] [] -> Nothing
  24645. 1496.93 s [opt-env-conf-test]
  24646. 1496.93 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:653:11-77
  24647. 1496.93 s [opt-env-conf-test] @@ -650,10 +650,9 @@
  24648. 1496.93 s [opt-env-conf-test] Nothing -> Just ["COMMAND"]
  24649. 1496.93 s [opt-env-conf-test] Just _ -> Just ["[COMMAND]"]
  24650. 1496.93 s [opt-env-conf-test] AnyDocsAnd ds ->
  24651. 1496.93 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24652. 1496.93 s [opt-env-conf-test] - [] -> Nothing
  24653. 1496.93 s [opt-env-conf-test] [c] -> Just c
  24654. 1496.93 s [opt-env-conf-test] cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
  24655. 1496.93 s [opt-env-conf-test] AnyDocsOr ds ->
  24656. 1496.93 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24657. 1496.93 s [opt-env-conf-test] [] -> Nothing
  24658. 1496.93 s [opt-env-conf-test]
  24659. 1496.93 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:656:30-31
  24660. 1496.93 s [opt-env-conf-test] @@ -653,7 +653,7 @@
  24661. 1496.93 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24662. 1496.93 s [opt-env-conf-test] [] -> Nothing
  24663. 1496.93 s [opt-env-conf-test] [c] -> Just c
  24664. 1496.93 s [opt-env-conf-test] - cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
  24665. 1496.93 s [opt-env-conf-test] + cs -> Just $ (if False then parenthesise else id) $ unwordsChunks cs
  24666. 1496.93 s [opt-env-conf-test] AnyDocsOr ds ->
  24667. 1496.93 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24668. 1496.93 s [opt-env-conf-test] [] -> Nothing
  24669. 1496.93 s [opt-env-conf-test]
  24670. 1496.93 s [opt-env-conf-test] BoolLit at src/OptEnvConf/Doc.hs:637:38-43
  24671. 1496.93 s [opt-env-conf-test] @@ -634,7 +634,7 @@
  24672. 1496.93 s [opt-env-conf-test] withoutNothings =
  24673. 1496.93 s [opt-env-conf-test] filter
  24674. 1496.93 s [opt-env-conf-test] ( \case
  24675. 1496.93 s [opt-env-conf-test] - AnyDocsSingle Nothing -> False
  24676. 1496.93 s [opt-env-conf-test] + AnyDocsSingle Nothing -> True
  24677. 1496.93 s [opt-env-conf-test] AnyDocsAnd [] -> False
  24678. 1496.93 s [opt-env-conf-test] AnyDocsOr [] -> False
  24679. 1496.93 s [opt-env-conf-test] _ -> True
  24680. 1496.93 s [opt-env-conf-test]
  24681. 1496.93 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:822:13-52
  24682. 1496.93 s [opt-env-conf-test] @@ -819,11 +819,9 @@
  24683. 1496.93 s [opt-env-conf-test] [exampleValuesChunks confDocExamples | not (null confDocExamples)],
  24684. 1496.93 s [opt-env-conf-test] concatMap
  24685. 1496.93 s [opt-env-conf-test] ( \(key, schema) ->
  24686. 1496.93 s [opt-env-conf-test] case jsonSchemaChunkLines schema of
  24687. 1496.93 s [opt-env-conf-test] - [line] ->
  24688. 1496.93 s [opt-env-conf-test] - [[confValChunk key, ": "] ++ line]
  24689. 1496.93 s [opt-env-conf-test] ls ->
  24690. 1496.93 s [opt-env-conf-test] [confValChunk key, ":"] : indent ls
  24691. 1496.93 s [opt-env-conf-test] )
  24692. 1496.93 s [opt-env-conf-test] (NE.toList confDocKeys)
  24693. 1496.93 s [opt-env-conf-test] ]
  24694. 1496.93 s [opt-env-conf-test]
  24695. 1496.93 s [opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:144:22-46
  24696. 1496.93 s [opt-env-conf-test] @@ -141,7 +141,7 @@
  24697. 1496.93 s [opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
  24698. 1496.93 s [opt-env-conf-test] salt
  24699. 1496.93 s [opt-env-conf-test] `hashWithSalt` envVarSettingVar
  24700. 1496.93 s [opt-env-conf-test] - `hashWithSalt` envVarSettingAllowPrefix
  24701. 1496.93 s [opt-env-conf-test] + `hashWithSalt` not envVarSettingAllowPrefix
  24702. 1496.93 s [opt-env-conf-test]
  24703. 1496.93 s [opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
  24704. 1496.93 s [opt-env-conf-test] prefixEnvVarSetting prefix e =
  24705. 1496.93 s [opt-env-conf-test]
  24706. 1496.93 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:144:22-46
  24707. 1496.93 s [opt-env-conf-test] @@ -141,7 +141,7 @@
  24708. 1496.93 s [opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
  24709. 1496.93 s [opt-env-conf-test] salt
  24710. 1496.93 s [opt-env-conf-test] `hashWithSalt` envVarSettingVar
  24711. 1496.93 s [opt-env-conf-test] - `hashWithSalt` envVarSettingAllowPrefix
  24712. 1496.93 s [opt-env-conf-test] + `hashWithSalt` False
  24713. 1496.93 s [opt-env-conf-test]
  24714. 1496.93 s [opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
  24715. 1496.93 s [opt-env-conf-test] prefixEnvVarSetting prefix e =
  24716. 1496.93 s [opt-env-conf-test]
  24717. 1496.93 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:144:22-46
  24718. 1496.93 s [opt-env-conf-test] @@ -141,7 +141,7 @@
  24719. 1496.93 s [opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
  24720. 1496.93 s [opt-env-conf-test] salt
  24721. 1496.93 s [opt-env-conf-test] `hashWithSalt` envVarSettingVar
  24722. 1496.93 s [opt-env-conf-test] - `hashWithSalt` envVarSettingAllowPrefix
  24723. 1496.93 s [opt-env-conf-test] + `hashWithSalt` True
  24724. 1496.93 s [opt-env-conf-test]
  24725. 1496.93 s [opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
  24726. 1496.93 s [opt-env-conf-test] prefixEnvVarSetting prefix e =
  24727. 1496.93 s [opt-env-conf-test]
  24728. 1496.93 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:136:5-29
  24729. 1496.93 s [opt-env-conf-test] @@ -133,7 +133,7 @@
  24730. 1496.93 s [opt-env-conf-test]
  24731. 1496.93 s [opt-env-conf-test] data EnvVarSetting = EnvVarSetting
  24732. 1496.93 s [opt-env-conf-test] { envVarSettingVar :: !String,
  24733. 1496.93 s [opt-env-conf-test] - envVarSettingAllowPrefix :: !Bool
  24734. 1496.93 s [opt-env-conf-test] + True :: !Bool
  24735. 1496.93 s [opt-env-conf-test] }
  24736. 1496.93 s [opt-env-conf-test] deriving (Show, Eq)
  24737. 1496.93 s [opt-env-conf-test]
  24738. 1496.93 s [opt-env-conf-test]
  24739. 1496.93 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:159:5-32
  24740. 1496.93 s [opt-env-conf-test] @@ -156,7 +156,7 @@
  24741. 1496.93 s [opt-env-conf-test] = forall void.
  24742. 1496.93 s [opt-env-conf-test] ConfigValSetting
  24743. 1496.93 s [opt-env-conf-test] { configValSettingPath :: !(NonEmpty String),
  24744. 1496.93 s [opt-env-conf-test] - configValSettingAllowPrefix :: !Bool,
  24745. 1496.93 s [opt-env-conf-test] + True :: !Bool,
  24746. 1496.93 s [opt-env-conf-test] configValSettingCodec :: !(ValueCodec void (Maybe a))
  24747. 1496.93 s [opt-env-conf-test] }
  24748. 1496.93 s [opt-env-conf-test]
  24749. 1496.93 s [opt-env-conf-test]
  24750. 1496.93 s [opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:128:24-40
  24751. 1496.93 s [opt-env-conf-test] @@ -125,7 +125,7 @@
  24752. 1496.93 s [opt-env-conf-test] `hashWithSalt` settingTryArgument
  24753. 1496.93 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24754. 1496.93 s [opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
  24755. 1496.93 s [opt-env-conf-test] - `hashWithSalt` settingTryOption
  24756. 1496.93 s [opt-env-conf-test] + `hashWithSalt` not settingTryOption
  24757. 1496.94 s [opt-env-conf-test] `hashWithSalt` settingEnvVars
  24758. 1496.94 s [opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
  24759. 1496.94 s [opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
  24760. 1496.94 s [opt-env-conf-test]
  24761. 1496.94 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:128:24-40
  24762. 1496.94 s [opt-env-conf-test] @@ -125,7 +125,7 @@
  24763. 1496.94 s [opt-env-conf-test] `hashWithSalt` settingTryArgument
  24764. 1496.94 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24765. 1496.94 s [opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
  24766. 1496.94 s [opt-env-conf-test] - `hashWithSalt` settingTryOption
  24767. 1496.94 s [opt-env-conf-test] + `hashWithSalt` False
  24768. 1496.94 s [opt-env-conf-test] `hashWithSalt` settingEnvVars
  24769. 1496.94 s [opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
  24770. 1496.94 s [opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
  24771. 1496.94 s [opt-env-conf-test]
  24772. 1496.94 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:128:24-40
  24773. 1496.94 s [opt-env-conf-test] @@ -125,7 +125,7 @@
  24774. 1496.94 s [opt-env-conf-test] `hashWithSalt` settingTryArgument
  24775. 1496.94 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24776. 1496.94 s [opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
  24777. 1496.94 s [opt-env-conf-test] - `hashWithSalt` settingTryOption
  24778. 1496.94 s [opt-env-conf-test] + `hashWithSalt` True
  24779. 1496.94 s [opt-env-conf-test] `hashWithSalt` settingEnvVars
  24780. 1496.94 s [opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
  24781. 1496.94 s [opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
  24782. 1496.94 s [opt-env-conf-test]
  24783. 1496.94 s [opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:127:24-49
  24784. 1496.94 s [opt-env-conf-test] @@ -124,7 +124,7 @@
  24785. 1496.94 s [opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
  24786. 1496.94 s [opt-env-conf-test] `hashWithSalt` settingTryArgument
  24787. 1496.94 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24788. 1496.94 s [opt-env-conf-test] - `hashWithSalt` isJust settingSwitchValue
  24789. 1496.94 s [opt-env-conf-test] + `hashWithSalt` not isJust settingSwitchValue
  24790. 1496.94 s [opt-env-conf-test] `hashWithSalt` settingTryOption
  24791. 1496.94 s [opt-env-conf-test] `hashWithSalt` settingEnvVars
  24792. 1496.94 s [opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
  24793. 1496.94 s [opt-env-conf-test]
  24794. 1496.94 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:127:24-49
  24795. 1496.94 s [opt-env-conf-test] @@ -124,7 +124,7 @@
  24796. 1496.94 s [opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
  24797. 1496.94 s [opt-env-conf-test] `hashWithSalt` settingTryArgument
  24798. 1496.94 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24799. 1496.94 s [opt-env-conf-test] - `hashWithSalt` isJust settingSwitchValue
  24800. 1496.94 s [opt-env-conf-test] + `hashWithSalt` False
  24801. 1496.94 s [opt-env-conf-test] `hashWithSalt` settingTryOption
  24802. 1496.94 s [opt-env-conf-test] `hashWithSalt` settingEnvVars
  24803. 1496.94 s [opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
  24804. 1496.94 s [opt-env-conf-test]
  24805. 1496.94 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:127:24-49
  24806. 1496.94 s [opt-env-conf-test] @@ -124,7 +124,7 @@
  24807. 1496.94 s [opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
  24808. 1496.94 s [opt-env-conf-test] `hashWithSalt` settingTryArgument
  24809. 1496.94 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24810. 1496.94 s [opt-env-conf-test] - `hashWithSalt` isJust settingSwitchValue
  24811. 1496.94 s [opt-env-conf-test] + `hashWithSalt` True
  24812. 1496.94 s [opt-env-conf-test] `hashWithSalt` settingTryOption
  24813. 1496.94 s [opt-env-conf-test] `hashWithSalt` settingEnvVars
  24814. 1496.94 s [opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
  24815. 1496.94 s [opt-env-conf-test]
  24816. 1496.94 s [opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:125:24-42
  24817. 1496.94 s [opt-env-conf-test] @@ -122,7 +122,7 @@
  24818. 1496.94 s [opt-env-conf-test] SettingHash
  24819. 1496.94 s [opt-env-conf-test] ( 42
  24820. 1496.94 s [opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
  24821. 1496.94 s [opt-env-conf-test] - `hashWithSalt` settingTryArgument
  24822. 1496.94 s [opt-env-conf-test] + `hashWithSalt` not settingTryArgument
  24823. 1496.94 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24824. 1496.94 s [opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
  24825. 1496.94 s [opt-env-conf-test] `hashWithSalt` settingTryOption
  24826. 1496.94 s [opt-env-conf-test]
  24827. 1496.94 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:125:24-42
  24828. 1496.94 s [opt-env-conf-test] @@ -122,7 +122,7 @@
  24829. 1496.94 s [opt-env-conf-test] SettingHash
  24830. 1496.94 s [opt-env-conf-test] ( 42
  24831. 1496.94 s [opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
  24832. 1496.94 s [opt-env-conf-test] - `hashWithSalt` settingTryArgument
  24833. 1496.94 s [opt-env-conf-test] + `hashWithSalt` False
  24834. 1496.94 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24835. 1496.94 s [opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
  24836. 1496.94 s [opt-env-conf-test] `hashWithSalt` settingTryOption
  24837. 1496.94 s [opt-env-conf-test]
  24838. 1496.94 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:125:24-42
  24839. 1496.94 s [opt-env-conf-test] @@ -122,7 +122,7 @@
  24840. 1496.94 s [opt-env-conf-test] SettingHash
  24841. 1496.94 s [opt-env-conf-test] ( 42
  24842. 1496.94 s [opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
  24843. 1496.94 s [opt-env-conf-test] - `hashWithSalt` settingTryArgument
  24844. 1496.94 s [opt-env-conf-test] + `hashWithSalt` True
  24845. 1496.94 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24846. 1496.94 s [opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
  24847. 1496.94 s [opt-env-conf-test] `hashWithSalt` settingTryOption
  24848. 1496.94 s [opt-env-conf-test]
  24849. 1496.94 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:148:6-32
  24850. 1496.94 s [opt-env-conf-test] @@ -145,7 +145,7 @@
  24851. 1496.94 s [opt-env-conf-test]
  24852. 1496.94 s [opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
  24853. 1496.94 s [opt-env-conf-test] prefixEnvVarSetting prefix e =
  24854. 1496.94 s [opt-env-conf-test] - if envVarSettingAllowPrefix e
  24855. 1496.94 s [opt-env-conf-test] + if True
  24856. 1496.94 s [opt-env-conf-test] then e {envVarSettingVar = prefix <> envVarSettingVar e}
  24857. 1496.94 s [opt-env-conf-test] else e
  24858. 1496.94 s [opt-env-conf-test]
  24859. 1496.94 s [opt-env-conf-test]
  24860. 1496.94 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:165:6-35
  24861. 1496.94 s [opt-env-conf-test] @@ -162,7 +162,7 @@
  24862. 1496.94 s [opt-env-conf-test]
  24863. 1496.94 s [opt-env-conf-test] prefixConfigValSetting :: String -> ConfigValSetting a -> ConfigValSetting a
  24864. 1496.94 s [opt-env-conf-test] prefixConfigValSetting prefix c =
  24865. 1496.94 s [opt-env-conf-test] - if configValSettingAllowPrefix c
  24866. 1496.94 s [opt-env-conf-test] + if True
  24867. 1496.94 s [opt-env-conf-test] then c {configValSettingPath = prefix NE.<| configValSettingPath c}
  24868. 1496.94 s [opt-env-conf-test] else c
  24869. 1496.94 s [opt-env-conf-test]
  24870. 1496.94 s [opt-env-conf-test]
  24871. 1496.94 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Setting.hs:173:30-39
  24872. 1496.94 s [opt-env-conf-test] @@ -170,9 +170,8 @@
  24873. 1496.94 s [opt-env-conf-test] suffixConfigValSettingKey suffix c = c {configValSettingPath = suffixPath $ configValSettingPath c}
  24874. 1496.94 s [opt-env-conf-test] where
  24875. 1496.94 s [opt-env-conf-test] suffixPath :: NonEmpty String -> NonEmpty String
  24876. 1496.94 s [opt-env-conf-test] suffixPath (f :| rest) = case NE.nonEmpty rest of
  24877. 1496.94 s [opt-env-conf-test] Nothing -> (f <> suffix) :| []
  24878. 1496.94 s [opt-env-conf-test] - Just ne -> f NE.<| suffixPath ne
  24879. 1496.94 s [opt-env-conf-test]
  24880. 1496.94 s [opt-env-conf-test] -- | A 'mempty' 'Setting' to build up a setting from.
  24881. 1496.94 s [opt-env-conf-test] emptySetting :: Setting a
  24882. 1496.94 s [opt-env-conf-test]
  24883. 1496.94 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Test.hs:67:3-96
  24884. 1496.94 s [opt-env-conf-test] @@ -64,10 +64,8 @@
  24885. 1496.94 s [opt-env-conf-test]
  24886. 1496.94 s [opt-env-conf-test] parserLintTest :: Parser a -> IO ()
  24887. 1496.94 s [opt-env-conf-test] parserLintTest parser =
  24888. 1496.94 s [opt-env-conf-test] case lintParser parser of
  24889. 1496.94 s [opt-env-conf-test] Nothing -> pure ()
  24890. 1496.94 s [opt-env-conf-test] - Just errs ->
  24891. 1496.94 s [opt-env-conf-test] - expectationFailure $ T.unpack $ renderChunksText With24BitColours $ renderLintErrors errs
  24892. 1496.94 s [opt-env-conf-test]
  24893. 1496.94 s [opt-env-conf-test] settingsParserArgsTest :: (Show a, Eq a, HasParser a) => [String] -> a -> IO ()
  24894. 1496.94 s [opt-env-conf-test] settingsParserArgsTest = parserArgsTest settingsParser
  24895. 1496.94 s [opt-env-conf-test]
  24896. 1496.94 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Test.hs:149:13-24
  24897. 1496.94 s [opt-env-conf-test] @@ -146,14 +146,13 @@
  24898. 1496.95 s [opt-env-conf-test]
  24899. 1496.95 s [opt-env-conf-test] generatedFileComment :: CallStack -> T.Text
  24900. 1496.95 s [opt-env-conf-test] generatedFileComment cs =
  24901. 1496.95 s [opt-env-conf-test] let loc = case getCallStack cs of
  24902. 1496.95 s [opt-env-conf-test] (_, srcLoc) : _ ->
  24903. 1496.95 s [opt-env-conf-test] packageName (Stack.srcLocPackage srcLoc)
  24904. 1496.95 s [opt-env-conf-test] <> ":"
  24905. 1496.95 s [opt-env-conf-test] <> Stack.srcLocFile srcLoc
  24906. 1496.95 s [opt-env-conf-test] <> ":"
  24907. 1496.95 s [opt-env-conf-test] <> show (Stack.srcLocStartLine srcLoc)
  24908. 1496.95 s [opt-env-conf-test] - [] -> "unknown"
  24909. 1496.95 s [opt-env-conf-test] in T.pack $
  24910. 1496.95 s [opt-env-conf-test] unlines $
  24911. 1496.95 s [opt-env-conf-test] map
  24912. 1496.95 s [opt-env-conf-test]
  24913. 1496.95 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:35-84
  24914. 1496.95 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24915. 1496.95 s [opt-env-conf-test] where
  24916. 1496.95 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24917. 1496.95 s [opt-env-conf-test] go (c : rest) = c : go rest
  24918. 1496.95 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24919. 1496.95 s [opt-env-conf-test] + isVersion v = not (null v) && True
  24920. 1496.95 s [opt-env-conf-test]
  24921. 1496.95 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:49-84
  24922. 1496.95 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24923. 1496.95 s [opt-env-conf-test] where
  24924. 1496.95 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24925. 1496.95 s [opt-env-conf-test] go (c : rest) = c : go rest
  24926. 1496.95 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24927. 1496.95 s [opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && True
  24928. 1496.95 s [opt-env-conf-test]
  24929. 1496.95 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:60-81
  24930. 1496.95 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24931. 1496.95 s [opt-env-conf-test] where
  24932. 1496.95 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24933. 1496.95 s [opt-env-conf-test] go (c : rest) = c : go rest
  24934. 1496.95 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24935. 1496.95 s [opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> True) v
  24936. 1496.95 s [opt-env-conf-test]
  24937. 1496.95 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:73-81
  24938. 1496.95 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24939. 1496.95 s [opt-env-conf-test] where
  24940. 1496.95 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24941. 1496.95 s [opt-env-conf-test] go (c : rest) = c : go rest
  24942. 1496.95 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24943. 1496.95 s [opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || True) v
  24944. 1496.95 s [opt-env-conf-test]
  24945. 1496.95 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:60-69
  24946. 1496.95 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24947. 1496.95 s [opt-env-conf-test] where
  24948. 1496.95 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24949. 1496.95 s [opt-env-conf-test] go (c : rest) = c : go rest
  24950. 1496.95 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24951. 1496.95 s [opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> True || c == '.') v
  24952. 1496.95 s [opt-env-conf-test]
  24953. 1496.95 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:35-45
  24954. 1496.95 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24955. 1496.95 s [opt-env-conf-test] where
  24956. 1496.95 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24957. 1496.95 s [opt-env-conf-test] go (c : rest) = c : go rest
  24958. 1496.95 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24959. 1496.95 s [opt-env-conf-test] + isVersion v = not (null v) && True && all (\c -> isDigit c || c == '.') v
  24960. 1496.95 s [opt-env-conf-test]
  24961. 1496.95 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:19-31
  24962. 1496.95 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24963. 1496.95 s [opt-env-conf-test] where
  24964. 1496.95 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24965. 1496.95 s [opt-env-conf-test] go (c : rest) = c : go rest
  24966. 1496.95 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24967. 1496.95 s [opt-env-conf-test] + isVersion v = True && elem '.' v && all (\c -> isDigit c || c == '.') v
  24968. 1496.95 s [opt-env-conf-test]
  24969. 1496.95 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:23-31
  24970. 1496.95 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24971. 1496.95 s [opt-env-conf-test] where
  24972. 1496.95 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24973. 1496.95 s [opt-env-conf-test] go (c : rest) = c : go rest
  24974. 1496.95 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24975. 1496.95 s [opt-env-conf-test] + isVersion v = not False && elem '.' v && all (\c -> isDigit c || c == '.') v
  24976. 1496.95 s [opt-env-conf-test]
  24977. 1496.95 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:24-30
  24978. 1496.95 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24979. 1496.95 s [opt-env-conf-test] where
  24980. 1496.95 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24981. 1496.95 s [opt-env-conf-test] go (c : rest) = c : go rest
  24982. 1496.95 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24983. 1496.95 s [opt-env-conf-test] + isVersion v = not (False) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24984. 1496.95 s [opt-env-conf-test] checkPhase completed in 16 minutes 22 seconds
  24985. 1496.95 s [opt-env-conf-test] Phase: haddockPhase
  24986. 1496.95 s [opt-env-conf-test] Phase: installPhase
  24987. 1497.01 s [opt-env-conf-test] Installing library in /nix/store/3yw9ybwd3lfyf61zk1jpny4fkgcqqjr5-opt-env-conf-test-0.0.0.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-05f6/opt-env-conf-test-0.0.0.4-3sxOV7t65cdF98TgindIPT
  24988. 1497.82 s [opt-env-conf-test] Phase: fixupPhase
  24989. 1497.86 s [opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/3yw9ybwd3lfyf61zk1jpny4fkgcqqjr5-opt-env-conf-test-0.0.0.4
  24990. 1497.87 s [opt-env-conf-test] shrinking /nix/store/3yw9ybwd3lfyf61zk1jpny4fkgcqqjr5-opt-env-conf-test-0.0.0.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-05f6/libHSopt-env-conf-test-0.0.0.4-3sxOV7t65cdF98TgindIPT-ghc9.10.3.so
  24991. 1497.91 s [opt-env-conf-test] checking for references to /build/ in /nix/store/3yw9ybwd3lfyf61zk1jpny4fkgcqqjr5-opt-env-conf-test-0.0.0.4...
  24992. 1497.96 s [opt-env-conf-test] patching script interpreter paths in /nix/store/3yw9ybwd3lfyf61zk1jpny4fkgcqqjr5-opt-env-conf-test-0.0.0.4
  24993. 1497.97 s [opt-env-conf-test] stripping (with command strip and flags -S -p) in /nix/store/3yw9ybwd3lfyf61zk1jpny4fkgcqqjr5-opt-env-conf-test-0.0.0.4/lib
  24994. 1498.07 s [opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/jd5d0v1qi993s4arwf22jl0kc2phz167-opt-env-conf-test-0.0.0.4-manifest
  24995. 1498.08 s [opt-env-conf-test] checking for references to /build/ in /nix/store/jd5d0v1qi993s4arwf22jl0kc2phz167-opt-env-conf-test-0.0.0.4-manifest...
  24996. 1498.13 s [opt-env-conf-test] patching script interpreter paths in /nix/store/jd5d0v1qi993s4arwf22jl0kc2phz167-opt-env-conf-test-0.0.0.4-manifest
  24997. 1498.14 s [opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/qnp83nzhax8yhlcrsmbwqry16d28317s-opt-env-conf-test-0.0.0.4-report
  24998. 1498.22 s [opt-env-conf-test] checking for references to /build/ in /nix/store/qnp83nzhax8yhlcrsmbwqry16d28317s-opt-env-conf-test-0.0.0.4-report...
  24999. 1498.35 s [opt-env-conf-test] patching script interpreter paths in /nix/store/qnp83nzhax8yhlcrsmbwqry16d28317s-opt-env-conf-test-0.0.0.4-report
  25000. 1498.64 s Progress: 16 of 17 built